/* ==========================================================================
   BMWFS Space Theme — Homepage only (body.bmwfs-space-home)
   ========================================================================== */

:root {
    --bg-primary: #0B0C0E;
    --bg-secondary: #121314;
    --bg-card: #1A1B1D;
    --bg-card-light: #242426;
    --bg-border: #323132;
    --gold-light: #E7CE9D;
    --gold: #B8A582;
    --gold-dark: #918163;
    --bronze: #605D58;
    --text-primary: #F5F1E8;
    --text-secondary: #B5B0A8;
    --text-muted: #76716B;

    --accent: var(--gold);
    --surface-card: var(--bg-card);
    --silver: var(--text-muted);

    --lux-black: var(--bg-primary);
    --lux-charcoal: var(--bg-secondary);
    --lux-charcoal-soft: var(--bg-card);
    --lux-gold: var(--gold);
    --lux-gold-light: var(--gold-light);
    --lux-gold-dark: var(--gold-dark);
    --lux-silver: var(--text-muted);
    --lux-silver-soft: rgba(118, 113, 107, 0.75);
    --lux-white: var(--text-primary);
    --lux-glass: rgba(255, 255, 255, 0.04);
    --lux-glass-border: rgba(184, 165, 130, 0.2);
    --space-bg: var(--bg-primary);
    --space-bg-soft: var(--bg-secondary);
    --space-purple: var(--lux-gold-dark);
    --space-blue: var(--lux-silver);
    --space-cyan: var(--lux-gold);
    --space-text: var(--text-primary);
    --space-muted: var(--text-secondary);
    --space-glass: var(--lux-glass);
    --space-glass-border: var(--lux-glass-border);
    --space-nav-h: 84px;
    --space-font: 'Inter', 'Poppins', sans-serif;
    --space-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --space-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --lux-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body.bmwfs-space-home {
    --navbar-height: var(--space-nav-h);
    --home-btn-bg: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    --home-btn-shadow: 0 8px 24px rgba(184, 165, 130, 0.2);
    --home-btn-shadow-hover: 0 12px 32px rgba(184, 165, 130, 0.28);
    --home-card-bg: var(--bg-card);
    --home-card-border: rgba(184, 165, 130, 0.22);
    --home-accent-soft: rgba(184, 165, 130, 0.12);
    font-family: var(--space-font);
    background: var(--space-bg);
    color: var(--space-text);
    overflow-x: hidden;
}

body.bmwfs-space-home main {
    position: relative;
    z-index: 1;
}

/* Starfield canvas */
.space-starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.06;
}

/* ---------- Glass header ---------- */
.space-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 0.75rem 0;
    transition: padding 0.4s var(--space-ease), background 0.4s var(--space-ease);
}

.space-header.is-scrolled {
    padding: 0.5rem 0;
}

.space-nav {
    margin: 0 auto;
    max-width: 1320px;
    padding: 0.55rem 1.25rem;
    border-radius: 20px;
    background: rgba(18, 19, 20, 0.78);
    border: 1px solid var(--space-glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background 0.4s var(--space-ease), box-shadow 0.4s var(--space-ease);
}

.space-header.is-scrolled .space-nav {
    background: rgba(11, 12, 14, 0.96);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(184, 165, 130, 0.08);
}

.space-nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.space-brand-logo {
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 169, 98, 0.25));
}

.space-nav-menu .nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--space-muted) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s var(--space-ease);
}

.space-nav-menu .nav-link:hover,
.space-nav-menu .nav-link.active {
    color: var(--accent) !important;
}

.space-nav-menu .nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.15rem;
    height: 2px;
    background: linear-gradient(90deg, var(--lux-gold), var(--lux-silver));
    transform: scaleX(0);
    transition: transform 0.35s var(--space-ease);
}

.space-nav-menu .nav-link:hover::after,
.space-nav-menu .nav-link.active::after {
    transform: scaleX(1);
}

.space-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    padding: 0.55rem 1.35rem;
    border: none;
    transition: transform 0.3s var(--space-ease), box-shadow 0.3s var(--space-ease), background 0.3s;
    text-decoration: none;
}

.space-btn-lg {
    padding: 0.85rem 1.85rem;
    font-size: 1rem;
}

.space-btn-primary {
    background: var(--home-btn-bg, linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%));
    color: var(--bg-primary);
    box-shadow: var(--home-btn-shadow, 0 8px 24px rgba(184, 165, 130, 0.2));
}

.space-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--home-btn-shadow-hover, 0 12px 32px rgba(184, 165, 130, 0.28));
    color: var(--bg-primary);
}

.space-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--bg-border);
    backdrop-filter: blur(8px);
}

.space-btn-ghost:hover {
    background: rgba(184, 165, 130, 0.1);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.space-nav-toggler {
    border: 1px solid var(--space-glass-border);
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
}

.space-toggler-icon {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
}

@media (max-width: 991.98px) {
    .space-nav .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 16px;
        background: rgba(11, 12, 14, 0.98);
        border: 1px solid var(--space-glass-border);
    }

    .space-nav-actions {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--space-glass-border);
    }
}

/* ---------- Hero ---------- */
.space-hero {
    position: relative;
    scroll-margin-top: var(--space-nav-h, 80px);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-nav-h) + 3rem) 0 5rem;
    overflow: hidden;
}

.space-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.55;
}

.space-hero-glow--purple {
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, transparent 70%);
    top: -10%;
    right: -5%;
}

.space-hero-glow--blue {
    width: 40vw;
    height: 40vw;
    max-width: 480px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
    bottom: 5%;
    left: -10%;
}

.space-hero-container {
    position: relative;
    z-index: 3;
}

/* Hero background video */
.space-hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--lux-black);
}

.space-hero-video-bg .space-hero-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    will-change: transform;
}

.space-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.68) 40%, rgba(8, 8, 8, 0.35) 100%),
        linear-gradient(180deg, rgba(8, 8, 8, 0.65) 0%, transparent 35%, rgba(8, 8, 8, 0.75) 100%),
        radial-gradient(ellipse 80% 50% at 70% 50%, rgba(201, 169, 98, 0.08) 0%, transparent 70%);
}

.space-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    border-radius: 2px;
    background: rgba(201, 169, 98, 0.08);
    border: 1px solid var(--lux-glass-border);
    font-family: var(--space-font);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lux-gold-light);
    margin-bottom: 1.75rem;
}

.space-hero-title {
    font-family: var(--space-display);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.space-hero-title span {
    display: block;
}

.space-gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--lux-gold-light) 45%, var(--lux-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.space-hero-desc {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2.25rem;
    letter-spacing: 0.01em;
}

.space-hero-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.space-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.space-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.space-stat-glass {
    flex: 1 1 100px;
    padding: 1.15rem 1.25rem;
    border-radius: 2px;
    background: var(--lux-glass);
    border: 1px solid var(--lux-glass-border);
    backdrop-filter: blur(16px);
    transition: transform 0.5s var(--lux-ease-out), box-shadow 0.5s, border-color 0.4s;
}

.space-stat-glass:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 98, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(201, 169, 98, 0.08);
}

.space-stat-value {
    display: block;
    font-family: var(--space-display);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--lux-gold-light);
}

.space-stat-label {
    font-size: 0.75rem;
    color: var(--space-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.space-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--lux-silver-soft);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.35s;
}

.space-scroll-hint:hover {
    color: var(--lux-gold-light);
}

.space-scroll-hint-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--lux-gold), transparent);
    animation: luxScrollLine 2.2s var(--lux-ease-out) infinite;
}

@keyframes luxScrollLine {
    0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
    50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

@keyframes spaceBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* Legacy inline hero video / planet styles */
.space-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.space-planet-scene,
.space-hero-video-scene {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 16 / 10;
}

.space-hero-video-glow {
    position: absolute;
    inset: 8%;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.45) 0%, rgba(180, 83, 9, 0.15) 45%, transparent 72%);
    filter: blur(24px);
    animation: spaceGoldPulse 4s ease-in-out infinite;
}

@keyframes spaceGoldPulse {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

.space-hero-video-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.45),
        0 0 48px rgba(251, 191, 36, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    background: #0a0a0a;
}

.space-hero-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Legacy planet styles (unused when video hero is active) */
.space-planet-glow {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(124, 58, 237, 0.2) 45%, transparent 70%);
    filter: blur(20px);
    animation: spacePulse 4s ease-in-out infinite;
}

@keyframes spacePulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.space-planet-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.space-planet-orbit--1 {
    width: 100%;
    height: 100%;
    animation: spaceSpin 24s linear infinite;
}

.space-planet-orbit--2 {
    width: 115%;
    height: 115%;
    animation: spaceSpin 32s linear infinite reverse;
}

@keyframes spaceSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.space-planet-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 28%;
    transform: translate(-50%, -50%) rotateX(72deg);
    border-radius: 50%;
    border: 2px solid rgba(147, 197, 253, 0.25);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.space-planet-body {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 60px rgba(59, 130, 246, 0.35),
        0 0 100px rgba(124, 58, 237, 0.2);
}

.space-planet-globe {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    perspective: 820px;
}

.space-planet-rotator {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: spaceEarthSpin 22s linear infinite;
}

@keyframes spaceEarthSpin {
    from {
        transform: rotateY(0deg) rotateX(14deg);
    }
    to {
        transform: rotateY(360deg) rotateX(14deg);
    }
}

.space-planet-surface {
    position: absolute;
    inset: -2%;
    width: 112%;
    left: -6%;
    background:
        radial-gradient(ellipse 28% 22% at 22% 38%, rgba(56, 189, 248, 0.55) 0%, transparent 100%),
        radial-gradient(ellipse 24% 20% at 58% 62%, rgba(124, 58, 237, 0.5) 0%, transparent 100%),
        radial-gradient(ellipse 20% 18% at 78% 32%, rgba(59, 130, 246, 0.45) 0%, transparent 100%),
        radial-gradient(ellipse 18% 16% at 38% 72%, rgba(30, 64, 175, 0.6) 0%, transparent 100%),
        repeating-linear-gradient(
            90deg,
            #0f172a 0%,
            #1e3a8a 8%,
            #312e81 16%,
            #4c1d95 24%,
            #1e40af 32%,
            #0f172a 40%
        );
    background-size: 200% 100%;
}

.space-planet-shade {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    box-shadow:
        inset -28px -20px 56px rgba(0, 0, 0, 0.65),
        inset 12px 8px 32px rgba(255, 255, 255, 0.06);
}

.space-planet-highlight {
    position: absolute;
    top: 12%;
    left: 18%;
    width: 35%;
    height: 25%;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.space-moon {
    position: absolute;
    top: 18%;
    right: 8%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cbd5e1, #64748b);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: spaceMoonOrbit 12s ease-in-out infinite;
}

@keyframes spaceMoonOrbit {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-12px, 20px); }
}

.space-floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.space-floating-orb--1 {
    width: 14px;
    height: 14px;
    background: var(--space-cyan);
    top: 8%;
    left: 5%;
    box-shadow: 0 0 20px var(--space-cyan);
    animation: spaceOrb1 5s ease-in-out infinite;
}

.space-floating-orb--2 {
    width: 10px;
    height: 10px;
    background: var(--space-purple);
    bottom: 15%;
    right: 12%;
    box-shadow: 0 0 16px var(--space-purple);
    animation: spaceOrb2 7s ease-in-out infinite;
}

@keyframes spaceOrb1 {
    0%, 100% { transform: translate(0, 0); opacity: 0.8; }
    50% { transform: translate(8px, -12px); opacity: 1; }
}

@keyframes spaceOrb2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 8px); }
}

/* ---------- Page sections (glass overrides) ---------- */
body.bmwfs-space-home .space-page-body {
    position: relative;
    z-index: 2;
}

body.bmwfs-space-home .space-footer {
    position: relative;
    z-index: 2;
}

body.bmwfs-space-home .space-section {
    position: relative;
    scroll-margin-top: calc(var(--space-nav-h, 80px) + 1rem);
    background: transparent !important;
    padding-top: clamp(5rem, 11vh, 7.5rem);
    padding-bottom: clamp(5rem, 11vh, 7.5rem);
}

body.bmwfs-space-home .space-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 19, 20, 0.45) 0%, transparent 40%, rgba(18, 19, 20, 0.3) 100%);
    pointer-events: none;
}

body.bmwfs-space-home .space-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(200px, 35%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.45), transparent);
    pointer-events: none;
}

body.bmwfs-space-home .space-section:last-of-type::after {
    display: none;
}

body.bmwfs-space-home .section-label {
    color: var(--lux-gold);
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
}

body.bmwfs-space-home .section-label::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--lux-gold);
    margin-bottom: 1.1rem;
}

body.bmwfs-space-home .text-center .section-label::before {
    margin-left: auto;
    margin-right: auto;
}

body.bmwfs-space-home .section-title {
    color: var(--lux-white);
    font-family: var(--space-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

body.bmwfs-space-home .section-text {
    color: var(--space-muted);
}

/* Glass cards */
body.bmwfs-space-home .feature-icon-card,
body.bmwfs-space-home .scan-feature-card,
body.bmwfs-space-home .contact-info-card,
body.bmwfs-space-home .verify-card,
body.bmwfs-space-home .contact-form.glass-card,
body.bmwfs-space-home .glass-card {
    background: var(--surface-card) !important;
    border: 1px solid rgba(200, 168, 75, 0.22) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 48px rgba(26, 18, 8, 0.06) !important;
    border-radius: 20px !important;
    color: var(--space-text);
    transition: transform 0.4s var(--space-ease), box-shadow 0.4s var(--space-ease), border-color 0.4s;
}

body.bmwfs-space-home .feature-icon-card:hover,
body.bmwfs-space-home .scan-feature-card:hover,
body.bmwfs-space-home .contact-info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 168, 75, 0.4) !important;
    box-shadow: 0 24px 56px rgba(26, 18, 8, 0.1), 0 0 32px rgba(200, 168, 75, 0.08) !important;
}

body.bmwfs-space-home .feature-icon-card h5,
body.bmwfs-space-home .scan-feature-card h4 {
    color: var(--text-primary);
}

body.bmwfs-space-home .feature-icon-card i,
body.bmwfs-space-home .scan-feature-icon {
    color: var(--accent) !important;
    background: var(--home-accent-soft) !important;
}

body.bmwfs-space-home .scan-feature-card p,
body.bmwfs-space-home .feature-icon-card p {
    color: var(--space-muted);
}

/* About feature cards — theme-aligned */
body.bmwfs-space-home #about .feature-icon-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px !important;
    border: 1px solid var(--home-card-border) !important;
    background: var(--home-card-bg) !important;
    box-shadow: 0 16px 44px rgba(26, 18, 8, 0.06) !important;
}

body.bmwfs-space-home #about .feature-icon-card::before {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0.9rem;
    height: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(200, 168, 75, 0.2), rgba(200, 168, 75, 0.55), rgba(200, 168, 75, 0.2));
    opacity: 0.5;
}

body.bmwfs-space-home #about .feature-icon-card::after {
    content: '';
    position: absolute;
    top: 0.75rem;
    left: -35%;
    width: 35%;
    height: 1.05rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(200, 168, 75, 0.45), rgba(200, 168, 75, 0));
    opacity: 0;
    pointer-events: none;
}

body.bmwfs-space-home #about .feature-icon-card:hover {
    border-color: rgba(200, 168, 75, 0.42) !important;
    background: var(--home-card-bg) !important;
    box-shadow:
        0 20px 52px rgba(26, 18, 8, 0.09),
        0 0 24px rgba(200, 168, 75, 0.08) !important;
}

body.bmwfs-space-home #about .feature-icon-card:hover::after {
    opacity: 1;
    animation: aboutFeatureSweep 1.15s ease-out forwards;
}

body.bmwfs-space-home #about .feature-icon-card i {
    background: transparent !important;
    font-size: 1.38rem;
    margin-bottom: 0.7rem;
    color: var(--accent) !important;
    text-shadow: none;
}

body.bmwfs-space-home #about .feature-icon-card h5 {
    color: var(--text-primary);
    font-family: var(--space-display);
    font-size: clamp(1.22rem, 1.32vw, 1.78rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    text-wrap: balance;
}

body.bmwfs-space-home #about .feature-icon-card-wide {
    min-height: 98px;
}

body.bmwfs-space-home #about .feature-icon-card-wide i {
    margin-bottom: 0;
    margin-right: 0.7rem;
}

/* 5 unique card treatments (as per reference style) */
body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(1) .feature-icon-card::before {
    background: linear-gradient(90deg, rgba(200, 168, 75, 0.15), rgba(200, 168, 75, 0.5), rgba(200, 168, 75, 0.15));
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(1) .feature-icon-card:hover::after {
    animation: aboutFeatureSpark 1.15s ease-out forwards;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(2) .feature-icon-card::before {
    background:
        linear-gradient(90deg, rgba(200, 168, 75, 0.2), rgba(200, 168, 75, 0.5), rgba(200, 168, 75, 0.2)),
        repeating-linear-gradient(
            90deg,
            rgba(200, 168, 75, 0.18) 0 12px,
            rgba(200, 168, 75, 0.02) 12px 24px
        );
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(2) .feature-icon-card:hover::after {
    animation: aboutFeatureCubeTrail 1.1s ease-out forwards;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(3) .feature-icon-card::before {
    background: linear-gradient(90deg, rgba(200, 168, 75, 0.12), rgba(200, 168, 75, 0.45) 45%, rgba(200, 168, 75, 0.1));
    opacity: 0.7;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(3) .feature-icon-card:hover::after {
    animation: aboutFeatureComet 1.25s ease-out forwards;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(4) .feature-icon-card::before {
    background:
        linear-gradient(90deg, rgba(200, 168, 75, 0.16), rgba(200, 168, 75, 0.42), rgba(200, 168, 75, 0.14)),
        repeating-linear-gradient(90deg, rgba(200, 168, 75, 0.2) 0 2px, transparent 2px 18px);
    opacity: 0.65;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(4) .feature-icon-card:hover::after {
    animation: aboutFeatureCircuit 1.3s linear forwards;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(5) .feature-icon-card {
    border-color: var(--home-card-border) !important;
    background: var(--home-card-bg) !important;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(5) .feature-icon-card::before {
    height: 0.68rem;
    opacity: 0.5;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(5) .feature-icon-card i {
    position: relative;
}

body.bmwfs-space-home #about .row.g-3.mt-2 > div:nth-child(5) .feature-icon-card i::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(200, 168, 75, 0.35);
    box-shadow: 0 0 14px rgba(200, 168, 75, 0.15);
    animation: aboutShieldPulse 2.3s ease-in-out infinite;
}

@keyframes aboutFeatureSweep {
    0% {
        left: -35%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes aboutFeatureSpark {
    0% {
        left: 10%;
        width: 10%;
        opacity: 0;
    }
    35% {
        left: 22%;
        width: 26%;
        opacity: 1;
    }
    100% {
        left: 58%;
        width: 24%;
        opacity: 0;
    }
}

@keyframes aboutFeatureCubeTrail {
    0% {
        left: -28%;
        width: 22%;
        opacity: 0;
    }
    20% {
        opacity: 0.9;
    }
    100% {
        left: 104%;
        width: 28%;
        opacity: 0;
    }
}

@keyframes aboutFeatureComet {
    0% {
        left: -35%;
        width: 28%;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        left: 100%;
        width: 36%;
        opacity: 0;
    }
}

@keyframes aboutFeatureCircuit {
    0% {
        left: -30%;
        width: 25%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        left: 100%;
        width: 30%;
        opacity: 0;
    }
}

@keyframes aboutShieldPulse {
    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

@media (max-width: 767.98px) {
    body.bmwfs-space-home #about .feature-icon-card {
        padding: 1.1rem 1rem;
        border-radius: 20px !important;
    }

    body.bmwfs-space-home #about .feature-icon-card::before {
        left: 0.85rem;
        right: 0.85rem;
    }

    body.bmwfs-space-home #about .feature-icon-card h5 {
        font-size: 1.12rem;
    }

    body.bmwfs-space-home .about-images-grid {
        gap: 12px;
    }
}

body.bmwfs-space-home .about-image-wrap-transparent {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--home-card-border);
    border-radius: 24px;
    padding: 1.15rem 1.35rem 1.35rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

body.bmwfs-space-home .about-image-wrap-transparent .about-image-qr {
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.35));
}

body.bmwfs-space-home .about-images-grid {
    gap: 18px;
}

body.bmwfs-space-home .about-image-item {
    border: 1px solid var(--home-card-border);
    border-radius: 20px !important;
    background: var(--home-card-bg);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

body.bmwfs-space-home .about-image-item img {
    border-radius: 20px;
    height: auto;
}

body.bmwfs-space-home .about-text-block p {
    color: var(--space-muted);
}

body.bmwfs-space-home .about-badge {
    background: var(--home-accent-soft);
    border: 1px solid var(--home-card-border);
    color: var(--accent);
}

.lux-img-reveal {
    overflow: hidden;
    will-change: clip-path, transform;
}

.lux-img-reveal img,
.lux-img-reveal .video-embed,
.lux-img-reveal .video-thumbnail {
    will-change: transform;
}

/* Verify form — preserve inputs, luxury styling */
body.bmwfs-space-home .verify-card::before {
    background: linear-gradient(90deg, var(--lux-gold-dark), var(--lux-gold)) !important;
}

body.bmwfs-space-home .verify-card-title {
    color: var(--text-primary);
}

body.bmwfs-space-home .verify-card-subtitle,
body.bmwfs-space-home .verify-field-label,
body.bmwfs-space-home .verify-hint {
    color: var(--text-secondary);
}

body.bmwfs-space-home .verify-serial-row {
    background: var(--bg-card-light);
    border-color: var(--bg-border);
}

body.bmwfs-space-home .verify-serial-row:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 165, 130, 0.15);
}

body.bmwfs-space-home .verify-serial-input {
    color: var(--text-primary);
}

body.bmwfs-space-home .verify-serial-input::placeholder {
    color: var(--silver);
}

body.bmwfs-space-home .verify-serial-submit {
    background: var(--home-btn-bg);
    color: var(--bg-primary);
    box-shadow: var(--home-btn-shadow);
}

body.bmwfs-space-home .qr-icon-wrap {
    background: var(--home-btn-bg) !important;
    color: var(--bg-primary) !important;
}

body.bmwfs-space-home .security-badge {
    background: var(--home-accent-soft);
    color: var(--text-secondary);
    border: 1px solid var(--home-card-border);
}

body.bmwfs-space-home .verify-camera-cta {
    background: var(--home-btn-bg) !important;
    color: var(--bg-primary) !important;
    box-shadow: var(--home-btn-shadow) !important;
}

body.bmwfs-space-home .verify-or-divider {
    color: var(--space-muted);
}

body.bmwfs-space-home .verify-or-divider::before,
body.bmwfs-space-home .verify-or-divider::after {
    background: var(--space-glass-border);
}

/* Gallery */
body.bmwfs-space-home .gallery-slide-caption {
    color: var(--text-primary);
}

body.bmwfs-space-home .gallery-lightbox-caption {
    color: var(--lux-gold-light);
}

body.bmwfs-space-home .gallery-slide-inner {
    border: 1px solid var(--home-card-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

body.bmwfs-space-home .gallery-swiper .swiper-slide-active .gallery-slide-inner {
    border-color: rgba(184, 165, 130, 0.45);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(184, 165, 130, 0.12);
}

body.bmwfs-space-home .gallery-swiper .swiper-slide:not(.swiper-slide-active) .gallery-slide-inner {
    opacity: 0.88;
}

body.bmwfs-space-home .gallery-swiper-nav {
    background: var(--space-glass) !important;
    border: 1px solid var(--space-glass-border);
    color: var(--lux-gold) !important;
}

body.bmwfs-space-home .gallery-swiper-nav:hover {
    background: rgba(184, 165, 130, 0.2) !important;
    color: var(--lux-gold-light) !important;
}

body.bmwfs-space-home .gallery-swiper-wrap .swiper-pagination-bullet {
    background: var(--space-purple);
}

body.bmwfs-space-home .gallery-lightbox-backdrop {
    background: rgba(8, 8, 8, 0.92);
}

body.bmwfs-space-home .gallery-lightbox-close {
    border-color: rgba(201, 169, 98, 0.45);
    background: rgba(18, 18, 20, 0.95);
    color: var(--lux-gold);
}

body.bmwfs-space-home .gallery-lightbox-close:hover {
    background: rgba(201, 169, 98, 0.15);
    border-color: var(--lux-gold);
}

body.bmwfs-space-home .gallery-lightbox-img {
    border: 1px solid rgba(201, 169, 98, 0.2);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
}

body.bmwfs-space-home .gallery-slide-inner--video .gallery-slide-play-badge i {
    color: var(--lux-gold-light);
}

body.bmwfs-space-home .gallery-lightbox-video {
    border: 1px solid rgba(201, 169, 98, 0.2);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
}

/* Video */
body.bmwfs-space-home .video-section.space-section {
    background: transparent !important;
}

body.bmwfs-space-home .video-wrapper {
    border: 1px solid var(--space-glass-border);
}

body.bmwfs-space-home .video-features li {
    color: var(--text-primary);
}

body.bmwfs-space-home .video-features i {
    color: var(--accent);
}

/* Contact form */
body.bmwfs-space-home .contact-form .form-label {
    color: var(--space-muted);
}

body.bmwfs-space-home .contact-form .form-control {
    background: var(--bg-card-light);
    border: 1px solid var(--bg-border);
    color: var(--text-primary);
    border-radius: 12px;
}

body.bmwfs-space-home .contact-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 165, 130, 0.15);
    background: var(--bg-card-light);
}

body.bmwfs-space-home .contact-info-card h5 {
    color: var(--text-primary);
}

body.bmwfs-space-home .contact-info-card p,
body.bmwfs-space-home .contact-info-card a {
    color: var(--text-secondary);
}

body.bmwfs-space-home .contact-info-icon {
    background: var(--home-btn-bg) !important;
    color: var(--bg-primary) !important;
}

/* Contact section — align info cards with form */
body.bmwfs-space-home #contact .contact-layout {
    align-items: stretch !important;
}

body.bmwfs-space-home #contact .contact-layout > [class*="col-"] {
    display: flex !important;
    flex-direction: column;
}

@media (min-width: 992px) {
    body.bmwfs-space-home #contact .contact-layout > .col-lg-5 {
        margin-top: -1.75rem;
    }
}

body.bmwfs-space-home #contact .contact-info-stack {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.85rem;
    min-height: 100%;
    width: 100%;
}

body.bmwfs-space-home #contact .contact-info-card {
    flex: 1 1 0;
    min-height: 4.5rem;
    margin: 0;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
}

body.bmwfs-space-home #contact .contact-form.glass-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100%;
    width: 100%;
    margin: 0;
    padding: 1.5rem !important;
}

body.bmwfs-space-home #contact .contact-form > .row.g-3 {
    flex: 1 1 auto;
    align-content: start;
    height: 100%;
}

body.bmwfs-space-home #contact .contact-form > .row.g-3 > .contact-message-field {
    display: flex;
    flex-direction: column;
}

body.bmwfs-space-home #contact .contact-form #contactMessage {
    flex: 1 1 auto;
    min-height: 9rem;
    resize: vertical;
}

@media (max-width: 991.98px) {
    body.bmwfs-space-home #contact .contact-info-card {
        flex: none;
    }

    body.bmwfs-space-home #contact .contact-info-stack {
        margin-bottom: 0.25rem;
    }

    body.bmwfs-space-home #contact .contact-layout > .col-lg-7 {
        margin-top: 5rem;
    }

    body.bmwfs-space-home #contact .contact-form.glass-card {
        min-height: auto;
    }
}

body.bmwfs-space-home .btn-gold {
    background: var(--home-btn-bg) !important;
    color: var(--bg-primary) !important;
    border: none !important;
    box-shadow: var(--home-btn-shadow) !important;
}

body.bmwfs-space-home .btn-gold:hover {
    box-shadow: var(--home-btn-shadow-hover) !important;
    color: var(--bg-primary) !important;
    transform: translateY(-1px);
}

/* Footer — Xstyle layout (4-column) */
body.bmwfs-space-home .space-footer.site-footer.space-footer--xstyle {
    background: var(--bg-primary);
    border-top: 1px solid var(--bg-border);
    border-top-left-radius: clamp(3rem, 10vw, 7.5rem);
    position: relative;
    z-index: 2;
    overflow: hidden;
    color: var(--text-primary);
    padding: 60px 0 0;
}

body.bmwfs-space-home .space-footer--xstyle .footer-container,
body.bmwfs-space-home .space-footer--xstyle .space-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-top,
body.bmwfs-space-home .space-footer--xstyle .space-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.2fr 1.5fr;
    gap: 40px 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--bg-border);
    margin-bottom: 0;
}

body.bmwfs-space-home .space-footer--xstyle .footer-brand-logo-link {
    display: inline-block;
    margin-bottom: 14px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-brand-logo {
    display: block;
    height: 150px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

body.bmwfs-space-home .space-footer--xstyle .brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1d;
    margin-bottom: 14px;
}

body.bmwfs-space-home .space-footer--xstyle .brand-name span {
    color: #7a6528;
}

body.bmwfs-space-home .space-footer--xstyle .brand-desc,
body.bmwfs-space-home .space-footer--xstyle .footer-tagline {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 360px;
    margin: 0 0 18px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 10px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-col-rule {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    margin-bottom: 18px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-col-rule__long {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
}

body.bmwfs-space-home .space-footer--xstyle .footer-col-rule__short {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: var(--text-muted);
    margin-bottom: 1px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-col address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

body.bmwfs-space-home .space-footer--xstyle .footer-address-row {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-col .icon {
    display: inline-flex;
    width: 20px;
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
    justify-content: center;
}

body.bmwfs-space-home .space-footer--xstyle .footer-col .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-col .contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

body.bmwfs-space-home .space-footer--xstyle .footer-col .contact-item a:hover {
    color: var(--gold-light);
}

body.bmwfs-space-home .space-footer--xstyle .footer-links ul a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

body.bmwfs-space-home .space-footer--xstyle .footer-links ul a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

body.bmwfs-space-home .space-footer--xstyle .footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

body.bmwfs-space-home .space-footer--xstyle .footer-newsletter p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

body.bmwfs-space-home .space-footer--xstyle .newsletter-form {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: 100px;
    border: 1px solid var(--bg-border);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

body.bmwfs-space-home .space-footer--xstyle .newsletter-form:focus-within {
    border-color: rgba(184, 165, 130, 0.45);
}

body.bmwfs-space-home .space-footer--xstyle .newsletter-form input {
    flex: 1;
    padding: 13px 20px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--space-font);
    min-width: 0;
}

body.bmwfs-space-home .space-footer--xstyle .newsletter-form input::placeholder {
    color: var(--text-muted);
}

body.bmwfs-space-home .space-footer--xstyle .newsletter-form button {
    flex-shrink: 0;
    padding: 13px 28px;
    background: var(--home-btn-bg);
    border: none;
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.8rem;
    font-family: var(--space-font);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: var(--home-btn-shadow);
}

body.bmwfs-space-home .space-footer--xstyle .newsletter-form button:hover {
    box-shadow: var(--home-btn-shadow-hover);
    transform: scale(1.02);
}

body.bmwfs-space-home .space-footer--xstyle .space-footer__social.social-links {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

body.bmwfs-space-home .space-footer--xstyle .space-footer__social.social-links a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--bg-border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transform: none;
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

body.bmwfs-space-home .space-footer--xstyle .space-footer__social.social-links a:hover {
    background: var(--bg-card-light);
    color: var(--gold-light);
    transform: translateY(-2px);
}

body.bmwfs-space-home .space-footer--xstyle .footer-bottom,
body.bmwfs-space-home .space-footer--xstyle .space-footer__bottom {
    padding: 24px 0 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: none;
    text-align: left;
}

body.bmwfs-space-home .space-footer--xstyle .footer-bottom .copyright {
    margin: 0;
}

body.bmwfs-space-home .space-footer--xstyle .footer-bottom .legal {
    display: flex;
    gap: 20px;
}

body.bmwfs-space-home .space-footer--xstyle .footer-bottom .legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.78rem;
}

body.bmwfs-space-home .space-footer--xstyle .footer-bottom .legal a:hover {
    color: var(--gold-light);
}

@media (max-width: 1024px) {
    body.bmwfs-space-home .space-footer--xstyle .footer-top,
    body.bmwfs-space-home .space-footer--xstyle .space-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body.bmwfs-space-home .space-footer--xstyle .footer-container,
    body.bmwfs-space-home .space-footer--xstyle .space-footer__inner {
        padding: 0 20px;
    }

    body.bmwfs-space-home .space-footer--xstyle .footer-top,
    body.bmwfs-space-home .space-footer--xstyle .space-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        padding-bottom: 36px;
        align-items: start;
    }

    body.bmwfs-space-home .space-footer--xstyle .footer-brand,
    body.bmwfs-space-home .space-footer--xstyle .space-footer__brand-col {
        grid-column: 1 / -1;
    }

    body.bmwfs-space-home .space-footer--xstyle .space-footer__office-col {
        grid-column: 1;
    }

    body.bmwfs-space-home .space-footer--xstyle .space-footer__links-col {
        grid-column: 2;
    }

    body.bmwfs-space-home .space-footer--xstyle .footer-newsletter,
    body.bmwfs-space-home .space-footer--xstyle .space-footer__newsletter-col {
        grid-column: 1 / -1;
    }

    body.bmwfs-space-home .space-footer--xstyle .brand-desc,
    body.bmwfs-space-home .space-footer--xstyle .footer-tagline {
        max-width: 100%;
    }

    body.bmwfs-space-home .space-footer--xstyle .footer-bottom,
    body.bmwfs-space-home .space-footer--xstyle .space-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px 0 24px;
    }

    body.bmwfs-space-home .space-footer--xstyle .footer-bottom .legal {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    body.bmwfs-space-home .space-footer--xstyle .newsletter-form {
        border-radius: 12px;
        flex-wrap: wrap;
    }

    body.bmwfs-space-home .space-footer--xstyle .newsletter-form input {
        width: 100%;
        padding: 14px 18px;
        border-radius: 12px 12px 0 0;
    }

    body.bmwfs-space-home .space-footer--xstyle .newsletter-form button {
        width: 100%;
        border-radius: 0 0 12px 12px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    body.bmwfs-space-home .space-footer--xstyle .footer-brand-logo {
        height: 72px;
        max-width: 180px;
    }

    body.bmwfs-space-home .space-footer--xstyle .footer-top,
    body.bmwfs-space-home .space-footer--xstyle .space-footer__grid {
        gap: 24px 16px;
    }

    body.bmwfs-space-home .space-footer--xstyle .brand-name {
        font-size: 1.5rem;
    }

    body.bmwfs-space-home .space-footer--xstyle .footer-col address,
    body.bmwfs-space-home .space-footer--xstyle .footer-col .contact-item,
    body.bmwfs-space-home .space-footer--xstyle .footer-links ul a {
        font-size: 0.82rem;
    }

    body.bmwfs-space-home .space-footer--xstyle .footer-links ul {
        margin-bottom: 0;
    }
}

/* GSAP reveal initial state */
body.bmwfs-space-home .space-reveal {
    opacity: 0;
    transform: translateY(32px);
}

/* Disable light section backgrounds from legacy CSS */
body.bmwfs-space-home .bg-light-gray,
body.bmwfs-space-home .scan-section:not(.scan-section-premium) {
    background: transparent !important;
}

/* ==========================================================================
   SCAN & SEARCH — theme-aligned
   ========================================================================== */
body.bmwfs-space-home #scan.scan-section-premium {
    position: relative;
    overflow: hidden;
    padding-top: clamp(4rem, 8vw, 5.5rem);
    padding-bottom: clamp(4rem, 8vw, 5.5rem);
    background: transparent !important;
}

body.bmwfs-space-home #scan.scan-section-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(18, 19, 20, 0.5) 0%, transparent 42%, rgba(18, 19, 20, 0.35) 100%);
}

body.bmwfs-space-home #scan.scan-section-premium::after {
    content: '✦';
    position: absolute;
    right: clamp(1.5rem, 8vw, 5rem);
    bottom: 18%;
    font-size: 1.5rem;
    color: rgba(200, 168, 75, 0.35);
    pointer-events: none;
    text-shadow: none;
}

body.bmwfs-space-home #scan .scan-section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 2.75rem !important;
}

body.bmwfs-space-home #scan .scan-section-label {
    color: var(--accent) !important;
    letter-spacing: 0.24em;
    font-size: 0.68rem;
    font-weight: 500;
    margin-bottom: 0.85rem;
}

body.bmwfs-space-home #scan .scan-section-label::before {
    display: none !important;
}

body.bmwfs-space-home #scan .scan-section-title {
    font-family: var(--space-display);
    font-size: clamp(2.35rem, 5vw, 3.15rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: unset;
}

body.bmwfs-space-home #scan .scan-section-lead {
    max-width: 540px;
    font-size: 0.92rem;
    line-height: 1.62;
    color: var(--text-secondary) !important;
}

body.bmwfs-space-home #scan .scan-verify-stack {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}

body.bmwfs-space-home #scan .scan-verify-card-shell {
    padding: 2px;
    border-radius: 24px;
    background: linear-gradient(155deg, var(--accent), var(--lux-gold-light), var(--accent));
    box-shadow: 0 20px 60px rgba(26, 18, 8, 0.08);
}

body.bmwfs-space-home #scan .scan-verify-card {
    background: var(--bg-card) !important;
    border: none !important;
    border-radius: 22px !important;
    padding: 1.65rem 1.85rem 1.45rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.bmwfs-space-home #scan .scan-verify-card::before {
    display: none !important;
}

body.bmwfs-space-home #scan .verify-card-header {
    gap: 0.9rem;
    margin-bottom: 1.55rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(200, 168, 75, 0.15);
}

body.bmwfs-space-home #scan .verify-emblem-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--home-btn-bg) !important;
    border: 1px solid rgba(200, 168, 75, 0.35);
    box-shadow: var(--home-btn-shadow);
    overflow: hidden;
    flex-shrink: 0;
    padding: 3px;
}

body.bmwfs-space-home #scan .verify-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

body.bmwfs-space-home #scan .verify-card-title {
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

body.bmwfs-space-home #scan .verify-card-subtitle {
    font-size: 0.8rem;
    margin-top: 0.15rem;
    color: var(--text-secondary) !important;
}

body.bmwfs-space-home #scan .verify-card-heading {
    flex: 1;
    min-width: 0;
}

body.bmwfs-space-home #scan .security-badge {
    margin-left: auto;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--home-card-border);
    background: var(--home-accent-soft) !important;
    color: var(--text-secondary) !important;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

body.bmwfs-space-home #scan .security-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5ee87a;
    box-shadow: 0 0 8px rgba(94, 232, 122, 0.75);
    flex-shrink: 0;
}

body.bmwfs-space-home #scan .verify-field-label {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.55rem;
    color: var(--text-secondary) !important;
    text-transform: uppercase;
}

body.bmwfs-space-home #scan .verify-serial-icon {
    display: none;
}

body.bmwfs-space-home #scan .verify-serial-row {
    padding: 0.28rem 0.3rem 0.28rem 1rem;
    background: var(--bg-card-light) !important;
    border: 1px solid var(--bg-border) !important;
    border-radius: 12px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
    gap: 0.5rem;
}

body.bmwfs-space-home #scan .verify-serial-row:focus-within {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(184, 165, 130, 0.15) !important;
}

body.bmwfs-space-home #scan .verify-serial-input {
    font-size: 0.95rem;
    padding: 0.55rem 0;
    color: var(--text-primary);
}

body.bmwfs-space-home #scan .verify-serial-input::placeholder {
    color: var(--silver) !important;
}

body.bmwfs-space-home #scan .verify-serial-submit {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--home-btn-bg) !important;
    color: var(--bg-primary) !important;
    border: none;
    box-shadow: var(--home-btn-shadow);
    font-size: 1rem;
}

body.bmwfs-space-home #scan .verify-serial-submit:hover {
    box-shadow: var(--home-btn-shadow-hover);
    color: var(--bg-primary) !important;
}

body.bmwfs-space-home #scan .verify-or-divider {
    margin: 1.15rem 0;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: var(--text-secondary) !important;
}

body.bmwfs-space-home #scan .verify-or-divider::before,
body.bmwfs-space-home #scan .verify-or-divider::after {
    background: rgba(200, 168, 75, 0.2) !important;
}

body.bmwfs-space-home #scan .verify-camera-cta {
    border-radius: 14px !important;
    padding: 0.95rem 1.1rem !important;
    min-height: 72px;
    background: var(--home-btn-bg) !important;
    color: var(--bg-primary) !important;
    box-shadow: var(--home-btn-shadow) !important;
}

body.bmwfs-space-home #scan .verify-camera-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--home-btn-shadow-hover) !important;
}

body.bmwfs-space-home #scan .verify-camera-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(11, 12, 14, 0.35) !important;
    border: 1px solid rgba(184, 165, 130, 0.25);
    color: var(--text-primary) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: none;
}

body.bmwfs-space-home #scan .verify-camera-cta-title {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--bg-primary);
}

body.bmwfs-space-home #scan .verify-camera-cta-sub {
    opacity: 0.85;
    font-size: 0.78rem;
    color: var(--bg-primary);
}

body.bmwfs-space-home #scan .verify-camera-cta-arrow {
    color: var(--bg-primary);
    font-size: 1.15rem;
}

body.bmwfs-space-home #scan .verify-hint {
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-secondary) !important;
    line-height: 1.5;
    display: block;
}

body.bmwfs-space-home #scan .verify-hint__mark {
    opacity: 0.65;
    margin-right: 0.15rem;
}

body.bmwfs-space-home #scan .scan-features-bridge {
    position: relative;
    height: 3rem;
    max-width: 100%;
    margin: 0.35rem auto 0.15rem;
    pointer-events: none;
}

body.bmwfs-space-home #scan .scan-features-bridge__stem {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 1.25rem;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(200, 168, 75, 0.45), rgba(140, 140, 140, 0.2));
}

body.bmwfs-space-home #scan .scan-features-bridge__bar {
    position: absolute;
    top: 1.25rem;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background: rgba(200, 168, 75, 0.22);
}

body.bmwfs-space-home #scan .scan-features-bridge__drop {
    position: absolute;
    top: 1.25rem;
    width: 1px;
    height: 1.5rem;
    background: linear-gradient(180deg, rgba(200, 168, 75, 0.22), rgba(200, 168, 75, 0.08));
}

body.bmwfs-space-home #scan .scan-features-bridge__drop--left {
    left: 16.66%;
}

body.bmwfs-space-home #scan .scan-features-bridge__drop--center {
    left: 50%;
    transform: translateX(-50%);
}

body.bmwfs-space-home #scan .scan-features-bridge__drop--right {
    right: 16.66%;
}

body.bmwfs-space-home #scan .scan-features-row {
    margin-top: 0;
    --bs-gutter-x: 1.15rem;
}

body.bmwfs-space-home #scan .scan-feature-card--premium {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    background: var(--bg-card) !important;
    border: 1px solid var(--home-card-border) !important;
    border-radius: 16px !important;
    padding: 1.5rem 1.15rem 1.35rem !important;
    box-shadow: 0 12px 32px rgba(26, 18, 8, 0.06) !important;
    text-align: center;
    overflow: visible;
}

body.bmwfs-space-home #scan .scan-feature-card__stack {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 100%;
    margin-top: -2px;
    height: 8px;
    border-radius: 0 0 14px 14px;
    border: 1px solid rgba(200, 168, 75, 0.14);
    border-top: none;
    background: linear-gradient(180deg, #2a2b2d, var(--bg-card));
    box-shadow: 0 4px 12px rgba(26, 18, 8, 0.06);
    z-index: -1;
    pointer-events: none;
}

body.bmwfs-space-home #scan .scan-feature-card__stack--deep {
    left: 14px;
    right: 14px;
    margin-top: 5px;
    height: 7px;
    border-radius: 0 0 12px 12px;
    opacity: 0.85;
    z-index: -2;
}

body.bmwfs-space-home #scan .scan-feature-card--premium:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 168, 75, 0.4) !important;
}

body.bmwfs-space-home #scan .scan-feature-icon {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid var(--home-card-border);
    background: var(--home-accent-soft) !important;
    box-shadow: none;
    color: var(--accent) !important;
}

body.bmwfs-space-home #scan .scan-feature-icon--realtime::before,
body.bmwfs-space-home #scan .scan-feature-icon--realtime::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.45));
    transform: translateY(-50%);
}

body.bmwfs-space-home #scan .scan-feature-icon--realtime::before {
    left: -18px;
}

body.bmwfs-space-home #scan .scan-feature-icon--realtime::after {
    right: -18px;
    background: linear-gradient(90deg, rgba(201, 169, 98, 0.45), transparent);
}

body.bmwfs-space-home #scan .scan-feature-card--premium h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

body.bmwfs-space-home #scan .scan-feature-card--premium p {
    font-size: 0.8rem;
    line-height: 1.52;
    margin: 0;
    color: var(--text-secondary) !important;
}

@media (max-width: 767.98px) {
    body.bmwfs-space-home #scan .verify-card-header {
        flex-wrap: wrap;
    }

    body.bmwfs-space-home #scan .security-badge {
        margin-left: 0;
        order: 3;
        width: 100%;
        justify-content: center;
    }

    body.bmwfs-space-home #scan .scan-features-bridge {
        display: none;
    }

    body.bmwfs-space-home #scan.scan-section-premium::after {
        display: none;
    }

    body.bmwfs-space-home #scan .scan-verify-card {
        padding: 1.35rem 1.15rem 1.2rem !important;
    }

    body.bmwfs-space-home #scan .scan-feature-card__stack,
    body.bmwfs-space-home #scan .scan-feature-card__stack--deep {
        display: none;
    }

    body.bmwfs-space-home #scan .scan-feature-card--premium {
        margin-bottom: 0;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .space-hero-overlay {
        background:
            linear-gradient(180deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.6) 45%, rgba(8, 8, 8, 0.92) 100%);
    }

    .space-hero-copy {
        text-align: center;
    }

    .space-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .space-hero-cta {
        justify-content: center;
    }

    .space-hero-stats {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .space-brand-logo {
        height: 40px;
    }

    .space-stat-glass {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

/* Unified homepage buttons */
body.bmwfs-space-home .play-btn {
    background: var(--home-btn-bg) !important;
    border: 2px solid var(--accent) !important;
    color: var(--text-primary) !important;
    box-shadow: var(--home-btn-shadow);
}

body.bmwfs-space-home .play-btn:hover {
    box-shadow: var(--home-btn-shadow-hover);
}

body.bmwfs-space-home .gallery-swiper-nav {
    color: var(--accent) !important;
}

@media (prefers-reduced-motion: reduce) {
    .space-hero-video-bg .space-hero-video {
        display: none;
    }

    .space-hero-video-glow {
        animation: none;
    }

    .space-planet-rotator,
    .space-planet-body,
    .space-moon,
    .space-floating-orb,
    .space-scroll-hint,
    .space-planet-glow {
        animation: none;
    }
}
