/* ========================================================================== 
   SPACE — Premium Experience Layer (Exact Reference Theme Match)
   Deep Midnight Royal Blue (#070E24) + Vibrant Golden Yellow (#FFB800)
   Crisp White Headlines + Executive Royal Blue & Gold Theme
   Samagra Learning Solutions
   ========================================================================== */

:root {
  /* Exact Reference Navy Palette */
  --lux-ink: #070E24;
  --lux-ink-2: #091332;
  --lux-navy: #0C183E;
  --lux-navy-2: #10204C;
  --lux-navy-surface: #142558;
  --lux-blue: #1C3B87;
  --lux-blue-glow: rgba(28, 59, 135, 0.35);

  /* Exact Reference Golden Yellow */
  --lux-gold: #FFB800;
  --lux-gold-light: #FFC820;
  --lux-gold-pale: #FFE685;
  --lux-gold-dark: #D48E00;
  
  /* High-Contrast Editorial Typography */
  --lux-text-white: #FFFFFF;
  --lux-text-gold: #FFB800;
  --lux-text-muted: #CBD5E1;
  --lux-text-sub: #94A3B8;

  /* Precision Frames & Gilded Illumination */
  --lux-gold-border: rgba(255, 184, 0, 0.28);
  --lux-gold-border-bright: rgba(255, 184, 0, 0.75);
  --lux-gold-border-subtle: rgba(255, 184, 0, 0.16);
  --lux-gold-glow: rgba(255, 184, 0, 0.45);
  --lux-shadow: 0 25px 80px rgba(0, 0, 0, 0.65);
  
  --mouse-x: 50%;
  --mouse-y: 18%;
}

html { 
  background: var(--lux-ink); 
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background: var(--lux-ink) !important;
  color: var(--lux-text-muted) !important;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

/* Subtle background grain (Desktop Only) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .03;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* Ambient pointer spotlight: Subtle sapphire glow (Desktop Mouse Only) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(750px circle at var(--mouse-x) var(--mouse-y), rgba(56, 189, 248, 0.04), rgba(28, 59, 135, 0.12) 42%, transparent 70%);
}

/* GPU Compositor Optimization for Mobile & Touch Screens:
   Eliminates heavy mix-blend-mode re-rasterization and dead spotlight gradient during touch scroll */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  body::before {
    display: none !important;
  }
  body::after {
    display: none !important;
  }
}

::selection { 
  background: #FFB800; 
  color: #070E24; 
}

a, button { outline-offset: 4px; }

/* Top scroll reading progress bar in vibrant golden yellow */
#premium-scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  height: 3px;
  width: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #D48E00, #FFB800, #FFE685);
  box-shadow: 0 0 18px rgba(255, 184, 0, 0.7);
}

/* ==========================================================================
   CINEMATIC GALAXY BACKGROUND (Continuous Living Universe Engine)
   ========================================================================== */
#space-cosmos-universe {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 130% 90% at 50% 15%, #081438 0%, #050C24 45%, #030614 100%);
}

#space-cosmos-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.cosmos-nebula {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  will-change: transform, opacity;
  opacity: 0.38;
}

.cosmos-nebula-sapphire {
  top: -10%;
  right: -5%;
  width: 80vw;
  height: 70vh;
  background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.42) 0%, rgba(14, 28, 80, 0.18) 50%, transparent 75%);
  animation: cosmosNebulaDriftA 50s ease-in-out infinite alternate;
}

.cosmos-nebula-violet {
  top: 35%;
  left: -12%;
  width: 72vw;
  height: 65vh;
  background: radial-gradient(ellipse at center, rgba(76, 29, 149, 0.32) 0%, rgba(30, 27, 75, 0.15) 50%, transparent 75%);
  animation: cosmosNebulaDriftB 62s ease-in-out infinite alternate;
}

.cosmos-nebula-gold {
  bottom: 5%;
  right: 10%;
  width: 60vw;
  height: 55vh;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.12) 0%, rgba(180, 83, 9, 0.04) 45%, transparent 70%);
  animation: cosmosNebulaDriftC 58s ease-in-out infinite alternate;
}

.cosmos-nebula-cyan {
  top: 62%;
  right: -8%;
  width: 65vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(14, 116, 144, 0.30) 0%, rgba(8, 47, 73, 0.12) 50%, transparent 75%);
  animation: cosmosNebulaDriftD 64s ease-in-out infinite alternate;
}

@keyframes cosmosNebulaDriftA {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, 25px) scale(1.05); }
  100% { transform: translate(25px, -20px) scale(0.96); }
}

@keyframes cosmosNebulaDriftB {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.06); }
  100% { transform: translate(-25px, 20px) scale(0.95); }
}

@keyframes cosmosNebulaDriftC {
  0% { transform: translate(0, 0) scale(1); opacity: 0.18; }
  50% { transform: translate(-25px, -20px) scale(1.04); opacity: 0.32; }
  100% { transform: translate(20px, 25px) scale(0.98); opacity: 0.18; }
}

@keyframes cosmosNebulaDriftD {
  0% { transform: translate(0, 0) scale(1); opacity: 0.22; }
  50% { transform: translate(-30px, 30px) scale(1.08); opacity: 0.36; }
  100% { transform: translate(25px, -20px) scale(0.94); opacity: 0.22; }
}


/* --------------------------------------------------------------------------
   NAVIGATION (Deep Midnight Glass with Golden Trim)
   -------------------------------------------------------------------------- */
#navbar.glass-nav {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  background: linear-gradient(180deg, rgba(7, 14, 36, 0.92), rgba(9, 19, 50, 0.5), transparent) !important;
  border-bottom: 1px solid rgba(255, 184, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#navbar.glass-nav-scrolled {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  background: rgba(7, 14, 36, 0.97) !important;
  border-bottom-color: rgba(255, 184, 0, 0.38) !important;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 184, 0, 0.08);
}

#navbar .max-w-7xl { max-width: 86rem; }

#navbar .nav-link {
  position: relative;
  letter-spacing: .015em;
  color: #CBD5E1 !important;
  transition: color .25s ease;
}

#navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%; bottom: -8px;
  height: 2px;
  background: #FFB800;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.6);
  transition: left .3s ease, right .3s ease;
}

#navbar .nav-link:hover,
#navbar .nav-link:active,
#navbar .nav-link.touch-hover,
#navbar .nav-link.active { 
  color: #FFB800 !important; 
}

#navbar .nav-link:hover::after,
#navbar .nav-link:active::after,
#navbar .nav-link.touch-hover::after,
#navbar .nav-link.active::after { 
  left: 0; 
  right: 0; 
}

/* --------------------------------------------------------------------------
   BUTTONS (Exact Match: Rich Golden Yellow with Dark Navy Font)
   -------------------------------------------------------------------------- */
.btn-primary {
  border: 1px solid rgba(255, 235, 150, 0.85) !important;
  background: linear-gradient(180deg, #FFC820 0%, #FFB800 100%) !important;
  color: #070E24 !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
  box-shadow:
    0 10px 25px rgba(255, 184, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  transform: translateZ(0);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.touch-hover {
  transform: translateY(-3px) scale(1.02) !important;
  background: linear-gradient(180deg, #FFD242 0%, #FFC117 100%) !important;
  box-shadow:
    0 14px 35px rgba(255, 184, 0, 0.55),
    0 0 25px rgba(255, 184, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.btn-secondary-dark {
  background: rgba(12, 24, 62, 0.75) !important;
  border-color: rgba(255, 184, 0, 0.42) !important;
  color: #FFB800 !important;
  box-shadow: inset 0 1px 0 rgba(255, 235, 150, 0.15);
}

.btn-secondary-dark:hover,
.btn-secondary-dark:active,
.btn-secondary-dark.touch-hover {
  background: rgba(255, 184, 0, 0.16) !important;
  border-color: #FFB800 !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 184, 0, 0.25) !important;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
#hero {
  min-height: auto;
  padding-top: 100px !important;
  padding-bottom: 68px !important;
  background:
    radial-gradient(1000px 520px at 78% 33%, rgba(28, 59, 135, 0.35), transparent 68%),
    radial-gradient(720px 460px at 15% 58%, rgba(255, 184, 0, 0.08), transparent 68%),
    linear-gradient(180deg, rgba(7, 14, 36, 0.32) 0%, rgba(9, 19, 50, 0.24) 45%, rgba(12, 24, 62, 0.38) 100%) !important;
  isolation: isolate;
  position: relative;
  z-index: 2;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(45, 90, 185, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 90, 185, 0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 72%, transparent 98%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 72%, transparent 98%);
}

#hero::after {
  content: '';
  position: absolute;
  width: 44vw;
  height: 44vw;
  min-width: 480px;
  min-height: 480px;
  right: -12vw;
  top: 20%;
  border: 1px solid rgba(255, 184, 0, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(28, 59, 135, 0.04),
    0 0 0 160px rgba(255, 184, 0, 0.02),
    0 0 140px rgba(28, 59, 135, 0.15);
  pointer-events: none;
  animation: premiumOrbitFloat 14s ease-in-out infinite;
}

#hero > .max-w-7xl { max-width: 86rem; }
#hero .radial-glow-hero { opacity: .45 !important; filter: blur(95px) !important; }

/* Hero Growth Showcase Banner Frame */
#growth-showcase-container { 
  margin-top: 24px !important;
  margin-bottom: 40px !important; 
}
#growth-showcase-container > div {
  border-radius: 24px !important;
  border-color: rgba(255, 184, 0, 0.38) !important;
  background: linear-gradient(100deg, rgba(12, 24, 62, 0.9), rgba(8, 18, 48, 0.85), rgba(12, 26, 68, 0.9)) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 235, 150, 0.25) !important;
}

#growth-showcase-container > div::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 235, 150, 0.12) 46%, transparent 68%);
  transform: translateX(-105%);
  animation: premiumSheen 9s ease-in-out infinite;
}

/* Logo Animation Video Banner Frame */
#logo-animation-container {
  margin-bottom: 32px !important;
}

#logo-animation-container > div {
  border-radius: 24px !important;
  border: 1px solid rgba(255, 184, 0, 0.35) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 45px rgba(255, 184, 0, 0.16) !important;
  background: #000000 !important;
}

/* Hero Headline: Golden Yellow + Pure White Pairing (Exact Reference Style) */
#hero h1 {
  max-width: 860px;
  font-size: clamp(3rem, 5.25vw, 5.5rem) !important;
  line-height: .995 !important;
  letter-spacing: -.052em !important;
  text-wrap: balance;
  color: #FFFFFF !important;
  text-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
}

#hero h1 span {
  color: #FFB800 !important;
  background: linear-gradient(110deg, #FFD242 0%, #FFB800 70%, #F59E0B 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

#hero .gradient-text-cyan,
.gradient-text-gold,
.gradient-text-cyan,
.gradient-text-blue {
  background: linear-gradient(110deg, #FFD242 0%, #FFB800 70%, #F59E0B 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #FFB800 !important;
}

#hero h1 + p {
  color: #CBD5E1 !important;
  max-width: 760px !important;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem) !important;
  line-height: 1.72 !important;
}

/* Hero Headline Diffuse Cosmic Glow (Milky Way-inspired formation) */
#hero .lg\:col-span-7 {
  position: relative;
}

#hero .lg\:col-span-7::before {
  content: '';
  position: absolute;
  left: -12%;
  top: 6%;
  width: 125%;
  height: 88%;
  background: radial-gradient(ellipse at 38% 45%, rgba(28, 59, 135, 0.32) 0%, rgba(12, 24, 62, 0.12) 50%, transparent 75%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
}

#hero .lg\:col-span-7 > .inline-flex:first-child {
  border-color: rgba(255, 87, 34, 0.45) !important;
  background: rgba(255, 87, 34, 0.12) !important;
  box-shadow: 0 0 18px rgba(255, 87, 34, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  color: #FF7043 !important;
  letter-spacing: .14em !important;
}

#hero .lg\:col-span-5 {
  min-height: 480px;
  perspective: 1000px;
}

/* Remove legacy distorted organic blob behind hero */
#hero .lg\:col-span-5::before {
  display: none !important;
}

/* ==========================================================================
   HERO EXECUTIVE ARCH & PORTRAIT STAGE FRAME
   ========================================================================== */
.hero-executive-frame {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 380px;
  height: 94%;
  min-height: 520px;
  border-radius: 190px 190px 28px 28px;
  background:
    radial-gradient(ellipse at 50% 26%, rgba(255, 184, 0, 0.18) 0%, rgba(56, 189, 248, 0.12) 36%, transparent 68%),
    radial-gradient(ellipse at 50% 86%, rgba(20, 68, 198, 0.25) 0%, transparent 70%),
    linear-gradient(175deg, rgba(14, 27, 68, 0.88) 0%, rgba(7, 14, 38, 0.98) 100%);
  border: 1px solid rgba(255, 184, 0, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 195, 0.50),
    inset 0 0 35px rgba(56, 189, 248, 0.08),
    0 35px 95px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(255, 184, 0, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-executive-frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 180px 180px 18px 18px;
  border: 1px solid rgba(255, 184, 0, 0.22);
  pointer-events: none;
  box-shadow: inset 0 0 25px rgba(255, 184, 0, 0.04);
}

.hero-executive-frame::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.75), transparent);
}

/* Hover Accentuation */
.group\/trainer:hover .hero-executive-frame {
  border-color: #FFB800;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 195, 0.70),
    inset 0 0 45px rgba(56, 189, 248, 0.16),
    0 45px 110px rgba(0, 0, 0, 0.90),
    0 0 50px rgba(255, 184, 0, 0.28);
}

/* Subtle Architectural Studio Rim Back-glow */
.hero-frame-ambient-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(56, 189, 248, 0.20) 0%,
    rgba(255, 184, 0, 0.14) 38%,
    rgba(28, 59, 135, 0.25) 58%,
    transparent 75%
  );
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.group\/trainer:hover .hero-frame-ambient-glow {
  opacity: 1.25;
  transform: translate(-50%, -50%) scale(1.05);
}

/* Micro-geometric corner ticks inside frame */
.hero-frame-corner-accents {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero .concentric-rings { 
  display: none !important;
}

/* ==========================================================================
   SPACE TRAINER & MASTER FACULTY VISUAL INTEGRATION (Cosmic Stage Architecture)
   ========================================================================== */

/* Base Stage Container */
.space-trainer-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  isolation: isolate;
  margin: 0 auto;
}

/* Master Embedded Card Container (for Promise & Leadership) */
.space-trainer-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  isolation: isolate;
  margin: 0 auto;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(28, 59, 135, 0.38) 0%, transparent 68%),
    radial-gradient(ellipse at 50% 88%, rgba(56, 189, 248, 0.15) 0%, transparent 70%),
    linear-gradient(165deg, rgba(12, 24, 62, 0.90) 0%, rgba(7, 14, 38, 0.98) 100%) !important;
  border: 1px solid rgba(255, 184, 0, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 150, 0.28),
    inset 0 0 35px rgba(56, 189, 248, 0.08),
    0 35px 85px rgba(0, 0, 0, 0.70) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.45s ease,
              box-shadow 0.45s ease !important;
}

.space-trainer-card:hover,
.space-trainer-card:active,
.space-trainer-card.touch-hover {
  transform: translateY(-6px) !important;
  border-color: #FFB800 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 195, 0.50),
    inset 0 0 45px rgba(56, 189, 248, 0.18),
    0 45px 105px rgba(0, 0, 0, 0.80),
    0 0 40px rgba(255, 184, 0, 0.28) !important;
}

/* 1. Soft Cosmic Aura & Nebula Glow (Behind Trainer) */
.trainer-cosmic-aura {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 490px;
  max-width: 95%;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(56, 189, 248, 0.24) 0%,
    rgba(28, 59, 135, 0.26) 38%,
    rgba(255, 184, 0, 0.10) 64%,
    transparent 78%
  );
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.group\/trainer:hover .trainer-cosmic-aura {
  opacity: 1.3;
  transform: translate(-50%, -50%) scale(1.06);
}

/* Specific Section Auras */
.hero-trainer-stage .trainer-cosmic-aura {
  width: 450px;
  height: 530px;
  background: radial-gradient(circle at center,
    rgba(56, 189, 248, 0.26) 0%,
    rgba(28, 59, 135, 0.30) 40%,
    rgba(255, 184, 0, 0.12) 65%,
    transparent 80%
  );
  filter: blur(50px);
}

.leadership-aura {
  background: radial-gradient(circle at center,
    rgba(255, 184, 0, 0.20) 0%,
    rgba(56, 189, 248, 0.22) 34%,
    rgba(28, 59, 135, 0.25) 58%,
    transparent 76%
  );
  filter: blur(44px);
}

.mission-aura {
  top: 36%;
  background: radial-gradient(circle at center,
    rgba(56, 189, 248, 0.28) 0%,
    rgba(99, 102, 241, 0.22) 35%,
    rgba(255, 184, 0, 0.12) 65%,
    transparent 80%
  );
  filter: blur(46px);
}

.contact-aura {
  background: radial-gradient(circle at center,
    rgba(255, 184, 0, 0.18) 0%,
    rgba(56, 189, 248, 0.20) 35%,
    rgba(28, 59, 135, 0.24) 60%,
    transparent 76%
  );
  filter: blur(40px);
}

/* 2. Celestial Concentric Geometry & Arcs Motifs */
.trainer-celestial-arcs {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 184, 0, 0.20);
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.trainer-celestial-arcs::before {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  border: 1px dotted rgba(56, 189, 248, 0.18);
}

.group\/trainer:hover .trainer-celestial-arcs {
  opacity: 0.95;
  transform: translate(-50%, -50%) rotate(8deg);
}

/* Mission 2030 Trajectory Orbit Line */
.trainer-trajectory-arcs {
  position: absolute;
  top: 25%;
  left: 42%;
  width: 300px;
  height: 300px;
  border-top: 1.5px dashed rgba(255, 184, 0, 0.40);
  border-right: 1.5px dashed rgba(56, 189, 248, 0.35);
  border-radius: 50%;
  transform: rotate(-25deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.group\/trainer:hover .trainer-trajectory-arcs {
  opacity: 1;
  transform: rotate(-22deg) scale(1.03);
}

/* 3. Grounded Base / Visual Anchor (Light Pedestal + Contact Shadow) */
.trainer-grounding-base {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 380px;
  height: 52px;
  pointer-events: none;
  z-index: 2;
}

/* Elliptical Glowing Light Platform */
.trainer-light-pedestal {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(56, 189, 248, 0.45) 0%,
    rgba(255, 184, 0, 0.20) 30%,
    rgba(12, 24, 62, 0) 74%
  );
  filter: blur(12px);
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.group\/trainer:hover .trainer-light-pedestal {
  opacity: 1.35;
  filter: blur(10px);
}

/* Deep Contact Shadow Beneath lower body */
.trainer-contact-shadow {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 76%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(2, 6, 18, 0.95) 0%,
    rgba(3, 8, 24, 0.60) 45%,
    transparent 78%
  );
  filter: blur(7px);
}

/* Subtle Curved Celestial Pedestal Arc Hairline */
.trainer-pedestal-arc {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 15px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.28);
  opacity: 0.65;
}

/* 4. Feathered Image Wrapper (Smooth Mask Gradient - Eliminates Hard Cuts) */
.trainer-img-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  -webkit-mask-image: linear-gradient(to bottom,
    #000000 0%,
    #000000 68%,
    rgba(0, 0, 0, 0.92) 78%,
    rgba(0, 0, 0, 0.60) 86%,
    rgba(0, 0, 0, 0.20) 93%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom,
    #000000 0%,
    #000000 68%,
    rgba(0, 0, 0, 0.92) 78%,
    rgba(0, 0, 0, 0.60) 86%,
    rgba(0, 0, 0, 0.20) 93%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* 5. Natural High-Definition Portrait Styling */
.trainer-portrait-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  /* Dual drop-shadow: grounding depth + soft cosmic rim backlight */
  filter:
    drop-shadow(0 20px 38px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 24px rgba(56, 189, 248, 0.16))
    saturate(1.04)
    contrast(1.02) !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
  will-change: transform, filter;
}

.group\/trainer:hover .trainer-portrait-img {
  filter:
    drop-shadow(0 26px 48px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 32px rgba(56, 189, 248, 0.28))
    drop-shadow(0 0 16px rgba(255, 184, 0, 0.18))
    saturate(1.06)
    contrast(1.03) !important;
}

/* 6. Atmospheric Bottom Fade Overlay Layer */
.trainer-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to top,
    rgba(7, 14, 36, 0.98) 0%,
    rgba(7, 14, 36, 0.72) 42%,
    rgba(7, 14, 36, 0) 100%
  );
  pointer-events: none;
  z-index: 4;
}

/* For inside cards where background is dark midnight navy */
.space-trainer-card .trainer-bottom-fade {
  background: linear-gradient(to top,
    rgba(7, 14, 38, 0.95) 0%,
    rgba(7, 14, 38, 0.65) 45%,
    rgba(7, 14, 38, 0) 100%
  );
}

/* Responsive adjustments for mobile screens */
@media (max-width: 767px) {
  .space-trainer-stage,
  .space-trainer-card {
    max-width: 340px;
  }
  .trainer-cosmic-aura {
    width: 290px;
    height: 360px;
    filter: blur(28px);
  }
  .hero-trainer-stage .trainer-cosmic-aura {
    width: 320px;
    height: 380px;
    filter: blur(30px);
  }
  .trainer-celestial-arcs {
    width: 240px;
    height: 240px;
  }
  .trainer-trajectory-arcs {
    width: 230px;
    height: 230px;
  }
  .trainer-grounding-base {
    height: 40px;
    max-width: 300px;
  }
  .trainer-light-pedestal {
    height: 30px;
  }
  .trainer-bottom-fade {
    height: 65px;
  }
  .hero-executive-frame {
    max-width: 310px;
    height: 92%;
    min-height: 440px;
    border-radius: 155px 155px 24px 24px;
  }
  .hero-executive-frame::before {
    inset: 8px;
    border-radius: 147px 147px 16px 16px;
  }
  .hero-frame-ambient-glow {
    width: 320px;
    height: 400px;
    filter: blur(35px);
  }
}

#hero-stats-container {
  position: relative;
  margin-top: 48px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

#hero-stats-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(84vw, 1100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.45), transparent);
}

#hero-stats-container .glass-card-dark {
  min-height: 154px;
  border-color: rgba(255, 184, 0, 0.3) !important;
  background: linear-gradient(155deg, rgba(12, 24, 62, 0.8), rgba(7, 14, 38, 0.9)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 235, 150, 0.2), 0 24px 50px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .4s ease, background .4s ease !important;
}

#hero-stats-container .glass-card-dark:hover,
#hero-stats-container .glass-card-dark:active,
#hero-stats-container .glass-card-dark.touch-hover {
  transform: translateY(-7px) !important;
  border-color: #FFB800 !important;
  background: linear-gradient(155deg, rgba(16, 32, 80, 0.88), rgba(9, 19, 52, 0.94)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 245, 195, 0.4), 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 184, 0, 0.25) !important;
}

#hero-stats-container .stat-counter {
  color: #FFB800 !important;
  text-shadow: 0 2px 14px rgba(255, 184, 0, 0.4);
}

/* --------------------------------------------------------------------------
   FOUNDER FILM SECTION
   -------------------------------------------------------------------------- */
#founder-film {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 76px 0 80px !important;
  color: #CBD5E1;
  background:
    radial-gradient(700px 360px at 50% 38%, rgba(28, 59, 135, 0.30), transparent 70%),
    linear-gradient(180deg, rgba(12, 24, 62, 0.40) 0%, rgba(8, 17, 44, 0.32) 24%, rgba(7, 14, 36, 0.42) 100%) !important;
}

#founder-film::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: min(84vw, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.5), transparent);
}

#founder-film::after {
  content: 'SPACE';
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%,-50%);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(8rem, 21vw, 22rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.05);
  pointer-events: none;
  white-space: nowrap;
}

.founder-film-wrap {
  position: relative;
  z-index: 2;
  width: min(92vw, 1180px);
  margin: 0 auto;
}

.founder-film-heading {
  display: block;
  max-width: 900px;
  margin-bottom: 28px;
}

.founder-film-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #FFB800;
}

.founder-film-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, #FFB800, transparent);
}

.founder-film-heading h2 {
  max-width: 780px;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 800;
  text-wrap: balance;
  color: #FFFFFF !important;
}

.founder-film-heading h2 span {
  color: #FFB800 !important;
  background: linear-gradient(110deg, #FFD242 0%, #FFB800 70%, #F59E0B 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* =========================================================================
   FOUNDER VIDEO FRAME — REFINED SUBTLE YELLOW GLOW
   ========================================================================= */
.founder-film-frame {
  position: relative;
  border-radius: 30px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 214, 64, 0.75) 0%, rgba(255, 184, 0, 0.45) 45%, rgba(245, 158, 11, 0.60) 100%) !important;
  box-shadow: 
    0 0 14px rgba(255, 184, 0, 0.28),
    0 0 30px rgba(255, 184, 0, 0.14),
    0 35px 80px rgba(0, 0, 0, 0.75) !important;
  transition: box-shadow 0.4s ease;
}

.founder-film-frame:hover {
  box-shadow: 
    0 0 18px rgba(255, 184, 0, 0.38),
    0 0 38px rgba(255, 184, 0, 0.20),
    0 38px 85px rgba(0, 0, 0, 0.80) !important;
}

/* Very faint, subtle warm halo directly hugging frame */
.founder-film-frame::before {
  content: '';
  position: absolute;
  inset: -6px -5px;
  z-index: -1;
  border-radius: 34px;
  background: radial-gradient(ellipse at center, rgba(255, 184, 0, 0.14) 0%, rgba(255, 184, 0, 0) 70%);
  filter: blur(12px);
  pointer-events: none;
}

.founder-film-video {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 29px !important;
  background: #070E24;
}

@supports not (aspect-ratio: 16 / 9) {
  .founder-film-video {
    padding-top: 56.25% !important;
    height: 0 !important;
  }
}

.founder-film-video iframe {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.founder-film-corner {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 999px;
  background: rgba(7, 14, 36, 0.85);
  backdrop-filter: blur(14px);
  color: #FFB800;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}

.founder-film-corner span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #FFB800;
  box-shadow: 0 0 16px #FFB800;
}

/* --------------------------------------------------------------------------
   GLOBAL UNIFIED EXECUTIVE DEEP NAVY BLUE SECTIONS
   (Replaces all old light/white panels with cohesive dark luxury blue)
   -------------------------------------------------------------------------- */
#the-problem,
#about,
#community,
#why-space,
#promise,
#mission-2030,
#ipo-ready,
#leadership,
#testimonials,
#faq,
#contact {
  padding-top: 76px !important;
  padding-bottom: 76px !important;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(28, 59, 135, 0.28), transparent 70%),
    radial-gradient(800px 450px at 8% 80%, rgba(255, 184, 0, 0.05), transparent 72%),
    linear-gradient(180deg, rgba(7, 14, 36, 0.38) 0%, rgba(9, 19, 50, 0.30) 50%, rgba(7, 14, 36, 0.44) 100%) !important;
  color: #CBD5E1 !important;
  position: relative;
  z-index: 2;
}

/* Supporting Section: Enterprise Logo Marquee (Target: 40-64px) */
#members {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(28, 59, 135, 0.28), transparent 70%),
    radial-gradient(800px 450px at 8% 80%, rgba(255, 184, 0, 0.05), transparent 72%),
    linear-gradient(180deg, rgba(7, 14, 36, 0.38) 0%, rgba(9, 19, 50, 0.30) 50%, rgba(7, 14, 36, 0.44) 100%) !important;
  color: #CBD5E1 !important;
  position: relative;
  z-index: 2;
}

footer {
  padding-top: 48px !important;
  padding-bottom: 40px !important;
  background: linear-gradient(180deg, rgba(7, 14, 36, 0.72) 0%, rgba(4, 8, 22, 0.90) 100%) !important;
  position: relative;
  z-index: 2;
}

/* Subtle blueprint grid overlay matching reference */
#the-problem::before,
#about::before,
#community::before,
#members::before,
#why-space::before,
#promise::before,
#mission-2030::before,
#ipo-ready::before,
#leadership::before,
#testimonials::before,
#faq::before,
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(45, 90, 185, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 90, 185, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

section > .max-w-7xl, section > .max-w-4xl { 
  position: relative; 
  z-index: 2; 
}

/* Section Titles: Pure White with Golden Yellow Highlights */
#the-problem h2,
#about h2,
#community h2,
#members h2,
#why-space h2,
#promise h2,
#mission-2030 h2,
#ipo-ready h2,
#leadership h2,
#testimonials h2,
#faq h2,
#contact h2 {
  color: #FFFFFF !important;
  letter-spacing: -.04em !important;
  line-height: 1.05 !important;
}

#the-problem h2 span,
#about h2 span,
#community h2 span,
#members h2 span,
#why-space h2 span,
#promise h2 span,
#mission-2030 h2 span,
#ipo-ready h2 span,
#leadership h2 span,
#testimonials h2 span,
#faq h2 span,
#contact h2 span {
  color: #FFB800 !important;
  background: linear-gradient(110deg, #FFD242 0%, #FFB800 70%, #F59E0B 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Headings in All Cards */
h3, h4, .font-heading {
  color: #FFFFFF !important;
}

#community .glass-card-dark h4,
h4.text-gold-400 {
  color: #FFB800 !important;
}

/* Paragraphs & Text Body: Clear Pale Slate / Lavender Gray */
p, .text-slate-200, .text-slate-300, .text-slate-400, .text-slate-600, .text-slate-700 {
  color: #CBD5E1 !important;
}


/* Ultra-Premium Glass Cards Across All Sections */
#the-problem .bg-slate-50,
#the-problem .bg-white,
#about .bg-white,
#why-space .bg-white,
#ipo-ready .bg-slate-50,
#ipo-ready .bg-white,
#leadership .bg-slate-50,
#leadership .bg-white,
#faq .faq-item,
.glass-card-light,
.glass-card-dark {
  background: linear-gradient(145deg, rgba(12, 24, 62, 0.82) 0%, rgba(7, 14, 38, 0.9) 100%) !important;
  border: 1px solid rgba(255, 184, 0, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 235, 150, 0.15), 0 20px 50px rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#the-problem .bg-slate-50:hover,
#the-problem .bg-slate-50:active,
#the-problem .bg-slate-50.touch-hover,
#the-problem .bg-white:hover,
#the-problem .bg-white:active,
#the-problem .bg-white.touch-hover,
#about .bg-white:hover,
#about .bg-white:active,
#about .bg-white.touch-hover,
#why-space .bg-white:hover,
#why-space .bg-white:active,
#why-space .bg-white.touch-hover,
#ipo-ready .bg-slate-50:hover,
#ipo-ready .bg-slate-50:active,
#ipo-ready .bg-slate-50.touch-hover,
#ipo-ready .bg-white:hover,
#ipo-ready .bg-white:active,
#ipo-ready .bg-white.touch-hover,
#leadership .bg-slate-50:hover,
#leadership .bg-slate-50:active,
#leadership .bg-slate-50.touch-hover,
#leadership .bg-white:hover,
#leadership .bg-white:active,
#leadership .bg-white.touch-hover,
#faq .faq-item:hover,
#faq .faq-item:active,
#faq .faq-item.touch-hover,
.glass-card-light:hover,
.glass-card-light:active,
.glass-card-light.touch-hover,
.glass-card-dark:hover,
.glass-card-dark:active,
.glass-card-dark.touch-hover {
  border-color: #FFB800 !important;
  transform: translateY(-5px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 245, 195, 0.4), 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 32px rgba(56, 189, 248, 0.28), 0 0 22px rgba(255, 184, 0, 0.3) !important;
}

/* Eyebrow Badges Across All Sections (Dark Navy Pill with Glowing Border) */
.bg-blue-50,
.bg-blue-100,
.bg-cyan-950\/80,
.bg-cyan-950\/90,
.bg-cyan-950\/70 {
  background: rgba(12, 24, 62, 0.85) !important;
  border: 1px solid rgba(255, 184, 0, 0.45) !important;
  color: #FFB800 !important;
}

/* Icon Badges */
.bg-blue-100.text-blue-700,
.bg-blue-100.text-blue-800,
.bg-cyan-500\/20 {
  background: rgba(255, 184, 0, 0.16) !important;
  color: #FFB800 !important;
  border: 1px solid rgba(255, 184, 0, 0.35) !important;
}

/* --------------------------------------------------------------------------
   INTERACTIVE 5 PILLARS (#why-space)
   -------------------------------------------------------------------------- */
#pillar-content-box {
  border-radius: 30px !important;
  background:
    radial-gradient(600px 300px at 82% 8%, rgba(28, 59, 135, 0.35), transparent 72%),
    linear-gradient(150deg, #0C183E, #070E24) !important;
  border: 1px solid rgba(255, 184, 0, 0.38) !important;
  box-shadow: inset 0 1px 0 rgba(255, 235, 150, 0.22), 0 38px 85px rgba(0, 0, 0, 0.65) !important;
}

.pillar-nav-btn {
  background: linear-gradient(145deg, rgba(12, 24, 62, 0.75), rgba(7, 14, 38, 0.88)) !important;
  border: 1px solid rgba(255, 184, 0, 0.25) !important;
  color: #CBD5E1 !important;
  transition: all 0.3s ease !important;
}

.pillar-nav-btn:hover,
.pillar-nav-btn:active,
.pillar-nav-btn.touch-hover {
  border-color: #FFB800 !important;
  background: linear-gradient(145deg, rgba(16, 32, 80, 0.85), rgba(9, 19, 52, 0.92)) !important;
  transform: translateX(4px);
}

.pillar-nav-btn.active-pillar {
  border-color: #FFB800 !important;
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.18) 0%, rgba(12, 24, 62, 0.92) 100%) !important;
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.25), inset 0 1px 0 rgba(255, 235, 150, 0.25) !important;
}

.pillar-num {
  color: #FFB800 !important;
}

#pillar-title {
  color: #FFB800 !important;
}

#pillars .pillar-nav-btn.border-gold-400 h4,
#pillars .pillar-nav-btn.active-pillar h4 {
  color: #FFB800 !important;
}

/* Pillar Two-Column Equal Height Alignment */
@media (min-width: 1024px) {
  #pillars .grid {
    align-items: stretch !important;
  }
  #pillars .lg\:col-span-5 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
  }
  #pillars .pillar-nav-btn {
    flex: 1 1 0% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  #pillars .lg\:col-span-7 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  #pillar-content-box {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
}

/* --------------------------------------------------------------------------
   GROUP PHOTO SPOTLIGHT (#community)
   -------------------------------------------------------------------------- */
.group-photo-frame {
  border-radius: 28px !important;
  border: 1px solid rgba(255, 184, 0, 0.45) !important;
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 184, 0, 0.15) !important;
}

.group-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 235, 150, 0.2), inset 0 0 80px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   MEMBERS LOGO MARQUEE (#members)
   -------------------------------------------------------------------------- */
.member-logo-card {
  border-color: rgba(255, 184, 0, 0.35) !important;
  background: #FFFFFF !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(255, 184, 0, 0.08) !important;
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .45s ease !important;
}

.member-logo-card::before {
  background: linear-gradient(110deg, transparent 20%, rgba(255, 184, 0, 0.25) 38%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 184, 0, 0.28) 62%, transparent 80%) !important;
}

.member-logo-card::after { 
  background: radial-gradient(circle at center, rgba(255, 184, 0, 0.18), transparent 72%) !important; 
}

.member-logo-card:hover,
.member-logo-card:active,
.member-logo-card.touch-hover {
  transform: translateY(-9px) scale(1.04) !important;
  border-color: #FFB800 !important;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 184, 0, 0.45) !important;
}

.member-logo-card:hover img,
.member-logo-card:active img,
.member-logo-card.touch-hover img { 
  filter: drop-shadow(0 8px 16px rgba(184, 117, 8, 0.3)) contrast(106%) !important; 
}

/* --------------------------------------------------------------------------
   TESTIMONIALS & MASHUP REEL (#testimonials)
   -------------------------------------------------------------------------- */
.mashup-showcase-container {
  border-radius: 30px !important;
  background:
    radial-gradient(700px 350px at 86% 18%, rgba(28, 59, 135, 0.35), transparent 64%),
    linear-gradient(145deg, rgba(12, 24, 62, 0.95), rgba(7, 14, 36, 0.96)) !important;
  border: 1px solid rgba(255, 184, 0, 0.42) !important;
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 235, 150, 0.22), 0 0 40px rgba(255, 184, 0, 0.15) !important;
}

.soundwave-bar {
  background-color: #FFB800 !important;
}

.video-card-container {
  border-color: rgba(255, 184, 0, 0.28) !important;
  background: linear-gradient(155deg, rgba(12, 24, 62, 0.8), rgba(7, 14, 38, 0.92)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 235, 150, 0.18), 0 20px 55px rgba(0, 0, 0, 0.5) !important;
}

/* Executive 9:16 Reel Ratio Video Frames */
.reel-video-wrapper,
.video-player-wrapper,
.video-card-container .video-player-wrapper,
#testimonials .video-player-wrapper {
  aspect-ratio: 9 / 16 !important;
  padding-top: 0 !important;
  height: auto !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 184, 0, 0.28) !important;
  background: #000000 !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 184, 0, 0.08) !important;
  display: block !important;
}

.video-player-wrapper iframe,
.reel-video-wrapper iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.video-card-container:hover,
.video-card-container:active,
.video-card-container.touch-hover {
  transform: translateY(-9px) !important;
  border-color: #FFB800 !important;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 184, 0, 0.25) !important;
}

.video-card-container:hover .reel-video-wrapper,
.video-card-container:active .reel-video-wrapper,
.video-card-container.touch-hover .reel-video-wrapper {
  border-color: rgba(255, 184, 0, 0.55) !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 184, 0, 0.2) !important;
}

#video-lightbox-modal .reel-video-wrapper {
  aspect-ratio: 9 / 16 !important;
  padding-top: 0 !important;
  max-height: 68vh !important;
  margin: 0 auto !important;
}

.video-filter-tab.active {
  background: #FFB800 !important;
  color: #070E24 !important;
  border-color: #FFB800 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.45) !important;
}

.video-filter-tab:not(.active) {
  background: rgba(12, 24, 62, 0.7) !important;
  border-color: rgba(255, 184, 0, 0.28) !important;
  color: #CBD5E1 !important;
}

.video-filter-tab:not(.active):hover,
.video-filter-tab:not(.active):active,
.video-filter-tab:not(.active).touch-hover {
  border-color: #FFB800 !important;
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   FAQ ACCORDION (#faq)
   -------------------------------------------------------------------------- */
.faq-item {
  border: 1px solid rgba(255, 184, 0, 0.28) !important;
  background: linear-gradient(145deg, rgba(12, 24, 62, 0.78), rgba(7, 14, 38, 0.88)) !important;
}

.faq-trigger {
  color: #FFFFFF !important;
}

.faq-trigger:hover,
.faq-trigger:active,
.faq-trigger.touch-hover {
  color: #FFB800 !important;
}

.faq-icon {
  color: #FFB800 !important;
}

.faq-answer {
  color: #CBD5E1 !important;
}

/* --------------------------------------------------------------------------
   FINAL EXECUTIVE CTA & MODALS
   -------------------------------------------------------------------------- */
#contact {
  padding-bottom: 80px !important;
}

#contact .glass-card-dark {
  border: 1px solid rgba(255, 184, 0, 0.45) !important;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.75), 0 0 50px rgba(255, 184, 0, 0.2) !important;
}

.modal-overlay {
  background: rgba(7, 14, 36, 0.92) !important;
}

#membership-modal .glass-card-dark,
#group-photo-modal .glass-card-dark,
#video-lightbox-modal .glass-card-dark {
  border: 1px solid rgba(255, 184, 0, 0.5) !important;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.85), 0 0 55px rgba(255, 184, 0, 0.25) !important;
}

/* Inputs & Form Styling in Modal */
#membership-modal input,
#membership-modal select,
#membership-modal textarea {
  background: rgba(7, 14, 36, 0.88) !important;
  border-color: rgba(255, 184, 0, 0.35) !important;
  color: #FFFFFF !important;
}

#membership-modal input:focus,
#membership-modal select:focus,
#membership-modal textarea:focus {
  border-color: #FFB800 !important;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.35) !important;
}

/* Floating Mobile Action Bar & Back to Top */
.mobile-floating-bar {
  background: rgba(7, 14, 36, 0.95) !important;
  border-top: 1px solid rgba(255, 184, 0, 0.35) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75) !important;
}

#back-to-top {
  background: rgba(12, 24, 62, 0.9) !important;
  border-color: rgba(255, 184, 0, 0.5) !important;
  color: #FFB800 !important;
}

#back-to-top:hover {
  background: #FFB800 !important;
  color: #070E24 !important;
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.6) !important;
}

/* --------------------------------------------------------------------------
   CINEMATIC REVEAL SYSTEM & ANIMATIONS
   -------------------------------------------------------------------------- */
.premium-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(.992);
  transition:
    opacity .75s cubic-bezier(.16,1,.3,1),
    transform .75s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.premium-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}

/* Hero staged entrance */
body.premium-ready #growth-showcase-container,
body.premium-ready #hero .lg\:col-span-7 > *,
body.premium-ready #hero .lg\:col-span-5,
body.premium-ready #hero-stats-container {
  animation: premiumEntrance .85s cubic-bezier(.16,1,.3,1) both;
  will-change: opacity, transform;
}

body.premium-ready #growth-showcase-container { animation-delay: .05s; }
body.premium-ready #hero .lg\:col-span-7 > :nth-child(1) { animation-delay: .10s; }
body.premium-ready #hero .lg\:col-span-7 > :nth-child(2) { animation-delay: .16s; }
body.premium-ready #hero .lg\:col-span-7 > :nth-child(3) { animation-delay: .22s; }
body.premium-ready #hero .lg\:col-span-7 > :nth-child(4) { animation-delay: .28s; }
body.premium-ready #hero .lg\:col-span-7 > :nth-child(5) { animation-delay: .34s; }
body.premium-ready #hero .lg\:col-span-5 { animation-delay: .22s; }
body.premium-ready #hero-stats-container { animation-delay: .38s; }

@keyframes premiumEntrance {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}

@keyframes premiumSheen {
  0%, 72% { transform: translateX(-105%); }
  86%, 100% { transform: translateX(105%); }
}

@keyframes premiumOrbitFloat {
  0%,100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(-24px,18px,0) rotate(4deg); }
}

/* --------------------------------------------------------------------------
   RESPONSIVE REFINEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  #hero { min-height: auto; padding-top: 96px !important; padding-bottom: 56px !important; }
  #hero .lg\:col-span-5 { min-height: 460px; max-width: 560px; margin-inline: auto; }
  #founder-film { padding: 56px 0 !important; }
  #the-problem,
  #about,
  #community,
  #why-space,
  #promise,
  #mission-2030,
  #ipo-ready,
  #leadership,
  #testimonials,
  #faq,
  #contact { padding-top: 56px !important; padding-bottom: 56px !important; }
  #members { padding-top: 44px !important; padding-bottom: 44px !important; }
  footer { padding-top: 40px !important; padding-bottom: 32px !important; }
}

@media (max-width: 767px) {
  #navbar.glass-nav { padding-top: 10px !important; padding-bottom: 10px !important; }
  #hero { padding-top: 80px !important; padding-bottom: 40px !important; }
  #growth-showcase-container { margin-bottom: 18px !important; }
  #logo-animation-container { margin-bottom: 22px !important; }
  #hero h1 { font-size: clamp(2.65rem, 12.4vw, 4rem) !important; letter-spacing: -.045em !important; }
  #hero .lg\:col-span-5 { min-height: 340px; }
  #hero .lg\:col-span-5::before { left: 3%; right: 3%; top: 9%; }
  #hero-stats-container { margin-top: 36px !important; }
  #hero-stats-container .glass-card-dark { min-height: 110px; }
  #founder-film { padding: 44px 0 !important; }
  .founder-film-heading { margin-bottom: 20px; }
  .founder-film-heading h2 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .founder-film-frame { border-radius: 22px; }
  .founder-film-frame::before { border-radius: 26px; filter: blur(10px); }
  .founder-film-video { border-radius: 20px; }
  .founder-film-corner { display: none; }
  #the-problem,
  #about,
  #community,
  #why-space,
  #promise,
  #mission-2030,
  #ipo-ready,
  #leadership,
  #testimonials,
  #faq,
  #contact { padding-top: 44px !important; padding-bottom: 44px !important; }
  #members { padding-top: 36px !important; padding-bottom: 36px !important; }
  #contact { padding-bottom: 48px !important; }
  footer { padding-top: 36px !important; padding-bottom: 28px !important; }

  /* Mobile GPU fill-rate optimization for cosmos nebulae:
     Soft feathered cloud appearance with 80% lower convolution cost on mobile GPUs */
  .cosmos-nebula {
    filter: blur(28px) !important;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    contain: strict;
  }

  /* Eliminate full-screen fixed blend-mode & cursor spotlight overlays on mobile screens */
  body::before {
    display: none !important;
  }

  body::after {
    display: none !important;
  }

  /* Hardware accelerate video and showcase frames */
  .founder-film-frame,
  .mashup-showcase-container {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero::after,
  #growth-showcase-container > div::after,
  body.premium-ready #growth-showcase-container,
  body.premium-ready #hero .lg\:col-span-7 > *,
  body.premium-ready #hero .lg\:col-span-5,
  body.premium-ready #hero-stats-container { animation: none !important; }
  .premium-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* --------------------------------------------------------------------------
   TOUCHSCREEN / MOBILE BROWSERS HOVER & TACTILE INTERACTION
   -------------------------------------------------------------------------- */
@media (hover: none), (pointer: coarse) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  body::after {
    display: none !important;
  }
}

.touch-hover {
  border-color: #FFB800 !important;
  transform: translateY(-4px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 245, 195, 0.4), 0 24px 55px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 184, 0, 0.35) !important;
}

.member-logo-card.touch-hover {
  transform: translateY(-7px) scale(1.04) !important;
  border-color: #FFB800 !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 184, 0, 0.4) !important;
}

.member-logo-card.touch-hover img {
  filter: drop-shadow(0 6px 14px rgba(184, 117, 8, 0.3)) contrast(106%) !important;
}

.btn-primary.touch-hover,
.btn-primary:active {
  transform: translateY(-1px) scale(0.98) !important;
  box-shadow: 0 8px 25px rgba(255, 184, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.btn-secondary-dark.touch-hover,
.btn-secondary-dark:active {
  transform: translateY(-1px) scale(0.98) !important;
  border-color: #FFB800 !important;
}
