/* =====================================================
   BEST EV FOR SALE — Futuristic Marketplace Theme
   Primary: #008C9D | USA-grade UI/UX
   ===================================================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&amp;display=swap");
:root {
    --primary: #008c9d;
    --primary-600: #00a3b8;
    --primary-700: #00bcd4;
    --primary-glow: rgba(0, 140, 157, 0.45);
    --bg-0: #050a14;
    --bg-1: #0a1525;
    --bg-2: #0f1d35;
    --bg-soft: #f5f9fb;
    --surface: #ffffff;
    --ink-900: #0a1525;
    --ink-700: #1f2d44;
    --ink-500: #4a5a73;
    --ink-300: #8a99b3;
    --line: rgba(10, 21, 37, 0.08);
    --line-strong: rgba(10, 21, 37, 0.14);
    --shadow-lg: 0 30px 80px -20px rgba(0, 140, 157, 0.25);
    --shadow-md: 0 12px 40px -10px rgba(10, 21, 37, 0.18);
    --radius-lg: 20px;
    --radius-xl: 28px;
}

.site-nav.scrolled .nav-link {
    color: #000 !important;
}

/* Hover & active when scrolled */
.site-nav.scrolled .nav-link:hover,
.site-nav.scrolled .nav-link.active {
    color: var(--primary-700) !important;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Exo 2", system-ui, -apple-system, sans-serif;
    background: var(--bg-soft);
    color: var(--ink-900);
    overflow-x: hidden;
}

/* React root – kept invisible (this is a static HTML site) */
#root {
    display: none !important;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* =================== TYPOGRAPHY HELPERS =================== */
.text-gradient {
    color: var(--primary);
}

.section-eyebrow {
    display: inline-block;
    font-family: "Orbitron", monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 6px 14px;
    border: 1px solid rgba(0, 140, 157, 0.3);
    border-radius: 999px;
    background: rgba(0, 140, 157, 0.06);
}

.section-title {
    font-family: "Exo 2", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin-bottom: 1.25rem;
}

.section-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-500);
    max-width: 60ch;
}

.section-header .section-sub {
    margin: 0 auto;
}

/* =================== BUTTONS =================== */
.btn-primary-neo,
.btn-ghost-neo,
.btn-outline-neo,
.btn-glow {
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.92rem;
    padding: 14px 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn-primary-neo {
    background: #008c9d !important;
    background-image: linear-gradient(135deg, #008c9d 0%, #00bcd4 100%) !important;
    background-color: #008c9d !important;
    color: #fff !important;
    box-shadow: 0 10px 30px -8px var(--primary-glow);
}
.btn-primary-neo:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -8px var(--primary-glow);
}
.btn-primary-neo span,
.btn-primary-neo i {
    color: #fff !important;
}
.btn-primary-neo i { font-size: 1.25rem; }

.btn-ghost-neo {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.btn-ghost-neo:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-neo {
    background: transparent !important;
    color: #008c9d !important;
    border: 1.5px solid #008c9d !important;
}
.btn-outline-neo:hover {
    background: #008c9d !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -8px var(--primary-glow);
}
.btn-outline-neo:hover span,
.btn-outline-neo:hover i { color: #fff !important; }

.btn-glow {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    font-size: 0.85rem;
    box-shadow: 0 0 0 0 var(--primary-glow);
    animation: pulse-glow 2.4s ease-in-out infinite;
}
.btn-glow:hover { color: #008c9d !important; transform: translateY(-2px); }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { box-shadow: 0 0 0 14px rgba(0, 140, 157, 0); }
}

/* =================== NAVBAR =================== */
.site-nav {
    background: rgba(5, 10, 20, 0.15);
    backdrop-filter: blur(1px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    padding: 14px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1030;
}
.site-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--line);
}
.site-nav.scrolled .nav-link { color: var(--ink-700); }
.site-nav.scrolled .nav-link:hover, .site-nav.scrolled .nav-link.active { color: var(--primary); }
.site-nav.scrolled .brand-line-1 { color: var(--ink-900); }
.site-nav.scrolled .brand-line-2 { color: var(--primary); }
.site-nav.scrolled .navbar-toggler-icon { filter: invert(1); }

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(0, 140, 157, 0.3), 0 0 24px rgba(0, 140, 157, 0.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-line-1 {
    font-family: "Orbitron", monospace;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    color: #fff;
}
.brand-line-2 {
    font-family: "Orbitron", monospace;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    color: var(--primary-700);
    margin-top: 2px;
}

.nav-link {
    font-family: "Exo 2", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary-700) !important; }
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: var(--primary-700);
    border-radius: 2px;
}

.navbar-toggler { border: 1px solid rgba(255,255,255,0.3); }
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--primary-glow); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Force desktop nav-collapse visibility (Bootstrap visibility:collapse override) */
@media (min-width: 992px) {
    .site-nav .navbar-collapse,
    .navbar-expand-lg > .navbar-collapse,
    .navbar-expand-lg .navbar-collapse,
    .navbar-expand-lg .navbar-nav,
    .navbar-expand-lg .nav-item,
    .navbar-expand-lg .nav-link {
        visibility: visible !important;
    }
}
/* =================== LANGUAGE SWITCHER + LOGIN =================== */
.nav-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-lang-toggle:hover {
    background: rgba(0, 188, 212, 0.18);
    border-color: rgba(0, 188, 212, 0.5);
    transform: translateY(-1px);
}
.nav-lang-toggle .lang-caret {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: transform 0.25s ease;
}
.nav-lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.flag-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}
.flag-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-menu {
    margin-top: 12px !important;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(0, 140, 157, 0.18);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px -10px rgba(10, 21, 37, 0.25);
    min-width: 200px;
}
.lang-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 14px !important;
    border-radius: 10px;
    font-family: "Exo 2", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-700) !important;
    background: transparent !important;
    border: none;
    transition: background 0.18s ease, color 0.18s ease;
}
.lang-item:hover,
.lang-item:focus {
    background: rgba(0, 140, 157, 0.08) !important;
    color: var(--primary) !important;
}
.lang-item.is-active {
    background: rgba(0, 140, 157, 0.12) !important;
    color: var(--primary) !important;
}
.lang-item.is-active::after {
    content: "✓";
    margin-left: auto;
    color: var(--primary);
    font-weight: 800;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-login:hover {
    background: #fff;
    color: var(--primary) !important;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(255, 255, 255, 0.35);
}
.btn-login i { font-size: 1.05rem; }

/* Scrolled (white nav) variants */
.site-nav.scrolled .nav-lang-toggle {
    color: var(--ink-900);
    border-color: var(--line-strong);
    background: rgba(0, 140, 157, 0.06);
}
.site-nav.scrolled .nav-lang-toggle:hover {
    background: rgba(0, 140, 157, 0.12);
    border-color: var(--primary);
}
.site-nav.scrolled .btn-login {
    color: var(--primary);
    border-color: var(--primary);
}
.site-nav.scrolled .btn-login:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}

@media (max-width: 991px) {
    .nav-lang-toggle {
        background: rgba(255, 255, 255, 0.08);
        margin: 8px 14px;
    }
    .btn-login {
        margin: 8px 14px 4px;
        justify-content: center;
        width: calc(100% - 28px);
    }
    .lang-menu {
        background: rgba(15, 29, 53, 0.98);
        border-color: rgba(0, 188, 212, 0.25);
    }
    .lang-item {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    .lang-item:hover,
    .lang-item.is-active {
        background: rgba(0, 188, 212, 0.16) !important;
        color: var(--primary-700) !important;
    }
}

/* =================== HERO =================== */
/* =================== HERO =================== */
.hero {
    position: relative;
    min-height: 110vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #050a14 0%, #0a1525 40%, #0f1d35 100%);
    isolation: isolate;
    padding: 140px 0 80px;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: saturate(1.1) contrast(1.05);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 140, 157, 0.35) 0%, transparent 5%),
        radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.25) 0%, transparent 20%),
        linear-gradient(135deg, rgba(5, 10, 20, 0.45) 30%, rgba(0, 0, 0, 0.47) 30%, rgba(3, 0, 0, 0.45) 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 140, 157, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 140, 157, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; color: #fff; }

.hero-eyebrow {
    font-family: "Orbitron", monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #fff;
    padding: 8px 18px;
    border: 1px solid rgba(0, 188, 212, 0.4);
    border-radius: 999px;
    background: #0098AB;
    backdrop-filter: blur(10px);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-700);
    box-shadow: 0 0 10px var(--primary-700);
    animation: dot-pulse 1.5s ease-in-out infinite;
}
@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
    font-family: "Orbitron", "Exo 2", sans-serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #fff;
    animation: fade-up 0.8s ease 0.1s both;
}
.hero-title-accent {
    display: inline-block;
    color: #66e0ee;
    text-shadow:
        0 0 18px rgba(102, 224, 238, 0.6),
        0 0 40px rgba(0, 188, 212, 0.5);
}

.hero-sub {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 60ch;
    animation: fade-up 0.8s ease 0.25s both;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 720px;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fade-up 0.8s ease 0.4s both;
}
.hero-stat .stat-value {
    font-family: "Orbitron", monospace;
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat .stat-value span { color: var(--primary-700); }
.hero-stat .stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    z-index: 2;
    animation: bounce-down 2s ease-in-out infinite;
    text-decoration: none;
}
.hero-scroll:hover { color: var(--primary-700); }
@keyframes bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 767px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =================== SEARCH =================== */
.search-section {
    position: relative;
    z-index: 5;
    margin-top: -80px;
    padding-bottom: 60px;
}
.search-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    border: 1px solid var(--line);
    overflow: hidden;
}
.search-card-header {
    display: flex;
    gap: 4px;
    padding: 8px 8px 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}
.search-tab {
    font-family: "Exo 2", sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink-500);
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.search-tab.active {
    background: rgba(0, 140, 157, 0.1);
    color: var(--primary);
}
.search-tab:hover { color: var(--primary); }

.search-form { padding: 8px 18px 18px; }
.form-label-neo {
    font-family: "Exo 2", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-700);
    margin-bottom: 8px;
}
.form-select-neo {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--line-strong);
    background: #fff;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink-900);
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23008C9D' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}
.form-select-neo:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 140, 157, 0.12);
}
.btn-search { padding: 14px 24px; justify-content: center; }

/* =================== INVENTORY =================== */
.inventory-section { padding: 90px 0; background: var(--bg-soft); }
/* Tabs (CSS-only via radio inputs) */
.inventory-tabs-wrap { position: relative; }
.invtab-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0; height: 0;
}
.invtabs {
    display: inline-flex;
    margin: 0 auto 60px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 14px 36px -16px rgba(10, 21, 37, 0.18);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.invtab {
    padding: 22px 48px;
    font-family: "Exo 2", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    color: var(--ink-700);
    cursor: pointer;
    text-transform: uppercase;
    border-right: 1px solid var(--line);
    user-select: none;
    transition: background 0.25s ease, color 0.25s ease;
    position: relative;
    text-align: center;
    margin: 0;
    line-height: 1;
}
.invtab:last-child { border-right: none; }
.invtab:hover { color: var(--primary); }
.invtab:first-child { border-top-left-radius: 14px; border-bottom-left-radius: 14px; }
.invtab:last-child { border-top-right-radius: 14px; border-bottom-right-radius: 14px; }

/* active state */
#tab-ev:checked ~ .invtabs label[data-tab="ev"],
#tab-hybrid:checked ~ .invtabs label[data-tab="hybrid"],
#tab-phev:checked ~ .invtabs label[data-tab="phev"] {
    background: #008c9d !important;
    background-color: #008c9d !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px -8px var(--primary-glow);
}

/* downward pointer on active tab */
#tab-ev:checked ~ .invtabs label[data-tab="ev"]::after,
#tab-hybrid:checked ~ .invtabs label[data-tab="hybrid"]::after,
#tab-phev:checked ~ .invtabs label[data-tab="phev"]::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--primary);
    filter: drop-shadow(0 4px 4px rgba(0, 140, 157, 0.25));
}

/* filter rules: hide cards that don't match active tab */
#tab-ev:checked ~ .inv-grid .inv-item:not([data-type="ev"]),
#tab-hybrid:checked ~ .inv-grid .inv-item:not([data-type="hybrid"]),
#tab-phev:checked ~ .inv-grid .inv-item:not([data-type="phev"]) {
    display: none;
}

/* show animation for visible cards */
#tab-ev:checked ~ .inv-grid .inv-item[data-type="ev"],
#tab-hybrid:checked ~ .inv-grid .inv-item[data-type="hybrid"],
#tab-phev:checked ~ .inv-grid .inv-item[data-type="phev"] {
    animation: inv-fade 0.4s ease both;
}
@keyframes inv-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 575px) {
    .invtabs { width: calc(100% - 24px); }
    .invtab { padding: 18px 0; flex: 1; font-size: 0.85rem; letter-spacing: 0.14em; }
}
.car-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px -20px rgba(0, 140, 157, 0.3);
    border-color: rgba(0, 140, 157, 0.3);
}

.car-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f4f7;
}
.car-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.car-card:hover .car-media img { transform: scale(1.06); }

.badge-featured, .badge-photos, .badge-year {
    position: absolute;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.badge-featured {
    top: 14px; left: 14px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 140, 157, 0.4);
}
.badge-photos {
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 21, 37, 0.85);
    color: #fff;
    display: inline-flex; align-items: center; gap: 6px;
}
.badge-year {
    top: 14px; right: 14px;
    background: rgba(0, 188, 212, 0.95);
    color: #fff;
}

.car-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.car-similar {
    font-family: "Exo 2", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.car-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--ink-900);
    margin-bottom: 10px;
    line-height: 1.25;
}
.car-price {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.car-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.meta-item i {
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: 2px;
}
.meta-item div { display: flex; flex-direction: column; line-height: 1.2; }
.meta-label {
    font-size: 0.7rem;
    color: var(--ink-300);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.meta-value {
    font-size: 0.92rem;
    color: var(--ink-900);
    font-weight: 700;
    margin-top: 2px;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.view-details {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    color: var(--ink-900);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, gap 0.2s ease;
}
.view-details i { color: var(--primary); transition: transform 0.2s ease; }
.view-details:hover { color: var(--primary); gap: 12px; }
.view-details:hover i { transform: translateX(4px); }

.car-actions { display: flex; gap: 8px; }
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f3f6f8;
    border: 1px solid var(--line);
    color: var(--ink-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1.05rem;
}
.icon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =================== OFFERS =================== */
.offers-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 140, 157, 0.06) 0%, transparent 50%),
        #fff;
    position: relative;
}

.offers-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}
.offers-image {
    width: 100%;
    border-radius: var(--radius-xl);
    aspect-ratio: 4/4;
    object-fit: cover;
    box-shadow: 0 30px 80px -20px rgba(10, 21, 37, 0.25);
}
.offers-image-glow {
    position: absolute;
    inset: -20px -20px -20px 30%;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}
.offers-floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: #fff;
    border-radius: 18px;
    padding: 18px 24px;
    box-shadow: 0 20px 50px -10px rgba(10, 21, 37, 0.25);
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
}
.offer-amount-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-500);
    font-weight: 700;
}
.offer-amount-value {
    display: block;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--primary);
    line-height: 1;
    margin-top: 4px;
}
.offer-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-700));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 24px var(--primary-glow);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 1.02rem;
    color: var(--ink-700);
    border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list i {
    color: var(--primary);
    background: rgba(0, 140, 157, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* =================== ABOUT =================== */
.about-section {
    padding: 100px 0;
    background: var(--bg-soft);
}

.about-image-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 540px;
}
.about-img-1 {
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px -10px rgba(10, 21, 37, 0.25);
}
.about-img-2, .about-img-3 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px -10px rgba(10, 21, 37, 0.2);
}
.about-img-3 {
    border: 4px solid #fff;
}
.about-badge {
    position: absolute;
    bottom: -30px;
    right: -10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-700));
    color: #fff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 18px 40px var(--primary-glow);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 240px;
}
.about-badge-num {
    font-family: "Orbitron", monospace;
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1;
}
.about-badge-text {
    font-size: 0.82rem;
    line-height: 1.3;
    font-weight: 600;
    opacity: 0.95;
}

.feature-pill {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 140, 157, 0.3);
    box-shadow: 0 12px 30px -10px rgba(0, 140, 157, 0.25);
}
.feature-pill i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 140, 157, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.feature-pill strong {
    display: block;
    font-family: "Exo 2", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.1;
}
.feature-pill small {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-500);
    margin-top: 4px;
}

/* =================== CTA STRIP =================== */
.cta-strip {
    padding: 60px 0;
    background: var(--bg-soft);
}
.cta-card {
    background: linear-gradient(135deg, #050a14 0%, #0a1525 50%, #0f2a3d 100%);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 140, 157, 0.2);
}
.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 140, 157, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(0, 188, 212, 0.2) 0%, transparent 60%);
    pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .section-eyebrow { background: rgba(0, 188, 212, 0.12); border-color: rgba(0, 188, 212, 0.4); color: var(--primary-700); }
.cta-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 30px;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

/* =================== FOOTER =================== */
.site-footer {
    position: relative;
    color: #fff;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}
.footer-bg {
    position: absolute;
    inset: 0;
    background-image: url("https://demo.egenslab.com/html/drivco/preview/assets/img/home2/bannar2-bg.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.98;
    z-index: -1;
}
.footer-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(5, 10, 20, 0.96) 0%, rgba(0, 50, 60, 0.92) 50%, rgba(5, 10, 20, 0.96) 100%),
        radial-gradient(circle at 20% 0%, rgba(0, 140, 157, 0.35) 0%, transparent 50%);
}

.footer-inner { padding: 80px 0 40px; }

.footer-newsletter {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 70px;
}
.newsletter-title {
    font-family: "Exo 2", sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.1;
}
.newsletter-sub {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 1rem;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 6px 6px 6px 24px;
}
.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-size: 0.95rem;
    min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }

.footer-cols { padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.footer-brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.4), 0 0 24px rgba(0, 188, 212, 0.3);
}
.footer-brand-1, .footer-brand-2 { display: block; font-family: "Orbitron", monospace; line-height: 1; }
.footer-brand-1 { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.12em; color: #fff; }
.footer-brand-2 { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.32em; color: var(--primary-700); margin-top: 4px; }
.footer-about { color: rgba(255,255,255,0.9); line-height: 1.7; font-size: 0.95rem; }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}
.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px var(--primary-glow);
}

.footer-heading {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-700);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary-700);
    padding-left: 6px;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 14px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.footer-contact i {
    color: var(--primary-700);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--primary-700); }

.footer-bottom {
    padding: 26px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-policy { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 22px; }
.footer-policy a { color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color 0.2s ease; }
.footer-policy a:hover { color: var(--primary-700); }

/* =================== RESPONSIVE =================== */
@media (max-width: 991px) {
    .site-nav { padding: 12px 0; background: rgba(5, 10, 20, 0.92); }
    .navbar-collapse { background: rgba(5, 10, 20, 0.96); padding: 18px; border-radius: 14px; margin-top: 14px; }
    .nav-link { color: #fff !important; padding: 10px 14px !important; }

    .hero { padding: 120px 0 60px; min-height: auto; }
    .search-section { margin-top: -60px; }

    .about-image-grid { height: 420px; }
    .about-badge { right: 0; bottom: -20px; }

    .cta-card { padding: 36px 28px; }
    .footer-newsletter { padding: 28px; }
    .newsletter-form { flex-direction: column; padding: 14px; border-radius: 18px; }
    .newsletter-form button { width: 100%; justify-content: center; }
}

@media (max-width: 575px) {
    .car-meta { grid-template-columns: 1fr; gap: 12px; }
    .offers-floating-card { left: 0; right: 0; bottom: -40px; }
    .footer-links-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.6rem; }
    .footer-inner { padding: 60px 0 30px; }
    .cta-card { padding: 32px 22px; }
    .about-image-grid { height: 360px; }
}
