/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0F0F1A;
    --bg-card: #232340;
    --bg-card-hover: #2a2a50;
    --bg-alt: #181830;
    --text: #F0F0F0;
    --text-muted: #9999B0;
    --primary: #FF6B35;
    --primary-hover: #e85d2a;
    --accent: #FBBF24;
    --green: #22C55E;
    --green-bg: rgba(34, 197, 94, 0.12);
    --completed: #6B7280;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background var(--transition), box-shadow var(--transition);
}

.top-bar.scrolled {
    background: rgba(15, 15, 26, 0.96);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.top-bar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    transition: color var(--transition);
}

.brand-link:hover {
    color: var(--primary);
}

.brand-link strong {
    color: var(--text);
    font-weight: 600;
}

.brand-link:hover strong {
    color: var(--primary);
}

.brand-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    background: rgba(251, 191, 36, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.app-name {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    display: none;
}

@media (min-width: 640px) {
    .app-name {
        display: inline;
    }
}

/* ===== HERO ===== */
.hero {
    padding: 140px 20px 80px;
    text-align: center;
    background: linear-gradient(180deg, #0F0F1A 0%, #181830 50%, #0F0F1A 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    transition: background var(--transition), transform var(--transition);
}

.hero-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===== SCHEDULE GRID ===== */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 540px) {
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1100px) {
    .schedule-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.schedule-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.schedule-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,107,53,0.2);
    box-shadow: var(--shadow);
}

.schedule-card.is-today {
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(34,197,94,0.1);
}

.schedule-card.is-completed {
    opacity: 0.5;
}

.schedule-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.schedule-day {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.schedule-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.schedule-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
}

.schedule-status.now-serving {
    color: var(--green);
    background: var(--green-bg);
    display: flex;
    align-items: center;
    gap: 6px;
}

.schedule-status.upcoming {
    color: var(--accent);
    background: rgba(251,191,36,0.1);
}

.schedule-status.completed {
    color: var(--completed);
    background: rgba(107,114,128,0.12);
}

/* Green pulse dot */
.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(34,197,94,0);
    }
}

.schedule-location {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.schedule-address {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.schedule-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    background: rgba(255,107,53,0.08);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
}

.schedule-time svg {
    flex-shrink: 0;
}

/* ===== RECURRING STOPS ===== */
.recurring-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recurring-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color var(--transition), transform var(--transition);
}

.recurring-item:hover {
    border-color: rgba(255,107,53,0.15);
    transform: translateX(4px);
}

.recurring-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.recurring-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recurring-day {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.recurring-location {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.recurring-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: rgba(251,191,36,0.1);
    padding: 2px 8px;
    border-radius: 20px;
}

/* ===== EVENTS ===== */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.event-card {
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,107,53,0.3), rgba(251,191,36,0.15), rgba(255,255,255,0.05));
    transition: transform var(--transition);
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-card-inner {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 28px 24px;
    height: 100%;
}

.event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,107,53,0.1);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    margin-bottom: 16px;
}

.event-month {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.event-day-num {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.event-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.event-location {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.event-desc {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
    border: 2px dashed rgba(255,107,53,0.25);
    border-radius: var(--radius);
    padding: 60px 20px;
    text-align: center;
    background: rgba(35,35,64,0.4);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(255,107,53,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(251,191,36,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.map-content {
    position: relative;
    z-index: 1;
}

.map-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    opacity: 0.8;
}

.map-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.map-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 20px;
}

.map-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.map-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.map-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.map-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(180deg, var(--bg) 0%, #1a1035 50%, var(--bg) 100%);
}

.cta-inner {
    text-align: center;
    padding: 40px 20px;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-desc strong {
    color: var(--accent);
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== UTILITY ===== */
@media (max-width: 539px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 120px 16px 60px;
    }

    .schedule-card {
        padding: 20px;
    }

    .recurring-item {
        padding: 16px 20px;
    }

    .event-card-inner {
        padding: 24px 20px;
    }

    .cta-inner {
        padding: 20px 0;
    }
}
