:root {
    /* M3 Dark Theme Surface Colors */
    --md-sys-color-background: #141218;
    --md-sys-color-surface: #141218;
    --md-sys-color-surface-container-low: #1D1B20;
    --md-sys-color-surface-container: #211F26;
    --md-sys-color-surface-container-high: #2B2930;
    
    /* Text & Accents */
    --md-sys-color-on-surface: #E6E1E5;
    --md-sys-color-on-surface-variant: #CAC4D0;
    --md-sys-color-primary: #FFBF00; 
    --md-sys-color-on-primary: #382900;
    
    /* Transit Status Colors */
    --status-green: #39FF14;
    --status-red: #FF003C;

    /* Fonts & Shapes */
    --font-ui: 'Space Grotesk', system-ui, sans-serif;
    --font-matrix: 'Doto', monospace;
    --shape-corner-extra-large: 28px;
    --shape-corner-large: 16px;
    --shape-corner-full: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%; min-width: 100%;
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-surface);
    font-family: var(--font-ui);
    line-height: 1.6; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, .dot-matrix { 
    font-family: var(--font-matrix); font-weight: 900; font-variation-settings: "ROND" 100;
    text-transform: uppercase; letter-spacing: 2px; 
}
h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: 3rem; margin-bottom: 1.5rem; color: var(--md-sys-color-primary); }
p { font-size: 1.125rem; color: var(--md-sys-color-on-surface-variant); margin-bottom: 2.5rem; max-width: 650px; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
section { padding-top: 8rem; padding-bottom: 8rem; }

/* Navigation */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem; background: rgba(20, 18, 24, 0.75); 
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    position: sticky; top: 0; z-index: 100; 
    border-bottom: 1px solid rgba(255, 191, 0, 0.15); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.logo { 
    font-family: var(--font-matrix); font-weight: 900; font-variation-settings: "ROND" 100;
    font-size: 2.2rem; color: #ffffff; text-decoration: none; display: flex; align-items: center; gap: 8px; 
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a.text-link { 
    color: var(--md-sys-color-on-surface); text-decoration: none; font-weight: 600; font-size: 0.95rem; 
    position: relative; padding: 0.5rem 0; transition: color 0.3s ease;
}
.nav-links a.text-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--md-sys-color-primary); transition: width 0.3s ease;
}
.nav-links a.text-link:hover { color: var(--md-sys-color-primary); }
.nav-links a.text-link:hover::after { width: 100%; }

.nav-btn {
    background-color: var(--md-sys-color-surface-container-high); color: var(--md-sys-color-primary);
    padding: 0.4rem 1.2rem; border-radius: var(--shape-corner-full);
    font-family: var(--font-matrix); font-weight: 900; font-variation-settings: "ROND" 100;
    font-size: 1.2rem; text-decoration: none; letter-spacing: 1px; transition: all 0.2s ease;
    border: 1px solid transparent; display: flex; align-items: center; gap: 6px;
}
.nav-btn:hover { border-color: var(--md-sys-color-primary); box-shadow: 0 0 12px rgba(255, 191, 0, 0.25); background-color: transparent; }

/* Hero Buttons & Trust Badge */
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 28px; border-radius: var(--shape-corner-full);
    font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-filled { background-color: var(--md-sys-color-on-surface); color: var(--md-sys-color-background); }
.btn-filled:hover { transform: translateY(-2px); background-color: #ffffff; box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15); }
.btn-outlined-disabled {
    background-color: transparent; color: var(--md-sys-color-on-surface-variant);
    border: 1px solid var(--md-sys-color-surface-container-high); cursor: not-allowed; position: relative;
}
.ios-badge {
    position: absolute; top: -12px; right: 16px; background: var(--md-sys-color-surface-container-high);
    color: var(--md-sys-color-primary); font-family: var(--font-matrix); font-weight: 900; font-variation-settings: "ROND" 100;
    font-size: 0.9rem; padding: 0.2rem 0.6rem; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.trust-badge {
    display: flex; align-items: center; gap: 8px; margin-top: 1.5rem;
    color: var(--md-sys-color-on-surface-variant); font-size: 0.9rem; font-weight: 500;
}

/* Hero with Ambient Glow */
.hero-wrapper { position: relative; overflow: hidden; width: 100%; }
.hero-wrapper::before {
    content: ''; position: absolute; top: 20%; right: 5%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(255,191,0,0.1) 0%, rgba(20,18,24,0) 70%);
    z-index: -1; pointer-events: none; border-radius: 50%;
}

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; min-height: 70vh; padding-top: 4rem; padding-bottom: 6rem; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }

.hero-image-container { position: relative; display: flex; justify-content: center; perspective: 1000px; width: 100%; }
.phone-mockup {
    width: 100%; max-width: 320px; aspect-ratio: 9/19; background-color: var(--md-sys-color-surface-container);
    border: 8px solid #333; border-radius: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(255,191,0,0.1);
    overflow: hidden; position: relative; transform: rotateY(-10deg) rotateX(5deg); transition: transform 0.5s ease;
}
.phone-mockup:hover { transform: rotateY(0deg) rotateX(0deg); }
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; }

/* Marquee */
.marquee-wrapper {
    background-color: #000; padding: 1.5rem 0; overflow: hidden; white-space: nowrap; position: relative;
    border-top: 1px dashed var(--md-sys-color-surface-container-high); border-bottom: 1px dashed var(--md-sys-color-surface-container-high);
    width: 100%;
}
.marquee { display: inline-block; animation: scroll 30s linear infinite; font-family: var(--font-matrix); font-weight: 900; font-variation-settings: "ROND" 100; font-size: 1.8rem; }
.marquee span { margin-right: 4rem; }
.status-on-time { color: var(--status-green); text-shadow: 0 0 12px rgba(57, 255, 20, 0.4); }
.status-cancelled { color: var(--status-red); text-shadow: 0 0 12px rgba(255, 0, 60, 0.4); }
.status-delayed { color: var(--md-sys-color-primary); text-shadow: 0 0 12px rgba(255, 191, 0, 0.4); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Cards & Grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.m3-card {
    background-color: var(--md-sys-color-surface-container-low); border-radius: var(--shape-corner-extra-large);
    padding: 2.5rem; transition: background-color 0.2s, transform 0.2s; display: flex; flex-direction: column; gap: 1.2rem; height: 100%; overflow: hidden;
}
.m3-card:hover { background-color: var(--md-sys-color-surface-container); transform: translateY(-4px); }
.card-icon {
    background: var(--md-sys-color-surface-container-high); width: 48px; height: 48px; border-radius: var(--shape-corner-large);
    display: flex; align-items: center; justify-content: center; color: var(--md-sys-color-primary); position: relative; z-index: 1;
}
.m3-card h3 { font-size: 1.6rem; color: var(--md-sys-color-on-surface); }
.m3-card p { font-size: 1.05rem; margin-bottom: 0; color: var(--md-sys-color-on-surface-variant); flex-grow: 1; }

/* Feature specific */
.features h2 { text-align: center; margin-bottom: 4rem; }
.feature-img-wrapper {
    width: calc(100% + 5rem); margin: -2.5rem -2.5rem 1rem -2.5rem; height: 200px;
    background-color: var(--md-sys-color-surface-container-high); position: relative;
}
.feature-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* Battery & Privacy Pledge */
.pledge-section { padding-top: 4rem; padding-bottom: 6rem; }
.pledge-box {
    background-color: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-surface-container-high);
    border-radius: var(--shape-corner-extra-large);
    padding: 3rem; text-align: center;
}
.pledge-grid { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.pledge-item { flex: 1; min-width: 250px; text-align: left; }

/* Pricing */h1 { 
    font-size: 4.5rem; 
    line-height: 0.85; /* Reduced from 1.1 to pull the lines together */
    margin-bottom: 2rem; /* Adjusted to keep space between heading and subtext */
    font-family: var(--font-matrix); 
    font-weight: 900;
    font-variation-settings: "ROND" 100;
    text-transform: uppercase; 
    letter-spacing: 2px; 
}
.pricing { background-color: var(--md-sys-color-surface-container-low); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 4rem; }
.price-card { border-radius: var(--shape-corner-extra-large); padding: 3.5rem 2.5rem; display: flex; flex-direction: column; height: 100%; }
.price-card.basic { background-color: transparent; border: 1px solid var(--md-sys-color-surface-container-high); }
.price-card.pro { background-color: var(--md-sys-color-surface-container); position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.price-card.pro::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background-color: var(--md-sys-color-primary); }
.price { font-size: 4rem; font-family: var(--font-matrix); font-weight: 900; font-variation-settings: "ROND" 100; color: var(--md-sys-color-on-surface); margin-bottom: 2rem; line-height: 1; }
.price span { font-size: 1.1rem; font-family: var(--font-ui); color: var(--md-sys-color-on-surface-variant); font-weight: normal; }
.price-list { list-style: none; margin-bottom: 3rem; flex-grow: 1; }
.price-list li { margin-bottom: 1.2rem; color: var(--md-sys-color-on-surface-variant); display: flex; align-items: flex-start; gap: 12px; }
.price-list li .material-symbols-rounded { color: var(--md-sys-color-primary); font-size: 22px; flex-shrink: 0; }

.btn-tonal { background-color: var(--md-sys-color-surface-container-high); color: var(--md-sys-color-on-surface); width: 100%; }
.btn-primary { background-color: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); width: 100%; }

/* Testimonials & FAQ */
.testimonials { padding-top: 4rem; padding-bottom: 4rem; }
.faq { padding-top: 4rem; padding-bottom: 8rem; }
.faq-item { background-color: var(--md-sys-color-surface-container-low); padding: 2rem; border-radius: 0 var(--shape-corner-large) var(--shape-corner-large) 0; }

/* Footer */
footer { padding: 4rem 2rem; text-align: center; background: var(--md-sys-color-background); border-top: 1px solid var(--md-sys-color-surface-container-low); }
.footer-links { margin-bottom: 2.5rem; display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--md-sys-color-on-surface-variant); text-decoration: none; font-size: 1rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--md-sys-color-on-surface); }
.copyright { color: #ffffff; font-size: 0.9rem; font-family: var(--font-matrix); font-weight: 900; font-variation-settings: "ROND" 100; letter-spacing: 1px; }

/* Mobile Sticky CTA - Hidden by default */
.mobile-sticky-cta { display: none; }

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 968px) {
    .container { padding-left: 1.5rem; padding-right: 1.5rem; }
    nav { padding: 0.8rem 1.2rem; }
    .logo { font-size: 1.5rem; }
    .logo .material-symbols-rounded { font-size: 26px !important; }
    .nav-btn { font-size: 0.95rem; padding: 0.4rem 0.8rem; }
    .nav-btn .material-symbols-rounded { font-size: 18px !important; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 2rem; gap: 3rem; }
    .hero-content { align-items: center; text-align: center; }
    .hero-wrapper::before { top: 10%; right: -20%; width: 140vw; height: 140vw; }
    
    .btn-group { flex-direction: column; width: 100%; gap: 1rem; }
    .btn-group .btn, .btn-group .btn-outlined-disabled { width: 100%; justify-content: center; }
    .nav-links a.text-link { display: none; }

    .pledge-grid { flex-direction: column; gap: 2rem; }

    /* Show Sticky CTA and pad the bottom so nothing gets covered */
    body { padding-bottom: 90px; }
    .mobile-sticky-cta { 
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%; 
        background: rgba(20, 18, 24, 0.95); backdrop-filter: blur(10px);
        padding: 1rem 1.5rem; justify-content: center; z-index: 1000; 
        border-top: 2px solid var(--md-sys-color-primary); box-shadow: 0 -10px 30px rgba(0,0,0,0.6); 
    }
    .mobile-sticky-cta .btn { width: 100%; font-size: 1.1rem; height: 54px; }
}

/* Tighten the H1 Noise */
h1 { 
    font-size: 4.5rem; 
    line-height: 0.85; 
    margin-bottom: 2rem; 
    font-family: var(--font-matrix); 
    font-weight: 900;
    font-variation-settings: "ROND" 100;
}

@media (max-width: 968px) {
    h1 { font-size: 2.8rem; line-height: 0.9; }
}

/* Ensure the logo icon in the nav stays white/amber */
.logo .material-symbols-rounded {
    color: var(--md-sys-color-primary);
}