:root {
    --bg: #ffffff;
    --text: #000000;
    --accent: #FF0000;
    --font-primary: 'Helvetica Now Display', 'Inter', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography base */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    text-align: left;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.04em; /* Tightened tracking */
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 3rem;
}

h3 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

p {
    font-weight: 400;
    text-align: left;
    color: var(--text);
    font-size: 1.35rem; /* Increased from 1.25rem */
    max-width: 800px; /* Increased max-width to accommodate larger text */
    line-height: 1.5;
    margin-bottom: 3rem;
}

/* Navigation - matching original but restyled for minimal */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #000000; /* Stark border */
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 35px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #666666;
    text-decoration: none;
    margin-left: 3rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: lowercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0052FF;
}

.nav-cta {
    background: #0052FF;
    color: white !important;
    padding: 0.7rem 1.8rem;
    font-weight: 700 !important;
    border-radius: 100px;
    border: 1px solid #0052FF;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: white;
    color: #0052FF !important;
}

/* Sections Base */
section {
    display: flex;
    align-items: center;
    padding: 12rem 4rem 8rem 4rem;
    border-bottom: 1px solid #000000;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-section .grid-2 {
    align-items: stretch; /* Match height of visual to height of text */
}

/* Section Specifics */

/* Section 1: Hero */
.hero-section {
    position: relative;
    padding-top: 16rem;
    min-height: 100vh;
}

.hero-text {
    z-index: 2;
}

.eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
    text-transform: lowercase; /* as per "The road is blind. You are not." Wait, prompt says: "The road is blind. You are not." with Bold headers flush left. I won't force lower case, just standard */
}

.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.2);
}

.btn-black {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-black:hover {
    background: white;
    color: #000 !important;
    transform: none;
    box-shadow: none;
    border-color: #000;
}

.btn-blue {
    background: #0052FF;
    color: #fff;
    border: 1px solid #0052FF;
}

.btn-blue:hover {
    background: white;
    color: #0052FF !important;
    transform: none;
    box-shadow: none;
}

.btn-red {
    background: var(--accent);
    color: var(--bg);
    border: 1px solid var(--accent);
}

.btn-red:hover {
    background: var(--bg);
    color: var(--accent);
}

/* Images */
.visual-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-sketch {
    width: 100%;
    height: auto;
    max-width: 650px;
    display: block;
    margin: 0 auto;
    mix-blend-mode: multiply;
    animation: fadeInSketch 2s ease-out forwards;
}

@keyframes fadeInSketch {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.visual-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    background: #f0f0f0; /* Fallback */
    border: 1px solid #000000; /* Stark border to match aesthetics */
}

/* Section 5: Badge */
.badge-section {
    text-align: center;
    justify-content: center;
    border-bottom: none;
}

.badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.badge-container p, .badge-container h2 {
    text-align: center;
}

.badge-image-wrapper {
    margin-bottom: 4rem;
}

.badge-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* Mockup Component CSS */
.hardware-bundle {
    background: #ffffff;
    border: 1px solid #000000;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column; /* Permanent Vertical Stack */
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    height: 100%; /* Stretch to fill visual-container */
    border-radius: 40px;
    box-shadow: 20px 20px 0px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.dashcam-sketch-wrapper,
.mockup-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0; /* Allow shrinking to match text height */
}

.dashcam-sketch {
    width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

.mockup-wrapper {
    container-type: inline-size;
}

.mockup-device {
    width: 100%;
    max-height: 100%;
    aspect-ratio: 15 / 8;
    background: #111111;
    border-radius: 6.666cqi;
    padding: 2cqi;
    box-shadow: 0 5cqi 10cqi rgba(0,0,0,0.15);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 5cqi;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #111111;
}

.mockup-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 3.333cqi 4cqi;
    font-size: 2.133cqi;
    font-weight: 600;
    color: #ffffff;
    width: 100%;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 1.333cqi;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 1.333cqi;
}

.status-right svg {
    width: 4.666cqi;
    height: 4.666cqi;
}

.safety-text {
    color: #20BF55; /* Green */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.battery-icon {
    width: 3.666cqi;
    height: 2cqi;
    border: 0.166cqi solid #ffffff;
    border-radius: 0.333cqi;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.battery-icon::after {
    content: '';
    position: absolute;
    right: -0.5cqi;
    top: 0.333cqi;
    bottom: 0.333cqi;
    width: 0.333cqi;
    background: #ffffff;
}
.battery-icon::before {
    content: '';
    position: absolute;
    left: 0.166cqi;
    top: 0.166cqi;
    bottom: 0.166cqi;
    width: 80%;
    background: #20BF55; /* Green charging fill */
    z-index: 1;
}

.lightning-bolt {
    position: relative;
    z-index: 2;
    transform: scale(0.85);
    width: 1cqi;
    height: 1.666cqi;
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0 8cqi 4cqi 8cqi;
    text-align: center;
}

.score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-ring {
    width: 23.333cqi;
    height: 23.333cqi;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.666cqi;
    position: relative;
}

.score-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1cqi dotted #FF0000; /* Red dotted circle */
    animation: spinReverse 10s linear infinite;
}

@keyframes spinReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.score-label {
    display: block;
    font-size: 2.4cqi;
    text-transform: uppercase;
    letter-spacing: 0.333cqi;
    color: #aaaaaa;
}

.score-value {
    font-size: 12cqi;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.05em;
}

.hazard-container {
    animation: flash 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.hazard-icon {
    margin-bottom: 2.666cqi;
}

.hazard-icon svg {
    width: 20cqi;
    height: 20cqi;
}

.hazard-distance {
    font-size: 8cqi;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

@keyframes flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

/* Responsiveness */


/* Feature Grid 3 Layout */
.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.proactive-section {
    padding: 6rem 4rem;
    flex-direction: column;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.5rem;
}

.feature-visual {
    background: #f8f9fa;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1; /* Visual appears first on desktop despite DOM order */
}

/* Common animation helper */
.road-lines { animation: moveRoad 1s linear infinite; }
@keyframes moveRoad { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

/* Illustration 1: Cognitive Focus */
.cursor-animate { animation: cursorMove 4s infinite; }
@keyframes cursorMove {
    0%, 15% { transform: translate(310px, 230px); opacity: 0; }
    25% { transform: translate(292px, 125px); opacity: 0.8; }
    40%, 45% { transform: translate(292px, 125px); opacity: 0.8; }
    55% { transform: translate(310px, 230px); opacity: 0; }
    100% { transform: translate(310px, 230px); opacity: 0; }
}
.tap-pulse { animation: tapPulse 4s infinite; }
@keyframes tapPulse {
    0%, 39% { opacity: 0; transform: scale(0.5); }
    40% { opacity: 0.5; transform: scale(1); }
    45%, 100% { opacity: 0; transform: scale(1.5); }
}
.distract-ring { animation: ringColor 4s infinite; }
@keyframes ringColor {
    0%, 35% { stroke: #20BF55; }
    40%, 100% { stroke: #FF0000; }
}
.score-high { animation: showHigh 4s infinite; }
.score-low { animation: showLow 4s infinite; }
@keyframes showHigh { 0%, 35% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes showLow { 0%, 35% { opacity: 0; } 40%, 100% { opacity: 1; } }

/* Illustration 2: Precision Control */
.pc-car { animation: pcCarMove 7s ease-in-out infinite; }
@keyframes pcCarMove {
    0%, 15% { transform: translate(280px, 330px); }
    35% { transform: translate(280px, 240px); }
    48% { transform: translate(280px, 172px); }
    55%, 60% { transform: translate(280px, 185px); }
    65%, 85% { transform: translate(280px, 185px); }
    100% { transform: translate(280px, 330px); }
}
.pc-ring-green { stroke: #20BF55; animation: pcRingGreen 7s infinite; }
@keyframes pcRingGreen {
    0%, 18% { opacity: 1; }
    22%, 82% { opacity: 0; }
    90%, 100% { opacity: 1; }
}
.pc-ring-red { animation: pcRingRed 7s infinite; }
@keyframes pcRingRed {
    0%, 18% { opacity: 0; }
    22%, 58% { opacity: 1; }
    62%, 100% { opacity: 0; }
}
.pc-ring-yellow { stroke: #E8B931; animation: pcRingYellow 7s infinite; }
@keyframes pcRingYellow {
    0%, 58% { opacity: 0; }
    62%, 82% { opacity: 1; }
    90%, 100% { opacity: 0; }
}
.pc-score-high { animation: pcScoreHigh 7s infinite; }
@keyframes pcScoreHigh {
    0%, 58% { opacity: 1; }
    62%, 82% { opacity: 0; }
    90%, 100% { opacity: 1; }
}
.pc-score-low { animation: pcScoreLow 7s infinite; }
@keyframes pcScoreLow {
    0%, 58% { opacity: 0; }
    62%, 82% { opacity: 1; }
    90%, 100% { opacity: 0; }
}
.speed-h-cruise { animation: spdHCruise 7s infinite; }
@keyframes spdHCruise {
    0%, 18% { opacity: 1; }
    20%, 100% { opacity: 0; }
}
.speed-h-accel { animation: spdHAccel 7s infinite; }
@keyframes spdHAccel {
    0%, 18% { opacity: 0; }
    20%, 46% { opacity: 1; }
    48%, 100% { opacity: 0; }
}
.speed-h-brake { animation: spdHBrake 7s infinite; }
@keyframes spdHBrake {
    0%, 46% { opacity: 0; }
    48%, 58% { opacity: 1; }
    60%, 100% { opacity: 0; }
}
.speed-h-settle { animation: spdHSettle 7s infinite; }
@keyframes spdHSettle {
    0%, 58% { opacity: 0; }
    60%, 85% { opacity: 1; }
    90%, 100% { opacity: 0; }
}

/* Illustration 3: Spatial Awareness (Street Race) */
.sa-car-black { animation: saBlackMove 7s ease-in-out infinite; }
@keyframes saBlackMove {
    0%, 10% { transform: translate(280px, 280px); }
    40% { transform: translate(280px, 140px); }
    55% { transform: translate(120px, 100px); }
    80% { transform: translate(120px, 40px); }
    100% { transform: translate(280px, 280px); }
}
.sa-car-red { animation: saRedMove 7s ease-in-out infinite; }
@keyframes saRedMove {
    0%, 10% { transform: translate(280px, 350px); }
    40% { transform: translate(280px, 210px); }
    55% { transform: translate(120px, 170px); }
    80% { transform: translate(120px, 110px); }
    100% { transform: translate(280px, 350px); }
}
.sa-score-1 { animation: saScore1 7s infinite; }
@keyframes saScore1 {
    0%, 20% { opacity: 1; }
    25%, 100% { opacity: 0; }
}
.sa-score-2 { animation: saScore2 7s infinite; }
@keyframes saScore2 {
    0%, 20% { opacity: 0; }
    25%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.sa-score-3 { animation: saScore3 7s infinite; }
@keyframes saScore3 {
    0%, 45% { opacity: 0; }
    50%, 70% { opacity: 1; }
    75%, 100% { opacity: 0; }
}
.sa-score-4 { animation: saScore4 7s infinite; }
@keyframes saScore4 {
    0%, 70% { opacity: 0; }
    75%, 90% { opacity: 1; }
    95%, 100% { opacity: 0; }
}


/* Problem Stage (Agitation) */
.problem-section {
    background: #000;
    color: #fff;
    padding: 10rem 4rem;
    flex-direction: column;
}

.problem-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.problem-section h2 { margin-bottom: 4rem; text-align: center; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
}

.problem-card {
    padding: 3rem;
    border: 1px solid #333;
    border-radius: 12px;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
}

.problem-card h3 { color: #FF0000; margin-bottom: 1.5rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.problem-card p { color: #888; font-size: 1rem; margin-bottom: 0; line-height: 1.5; }
.problem-card .stat { font-size: 3.5rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; display: block; letter-spacing: -0.05em; }

/* References Section */
.references-section {
    padding: 6rem 4rem;
    background: #fdfdfd;
    border-top: 1px solid #eaeaea;
    font-size: 0.85rem;
    color: #888;
    display: flex; /* Ensure it uses flex */
    flex-direction: column;
    align-items: flex-start;
}

.references-section .container {
    max-width: 800px;
}

.references-section h4 { font-size: 1rem; margin-bottom: 1.5rem; color: #333; }
.references-section ol { padding-left: 1.2rem; line-height: 1.6; }
.references-section li { margin-bottom: 0.8rem; }

/* Waitlist Form Section */
.waitlist-form {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.waitlist-form input:focus {
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.waitlist-form .btn {
    white-space: nowrap;
}

/* consolidated Responsiveness Overrides */
@media (max-width: 1100px) {
    .hero-section .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
        align-items: center; /* Stop stretching height when stacked */
    }

    .hero-section .hardware-bundle {
        height: auto;
        max-width: 600px;
        margin: 0 auto 2rem auto;
    }
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        text-align: left;
    }
    
    .nav-bar {
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .logo-container { width: auto; }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        margin-top: 0;
    }

    .nav-links a {
        margin: 0 0.75rem;
        font-size: 0.8rem;
    }
    
    .feature-grid-3,
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    #how-it-works .feature-grid-3 {
        gap: 4rem;
    }
    
    .feature-card {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-card .feature-visual {
        order: 2 !important; /* Move to bottom */
    }
    
    section {
        padding: 6rem 1.5rem;
    }
    
    .proactive-section {
        padding: 4rem 1.5rem !important;
        min-height: auto;
    }

    .feature-card .feature-visual svg {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .waitlist-form {
        flex-direction: column;
        width: 100%;
        gap: 1.2rem;
    }
    
    .waitlist-form input {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
    }
    
    .waitlist-form .btn {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .feature-card .feature-visual svg {
        max-width: 100%;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .problem-card {
        padding: 2rem;
    }

    .references-section {
        padding: 4rem 1.5rem;
    }
}
