/* ==========================================================================
   BMWFS Space Theme — Homepage only (body.bmwfs-space-home)
   ========================================================================== */

:root {
    --lux-black: #080808;
    --lux-charcoal: #121214;
    --lux-charcoal-soft: #1a1a1d;
    --lux-gold: #c9a962;
    --lux-gold-light: #e8d5a3;
    --lux-gold-dark: #9a7b32;
    --lux-silver: #b8bcc6;
    --lux-silver-soft: rgba(184, 188, 198, 0.65);
    --lux-white: #f7f5f0;
    --lux-glass: rgba(255, 255, 255, 0.045);
    --lux-glass-border: rgba(201, 169, 98, 0.18);
    --space-bg: var(--lux-black);
    --space-bg-soft: var(--lux-charcoal);
    --space-purple: var(--lux-gold-dark);
    --space-blue: var(--lux-silver);
    --space-cyan: var(--lux-gold);
    --space-text: var(--lux-white);
    --space-muted: var(--lux-silver-soft);
    --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);
    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.08;
}

/* ---------- 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(255, 255, 255, 0.05);
    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.08);
    transition: background 0.4s var(--space-ease), box-shadow 0.4s var(--space-ease);
}

.space-header.is-scrolled .space-nav {
    background: rgba(8, 8, 8, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(201, 169, 98, 0.08);
}

.space-nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.space-brand-logo {
    height: 48px;
    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: #fff !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: linear-gradient(135deg, var(--lux-gold-dark) 0%, var(--lux-gold) 100%);
    color: var(--lux-black);
    box-shadow: 0 8px 28px rgba(201, 169, 98, 0.28);
}

.space-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(201, 169, 98, 0.38);
    color: var(--lux-black);
}

.space-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--space-glass-border);
    backdrop-filter: blur(8px);
}

.space-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    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: #fff;
    margin: 5px 0;
}

@media (max-width: 991.98px) {
    .space-nav .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 16px;
        background: rgba(5, 8, 22, 0.95);
        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;
}

.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(--space-muted);
    max-width: 520px;
    margin-bottom: 2.25rem;
    letter-spacing: 0.01em;
}

.space-hero-desc strong {
    color: #fff;
    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, 18, 20, 0.5) 0%, transparent 40%, rgba(18, 18, 20, 0.35) 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: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--space-glass-border) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !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(201, 169, 98, 0.35) !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 32px rgba(201, 169, 98, 0.06) !important;
}

body.bmwfs-space-home .feature-icon-card h5,
body.bmwfs-space-home .scan-feature-card h4 {
    color: #fff;
}

body.bmwfs-space-home .feature-icon-card i,
body.bmwfs-space-home .scan-feature-icon {
    color: var(--lux-gold) !important;
    background: rgba(201, 169, 98, 0.12) !important;
}

body.bmwfs-space-home .scan-feature-card p,
body.bmwfs-space-home .feature-icon-card p {
    color: var(--space-muted);
}

body.bmwfs-space-home .about-image-wrap {
    border-radius: 2px;
    border: 1px solid var(--lux-glass-border);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

body.bmwfs-space-home .about-badge {
    background: rgba(201, 169, 98, 0.12);
    border: 1px solid rgba(201, 169, 98, 0.3);
    color: var(--lux-gold-light);
}

.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: #fff;
}

body.bmwfs-space-home .verify-card-subtitle,
body.bmwfs-space-home .verify-field-label,
body.bmwfs-space-home .verify-hint {
    color: var(--space-muted);
}

body.bmwfs-space-home .verify-serial-row {
    background: rgba(0, 0, 0, 0.25);
    border-color: var(--space-glass-border);
}

body.bmwfs-space-home .verify-serial-row:focus-within {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

body.bmwfs-space-home .verify-serial-input {
    color: #fff;
}

body.bmwfs-space-home .verify-serial-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

body.bmwfs-space-home .verify-serial-submit {
    background: linear-gradient(135deg, var(--lux-gold-dark), var(--lux-gold));
    color: var(--lux-black);
}

body.bmwfs-space-home .qr-icon-wrap {
    background: linear-gradient(135deg, var(--space-blue), var(--space-purple)) !important;
    color: #fff !important;
}

body.bmwfs-space-home .security-badge {
    background: rgba(201, 169, 98, 0.15);
    color: var(--lux-gold-light);
}

body.bmwfs-space-home .verify-camera-cta {
    background: linear-gradient(135deg, rgba(154, 123, 50, 0.95), rgba(201, 169, 98, 0.95)) !important;
    color: var(--lux-black) !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-inner {
    border: 1px solid var(--space-glass-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

body.bmwfs-space-home .gallery-swiper .swiper-button-prev,
body.bmwfs-space-home .gallery-swiper .swiper-button-next {
    background: var(--space-glass) !important;
    border: 1px solid var(--space-glass-border);
    color: var(--lux-gold) !important;
}

body.bmwfs-space-home .gallery-swiper .swiper-pagination-bullet {
    background: var(--space-purple);
}

/* 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 i {
    color: var(--space-cyan);
}

/* Contact form */
body.bmwfs-space-home .contact-form .form-label {
    color: var(--space-muted);
}

body.bmwfs-space-home .contact-form .form-control {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--space-glass-border);
    color: #fff;
    border-radius: 12px;
}

body.bmwfs-space-home .contact-form .form-control:focus {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: rgba(0, 0, 0, 0.35);
}

body.bmwfs-space-home .contact-info-card h5 {
    color: #fff;
}

body.bmwfs-space-home .contact-info-card p,
body.bmwfs-space-home .contact-info-card a {
    color: var(--space-muted);
}

body.bmwfs-space-home .contact-info-icon {
    background: linear-gradient(135deg, var(--space-blue), var(--space-purple)) !important;
    color: #fff !important;
}

body.bmwfs-space-home .btn-gold {
    background: linear-gradient(135deg, var(--space-blue), var(--space-purple)) !important;
    color: #fff !important;
    border: none !important;
}

body.bmwfs-space-home .btn-gold:hover {
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.4) !important;
    color: #fff !important;
}

/* Footer */
body.bmwfs-space-home .space-footer.site-footer {
    background: rgba(3, 5, 14, 0.95);
    border-top: 1px solid var(--space-glass-border);
    position: relative;
    z-index: 2;
}

body.bmwfs-space-home .space-footer .footer-logo {
    height: 72px;
    filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.3));
}

body.bmwfs-space-home .footer-heading {
    color: var(--space-cyan);
}

body.bmwfs-space-home .footer-links a:hover,
body.bmwfs-space-home .social-links a:hover {
    color: var(--space-cyan);
    border-color: var(--space-cyan);
}

/* 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 {
    background: transparent !important;
}

/* 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);
    }
}

@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;
    }
}
