:root {
    --bg-gradient:linear-gradient(0deg, #020C1C 92.86%, #031122 96.26%, #061B34 99.57%);;
    --accent-blue: #3B82F6;
    --text-dim: rgba(255, 255, 255, 0.60);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-gradient);
    color: #FFF;
    font-family: 'Inter', sans-serif;

    width: 100%;
 
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5vh 5vw;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron';
    font-size: 20px;
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5vw;
}

.nav-links a {
    text-decoration: none;
    color: #FFF;
    font-size: 14px;
    opacity: 0.8;
}

.faq{padding-right: 15px;}
.explore-btn {
    border-radius: 16777200px;
    border: 2px solid var(--accent-blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.50) 0%, rgba(0, 0, 0, 0.00) 100%);
    box-shadow: 0 0 20px 0 rgba(59, 130, 246, 0.50), 0 0 10px 0 rgba(59, 130, 246, 0.50) inset;
    padding: 10px 24px;
    color: #FFF;
    font-family: 'Inter';
    cursor: pointer;
}

/* Sidebar Icons */
.social-icons {
    position: absolute;
    left: 3vw;
    top: 35%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    z-index: 5;
}

.vertical-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.social-icons img {
    width: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: center;
    height: 70vh;
}

.main-title {
    font-family: 'Orbitron';
    font-size: 10vw; 
    line-height: 80px;
    margin-top: 5vh;
    letter-spacing: -2px;
}
.sub-title {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 16px; 
   
    margin: 20px auto;
}
.canvas-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
/* Specific Model Positioning */
.model-placement {
    width: 80vw;
    height: 50vh;
    margin: 0 auto;
    position: relative;
 
    z-index: 5;
}

model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
}


.hero-stats-wrapper {
    position: absolute;
    bottom: 5vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 8vw;
    z-index: 20;
}

.stats-row {
    display: flex;
    gap: 50px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.value { font-size: 24px; font-weight: 600; color: #fff; }
.label { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

.details-btn {
    border-radius: 50px;
    border: 2px solid var(--accent-blue);
    background: transparent;
    padding: 12px 35px;
    color: white;
    font-family: 'Inter';
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* --- RESPONSIVE ADJUSTMENTS --- */

/* 1. TABLET BREAKPOINT (1024px and below) */
@media (max-width: 1024px) {
    .main-title {
        font-size: 100px; /* Scales down from 150px */
        line-height: 70px;
    }

    .sub-title {
        font-size: 14px;
        max-width: 450px;
    }

    .model-placement {
        height: 50vh;
        top: 2vh;
    }

    .stats-row {
        gap: 30px;
    }
}

/* MOBILE (iPhone 16 Pro Max - 768px and below) */
@media (max-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
    }

    .nav-links, .faq, .explore-btn, .social-sidebar { 
        display: none; 
    }

    /* Header Text */
    .main-title {
        font-size: 50px; /* Scaled for mobile width */
        line-height: 45px;
        margin-top: 5vh;
    }

    .sub-title {
        font-size: 11px; /* Very small subtitle */
        max-width: 260px;
        color: rgba(255, 255, 255, 0.4);
    }

    /* 3D Model Area */
    .model-placement {
        height: 35vh;
        width: 100vw;
        margin: 0;
        top: 0;
    }
/* 1. The Container: Stacks children (Stats Row + Button) vertically */
    .hero-stats-wrapper {
        flex-direction: column; 
        align-items: center;
        gap: 30px; /* Space between the stats and the button */
        margin-top: 3vh;
    }

    /* 2. The Stats Row: Keeps the three stats side-by-side */
    .stats-row {
        display: flex;
        flex-direction: row; 
        justify-content: center;
        gap: 20px; /* Reduced gap for narrow screens */
        width: 100%;
    }

    /* 3. The Stat Individual: Centers text */
    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1; /* Ensures equal spacing */
    }

    /* 4. Text Scaling: Significant reduction for premium look */
    .value { 
        font-size: 15px; /* Scaled down from 24px */
        font-weight: 600; 
        color: #fff;
        white-space: nowrap;
    }

    .label { 
        font-size: 9px; /* Scaled down from 13px */
        color: rgba(255, 255, 255, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 2px;
    }
/* The Button underneath */
.details-btn {
    width: 40%;
    max-width: 300px;
    padding: 14px 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    border: 2px solid #3B82F6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}}




.about-section {
    padding: 100px 10%;
    min-height: 100vh;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.about-visual {
    flex: 1;
    height: 450px;
    /* Ensure the car isn't hidden when it's at x: -500 */
    overflow: visible !important; 
}

#about-car {
    width: 100%;
    height: 100%;
    display: block; /* Ensures GSAP can calculate transforms properly */
    will-change: transform, opacity; /* Prepares browser for animation */
}
.about-content {
    flex: 1;
}

/* Typography per your specs */
.about-title {
    color: #FFF;
    font-family: 'Orbitron';
    font-size: 64px;
    font-weight: 600;
    line-height: 65px;
    margin-bottom: 5px;
}

.about-subtitle {
    color: #FFF;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 5px;
    opacity: 0.9;
}

/* Stats List with lines */
.abt-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.abt-label {
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 700;
    color: #FFF;
}

.abt-value {
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 600;
    color: #FFF;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  
}

.feature-card {
   
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.f-icon { border-radius: 14px;
border: 2px solid rgba(59, 130, 246, 0.31);
background: linear-gradient(135deg, rgba(59, 130, 246, 0.13) 0%, rgba(0, 0, 0, 0.00) 100%);
box-shadow: 0 0 30px 0 rgba(59, 130, 246, 0.25), 0 0 20px 0 rgba(59, 130, 246, 0.13) inset;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0 }

.f-label {
    font-family: 'Orbitron';
    font-size: 12px;
    font-weight: 600;
    color: #FFF;
}

.f-val {
    font-family: 'Montserrat';
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}




/* Mobile Fixes */
@media (max-width: 768px) {
    .about-container { flex-direction: column; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-title { font-size: 40px; line-height: 45px; }
}

.best-seller-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    overflow: hidden; /* Prevents scrollbars during animation */
}

.seller-header {
    text-align: center;
    margin-bottom: 20px;
}

.seller-title {
    color: #FFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 30px; /* Adjusted since 24px line-height is tight */
}

.seller-subtitle {
    color: var(--text-dim);
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
}

.street-area {
    position: relative;
    width: 110%;

    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.road-bg {
    position: absolute;
    width: 100%;
    bottom: 20%;
    opacity: 0.5;
    pointer-events: none;
}

.car-mover {
    width: 100%;
    height: 70%;
    z-index: 2;

    transform: translateX(120px) scale(0.85);
    transform-origin: center;
}


#best-seller-car {
    width: 100%;
    height: 100%;
    outline: none;
}

/* Details Button */
.details-btn {
    margin-top: 10px;
    padding: 12px 35px;
    background: transparent;
    border: 1px solid var(--accent-blue);
    border-radius: 50px;
    color: var(--accent-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.details-btn:hover {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.zoom-section {
    position: relative;
    height: 130vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-y;
}

.zoom-bg {
    position: absolute;
    inset: 0;
    background: url('assets/bgg.png') center/cover no-repeat;
    opacity: 0; /* JS will turn this to 0.2 or 0.3 */
    z-index: 1;
}

.zoom-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Title Stacking Logic */
.title-stack {
    position: relative;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stack-title {
    position: absolute;
    font-family: var(--orbitron);
    font-size: clamp(32px, 8vw, 80px);
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    opacity: 0; /* Hidden until GSAP starts */
}

/* Car Scaling Container */
.zoom-car-mover {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    transform: scale(0.05); /* Start almost invisible */
    opacity: 0;
    pointer-events: none;
}

.t1{
    margin-top: 50px;
    color: #FFF;
font-family: Orbitron;
font-size: 65px;
font-style: normal;
font-weight: 700;
line-height: 80px; /* 94.118% */
}

.t2{
    margin-top: 125px;
    color: #FFF;
font-family: Orbitron;
font-size: 65px;
font-style: normal;
font-weight: 700;
line-height: 80px; /* 94.118% */
}

.t3{
    margin-top: 200px;
    color: #FFF;
font-family: Orbitron;
font-size: 65px;
font-style: normal;
font-weight: 700;
line-height: 80px; /* 94.118% */
}

/* Center the button under the car */
.zoom-footer {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: relative;
    z-index: 20; /* High z-index to stay above background and car */
}

.details-btn {
    pointer-events: auto !important; /* Forces the button to be clickable */
    padding: 12px 35px;
    background: transparent;
    border: 1px solid #3B82F6;
    border-radius: 50px;
    color: #3B82F6;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.details-btn:hover {
    background: #3B82F6;
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}
/* --- TABLET RESPONSIVE (Max 1024px) --- */
@media (max-width: 1024px) {
    .seller-title {
        font-size: 44px;
        line-height: 1.1;
    }
    
    .street-area {
        height: 300px;
        width: 100vw; /* Perfect width filling */
    }

    .zoom-section {
        height: 110vh;
    }

    .t1, .t2, .t3 {
        font-size: 48px;
        line-height: 55px;
    }
    
    .t2 { margin-top: 90px; }
    .t3 { margin-top: 150px; }
}

/* --- MOBILE RESPONSIVE (Max 768px) --- */
@media (max-width: 768px) {
    /* Best Seller Section */
    .best-seller-section {
        padding: 50px 0; /* Vertical padding only */
    }

    .seller-title {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .seller-subtitle {
        font-size: 16px;
    }

    .street-area {
        height: 220px;
        width: 100vw; /* Fix: prevents horizontal shaking */
        overflow: hidden;
    }

    #best-seller-car {
        height: 220px;
    }

    /* Zoom Section */
    .zoom-section {
        height: 100vh;
    }

    .title-stack {
        height: 140px; 
    }

    .t1, .t2, .t3 {
        font-size: 28px; 
        line-height: 35px;
        width: 95%;
        white-space: normal;
    }

    /* Tighten stack for mobile */
    .t1 { margin-top: 0px; }
    .t2 { margin-top: 45px; }
    .t3 { margin-top: 90px; }

    .zoom-car-mover {
        margin-top: 30px;
    }

    #zoom-car {
        height: 280px; 
    }

    /* Fixed Button: Lower font size, better padding */
    .details-btn {
        padding: 12px 35px;
        font-size: 11px; 
        letter-spacing: 1.5px;
    }

    /* Featured Section Fix: Ensure button shows */
    .card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* --- SMALL MOBILE (Max 480px) --- */
@media (max-width: 480px) {
    .seller-title {
        font-size: 26px;
    }

    .t1, .t2, .t3 {
        font-size: 22px;
    }

    .street-area {
        height: 180px;
    }

    .details-btn {
        padding: 10px 30px;
        font-size: 10px;
    }
}


/* --- FEATURED SECTION LAYOUT --- */
.featured-section {
    background: #020C1C;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- GRID BOX (Making cards smaller) --- */
.featured-grid {
    display: grid;
    /* This forces the cards to stay between 300px and 340px */
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px)); 
    gap: 24px; 
    width: 100%;
    max-width: 1100px; /* Limits the spread of the grid */
    justify-content: center;
}

/* --- HEADER CONTAINER --- */
.seller-header {
    text-align: center;
    margin-bottom: 100px; 
    margin-top: 50px;
    width: 100%;
}

/* --- MAIN TITLE --- */
.featured-main-title {
    color: #FFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 64px; /* Matches the bold, cinematic scale from the previous sections */
    font-weight: 700;
    letter-spacing: 4px; /* Creates a wide, futuristic feel */
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    /* Optional: subtle blue text glow to match the holographic theme */
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* --- SUBTITLE --- */
.featured-main-subtitle {
    color: rgba(255, 255, 255, 0.6); /* Dimmed white to keep focus on the title */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-top: 15px;
    letter-spacing: 1.5px;
    max-width: 800px; /* Prevents the subtitle from becoming too wide on large screens */
    margin-left: auto;
    margin-right: auto;
}
/* --- THE CARD --- */
.model-card {
    border-radius: 24px;
    border: 2px solid #0A172E;
    background: #020C1C;
    /* Your Specs: Glow and Inset Shadow */
    box-shadow: 0 0 16.1px 0 rgba(59, 130, 246, 0.50), 0 0 20px 0 rgba(0, 0, 0, 0.50) inset;
    padding: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.model-card:hover {
    border-color: #3B82F6;
    transform: translateY(-5px);
}

/* --- 3D VIEWER AREA --- */
.model-display {
    width: 100%;
    height: 180px; /* Compact height for smaller card */
    margin-bottom: 5px;
}

#zoom-car, #best-seller-car, model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
}

/* --- INFO BOX STYLING --- */
.model-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 5px;
}

.car-subtitle {
    color: #2B7B8C;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; /* Slightly smaller */
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0;
}

.car-name {
    color: #06B6D4;
    font-family: 'Orbitron', sans-serif;
    font-size: 22px; /* Scaled down from 28px */
    font-weight: 700;
    line-height: 1.2;
    margin: 2px 0;
}

/* --- STATS BOXES (Functionsbox) --- */
.stats-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    /* Your Specs: Blue Gradient to Transparent */
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.50) 0%, rgba(0, 0, 0, 0.00) 100%);
    box-shadow: 0 0 10px 0 rgba(59, 130, 246, 0.50) inset;
}

.stat-label {
    color: rgba(162, 244, 253, 0.70);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.stat-value {
    color: #06B6D4;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 600;
}

/* --- CARD FOOTER --- */
.card-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    text-transform: uppercase;
}

.price-val {
    color: #06B6D4;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

/* --- BUTTON --- */
.details-btn {
    padding: 8px 18px;
    background: transparent;
    border: 1px solid #3B82F6;
    border-radius: 50px;
    color: #3B82F6;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.details-btn:hover {
    background: #3B82F6;
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}





/* --- SECTION LAYOUT --- */
.tech-showcase {
   
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.seller-header2 {
    width: 100%;
    z-index: 10; /* Ensures it stays above the 3D model */
    margin-bottom: -40px; /* Negative margin pulls the car container up toward the title */
}

.main-title2 {
    color: #FFFFFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 84px; /* Slightly larger to match the scale */
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    
    /* This creates the overlap effect seen in the UI mockup */
    position: relative;
    top: 20px; 
}

/* --- ADJUST THE CONTAINER --- */
.main-display-container {
    position: relative;
    width: 80%;
    height: 60vh; /* Ensure there is enough height for the model */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Remove any top padding that might be pushing the car down */
    padding-top: 0; 
}

.main-display-container model-viewer {
    width: 100%;
    height: 100%;
}

/* --- THE 4 GLOWING CORNERS --- */
.corner {
    position: absolute;
    width: 50px;
    height: 50px;
    pointer-events: none;
}

.top-left {
    top: 0; left: 0;
    border-radius: 16px 0 0 0;
    border-top: 4px solid #06B6D4;
    border-left: 4px solid #06B6D4;
  
    
}

.top-right {
    top: 0; right: 0;
    border-radius: 0 16px 0 0;
    border-top: 4px solid #51A3FF;
    border-right: 4px solid #51A3FF;
  
}

.bottom-left {
    bottom: 0; left: 0;
    border-radius: 0 0 0 16px;
    border-bottom: 4px solid #00B8DB;
    border-left: 4px solid #00B8DB;
  
}

.bottom-right {
    bottom: 0; right: 0;
    border-radius: 0 0 16px 0;
    border-bottom: 4px solid #00B8DB;
    border-right: 4px solid #00B8DB;
  
}

.side-stats {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 1. The Container: Should be a small badge, not huge text */
.feature-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 2px;
    
    /* Background & Border matching the HUD look */
    background: linear-gradient(180deg, rgba(81, 163, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(81, 163, 255, 0.3);
    border-radius: 8px;
    
    /* Ensure it doesn't inherit the 84px font size */
    line-height: normal; 
}

/* 2. The Text: This should be small and readable */
.mini-txt {
    color: #FFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px; /* Small tech-style font size */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap; /* Prevents text from wrapping to a second line */
}

/* 3. The Icon: Make sure it scales correctly */
.mini-icon {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

/* --- BOTTOM WIDE CARD --- */
.wide-spec-card {
    display: flex;
    width: 660px;
    height: 150px;
    padding: 0 40px;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    border: 2px solid #06B6D4;
    background: rgba(50, 48, 139, 0.05);
    box-shadow: 0 0 40px 0 rgba(0, 11, 34, 0.20), 0 0 40px 0 rgba(255, 255, 255, 0.10) inset;
}

.spec-label {
    color: #2B7B8C;
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.spec-value {
    color: #FFF;
    font-family: 'Orbitron';
    font-size: 48px;
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
}

.view-inventory-btn {
    background: #0a192f;
    border: 1px solid #51A3FF;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Orbitron';
    transition: 0.3s;
}

.view-inventory-btn:hover {
    background: #51A3FF;
    box-shadow: 0 0 15px #51A3FF;
}
/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
    .main-display-container {
        width: 100vw;
        height: 350px;
    }
    
    .side-stats {
        position: relative;
        right: 0;
        margin-top: 20px;
        width: 90%;
    }

    .wide-spec-card {
        width: 90%;
        height: auto;
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .spec-value {
        font-size: 32px;
    }
}


.academy-section {
    padding: 100px 5%;
    background: #020C1C;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.academy-main-title {
    color: #FFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    text-align: center;
}

.academy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns for desktop */
    gap: 60px 100px;
    max-width: 1200px;
}

.academy-item {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
}

/* --- THE 112px ICON BOXES --- */
.academy-box {
    display: flex;
    width: 112px;
    height: 112px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.blue-box {
    border-radius: 16px;
    border: 2px solid rgba(59, 130, 246, 0.31);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.13) 0%, rgba(0, 0, 0, 0.00) 100%);
    box-shadow: 0 0 30px 0 rgba(59, 130, 246, 0.25), 0 0 20px 0 rgba(59, 130, 246, 0.13) inset;
}

.cyan-box {
    border-radius: 16px;
    border: 2px solid rgba(6, 182, 212, 0.31);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.13) 0%, rgba(0, 0, 0, 0.00) 100%);
    box-shadow: 0 0 30px 0 rgba(6, 182, 212, 0.25), 0 0 20px 0 rgba(6, 182, 212, 0.13) inset;
}

.academy-box img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* --- TEXT STYLING --- */
.academy-text {
    max-width: 250px;
}

.academy-tint {
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.8;
}

.academy-big-title {
    color: #FFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin: 0; 
}

/* --- THE NUMBERS --- */
.academy-number {
    color: #FFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 40px;
    position: absolute;
    top: 0;
    right: -20px; /* Adjust based on alignment preference */
}

/* --- MOBILE BREAKPOINT --- */
@media (max-width: 900px) {
    .academy-grid {
        grid-template-columns: 1fr; /* Stack into 1 column */
        gap: 40px;
    }

    .academy-main-title {
        font-size: 32px;
    }

    .academy-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .academy-number {
        position: static;
        margin-top: 10px;
    }
}



.ai-hud-section {
    position: relative;
    width: 100%;
    height: 120vh;
   
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The background image layer */
.hud-background-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or 'contain' depending on your image aspect ratio */
}

/* The Grid Overlay */
.hud-overlay-content {
    position: relative;
    z-index: 10;
    width: 95vw;
    height: 90vh;
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.2fr;
    grid-template-rows: auto 1fr 1fr;
    gap: 20px;
  
}

.hud-main-title {
    grid-column: 1 / -1;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 5vw;
    letter-spacing: 12px;
    color: #FFF;
    margin-bottom: 2vh;
}
.hud-box {
    display: flex;
    align-items: center;
    justify-content: center; /* Ensures content inside boxes is centered */
}

/* Specific Placements */
.top-left-box { grid-area: 2 / 1 / 3 / 2; justify-content: flex-start; }
.bottom-left-box { grid-area: 3 / 1 / 4 / 2; justify-content: flex-start; }

.top-right-box { grid-area: 2 / 3 / 3 / 4; justify-content: flex-end; }
.bottom-right-box { grid-area: 3 / 3 / 4 / 4; justify-content: flex-end; }

/* 3D Model placement */
.model-center-stage {
    grid-area: 2 / 2 / 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.model-center-stage {
    grid-area: 2 / 2 / 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hud-sliders-container {
    grid-area: 3 / 2 / 4 / 3;
    align-self: end;
    margin-bottom: 40px;
}

.slider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.slider-grid img {
    width: 100%;
    max-width: 180px;
}

/* Style for the graph images */
.hud-img {
    width: 50%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.hud-label {
    display: block;
    font-family: 'Inter';
    font-size: 12px;
    color: #3B82F6;
    margin-bottom: 5px;
    font-weight: bold;
}


.btnn{justify-content: center;
display: flex;}


.autoverse-section {
    background: #020C1C;
    padding: 100px 8%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.autoverse-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* Typography Specs */
.charge-up {
    color: #FFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 96px;
    font-weight: 700;
    line-height: 79.2px;
    text-transform: uppercase;
    margin: 0;
}

.autoverse-title {
    color: #FFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 79.2px;
    margin: 0 0 20px 0;
}

.autoverse-description {
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28.8px;
    max-width: 500px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Stats Styling */
.stats-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.stat-number {
    display: block;
    color: #06B6D4;
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
}

.stat-label {
    display: block;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    opacity: 0.6;
}

/* 3D Model Container */
.autoverse-model {
    width: 100%;
    height: 500px;
}

model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
}


.autoverse-content {
    position: relative;
    z-index: 10; /* Ensures text and buttons are above background/model */
}


.hud-footer-center {
    grid-column: 1 / -1;
    grid-row: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.details-btn {
  background: transparent;
    border: 1px solid #3B82F6;
    color: #FFF;
    padding: 12px 40px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: 0.3s;
    z-index: 50;
    pointer-events: all;
}

.details-btn:hover {
    transform: scale(1.05);
    background: rgba(59, 130, 246, 0.2);
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .autoverse-container { grid-template-columns: 1fr; text-align: center; }
    .charge-up { font-size: 64px; line-height: 60px; }
    .autoverse-title { font-size: 54px; line-height: 60px; }
    .autoverse-description { margin: 0 auto 30px; }
    .stats-grid { justify-content: center; }
}



.main-footer {
    background-color: #020C1C;
    padding: 80px 10% 40px 10%;
    color: #FFF;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Brand & Logo */
.footer-logo {
      font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: lowercase;
}

.logo-circle {
    width: 24px;
    height: 24px;
    border: 4px solid #FFF;
    border-radius: 50%;
}

.footer-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #94A3B8;
    margin: 25px 0;
    max-width: 280px;
}

/* Headings & Links */
.footer-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-list a {
    color: #94A3B8;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #FFF;
}

/* Icons (Social & Contact) */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: translateY(-5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #94A3B8;
}

.contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-top: 2px;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #64748B;
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-links a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #FFF;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}



/* details page  */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Orbitron:wght@400;700&display=swap');

/* --- Global Variables & Reset --- */
:root {
    --bg-dark: #020C1C;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-cyan: #06B6D4;
    --accent-blue: #3B82F6;
    --text-main: #FFFFFF;
    --text-dim: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
   
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- Navigation --- */
.details-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(2, 12, 28, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* --- Hero Section --- */
.details-hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-car-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(40px, 8vw, 96px);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero-model-container {
    width: 100%;
    height: 500px;
    margin-top: -50px;
}

/* --- Specs Grid --- */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 85%;
    margin: 40px 0;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s ease;
}

.spec-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.spec-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.spec-card p {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.spec-card span {
    font-size: 12px;
    color: var(--text-dim);
}

/* --- Virtual Tour --- */
.interior-tour {
    padding: 100px 8%;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
}

.tour-container {
    display: flex;
    gap: 40px;
    align-items: center;
    
}

.interior-preview {
    flex: 2;
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--accent-cyan);
    overflow: hidden;
   
}

.interior-preview img {
    width: 100%;
    display: block;
}

.tour-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

.menu-item.active {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
}

/* --- Configurator --- */
.config-section {
    padding: 100px 8%;
    background: rgba(255, 255, 255, 0.02);
}

.config-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.control-group {
    margin-bottom: 40px;
}

.control-group h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-row {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}

.option-row.active {
    border-color: var(--accent-cyan);
}

/* Color Picker */
.color-picker {
    display: flex;
    gap: 15px;
}

.color-swatch {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

.color-swatch.active {
    border-color: var(--accent-cyan);
    transform: scale(1.1);
}

/* --- Model Viewers --- */
model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
    --poster-color: transparent;
}

.config-model-view {
    height: 600px;
    position: relative;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.model-controls-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 2px;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .tour-container, .config-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* --- Technical Specs Section --- */
.tech-specs-section {
    padding: 100px 8%;
   
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    transition: 0.4s;
}

.tech-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
}

.tech-icon { font-size: 30px; margin-bottom: 15px; }

.tech-card h4 {
    font-family: 'Orbitron';
    font-size: 28px;
    color: #FFF;
    margin-bottom: 5px;
}

.tech-card p {
    color: var(--text-dim);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    margin-top: 25px;
    border-radius: 2px;
}

.tech-bar .fill {
    height: 100%;
    background: var(--accent-cyan);
    border-radius: 2px;
}

/* --- Safety Section --- */
.safety-section {
    padding: 100px 8%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.safety-content { flex: 1; }
.safety-visual { flex: 1; }

.safety-desc {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 30px;
}

.safety-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.f-item {
    font-size: 14px;
    font-weight: 500;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-item span { color: var(--accent-cyan); }

.safety-img {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.3));
    border-radius: 20px;
}
/* Tech Icon Styling */
.tech-icon {
    margin-bottom: 15px;
    height: 40px; /* Fixed height to keep cards uniform */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-icon img {
    height: 100%; /* Scales to the 40px container */
    width: auto;
    filter: brightness(0) invert(1); /* Makes icons white if they are black PNGs */
}

/* Safety Feature Icon Styling */
.f-item {
    font-size: 14px;
    font-weight: 500;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 12px;
}

.f-item img {
    width: 18px; /* Small size for checkmarks */
    height: 18px;
    object-fit: contain;
}