/* ==========================================================================
   GPTRAID AUTO — 21st.dev / Modern Restrained Zinc & Monochrome Palette
   Strictly NO neon glows, NO cyan gradients, NO AI tropes.
   Inspired directly by 21st.dev design tokens & Linear / Vercel aesthetics.
   ========================================================================== */

:root {
    /* 21st.dev Zinc Palette */
    --bg-base: #09090b;          /* zinc-950 */
    --bg-surface: #121215;       /* subtle elevated neutral */
    --bg-card: #141418;          /* zinc-900 card */
    --bg-card-hover: #1c1c22;    /* subtle card hover */
    --bg-glass: rgba(18, 18, 22, 0.82);
    --bg-glass-strong: rgba(18, 18, 22, 0.94);
    --bg-muted: rgba(255, 255, 255, 0.04);
    
    /* Clean Hairline Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);
    --border-strong: rgba(255, 255, 255, 0.22);
    --border-focus: #52525b;     /* zinc-600 */
    
    /* Typography */
    --text-primary: #fafafa;     /* zinc-50 */
    --text-secondary: #a1a1aa;   /* zinc-400 */
    --text-muted: #71717a;       /* zinc-500 */
    --text-inverse: #09090b;     /* zinc-950 */
    
    /* Restrained Accents (No Neon!) */
    --accent-btn-bg: #ffffff;
    --accent-btn-text: #09090b;
    --accent-btn-hover: #e4e4e7;
    
    --badge-bg: rgba(255, 255, 255, 0.06);
    --badge-border: rgba(255, 255, 255, 0.12);
    --badge-text: #d4d4d8;
    
    --success-text: var(--text-primary);     /* calm emerald for positive delta */
    --success-subtle: rgba(255, 255, 255, 0.06);
    
    --vk-subtle-bg: rgba(255, 255, 255, 0.06);
    --vk-subtle-border: rgba(255, 255, 255, 0.14);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    /* Subtle Natural Shadows (Zero Neon Glow) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 36px -8px rgba(0, 0, 0, 0.65);
    --shadow-pill: 0 12px 30px -8px rgba(0, 0, 0, 0.7);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #09090b;
    color: #fafafa;
}

html.light {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    --bg-base: #f8fafc;
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-subtle: #e2e8f0;
}

body, body.site-body {
    background-color: #09090b;
    color: #fafafa;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

html.light body, html.light body.site-body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

/* NO neon background radial gradients! Pure dark matte */
body.site-body::before {
    display: none;
}

.tabular {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Typography Headings */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-subtitle {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-title {
    font-size: 34px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   21st.dev FLOATING NAVIGATION PILL (MATCHING 21st.dev NAVBAR)
   ========================================================================== */

.floating-nav-container {
    position: fixed;
    top: 14px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 16px;
    pointer-events: none;
}

.floating-nav {
    pointer-events: auto;
    width: 100%;
    max-width: 1120px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-pill);
    padding: 6px 8px 6px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-nav:hover {
    border-color: var(--border-medium);
}

/* Nav Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.nav-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.nav-brand-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.nav-brand-text strong {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.brand-tag {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Desktop Nav Pill List with Interactive Indicator */
.nav-pill-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-indicator {
    position: absolute;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-pill);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.nav-link {
    position: relative;
    z-index: 2;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s ease;
}

.nav-link:hover, .nav-link:focus-visible {
    color: var(--text-primary);
}

.has-dropdown {
    position: relative;
}

.chevron-icon {
    transition: transform 0.2s ease;
    opacity: 0.6;
}

.has-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu Card (21st.dev Style) */
.nav-dropdown-card {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.has-dropdown:hover .nav-dropdown-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    transition: background-color 0.15s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-item-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.dropdown-item-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-vk-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    transition: all 0.15s ease;
}

.nav-vk-pill:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-medium);
}

.nav-cta-btn {
    background: var(--accent-btn-bg);
    color: var(--accent-btn-text);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    transition: background-color 0.15s ease;
}

.nav-cta-btn:hover {
    background: var(--accent-btn-hover);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-primary);
}

.hamburger-bar {
    width: 16px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: all 0.2s ease;
}

/* Mobile Drawer Sheet */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 999;
}

.mobile-drawer.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.mobile-group-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
    padding-left: 8px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
}

.mobile-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.mobile-contact-block {
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.mobile-phone-label {
    font-size: 11px;
    color: var(--text-muted);
}

.mobile-phone-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin: 2px 0 14px;
}

.mobile-actions-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==========================================================================
   BUTTONS SYSTEM (21ST.DEV & SHADCN STYLE)
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-btn-bg);
    color: var(--accent-btn-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--accent-btn-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.btn-vk {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-vk:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.btn-vk-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn-vk-outline:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-strong);
}

.btn-white {
    background: #ffffff;
    color: #09090b;
}

.btn-white:hover {
    background: #e4e4e7;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 13px 24px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding: 130px 0 70px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: var(--radius-pill);
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--badge-text);
    margin-bottom: 20px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a1a1aa;
}

.hero-title {
    font-size: 46px;
    line-height: 1.14;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

/* Hero Trust Bar */
.hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.trust-label {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 3px;
}

/* Hero Live Rates Card (Restrained Zinc Look) */
.live-rates-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.badge-live {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

.rate-rows {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 20px;
}

.rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.rate-name {
    font-size: 13px;
    color: var(--text-secondary);
}

.rate-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.text-success { color: var(--text-primary); }
.text-accent { color: var(--text-primary); }

.card-footer-tip {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    line-height: 1.5;
    border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   CATALOG / POPULAR VEHICLES
   ========================================================================== */

.catalog-section {
    padding: 80px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.catalog-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-pill {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.tab-pill:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-medium);
}

.tab-pill.active {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
    font-weight: 600;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.car-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.car-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.car-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.5;
    background: #18181c;
    overflow: hidden;
}

.car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.car-card:hover .car-img {
    transform: scale(1.03);
}

.car-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(18, 18, 22, 0.88);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-medium);
}

.tag-luxury {
    border-color: rgba(255, 255, 255, 0.25);
}

.tag-ev {
    border-color: rgba(255, 255, 255, 0.25);
}

.car-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-header {
    margin-bottom: 14px;
}

.car-title {
    font-size: 18px;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.car-edition {
    font-size: 12px;
    color: var(--text-muted);
}

.car-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.spec-cell {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.spec-value {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 1px;
}

.car-pricing {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
}

.price-label {
    font-size: 11px;
    color: var(--text-muted);
}

.price-val {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin: 2px 0 6px;
}

.comparison-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
}

.rf-dealer-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.savings-tag {
    font-size: 11px;
    font-weight: 600;
    color: #e4e4e7;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   CUSTOMS & LOGISTICS CALCULATOR
   ========================================================================== */

.calculator-section {
    padding: 80px 0;
    background: var(--bg-base);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.calc-inputs-pane {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-form-group {
    display: flex;
    flex-direction: column;
}

.calc-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.calc-hint {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-with-currency {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    padding: 10px 80px 10px 14px;
    transition: border-color 0.15s ease;
}

.calc-input:focus {
    border-color: var(--border-focus);
    outline: none;
}

.currency-tag {
    position: absolute;
    right: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    pointer-events: none;
}

.calc-slider {
    width: 100%;
    margin-top: 8px;
    accent-color: #d4d4d8;
}

.calc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.calc-select {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease;
}

.calc-select:focus {
    border-color: var(--border-focus);
}

.calc-radio-group {
    display: flex;
    gap: 8px;
}

.radio-card {
    flex: 1;
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-custom {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.radio-custom strong {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.radio-custom small {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

.radio-card input:checked + .radio-custom {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
}

/* Calculator Summary Card */
.calc-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.summary-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.summary-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.b-name {
    color: var(--text-secondary);
}

.b-val {
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-success .b-name {
    color: var(--text-primary);
}

.total-block {
    margin-top: auto;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}

.total-header {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.total-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0;
}

.total-subtext {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================================
   WORKFLOW STEPS
   ========================================================================== */

.workflow-section {
    padding: 80px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.15s ease;
}

.step-card:hover {
    border-color: var(--border-medium);
}

.step-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.step-title {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   CUSTOMS & BANNER
   ========================================================================== */

.customs-section {
    padding: 80px 0;
    background: var(--bg-base);
}

.customs-card-banner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.banner-title {
    font-size: 28px;
    margin: 8px 0 14px;
    color: var(--text-primary);
}

.banner-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.customs-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.customs-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.bullet-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.action-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.action-box-title {
    font-size: 16px;
    color: var(--text-primary);
}

.action-box-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   VK COMMUNITY INTEGRATION (CLEAN NEUTRAL CARD, NO BLUE NEON!)
   ========================================================================== */

.vk-integration-section {
    padding: 30px 0 70px;
}

.vk-banner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.vk-icon-floating {
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.vk-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.vk-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.55;
}

.vk-cta-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-section {
    padding: 80px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
}

.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.faq-item.active {
    border-color: var(--border-medium);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
}

.faq-icon {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--text-primary);
}

.faq-answer {
    padding: 0 22px 20px;
    display: none;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   LEAD FORM SECTION
   ========================================================================== */

.lead-section {
    padding: 80px 0;
}

.lead-card-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.lead-title {
    font-size: 30px;
    margin: 8px 0 14px;
    color: var(--text-primary);
}

.lead-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.company-contacts-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-row strong {
    color: var(--text-primary);
}

.contact-icon {
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Contact Form Elements */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.15s ease;
}

.form-input:focus {
    border-color: var(--border-focus);
}

.channel-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.channel-chip {
    cursor: pointer;
}

.channel-chip input {
    display: none;
}

.channel-chip span {
    display: block;
    text-align: center;
    padding: 8px 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.channel-chip input:checked + span {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.form-privacy-note {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-status-msg {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
}

.form-status-msg.success {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    color: #f4f4f5;
}

.form-status-msg.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: #070709;
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    padding: 56px 0 32px;
    position: relative;
    z-index: 10;
}

.footer-grid,
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 44px;
}

.footer-brand,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary, #ffffff);
}

.footer-desc,
.footer-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 18px;
    max-width: 380px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    font-size: 12px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.footer-col-title,
.footer-heading {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary, #ffffff);
    margin-bottom: 16px;
}

.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-link,
.footer-nav-col a {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-block;
}

.footer-link:hover,
.footer-nav-col a:hover {
    color: #ffffff;
}

.footer-subtext {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 14px;
}

.footer-btn-wrap {
    margin-top: 10px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #64748b;
}

.copyright {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.disclaimer-text,
.footer-legal {
    font-size: 11px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-grid,
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .footer-grid,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ==========================================================================
   MODAL WINDOW
   ========================================================================== */

#orderModal,
.modal-overlay,
.modal-backdrop {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

#orderModal.active, .modal-overlay.active, .modal-backdrop.active { display: flex !important; }

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET OPTIMIZATIONS)
   ========================================================================== */

@media (max-width: 1080px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .calc-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-card-side {
        max-width: 520px;
    }
}

@media (max-width: 860px) {
    .nav-pill-wrapper {
        display: none;
    }

    .nav-vk-pill span {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-drawer {
        display: block;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .customs-card-banner {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .vk-banner-card {
        grid-template-columns: 1fr;
        padding: 26px;
        text-align: center;
    }

    .vk-icon-floating {
        justify-content: center;
    }

    .vk-cta-btns {
        flex-direction: column;
    }

    .lead-card-box {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .calc-form-row {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .channel-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-wrapper {
        padding: 20px;
    }

    .total-price {
        font-size: 28px;
    }
}

/* ==========================================================================
   21st.dev Spotlight & Interactive Micro-Interactions
   ========================================================================== */
.car-card, .calc-wrapper, .service-card, .advantage-card {
    position: relative;
    overflow: hidden;
}

.car-card::before, .calc-wrapper::before, .service-card::before, .advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.16), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Power Quick Chips */
.power-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.power-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.power-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.power-chip.active {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
    font-weight: 600;
}

/* Pill Toggle Switcher */
.calc-pill-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
    width: 100%;
}

.toggle-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    user-select: none;
}

.toggle-pill input {
    display: none;
}

.toggle-pill:hover {
    color: #ffffff;
}

.toggle-pill.active {
    background: #27272a;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.recycle-hint-note {
    font-size: 12px;
    color: #71717a;
    margin-top: 6px;
    line-height: 1.4;
}

/* 21st.dev Segmented Cost Breakdown Bar */
.cost-breakdown-bar-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 16px 0 20px;
}

.bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bar-title {
    font-size: 12px;
    font-weight: 600;
    color: #e4e4e7;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.bar-subtitle {
    font-size: 11px;
    color: #71717a;
}

.cost-segmented-bar {
    display: flex;
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    gap: 2px;
    margin-bottom: 12px;
}

.cost-segment {
    height: 100%;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.segment-car { background: #e4e4e7; }
.segment-duty { background: #a1a1aa; }
.segment-excise { background: #f43f5e; }
.segment-recycle { background: #71717a; }
.segment-logistics { background: #52525b; }

.bar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: #a1a1aa;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-car { background: #e4e4e7; }
.dot-duty { background: #a1a1aa; }
.dot-excise { background: #f43f5e; }
.dot-recycle { background: #71717a; }
.dot-logistics { background: #52525b; }

.text-warning {
    color: var(--text-muted) !important;
}

.text-rose {
    color: #f43f5e !important;
}

/* ==========================================================================
   21st.dev Light / Dark Theme Support
   ========================================================================== */
html.light {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-highlight: rgba(0, 0, 0, 0.16);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --btn-primary-bg: #0f172a;
    --btn-primary-text: #ffffff;
    --accent: #0f172a;
}

html.light body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

html.light .floating-nav {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html.light .nav-brand-text {
    color: #0f172a;
}

html.light .nav-link {
    color: #475569;
}

html.light .nav-link:hover {
    color: #0f172a;
}

html.light .car-card, 
html.light .calc-wrapper, 
html.light .summary-card, 
html.light .workflow-card, 
html.light .faq-item,
html.light .feature-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

html.light .car-card::before, 
html.light .calc-wrapper::before {
    background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 0, 0, 0.08), transparent 60%);
}

html.light .car-title, 
html.light .section-title, 
html.light .total-price,
html.light .sc-price-val {
    color: #0f172a;
}

html.light .car-param-row {
    border-color: rgba(0, 0, 0, 0.06);
}

html.light .btn-primary {
    background: #0f172a;
    color: #ffffff;
}

html.light .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.1);
}

html.light .cost-breakdown-bar-container {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

html.light .calc-input, 
html.light .calc-select {
    background: rgba(0, 0, 0, 0.03);
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   21st.dev SunMoonThemeToggle (Celestial Dome Arc Button)
   ========================================================================== */
.sun-moon-toggle {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #18181b;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html.light .sun-moon-toggle {
    border-color: rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.sun-moon-toggle:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

html.light .sun-moon-toggle:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.sky-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sky-night {
    background: linear-gradient(180deg, #090f2a 0%, #16204b 60%, #2a2f66 100%);
    opacity: 1;
}

.sky-day {
    background: linear-gradient(180deg, #4ea8ff 0%, #9fd3ff 60%, #e3f3ff 100%);
    opacity: 0;
}

.star {
    position: absolute;
    border-radius: 9999px;
    background: #ffffff;
    opacity: 0.6;
    animation: star-twinkle infinite ease-in-out;
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

.celestial-body {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.body-moon {
    color: #fde68a;
    filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.7));
}

.body-sun {
    color: #fb923c;
    filter: drop-shadow(0 0 8px rgba(251, 146, 60, 0.8));
}

.celestial-icon {
    width: 17px;
    height: 17px;
}

/* ==========================================================================
   21st.dev Animated 3D Flagship Car Showcase (@manuarora700 adaptation)
   ========================================================================== */
.animated-car-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

html.light .animated-car-showcase {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.showcase-card-deck {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.deck-card {
    position: absolute;
    width: 90%;
    max-width: 440px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #141418;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, border-color 0.3s ease;
}

html.light .deck-card {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.deck-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.deck-card:hover .deck-card-img {
    transform: scale(1.04);
}

.deck-card-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.showcase-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.showcase-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a1a1aa;
}

.showcase-tag {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 9999px;
}

html.light .showcase-tag {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.showcase-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.showcase-subtitle {
    font-size: 14px;
    color: #a1a1aa;
    line-height: 1.5;
    margin-bottom: 20px;
}

.showcase-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.sc-spec {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
}

html.light .sc-spec {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.sc-spec-val {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

html.light .sc-spec-val {
    color: #0f172a;
}

.sc-spec-lbl {
    font-size: 11px;
    color: #71717a;
    margin-top: 2px;
}

.showcase-price-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

html.light .showcase-price-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

.sc-price-lbl {
    font-size: 12px;
    color: #a1a1aa;
    display: block;
    margin-bottom: 4px;
}

.sc-price-val {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.sc-savings-col {
    text-align: right;
}

.sc-dealer-price {
    font-size: 13px;
    color: #71717a;
    text-decoration: line-through;
    display: block;
    margin-bottom: 4px;
}

.sc-benefit-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
}

.showcase-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-nav-btns {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.sc-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

html.light .sc-nav-btn {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
}

.sc-nav-btn:hover {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
    transform: scale(1.08);
}

.catalog-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0 24px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

html.light .divider-line {
    background: rgba(0, 0, 0, 0.08);
}

.divider-text {
    font-size: 11px;
    font-weight: 600;
    color: #71717a;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ==========================================================================
   21st.dev 3D Isometric Testimonials Wall (@sean0205/3d-testimonails)
   ========================================================================== */
.testimonials-3d-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.perspective-wall-container {
    position: relative;
    height: 460px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.01);
    perspective: 800px;
    margin-top: 30px;
}

html.light .perspective-wall-container {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.perspective-wall-stage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transform: rotateX(15deg) rotateY(-8deg) rotateZ(8deg) translate3d(-30px, -50px, -40px);
    transform-style: preserve-3d;
    height: 800px;
}

.wall-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marquee-down {
    animation: wall-scroll-down 32s linear infinite;
}

.marquee-up {
    animation: wall-scroll-up 32s linear infinite;
}

.perspective-wall-container:hover .wall-column {
    animation-play-state: paused;
}

@keyframes wall-scroll-down {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0%); }
}

@keyframes wall-scroll-up {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-50%); }
}

.wall-card {
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

html.light .wall-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.wall-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.wall-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.client-avatar {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

html.light .client-avatar {
    background: rgba(0, 0, 0, 0.08);
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.12);
}

.client-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

html.light .client-name {
    color: #0f172a;
}

.client-city {
    font-size: 11px;
    font-weight: 500;
    color: #a1a1aa;
}

.client-car {
    font-size: 11px;
    color: #71717a;
    font-weight: 500;
}

.wall-card-body {
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.45;
    margin: 0 0 12px;
}

html.light .wall-card-body {
    color: #475569;
}

.wall-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 8px;
}

html.light .wall-card-foot {
    border-color: rgba(0, 0, 0, 0.06);
}

.stars {
    color: #d4d4d8;
    font-size: 12px;
    letter-spacing: 2px;
}

.badge-status {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 9999px;
}

/* Gradient edge overlays for seamless perspective fade */
.wall-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, var(--bg-primary, #09090b), transparent);
    pointer-events: none;
    z-index: 5;
}

.wall-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to top, var(--bg-primary, #09090b), transparent);
    pointer-events: none;
    z-index: 5;
}

.wall-gradient-left {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    background: linear-gradient(to right, var(--bg-primary, #09090b), transparent);
    pointer-events: none;
    z-index: 5;
}

.wall-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 60px;
    background: linear-gradient(to left, var(--bg-primary, #09090b), transparent);
    pointer-events: none;
    z-index: 5;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .animated-car-showcase {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
    .showcase-card-deck {
        height: 250px;
    }
    .deck-card {
        height: 220px;
    }
    .perspective-wall-stage {
        grid-template-columns: repeat(2, 1fr);
        transform: rotateX(12deg) rotateY(-4deg) rotateZ(4deg) translate3d(-10px, 0, 0);
    }
}


/* ==========================================================================
   COMPREHENSIVE LIGHT THEME CONTRAST & TYPOGRAPHY FIX
   ========================================================================== */
html.light {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border-color: rgba(15, 23, 42, 0.1);
    --border-highlight: rgba(15, 23, 42, 0.2);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --btn-primary-bg: #0f172a;
    --btn-primary-text: #ffffff;
    --accent: #0f172a;
}

html.light body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

/* Headings and Titles */
html.light h1, html.light h2, html.light h3, html.light h4, html.light h5, html.light h6,
html.light .hero-title, html.light .section-title, html.light .car-title, html.light .showcase-title,
html.light .modal-title, html.light .summary-title, html.light .total-price, html.light .car-price-main,
html.light .b-val, html.light .rate-val, html.light .trust-number, html.light .faq-question,
html.light .workflow-title, html.light .feature-title, html.light .card-title,
html.light .sc-spec-val, html.light .sc-price-val, html.light .client-name,
html.light strong, html.light b {
    color: #0f172a !important;
}

/* Body and Descriptive Text */
html.light p, html.light .hero-desc, html.light .section-desc, html.light .car-desc, 
html.light .showcase-subtitle, html.light .modal-subtitle, html.light .b-name, 
html.light .rate-name, html.light .calc-label, html.light .calc-hint, 
html.light .currency-tag, html.light .faq-answer, html.light .trust-label,
html.light .car-param-lbl, html.light .sc-spec-lbl, html.light .sc-price-lbl, 
html.light .bar-subtitle, html.light .legend-item, html.light .wall-card-body, 
html.light .client-city, html.light .client-car, html.light .footer-desc, 
html.light .footer-link, html.light .total-subtext, html.light .total-header,
html.light .workflow-desc, html.light .feature-desc, html.light .step-desc,
html.light .radio-custom strong, html.light .radio-custom small, html.light .recycle-hint-note,
html.light .card-footer-tip, html.light .disclaimer-text, html.light .table th, html.light .table td {
    color: #334155 !important;
}

/* Inputs, Selects, and Controls */
html.light .calc-input, 
html.light .calc-select, 
html.light .form-input, 
html.light .form-select,
html.light .form-textarea {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

html.light .calc-input:focus, 
html.light .calc-select:focus,
html.light .form-input:focus, 
html.light .form-select:focus {
    border-color: #0f172a !important;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1) !important;
}

/* Cards, Panels, and Containers */
html.light .car-card, 
html.light .calc-wrapper, 
html.light .calc-summary-card, 
html.light .workflow-card, 
html.light .faq-item,
html.light .feature-card,
html.light .rate-card,
html.light .trust-badge,
html.light .animated-car-showcase,
html.light .wall-card,
html.light .perspective-wall-container,
html.light .comp-table-container,
html.light .delivery-calc-card,
html.light .modal-card,
html.light .nav-dropdown-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light .floating-nav {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

html.light .nav-brand-text {
    color: #0f172a !important;
}

html.light .nav-link {
    color: #475569 !important;
}

html.light .nav-link:hover {
    color: #0f172a !important;
}

html.light .nav-vk-pill {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

html.light .nav-cta-btn {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* Filter Pills, Power Chips, and Toggles */
html.light .tab-pill {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #e2e8f0 !important;
}

html.light .tab-pill:hover {
    color: #0f172a !important;
    background: #e2e8f0 !important;
}

html.light .tab-pill.active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

html.light .power-chip {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #e2e8f0 !important;
}

html.light .power-chip:hover {
    color: #0f172a !important;
    background: #e2e8f0 !important;
}

html.light .power-chip.active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

html.light .calc-pill-toggle {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

html.light .toggle-pill {
    color: #475569 !important;
}

html.light .toggle-pill.active {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
}

html.light .radio-card {
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
}

html.light .radio-card:has(input:checked) {
    border-color: #0f172a !important;
    background: #f8fafc !important;
}

/* Buttons */
html.light .btn-primary {
    background: #0f172a !important;
    color: #ffffff !important;
}

html.light .btn-primary:hover {
    background: #1e293b !important;
}

html.light .btn-secondary {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

html.light .btn-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

html.light .btn-vk {
    background: #2787f5 !important;
    color: #ffffff !important;
}

/* Segmented Bar & Progress */
html.light .cost-breakdown-bar-container {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

html.light .bar-title {
    color: #0f172a !important;
}

html.light .cost-segmented-bar {
    background: #e2e8f0 !important;
}

html.light .segment-car { background: #64748b !important; }

/* Wall and Showcase */
html.light .deck-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

html.light .deck-card-pill {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #0f172a !important;
    border-color: #e2e8f0 !important;
}

html.light .showcase-badge {
    color: #64748b !important;
}

html.light .showcase-tag {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

html.light .sc-spec {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

html.light .showcase-price-box {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

html.light .sc-nav-btn {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

html.light .sc-nav-btn:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

html.light .wall-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light .wall-card-foot {
    border-color: #f1f5f9 !important;
}

html.light .client-avatar {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #e2e8f0 !important;
}

html.light .wall-gradient-top {
    background: linear-gradient(to bottom, #f8fafc, transparent) !important;
}

html.light .wall-gradient-bottom {
    background: linear-gradient(to top, #f8fafc, transparent) !important;
}

html.light .wall-gradient-left {
    background: linear-gradient(to right, #f8fafc, transparent) !important;
}

html.light .wall-gradient-right {
    background: linear-gradient(to left, #f8fafc, transparent) !important;
}

/* Comparative Table Styles */
.comp-table-container {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    margin: 30px 0;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.comp-table th {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a1a1aa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.light .comp-table th {
    background: #f1f5f9;
    color: #475569 !important;
    border-bottom-color: #e2e8f0;
}

.comp-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}

html.light .comp-table td {
    border-bottom-color: #f1f5f9;
    color: #334155 !important;
}

.comp-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

html.light .comp-table tr:hover td {
    background: #f8fafc;
}

.comp-car-name {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    display: block;
}

html.light .comp-car-name {
    color: #0f172a !important;
}

.comp-car-meta {
    font-size: 12px;
    color: #71717a;
    margin-top: 3px;
}

.comp-dealer-price {
    color: #71717a;
    text-decoration: line-through;
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.comp-our-price {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

html.light .comp-our-price {
    color: #0f172a !important;
}

.comp-savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
}
html.light .comp-savings-badge {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Delivery City Calculator Styles */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.delivery-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.25s ease;
}

html.light .delivery-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.delivery-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

html.light .delivery-card:hover {
    border-color: #cbd5e1;
}

.delivery-city-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.delivery-city-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

html.light .delivery-city-name {
    color: #0f172a !important;
}

.delivery-time-badge {
    font-size: 11px;
    font-weight: 600;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 9999px;
}

html.light .delivery-time-badge {
    background: #f1f5f9;
    color: #475569 !important;
}

.delivery-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

html.light .delivery-price-row {
    border-top-color: #f1f5f9;
}

.delivery-type-label {
    color: #71717a;
}

.delivery-price-val {
    font-weight: 700;
    color: #ffffff;
}

html.light .delivery-price-val {
    color: #0f172a !important;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

html.light .advantage-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

.advantage-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

html.light .advantage-icon-box {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #0f172a;
}

.advantage-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

html.light .advantage-title {
    color: #0f172a !important;
}

.advantage-desc {
    font-size: 14px;
    color: #a1a1aa;
    line-height: 1.55;
}

html.light .advantage-desc {
    color: #475569 !important;
}

/* Workflow Step Highlight 70 000 Rubles */
.workflow-commission-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-top: 8px;
}

html.light .workflow-commission-badge {
    background: #0f172a;
    color: #ffffff !important;
    border-color: #0f172a;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #71717a;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #ffffff;
}

html.light .breadcrumbs a {
    color: #64748b;
}

html.light .breadcrumbs a:hover {
    color: #0f172a;
}

.breadcrumbs-sep {
    color: #52525b;
}

.page-hero {
    padding: 120px 0 40px;
}

/* ============================================================
   ADVANTAGES GRID (БЛОК НАШИ ПРЕИМУЩЕСТВА)
   ============================================================ */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.adv-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.adv-card:hover {
    border-color: #3f3f46;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
}
.adv-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #27272a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fafafa;
}
.adv-title {
    font-size: 17px;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.adv-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #a1a1aa;
}
.adv-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
    margin-top: 12px;
}

html.light .adv-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
html.light .adv-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
}
html.light .adv-icon-wrap {
    background: #f1f5f9;
    color: #0f172a;
}
html.light .adv-title {
    color: #0f172a;
}
html.light .adv-desc {
    color: #334155;
}
html.light .adv-tag {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

/* ============================================================
   DELIVERY TO CITIES CALCULATOR & GRID
   ============================================================ */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.city-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.city-card:hover {
    border-color: #52525b;
    background: #202024;
}
.city-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.city-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}
.city-time {
    font-size: 12px;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 6px;
}
.city-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.city-price-label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.city-price-val {
    font-size: 18px;
    font-weight: 800;
    color: #fafafa;
    font-feature-settings: "tnum";
}

html.light .city-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
html.light .city-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
html.light .city-name {
    color: #0f172a;
}
html.light .city-time {
    color: #475569;
    background: #f1f5f9;
}
html.light .city-foot {
    border-top-color: #e2e8f0;
}
html.light .city-price-label {
    color: #64748b;
}
html.light .city-price-val {
    color: #0f172a;
}

/* ============================================================
   WORKFLOW STEPS (СХЕМА РАБОТЫ — 70 000 РУБЛЕЙ)
   ============================================================ */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.workflow-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: all 0.2s ease;
}
.workflow-card:hover {
    border-color: #3f3f46;
}
.workflow-num {
    font-size: 12px;
    font-weight: 800;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.workflow-title {
    font-size: 17px;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 8px;
}
.workflow-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #a1a1aa;
}
.workflow-highlight-card {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, #1f1f23 0%, #18181b 100%);
}
.workflow-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    margin-top: 14px;
}

html.light .workflow-card {
    background: #ffffff;
    border-color: #e2e8f0;
}
html.light .workflow-num {
    color: #64748b;
}
html.light .workflow-title {
    color: #0f172a;
}
html.light .workflow-desc {
    color: #334155;
}
html.light .workflow-highlight-card {
    border-color: #cbd5e1;
    background: #f8fafc;
}
html.light .workflow-price-tag {
    background: #0f172a;
    color: #ffffff;
}

/* ============================================================
   READY CALCULATION CARDS
   ============================================================ */
.ready-calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.ready-calc-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ready-calc-car {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}
.ready-calc-sub {
    font-size: 12px;
    color: #a1a1aa;
    margin-bottom: 14px;
}
.ready-calc-lines {
    font-size: 13px;
    color: #71717a;
    line-height: 1.6;
    margin-bottom: 16px;
}
.ready-calc-line {
    display: flex;
    justify-content: space-between;
}
.ready-calc-total {
    padding-top: 12px;
    border-top: 1px solid #27272a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ready-calc-total-label {
    font-size: 12px;
    font-weight: 600;
    color: #a1a1aa;
}
.ready-calc-total-val {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

html.light .ready-calc-card {
    background: #ffffff;
    border-color: #e2e8f0;
}
html.light .ready-calc-car {
    color: #0f172a;
}
html.light .ready-calc-sub {
    color: #64748b;
}
html.light .ready-calc-lines {
    color: #475569;
}
html.light .ready-calc-total {
    border-top-color: #e2e8f0;
}
html.light .ready-calc-total-label {
    color: #64748b;
}
html.light .ready-calc-total-val {
    color: #0f172a;
}

/* ============================================================
   CATALOG FILTER PILLS
   ============================================================ */
.catalog-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
    scrollbar-width: thin;
}
.filter-tag-pill {
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    background: #18181b;
    border: 1px solid #27272a;
    color: #a1a1aa;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.filter-tag-pill:hover {
    color: #ffffff;
    border-color: #3f3f46;
}
.filter-tag-pill.active {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
    font-weight: 600;
}

html.light .filter-tag-pill {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #475569;
}
html.light .filter-tag-pill:hover {
    color: #0f172a;
    border-color: #cbd5e1;
}
html.light .filter-tag-pill.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}


/* ==========================================================================
   IMPECCABLE DESIGN SYSTEM ENHANCEMENTS — NAV PILL & FULL CARD ARCHITECTURE
   ========================================================================== */

/* 1. Desktop Nav & Mobile Header Alignment */
.floating-nav {
    max-width: 1180px;
    padding: 6px 10px 6px 18px;
    gap: 12px;
}

.nav-pill-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    z-index: 2;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

html.light .nav-link {
    color: #475569 !important;
}

html.light .nav-link:hover {
    color: #0f172a !important;
}

html.light .nav-link.active {
    color: #0f172a !important;
    background: #e2e8f0 !important;
    font-weight: 600 !important;
}

@media (max-width: 1040px) {
    .nav-pill-wrapper {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .mobile-drawer {
        display: block;
    }
}

/* 2. CAR CARDS — ROBUST SPACING & TYPOGRAPHY */
.car-card {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    height: 100%;
}

.car-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.car-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #09090b;
}

.car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card:hover .car-img {
    transform: scale(1.05);
}

.car-badge-row {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}

.badge-stock {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(18, 18, 22, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e4e4e7;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-stock.badge-prohodnoy,
.badge-stock.badge-green {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
}

.badge-stock.badge-new {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: #d4d4d8;
}

.badge-top {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #09090b;
    display: inline-flex;
    align-items: center;
}

/* CAR BODY WITH PROPER GENEROUS PADDING */
.car-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 16px;
    background: #141417;
}

.car-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
}

.car-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #f4f4f5;
    margin: 0;
    letter-spacing: -0.01em;
}

.car-year {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    white-space: nowrap;
    flex-shrink: 0;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spec-pill {
    font-size: 11px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #a1a1aa;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.car-pricing {
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.price-val {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.price-label {
    font-size: 11px;
    font-weight: 500;
    color: #71717a;
}

.price-compare {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    flex-wrap: wrap;
}

.comp-label {
    color: #71717a;
    font-size: 11px;
}

.comp-val {
    color: #a1a1aa;
    text-decoration: line-through;
    font-size: 12px;
}

.comp-diff {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 12px;
}

.car-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

/* Light Mode Overrides for Car Cards */
html.light .car-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

html.light .car-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

html.light .car-body {
    background: #ffffff;
}

html.light .car-name {
    color: #0f172a;
}

html.light .car-year {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}

html.light .spec-pill {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

html.light .car-pricing {
    background: #f8fafc;
    border-color: #e2e8f0;
}

html.light .price-val {
    color: #0f172a;
}

html.light .price-label {
    color: #64748b;
}

html.light .price-compare {
    border-top-color: #e2e8f0;
}

html.light .comp-label {
    color: #64748b;
}

html.light .comp-val {
    color: #94a3b8;
}

html.light .comp-diff {
    color: #0f172a;
}

html.light .badge-stock {
    background: rgba(255, 255, 255, 0.92);
    border-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

html.light .badge-stock.badge-prohodnoy,
html.light .badge-stock.badge-green {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

html.light .badge-stock.badge-new {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

html.light .badge-top {
    background: #09090b;
    border-color: #09090b;
    color: #ffffff;
}

/* 3. MISSING CLASSES: HERO FORM, STATS & BREAKDOWN */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 500;
    color: #e4e4e7;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e4e4e7;
    box-shadow: 0 0 8px rgba(228, 228, 231, 0.6);
    animation: pulseGlow 2s infinite ease-in-out;
}
html.light .pulse-dot {
    background: #0f172a;
    box-shadow: 0 0 6px rgba(15, 23, 42, 0.3);
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.stat-caption {
    font-size: 12px;
    color: #71717a;
    margin-top: 2px;
}

.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-form-card {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px 26px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.form-header {
    margin-bottom: 20px;
}

.form-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: block;
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
}

/* 4. CALCULATOR BREAKDOWN & ITEMS */
.calc-breakdown-card {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.calc-item-row:last-child {
    border-bottom: none;
}

.item-name {
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-val {
    color: #ffffff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.calc-total-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.total-label {
    font-size: 14px;
    color: #a1a1aa;
    font-weight: 500;
}

.total-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

/* 5. CTA BANNERS & SECTIONS */
.cta-banner {
    background: linear-gradient(135deg, #18181b 0%, #111113 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 60px 0;
}

.cta-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.cta-desc {
    font-size: 15px;
    color: #a1a1aa;
    max-width: 650px;
    line-height: 1.6;
}

.page-header {
    text-align: center;
    padding: 60px 0 40px;
    max-width: 820px;
    margin: 0 auto;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.page-subtitle {
    font-size: 17px;
    color: #a1a1aa;
    line-height: 1.6;
}

/* Light mode for all new blocks */
html.light .hero-stats-row {
    border-top-color: #e2e8f0;
}

html.light .stat-number {
    color: #0f172a;
}

html.light .stat-caption {
    color: #64748b;
}

html.light .hero-stat-sep {
    background: #e2e8f0;
}

html.light .hero-form-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

html.light .form-title {
    color: #0f172a;
}

html.light .form-subtitle {
    color: #475569;
}

html.light .calc-breakdown-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

html.light .calc-item-row {
    border-bottom-color: #e2e8f0;
}

html.light .item-name {
    color: #475569;
}

html.light .item-val {
    color: #0f172a;
}

html.light .calc-total-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}

html.light .total-label {
    color: #475569;
}

html.light .total-val {
    color: #0f172a;
}

html.light .cta-banner {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html.light .cta-title {
    color: #0f172a;
}

html.light .cta-desc {
    color: #475569;
}

html.light .page-title {
    color: #0f172a;
}

html.light .page-subtitle {
    color: #475569;
}


/* Additional micro-badges & containers */
.calc-box {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 600;
    color: #e4e4e7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.showcase-badge-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-primary);
}

html.light .calc-box {
    background: #ffffff;
    border-color: #e2e8f0;
}

html.light .section-badge {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}

html.light .savings-badge,
html.light .showcase-badge-pill {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}


/* Light theme overrides for Footer */
html.light .site-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

html.light .footer-brand-name,
html.light .footer-col-title,
html.light .footer-heading {
    color: #0f172a !important;
}

html.light .footer-desc,
html.light .footer-subtext,
html.light .footer-text {
    color: #475569 !important;
}

html.light .footer-link,
html.light .footer-nav-col a {
    color: #475569 !important;
}

html.light .footer-link:hover,
html.light .footer-nav-col a:hover {
    color: #0f172a !important;
}

html.light .footer-social-pill {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

html.light .footer-social-pill:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

html.light .footer-bottom {
    border-top: 1px solid #e2e8f0 !important;
}

html.light .copyright {
    color: #64748b !important;
}

html.light .disclaimer-text,
html.light .footer-legal {
    color: #94a3b8 !important;
}


/* ==========================================================================
   BULLETPROOF FOOTER & MODAL DEFENSES (2026-10-30)
   ========================================================================== */
#orderModal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
}
#orderModal.active {
    display: flex !important;
}

/* Eliminate all bullet points in footer links across all viewports */
.site-footer ul,
.site-footer ol,
ul.footer-links-list,
.footer-links-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.site-footer li,
.footer-links-list li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
}
.site-footer li::marker,
.footer-links-list li::marker {
    display: none !important;
    content: "" !important;
    font-size: 0 !important;
}
.site-footer li::before,
.footer-links-list li::before {
    display: none !important;
    content: none !important;
}

/* Light Theme overrides for Footer */
html.light .site-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}
html.light .footer-brand-name,
html.light .footer-col-title,
html.light .footer-heading {
    color: #0f172a !important;
}
html.light .footer-desc,
html.light .footer-subtext,
html.light .footer-text {
    color: #64748b !important;
}
html.light .footer-link,
html.light .footer-nav-col a {
    color: #475569 !important;
}
html.light .footer-link:hover,
html.light .footer-nav-col a:hover {
    color: #2563eb !important;
}
html.light .footer-social-pill {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}
html.light .footer-social-pill:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}
html.light .footer-bottom {
    border-top: 1px solid #e2e8f0 !important;
}
html.light .copyright {
    color: #64748b !important;
}
html.light .disclaimer-text,
html.light .footer-legal {
    color: #94a3b8 !important;
}


/* ==========================================================================
   GLOBAL ICON & SVG SIZING SAFETY (Fixes giant unconstrained SVGs)
   ========================================================================== */
.faq-chevron,
.faq-icon,
summary.faq-question svg,
.faq-question svg,
.faq-item summary svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    color: var(--text-muted, #94a3b8) !important;
    transition: transform 0.2s ease !important;
}

details[open] .faq-chevron,
details[open] .faq-icon,
details[open] summary svg,
.faq-item.active .faq-chevron {
    transform: rotate(180deg) !important;
    color: #2563eb !important;
}

summary.faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    cursor: pointer !important;
    list-style: none !important;
}

summary.faq-question::-webkit-details-marker {
    display: none !important;
}

summary.faq-question::marker {
    display: none !important;
}

.brand-logo-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.theme-toggle-btn svg,
.sun-icon,
.moon-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}
