/* =================================
   TRZ EARNERS EXCHANGE
   TESLA PAGE
================================= */


/* =================================
   ROOT
================================= */

:root {

    --black:
        #030711;

    --dark:
        #050914;

    --dark-two:
        #08101d;

    --card:
        #0b1422;

    --card-light:
        #101b2b;

    --gold:
        #d7a93d;

    --gold-light:
        #f0c866;

    --white:
        #ffffff;

    --text:
        #dbe3ee;

    --muted:
        #8996a9;

    --border:
        rgba(255, 255, 255, 0.09);

    --container:
        1200px;

}


/* =================================
   RESET
================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior:
        smooth;

}


body {

    font-family:
        "Inter",
        sans-serif;

    background:
        var(--black);

    color:
        var(--white);

    line-height:
        1.6;

}


img {

    display:
        block;

    max-width:
        100%;

}


a {

    color:
        inherit;

    text-decoration:
        none;

}


button {

    font-family:
        inherit;

}


.tesla-container {

    width:
        min(92%, var(--container));

    margin:
        0 auto;

}


/* =================================
   HEADER
================================= */

.tesla-header {

    position:
        fixed;

    top:
        0;

    left:
        0;

    width:
        100%;

    z-index:
        100;

    background:
        rgba(3, 7, 17, 0.82);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid var(--border);

}


.nav-container {

    min-height:
        78px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}


/* =================================
   LOGO
================================= */

.tesla-logo {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


.logo-mark {

    width:
        36px;

    height:
        36px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(215, 169, 61, 0.5);

    border-radius:
        50%;

    color:
        var(--gold);

    font-size:
        18px;

    font-weight:
        800;

}


.logo-name {

    display:
        flex;

    flex-direction:
        column;

    line-height:
        1;

}


.logo-name strong {

    font-size:
        15px;

    letter-spacing:
        1px;

}


.logo-name small {

    margin-top:
        4px;

    color:
        var(--muted);

    font-size:
        8px;

    letter-spacing:
        1px;

    text-transform:
        uppercase;

}


/* =================================
   NAVIGATION
================================= */

.tesla-nav {

    display:
        flex;

    align-items:
        center;

    gap:
        28px;

}


.tesla-nav a {

    color:
        #aeb9c8;

    font-size:
        12px;

    font-weight:
        600;

    transition:
        color 0.25s ease;

}


.tesla-nav a:hover,
.tesla-nav a.active {

    color:
        var(--white);

}


.tesla-nav .nav-login {

    color:
        var(--white);

}


.tesla-nav .nav-button {

    padding:
        11px 18px;

    color:
        #111;

    background:
        var(--gold);

    border-radius:
        4px;

}


.tesla-nav .nav-button:hover {

    color:
        #111;

    background:
        var(--gold-light);

}


/* =================================
   MOBILE MENU
================================= */

.mobile-menu {

    display:
        none;

    width:
        42px;

    height:
        42px;

    border:
        1px solid var(--border);

    background:
        transparent;

    cursor:
        pointer;

    border-radius:
        5px;

}


.mobile-menu span {

    display:
        block;

    width:
        19px;

    height:
        2px;

    margin:
        4px auto;

    background:
        var(--white);

}


/* =================================
   HERO
================================= */

.tesla-hero {

    position:
        relative;

    min-height:
        790px;

    padding-top:
        150px;

    overflow:
        hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(215, 169, 61, 0.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #030711,
            #07101d 55%,
            #030711
        );

}


.hero-overlay {

    position:
        absolute;

    inset:
        0;

    z-index:
        0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 17, 0.95) 0%,
            rgba(3, 7, 17, 0.65) 45%,
            rgba(3, 7, 17, 0.1) 100%
        );

}


.hero-grid-lines {

    position:
        absolute;

    inset:
        0;

    z-index:
        0;

    opacity:
        0.25;

    pointer-events:
        none;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        );

    background-size:
        70px 70px;

}


.hero-container {

    position:
        relative;

    z-index:
        2;

    min-height:
        550px;

    display:
        grid;

    grid-template-columns:
        0.9fr 1.1fr;

    align-items:
        center;

    gap:
        30px;

}


.hero-content {

    max-width:
        610px;

}


.hero-label,
.section-label {

    display:
        inline-block;

    margin-bottom:
        18px;

    color:
        var(--gold);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        2px;

}


.hero-content h1 {

    max-width:
        650px;

    font-size:
        clamp(48px, 6vw, 86px);

    line-height:
        0.98;

    letter-spacing:
        -4px;

}


.hero-content h1 span {

    display:
        block;

    color:
        var(--gold);

}


.hero-content h1 strong {

    display:
        block;

    font-weight:
        800;

}


.hero-content p {

    max-width:
        540px;

    margin-top:
        28px;

    color:
        var(--muted);

    font-size:
        15px;

    line-height:
        1.9;

}


.hero-buttons {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-top:
        32px;

}


.gold-button,
.outline-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        14px;

    min-height:
        50px;

    padding:
        0 22px;

    border-radius:
        4px;

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        0.5px;

    transition:
        all 0.25s ease;

}


.gold-button {

    color:
        #101010;

    background:
        var(--gold);

}


.gold-button:hover {

    background:
        var(--gold-light);

    transform:
        translateY(-2px);

}


.outline-button {

    color:
        var(--white);

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,0.02);

}


.outline-button:hover {

    border-color:
        rgba(215,169,61,0.5);

    color:
        var(--gold);

}


/* =================================
   HERO VEHICLE
================================= */

.hero-vehicle {

    position:
        relative;

    min-height:
        500px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.hero-vehicle img {

    position:
        relative;

    z-index:
        4;

    display:
        block;

    width:
        min(700px, 100%);

    max-width:
        100%;

    height:
        400px;

    object-fit:
        contain;

    opacity:
        1;

    visibility:
        visible;

    filter:
        drop-shadow(
            0 30px 35px
            rgba(0,0,0,0.55)
        );

    animation:
        heroCarFloat 5s ease-in-out infinite;

}


@keyframes heroCarFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-12px);

    }

}


/* =================================
   HERO CIRCLES
================================= */

.hero-circle {

    position:
        absolute;

    z-index:
        1;

    border:
        1px solid rgba(215,169,61,0.20);

    border-radius:
        50%;

    pointer-events:
        none;

}


.circle-one {

    width:
        420px;

    height:
        420px;

    animation:
        circleRotate 20s linear infinite;

}


.circle-two {

    width:
        530px;

    height:
        530px;

    border-style:
        dashed;

    animation:
        circleRotateReverse 28s linear infinite;

}


.circle-three {

    width:
        640px;

    height:
        640px;

    border-color:
        rgba(255,255,255,0.06);

    animation:
        circlePulse 5s ease-in-out infinite;

}


@keyframes circleRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


@keyframes circleRotateReverse {

    from {

        transform:
            rotate(360deg);

    }

    to {

        transform:
            rotate(0deg);

    }

}


@keyframes circlePulse {

    0%,
    100% {

        transform:
            scale(1);

        opacity:
            0.45;

    }

    50% {

        transform:
            scale(1.05);

        opacity:
            0.8;

    }

}


/* =================================
   FLOATING CARD
================================= */

.hero-floating-card {

    position:
        absolute;

    right:
        2%;

    bottom:
        35px;

    z-index:
        8;

    width:
        180px;

    padding:
        17px;

    background:
        rgba(8,16,29,0.90);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(15px);

    box-shadow:
        0 20px 45px
        rgba(0,0,0,0.35);

    animation:
        floatingCard 4s ease-in-out infinite;

}


.hero-floating-card span {

    display:
        block;

    color:
        var(--gold);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        1.5px;

}


.hero-floating-card strong {

    display:
        block;

    margin-top:
        6px;

    font-size:
        18px;

}


.hero-floating-card small {

    display:
        block;

    margin-top:
        3px;

    color:
        var(--muted);

    font-size:
        9px;

}


@keyframes floatingCard {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-10px);

    }

}


/* =================================
   HERO BOTTOM
================================= */

.hero-bottom {

    position:
        absolute;

    bottom:
        0;

    left:
        0;

    width:
        100%;

    z-index:
        5;

    border-top:
        1px solid var(--border);

}


.hero-stats {

    min-height:
        80px;

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

}


.hero-stats div {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    padding:
        0 25px;

    border-right:
        1px solid var(--border);

}


.hero-stats div:last-child {

    border-right:
        none;

}


.hero-stats strong {

    color:
        var(--gold);

    font-size:
        17px;

}


.hero-stats span {

    color:
        #738196;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        1px;

}


/* =================================
   INTRO
================================= */

.intro-section {

    padding:
        120px 0;

    background:
        #f6f7f8;

    color:
        #111827;

}


.intro-grid {

    display:
        grid;

    grid-template-columns:
        1fr 0.9fr;

    gap:
        100px;

}


.intro-section .section-label {

    color:
        #96721f;

}


.intro-section h2 {

    max-width:
        550px;

    font-size:
        clamp(38px, 5vw, 62px);

    line-height:
        1;

    letter-spacing:
        -3px;

}


.intro-section h2 span {

    color:
        #96721f;

}


.intro-grid > div:last-child {

    padding-top:
        28px;

}


.intro-grid p {

    color:
        #667085;

    font-size:
        15px;

    line-height:
        1.9;

}


.intro-note {

    margin-top:
        18px;

    font-size:
        11px !important;

}


/* =================================
   VEHICLES SECTION
================================= */

.vehicles-section {

    padding:
        120px 0;

    background:
        #f6f7f8;

    color:
        #111827;

}


.section-heading {

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        40px;

    margin-bottom:
        55px;

}


.section-heading .section-label {

    color:
        #96721f;

}


.section-heading h2 {

    font-size:
        clamp(38px, 5vw, 60px);

    line-height:
        1;

    letter-spacing:
        -3px;

}


.section-heading h2 span {

    color:
        #96721f;

}


.section-heading > p {

    max-width:
        360px;

    color:
        #667085;

    font-size:
        13px;

    line-height:
        1.8;

}


/* =================================
   VEHICLE GRID
================================= */

.vehicle-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        22px;

}


.vehicle-card {

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid #e4e7ec;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.vehicle-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 25px 60px
        rgba(16,24,40,0.12);

}


.vehicle-card.featured-vehicle {

    border-color:
        rgba(215,169,61,0.45);

}


/* =================================
   VEHICLE IMAGE
================================= */

.vehicle-image {

    position:
        relative;

    height:
        340px;

    overflow:
        hidden;

    background:
        #edf0f3;

}


.vehicle-image img {

    position:
        relative;

    z-index:
        1;

    display:
        block;

    width:
        100%;

    max-width:
        none;

    height:
        100%;

    object-fit:
        cover;

    opacity:
        1;

    visibility:
        visible;

    transition:
        transform 0.7s ease;

}


.vehicle-card:hover .vehicle-image img {

    transform:
        scale(1.045);

}


.image-overlay {

    position:
        absolute;

    inset:
        0;

    z-index:
        2;

    pointer-events:
        none;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0,0,0,0.20)
        );

}


.vehicle-number {

    position:
        absolute;

    top:
        20px;

    left:
        20px;

    z-index:
        5;

    color:
        #ffffff;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        1px;

    text-shadow:
        0 2px 8px
        rgba(0,0,0,0.5);

}


.featured-tag {

    position:
        absolute;

    top:
        18px;

    right:
        18px;

    z-index:
        5;

    padding:
        7px 10px;

    color:
        #151515;

    background:
        var(--gold);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        1px;

}


/* =================================
   VEHICLE INFO
================================= */

.vehicle-info {

    padding:
        28px;

}


.vehicle-title-row {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        20px;

}


.vehicle-title-row span {

    color:
        #96721f;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        1.5px;

}


.vehicle-title-row h3 {

    margin-top:
        3px;

    font-size:
        30px;

    letter-spacing:
        -1px;

}


.vehicle-arrow {

    width:
        38px;

    height:
        38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        #96721f;

    border:
        1px solid #e4e7ec;

    border-radius:
        50%;

    transition:
        all 0.25s ease;

}


.vehicle-card:hover .vehicle-arrow {

    color:
        #111827;

    background:
        var(--gold);

    border-color:
        var(--gold);

}


.vehicle-info > p {

    margin-top:
        16px;

    color:
        #667085;

    font-size:
        12px;

    line-height:
        1.8;

}


.vehicle-specs {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        10px;

    margin-top:
        25px;

    padding:
        18px 0;

    border-top:
        1px solid #e4e7ec;

    border-bottom:
        1px solid #e4e7ec;

}


.vehicle-specs div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;

}


.vehicle-specs strong {

    font-size:
        11px;

}


.vehicle-specs span {

    color:
        #98a2b3;

    font-size:
        7px;

    font-weight:
        800;

    letter-spacing:
        0.8px;

}


.vehicle-button {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    margin-top:
        20px;

    padding:
        13px 15px;

    color:
        #111827;

    border:
        1px solid #d0d5dd;

    font-size:
        10px;

    font-weight:
        800;

    transition:
        all 0.25s ease;

}


.vehicle-button:hover {

    color:
        #111827;

    background:
        var(--gold);

    border-color:
        var(--gold);

}


.specification-note {

    margin-top:
        28px;

    color:
        #98a2b3;

    font-size:
        10px;

    line-height:
        1.7;

}


/* =================================
   EXPERIENCE
================================= */

.experience-section {

    padding:
        120px 0;

    overflow:
        hidden;

    background:
        #050914;

}


.experience-grid {

    display:
        grid;

    grid-template-columns:
        1fr 0.9fr;

    align-items:
        center;

    gap:
        100px;

}


.experience-content h2 {

    max-width:
        560px;

    font-size:
        clamp(40px, 5vw, 64px);

    line-height:
        1;

    letter-spacing:
        -3px;

}


.experience-content h2 span {

    color:
        var(--gold);

}


.experience-content > p {

    max-width:
        570px;

    margin-top:
        25px;

    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.9;

}


.experience-list {

    margin-top:
        35px;

}


.experience-list > div {

    display:
        flex;

    gap:
        18px;

    padding:
        18px 0;

    border-bottom:
        1px solid var(--border);

}


.experience-list > div > span {

    color:
        var(--gold);

    font-size:
        10px;

    font-weight:
        800;

}


.experience-list h4 {

    font-size:
        13px;

}


.experience-list p {

    margin-top:
        4px;

    color:
        var(--muted);

    font-size:
        10px;

}


/* =================================
   EXPERIENCE VISUAL
================================= */

.experience-visual {

    position:
        relative;

    min-height:
        500px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.experience-circle {

    position:
        absolute;

    border:
        1px solid rgba(215,169,61,0.18);

    border-radius:
        50%;

}


.circle-large {

    width:
        440px;

    height:
        440px;

    animation:
        circleRotate 25s linear infinite;

}


.circle-small {

    width:
        300px;

    height:
        300px;

    border-style:
        dashed;

    animation:
        circleRotateReverse 18s linear infinite;

}


.experience-mark {

    position:
        relative;

    z-index:
        3;

    width:
        150px;

    height:
        150px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(215,169,61,0.45);

    border-radius:
        50%;

    color:
        var(--gold);

    font-size:
        70px;

    font-weight:
        800;

    box-shadow:
        0 0 70px
        rgba(215,169,61,0.08);

    animation:
        experiencePulse 4s ease-in-out infinite;

}


@keyframes experiencePulse {

    0%,
    100% {

        transform:
            scale(1);

        box-shadow:
            0 0 40px
            rgba(215,169,61,0.06);

    }

    50% {

        transform:
            scale(1.06);

        box-shadow:
            0 0 80px
            rgba(215,169,61,0.18);

    }

}


.experience-card {

    position:
        absolute;

    right:
        0;

    bottom:
        55px;

    z-index:
        5;

    padding:
        18px 22px;

    background:
        rgba(8,16,29,0.9);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(12px);

}


.experience-card span {

    display:
        block;

    color:
        var(--gold);

    font-size:
        8px;

    font-weight:
        800;

}


.experience-card strong {

    display:
        block;

    margin-top:
        5px;

    max-width:
        110px;

    font-size:
        11px;

    line-height:
        1.5;

}


/* =================================
   ENQUIRY
================================= */

.enquiry-section {

    padding:
        100px 0;

    background:
        #f6f7f8;

}


.enquiry-box {

    display:
        grid;

    grid-template-columns:
        auto 1fr auto;

    align-items:
        center;

    gap:
        30px;

    padding:
        55px;

    background:
        #ffffff;

    border:
        1px solid #e4e7ec;

}


.enquiry-icon {

    width:
        65px;

    height:
        65px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        #111827;

    background:
        var(--gold);

    font-size:
        28px;

    font-weight:
        800;

    border-radius:
        50%;

}


.enquiry-content .section-label {

    color:
        #96721f;

}


.enquiry-content h2 {

    font-size:
        clamp(30px, 4vw, 48px);

    line-height:
        1;

    letter-spacing:
        -2px;

}


.enquiry-content h2 span {

    color:
        #96721f;

}


.enquiry-content p {

    max-width:
        600px;

    margin-top:
        13px;

    color:
        #667085;

    font-size:
        12px;

    line-height:
        1.8;

}


/* =================================
   FOOTER
================================= */

.tesla-footer {

    padding-top:
        70px;

    background:
        #030711;

    border-top:
        1px solid var(--border);

}


.footer-grid {

    display:
        grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap:
        50px;

    padding-bottom:
        60px;

}


.footer-brand p {

    max-width:
        300px;

    margin-top:
        20px;

    color:
        var(--muted);

    font-size:
        11px;

    line-height:
        1.8;

}


.footer-column {

    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;

}


.footer-column h4 {

    margin-bottom:
        8px;

    color:
        var(--white);

    font-size:
        11px;

    text-transform:
        uppercase;

    letter-spacing:
        1px;

}


.footer-column a {

    color:
        var(--muted);

    font-size:
        10px;

    transition:
        color 0.2s ease;

}


.footer-column a:hover {

    color:
        var(--gold);

}


.footer-bottom {

    min-height:
        70px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    border-top:
        1px solid var(--border);

}


.footer-bottom p {

    color:
        #566276;

    font-size:
        9px;

}


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 1000px) {

    .tesla-nav {

        gap:
            17px;

    }


    .tesla-nav a {

        font-size:
            10px;

    }


    .hero-container {

        grid-template-columns:
            1fr;

        padding-bottom:
            130px;

    }


    .hero-content {

        text-align:
            center;

        margin:
            0 auto;

    }


    .hero-content p {

        margin-left:
            auto;

        margin-right:
            auto;

    }


    .hero-buttons {

        justify-content:
            center;

    }


    .hero-vehicle {

        min-height:
            420px;

    }


    .intro-grid,
    .experience-grid {

        grid-template-columns:
            1fr;

        gap:
            50px;

    }


    .vehicle-grid {

        grid-template-columns:
            1fr;

    }


    .experience-visual {

        max-width:
            600px;

        width:
            100%;

        margin:
            auto;

    }


    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 750px) {

    .mobile-menu {

        display:
            block;

    }


    .tesla-nav {

        position:
            absolute;

        top:
            78px;

        left:
            4%;

        width:
            92%;

        display:
            none;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        padding:
            10px;

        background:
            rgba(5,9,20,0.98);

        border:
            1px solid var(--border);

    }


    .tesla-nav.active {

        display:
            flex;

    }


    .tesla-nav a {

        padding:
            13px;

        font-size:
            11px;

    }


    .tesla-nav .nav-button {

        text-align:
            center;

        margin:
            5px;

    }


    .tesla-hero {

        min-height:
            850px;

        padding-top:
            125px;

    }


    .hero-content h1 {

        font-size:
            clamp(43px, 14vw, 68px);

        letter-spacing:
            -3px;

    }


    .hero-content p {

        font-size:
            12px;

    }


    .hero-vehicle {

        min-height:
            380px;

    }


    .hero-vehicle img {

        height:
            280px;

    }


    .circle-one {

        width:
            300px;

        height:
            300px;

    }


    .circle-two {

        width:
            380px;

        height:
            380px;

    }


    .circle-three {

        width:
            460px;

        height:
            460px;

    }


    .hero-floating-card {

        right:
            2%;

        bottom:
            5px;

    }


    .hero-stats {

        grid-template-columns:
            1fr;

        min-height:
            auto;

    }


    .hero-stats div {

        min-height:
            55px;

        border-right:
            none;

        border-bottom:
            1px solid var(--border);

    }


    .hero-stats div:last-child {

        border-bottom:
            none;

    }


    .intro-section,
    .vehicles-section,
    .experience-section {

        padding:
            80px 0;

    }


    .section-heading {

        flex-direction:
            column;

        align-items:
            flex-start;

    }


    .vehicle-image {

        height:
            280px;

    }


    .vehicle-info {

        padding:
            22px;

    }


    .vehicle-specs {

        gap:
            5px;

    }


    .experience-visual {

        min-height:
            400px;

    }


    .circle-large {

        width:
            330px;

        height:
            330px;

    }


    .circle-small {

        width:
            230px;

        height:
            230px;

    }


    .experience-card {

        right:
            0;

        bottom:
            20px;

    }


    .enquiry-box {

        grid-template-columns:
            1fr;

        padding:
            35px 25px;

    }


    .enquiry-icon {

        width:
            55px;

        height:
            55px;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

        gap:
            35px;

    }


    .footer-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;

        justify-content:
            center;

        padding:
            20px 0;

    }

}


@media (max-width: 480px) {

    .tesla-header {

        background:
            rgba(3,7,17,0.96);

    }


    .nav-container {

        min-height:
            70px;

    }


    .tesla-nav {

        top:
            70px;

    }


    .tesla-hero {

        padding-top:
            105px;

    }


    .hero-content h1 {

        font-size:
            43px;

    }


    .hero-buttons {

        flex-direction:
            column;

    }


    .gold-button,
    .outline-button {

        width:
            100%;

    }


    .hero-vehicle {

        min-height:
            330px;

    }


    .hero-vehicle img {

        height:
            220px;

    }


    .hero-floating-card {

        width:
            145px;

        padding:
            13px;

    }


    .vehicle-grid {

        gap:
            15px;

    }


    .vehicle-image {

        height:
            230px;

    }


    .vehicle-specs strong {

        font-size:
            9px;

    }


    .vehicle-title-row h3 {

        font-size:
            25px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

    }

}


/* =================================
   REDUCED MOTION
================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation:
            none !important;

        scroll-behavior:
            auto !important;

        transition:
            none !important;

    }

}

/* =========================================
   JAVASCRIPT EFFECTS
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.vehicle-card.selected {
    border-color: var(--gold);
    transform: translateY(-6px);
}

.tesla-header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.image-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #e9e7df;
}

.image-error-message {
    text-align: center;
    color: var(--navy);
}

.image-error-message span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
}

.image-error-message strong {
    display: block;
    font-size: 18px;
    margin-top: 8px;
}

.image-error-message small {
    display: block;
    margin-top: 5px;
    color: #666;
}


/* =========================================
   MOBILE MENU
========================================= */

@media (max-width: 750px) {

    .tesla-nav.active {
        display: flex;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}