/* ===================================================================
   DUMBQUANT - HIGH-END INSTITUTIONAL FINTECH LANDING PAGE STYLESHEET
   Aesthetics: Deep Space Dark Mode, Glassmorphism, Iridescent Neon Glows,
   Kinetic Typography, 3D Mockup Perspectives & Micro-Interactions
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800;900&display=swap');

:root {
  /* Apple Monochromatic Dark Mode Architecture */
  --bg-void: #000000;
  --bg-deep: #08080a;
  --bg-surface: rgba(18, 18, 20, 0.78);
  --bg-surface-elevated: rgba(28, 28, 30, 0.88);
  --bg-card: rgba(16, 16, 18, 0.7);
  --bg-card-hover: rgba(24, 24, 27, 0.9);

  /* Apple Cupertino Blue Accents & Starlight Hierarchy */
  --apple-blue: #2997ff;               /* iOS/macOS Dark Mode System Blue */
  --apple-blue-deep: #0071e3;          /* Interactive CTA Blue */
  --apple-blue-light: #70b4ff;         /* Tinted Starlight Blue */
  --apple-blue-glow: rgba(41, 151, 255, 0.25); /* Ambient Blue Bloom */
  --apple-blue-glow-strong: rgba(41, 151, 255, 0.45);
  --apple-blue-subtle: rgba(41, 151, 255, 0.08); /* Pill Backgrounds & Badges */
  --apple-blue-border: rgba(41, 151, 255, 0.32); /* Hairline Highlight Border */
  --apple-blue-rim: rgba(41, 151, 255, 0.55);

  /* Color System Mapped with Apple Blue Accents */
  --indigo-core: #2997ff;
  --indigo-glow: rgba(41, 151, 255, 0.25);
  --cyan-core: #70b4ff;
  --cyan-glow: rgba(41, 151, 255, 0.2);
  --violet-core: #e5e5ea;
  --violet-glow: rgba(255, 255, 255, 0.12);
  --emerald-core: #ffffff;
  --emerald-glow: rgba(255, 255, 255, 0.12);
  --rose-core: #d1d1d6;
  --rose-glow: rgba(255, 255, 255, 0.1);
  --amber-core: #f5f5f7;

  /* Apple Text Hierarchy */
  --text-pure: #ffffff;
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-muted: #6e6e73;
  --text-dark: #3a3a3c;

  /* Apple Hairline Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(255, 255, 255, 0.35);
  --border-cyan: rgba(41, 151, 255, 0.32);

  /* Typography Scales */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", 'Syne', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", 'Plus Jakarta Sans', sans-serif;
  --font-mono: "SF Mono", 'JetBrains Mono', monospace;

  /* Transitions & Radii */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-floating: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow-neon: 0 0 35px rgba(41, 151, 255, 0.15);
  --shadow-cyan: 0 0 30px rgba(41, 151, 255, 0.2);
}

/* Base Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  background-color: #000000;
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  scrollbar-gutter: stable;
}

body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  background-color: #000000;
  overflow-x: clip;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

/* ===================================================================
   CELESTIAL SKY HORIZON & TWINKLING STARFIELD ENGINE (0% SCROLL LAG)
   =================================================================== */
.sky-horizon-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: #000000;
  contain: strict;
}

.sky-horizon-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.sky-horizon-glow-radial {
  display: none !important;
}

body::before {
  display: none !important;
}

/* Cybernetic Laser Transition Bar */
.cyber-transition-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #0071e3 0%, #2997ff 50%, #ffffff 100%);
  box-shadow: 0 0 14px rgba(41, 151, 255, 0.8), 0 0 28px rgba(41, 151, 255, 0.4);
  z-index: 1000000;
  pointer-events: none;
  transition: width 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.cyber-transition-bar.active {
  width: 100%;
}

/* Custom Interactive Cursor Disabled for Clean Native Performance */
.custom-cursor-dot,
.custom-cursor-ring {
  display: none !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .stars-layer-a,
  .stars-layer-b {
    animation: none !important;
    opacity: 0.6;
  }
}

/* Legacy quantumCanvas safeguard */
#quantumCanvas {
  display: none !important;
}

/* Ambient Radial Glow Follower (GPU-Composited Translate3d, Zero Layout Reflow) */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.05) 0%, rgba(41, 151, 255, 0.01) 40%, transparent 70%);
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  z-index: 1;
  will-change: transform;
  contain: layout style paint;
}

/* Container Utility */
.landing-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography Utilities */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.text-cyan { color: var(--cyan-core); }
.text-indigo { color: var(--indigo-core); }
.text-purple { color: var(--violet-core); }
.text-emerald { color: var(--emerald-core); }
.text-rose { color: var(--rose-core); }
.text-amber { color: var(--amber-core); }

.gradient-text {
  background: linear-gradient(180deg, #ffffff 15%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(180deg, #ffffff 0%, #86868b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(180deg, #ffffff 0%, #c7c7cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================================================================
   FLOATING NAVBAR
   =================================================================== */
/* ===================================================================
   FLOATING NAVBAR (ULTRA-POLISHED $10,000 FINTECH DESIGN)
   =================================================================== */
.landing-nav-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  transition: transform 0.3s ease;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.8vw, 24px);
  padding: 6px 18px 6px 20px;
  background: rgba(18, 18, 20, 0.82);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.08) inset;
  width: 100%;
  max-width: min(1240px, calc(100% - 32px));
  box-sizing: border-box;
  overflow: visible;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-nav:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 255, 255, 0.06), 0 0 1px 1px rgba(255, 255, 255, 0.14) inset;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent url('../assets/trainquants-tq-mark.png?v=12.0') center/contain no-repeat;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.65)) drop-shadow(0 0 16px rgba(41, 121, 255, 0.35));
  position: relative;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.nav-brand:hover .nav-logo-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.9)) drop-shadow(0 0 24px rgba(41, 121, 255, 0.55));
}

.nav-logo-icon i {
  display: none;
}

.nav-logo-icon::after {
  display: none;
}

@keyframes shineLogo {
  0% { transform: translateX(-150%) rotate(45deg); }
  30%, 100% { transform: translateX(150%) rotate(45deg); }
}

.nav-brand-title {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  white-space: nowrap;
}

.nav-brand-title span {
  background: linear-gradient(180deg, #ffffff 20%, #70b4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.45vw, 6px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #86868b;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  display: inline-block;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  padding-right: 4px;
}

.btn-sound-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #86868b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 12px;
}

.btn-sound-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.btn-nav-google {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 6px 13px;
  height: 32px;
  box-sizing: border-box;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.btn-nav-google:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.google-icon-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn-nav-launch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #000000 !important;
  padding: 6px 14px;
  height: 32px;
  box-sizing: border-box;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(41, 151, 255, 0.3);
}

.btn-nav-launch:hover {
  background: #f5f5f7;
  border-color: #ffffff;
  box-shadow: 0 6px 24px rgba(41, 151, 255, 0.55), 0 0 10px rgba(41, 151, 255, 0.3);
  transform: translateY(-1px);
  color: #000000 !important;
}

.btn-nav-launch i {
  font-size: 10.5px;
  color: #000000;
}

/* ===================================================================
   AUTHENTICATED EXECUTIVE TRADER BADGE & LAUNCHER (NO DOUBLE PILLS)
   =================================================================== */
.nav-trader-executive-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 4px 6px;
  background: rgba(28, 28, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}

.nav-trader-executive-btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.trader-avatar-ring {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff, #8e8e93);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.trader-avatar-ring.large {
  width: 44px;
  height: 44px;
}

.trader-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.trader-avatar-fallback {
  font-size: 11px;
  font-weight: 800;
  color: #000000;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.trader-avatar-ring.large .trader-avatar-fallback {
  font-size: 16px;
}

.trader-live-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: pulseBeacon 2s infinite ease-in-out;
}

.trader-avatar-ring.large .trader-live-status-dot {
  width: 11px;
  height: 11px;
}

.trader-details {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trader-name-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.01em;
}

.trader-pro-chip {
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: #ffffff;
  letter-spacing: 0.04em;
}

.trader-launch-cue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: #ffffff;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
  margin-left: 2px;
}

.trader-launch-cue i {
  font-size: 10px;
  color: #000000;
  transition: transform 0.2s ease;
}

.nav-trader-executive-btn:hover .trader-launch-cue i {
  transform: translate(2px, -2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
}

/* ===================================================================
   MOBILE NAVIGATION DRAWER SYSTEM (ALL PHONES OPTIMIZED)
   =================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: rgba(8, 12, 22, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  padding: max(20px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)) 20px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-drawer-close:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: #f43f5e;
  color: #fff;
}

/* Mobile Trader Card */
.mobile-trader-card {
  margin-bottom: 18px;
}

.mobile-trader-auth-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 27, 75, 0.8) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-trader-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-trader-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.mobile-trader-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-trader-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.mobile-trader-desc {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.btn-mobile-launch-terminal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
  transition: transform 0.2s ease;
}

.btn-mobile-launch-terminal:active {
  transform: scale(0.98);
}

.btn-mobile-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-mobile-google:active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(66, 133, 244, 0.6);
}

/* Mobile Dual Desks Grid */
.mobile-desks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.mobile-desk-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
}

.mobile-desk-card:hover, .mobile-desk-card:active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}

.mobile-desk-card.active {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.mobile-desk-card.nse {
  border-color: rgba(245, 158, 11, 0.2);
}

.mobile-desk-card.nse:active {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.5);
}

.mobile-desk-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.mobile-desk-icon.crypto {
  background: rgba(99, 102, 241, 0.2);
  color: #38bdf8;
}

.mobile-desk-icon.nse {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.mobile-desk-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mobile-desk-title {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.mobile-desk-sub {
  font-size: 9.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.mobile-desk-arrow {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-muted);
}

/* Mobile Ticker Pill */
.mobile-ticker-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  background: transparent;
}

.mobile-drawer-link i {
  color: var(--cyan-core);
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.mobile-drawer-link:hover, .mobile-drawer-link:active {
  background: rgba(99, 102, 241, 0.12);
  color: #fff;
  border-left: 3px solid var(--cyan-core);
}

/* Drawer Footer Quick Currency */
.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-footer-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-currency-toggles {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-curr-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-curr-chip.active {
  background: rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.6);
  color: #fff;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-section .landing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(41, 151, 255, 0.08);
  border: 1px solid rgba(41, 151, 255, 0.32);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #f5f5f7;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 20px rgba(41, 151, 255, 0.15);
}

.hero-pill-badge .sparkle-icon {
  color: #2997ff;
  animation: rotateSparkle 6s linear infinite;
}

@keyframes rotateSparkle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 36px auto;
  text-align: center;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 760px;
  width: 100%;
  margin: 0 auto 38px auto;
  text-align: center;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #ffffff;
  color: #000000 !important;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 26px rgba(41, 151, 255, 0.35), 0 0 15px rgba(41, 151, 255, 0.2);
  border: 1px solid #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary:hover {
  background: #f5f5f7;
  transform: translateY(-2px);
  box-shadow: 0 10px 38px rgba(41, 151, 255, 0.55), 0 0 20px rgba(41, 151, 255, 0.3);
  color: #000000 !important;
}

.btn-hero-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f7 !important;
  border: 1px solid rgba(41, 151, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(41, 151, 255, 0.1);
  border-color: rgba(41, 151, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(41, 151, 255, 0.2);
  color: #ffffff !important;
}

/* Hero Stats Telemetry Bar */
.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 18px 36px;
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid rgba(41, 151, 255, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 60px;
  flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stat-divider {
  width: 1px;
  height: 26px;
  background: var(--border-subtle);
}

/* ===================================================================
   3D INTERACTIVE TERMINAL HERO PREVIEW MOCKUP
   =================================================================== */
.hero-mockup-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 10px auto 0 auto;
  perspective: 1200px;
  perspective-origin: center center;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup-card {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: rgba(11, 13, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(41, 151, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transform: rotateX(8deg);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-mockup-card.is-tilting {
  transition: none !important;
}

.hero-mockup-card:hover {
  transform: rotateX(2deg) translateY(-8px);
  box-shadow: 
    0 35px 100px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(41, 151, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Mockup Header Bar */
.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(6, 9, 17, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #f43f5e; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-tab-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-badge-live {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-core);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.mockup-header-launch-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--cyan-core);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 12px;
  transition: all 0.2s ease;
}
.mockup-header-launch-link:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--cyan-core);
  color: #fff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

/* Mockup Inner Body Layout */
.mockup-body {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  height: 480px;
  background: #07090e;
  position: relative;
}

/* Left Mini Sidebar */
.mockup-sidebar {
  border-right: 1px solid var(--border-subtle);
  background: rgba(10, 14, 25, 0.9);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.mockup-metric-title {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mockup-metric-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
}

.mockup-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.mockup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo-core), var(--cyan-core));
  border-radius: 2px;
}

/* Center Interactive Chart Simulation */
.mockup-chart-area {
  position: relative;
  overflow: hidden;
  background: #05070c;
  display: flex;
  flex-direction: column;
}

.mockup-chart-header {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mockup-symbol-tag {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-chart-canvas-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
}

#mockupChartCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Draggable Visual Elements Over Mockup */
.mockup-floating-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 16, 28, 0.92);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.mockup-entry-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mockup-entry-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 3px 8px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  border-radius: 4px;
  margin-right: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform: translateY(-50%);
}

.mockup-tp-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 26%;
  height: 1px;
  border-top: 1px dashed rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mockup-tp-badge {
  background: #ffffff;
  color: #000000;
  padding: 3px 8px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 800;
  border-radius: 4px;
  margin-right: 14px;
  border: 1px solid #ffffff;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.mockup-sl-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 68%;
  height: 1px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mockup-sl-badge {
  background: rgba(30, 30, 32, 0.95);
  color: #8e8e93;
  padding: 3px 8px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  border-radius: 4px;
  margin-right: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Right Mini Trading Ticket */
.mockup-ticket {
  border-left: 1px solid var(--border-subtle);
  background: rgba(18, 18, 20, 0.95);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mockup-side-btn {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}
.mockup-side-btn.buy { background: rgba(255, 255, 255, 0.15); color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.mockup-side-btn.sell { background: rgba(255, 255, 255, 0.04); color: #6e6e73; }

.mockup-btn-exec {
  padding: 12px;
  background: #ffffff;
  color: #000000;
  border-radius: var(--radius-full);
  border: 1px solid #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
  margin-top: auto;
  transition: all 0.2s ease;
}

.mockup-btn-exec:hover {
  background: #f5f5f7;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.4);
}

/* ===================================================================
   INFINITE STREAMING QUANT DISCIPLINE MARQUEE (NON-INTERACTIVE, 120 FPS BUTTER FLOW)
   =================================================================== */
.marquee-section {
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  contain: layout paint;
  pointer-events: none; /* Fully non-interactive: zero hit-testing, zero hover pause */
  user-select: none;
  /* Luxurious bilateral edge fade: items glide seamlessly out of and into darkness */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 64px, #000000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000000 64px, #000000 calc(100% - 64px), transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  user-select: none;
  pointer-events: none;
  gap: 0;
}

/* Continuous butter flow: never pauses on hover */
.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px; /* Seamless gap between groups */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
  -webkit-perspective: 1000px;
  animation: scrollMarqueeSmooth 22s linear infinite;
}

@keyframes scrollMarqueeSmooth {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  contain: layout style;
  cursor: default;
  pointer-events: none;
}

.ticker-item i {
  color: #2997ff;
  font-size: 13px;
}

.ticker-symbol {
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: 0.03em;
}

/* ===================================================================
   SECTION HEADERS & TITLES
   =================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(41, 151, 255, 0.08);
  border: 1px solid rgba(41, 151, 255, 0.28);
  color: #70b4ff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(41, 151, 255, 0.12);
}

.section-tag i {
  color: #2997ff;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 650px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===================================================================
   3-TIER FUNDED CHALLENGES (THE $10,000 STUDIO MASTERPIECE)
   =================================================================== */
.challenges-section {
  padding: 120px 0 100px 0;
  position: relative;
  z-index: 2;
}

.challenges-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 54px;
}

.glow-tag {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.challenge-desks-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: rgba(28, 28, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-family: var(--font-mono);
  color: #a1a1a6;
  margin-top: 14px;
}

.challenge-desks-badge span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* ===================================================================
   CYBER-ARENA PILLARS (THE 4 CORE LABS: LEETCODE + HACK THE BOX)
   =================================================================== */
.arena-pillars-section {
  padding: 110px 0 60px 0;
  position: relative;
  z-index: 2;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.pillar-card {
  position: relative;
  background: rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 32px 26px;
  transform: translateZ(0);
  contain: layout style;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 45px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 255, 255, 0.05);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 22px;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.06);
}

.pillar-icon-box.cyan,
.pillar-icon-box.purple,
.pillar-icon-box.emerald,
.pillar-icon-box.amber {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #6e6e73;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 13.5px;
  color: #86868b;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.pillar-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  width: fit-content;
}

/* ===================================================================
   INSTITUTIONAL PROBLEM BANK SHOWCASE (LEETCODE FOR QUANTS)
   =================================================================== */
.discipline-explorer-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.discipline-tabs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px auto 36px auto;
  max-width: 1060px;
}

.discipline-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(18, 18, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: #86868b;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
}

.discipline-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(28, 28, 30, 0.95);
}

.discipline-tab-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

/* 5 Core Disciplines Grid (3 on top, 2 centered below on desktop) */
.discipline-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 36px;
  width: 100%;
}

.discipline-card:nth-child(1),
.discipline-card:nth-child(2),
.discipline-card:nth-child(3) {
  grid-column: span 2;
}

.discipline-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.discipline-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.discipline-card {
  position: relative;
  background: rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transform: translateZ(0);
  contain: layout style;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.discipline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.discipline-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 27, 0.88);
}

.discipline-card:hover::before {
  opacity: 1;
}

.discipline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.discipline-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transition: transform 0.3s ease;
}

.discipline-card:hover .discipline-icon-box {
  transform: scale(1.08);
}

.discipline-track-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
}

.discipline-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0;
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  letter-spacing: -0.02em;
}

.discipline-card-desc {
  font-size: 13.5px;
  color: #86868b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.discipline-topics-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.topic-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #d1d1d6;
}

.discipline-firms-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.discipline-firms-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #6e6e73;
  text-transform: uppercase;
  margin-right: 2px;
}

/* Discipline Dual-Action Buttons Row (Quiz MCQ + Coding Lab) */
.discipline-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.btn-disc-quiz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(41, 151, 255, 0.35);
  border-radius: var(--radius-sm);
  color: #f5f5f7;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-disc-quiz i {
  color: #2997ff;
  font-size: 12px;
}

.btn-disc-quiz:hover {
  background: rgba(41, 151, 255, 0.14);
  border-color: rgba(41, 151, 255, 0.65);
  box-shadow: 0 0 18px rgba(41, 151, 255, 0.22);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-disc-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-sm);
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-disc-code:hover {
  background: #f5f5f7;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #000000 !important;
}

.btn-disc-quiz:active,
.btn-disc-code:active {
  transform: translateY(0);
}

.curriculum-portal-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.6) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 22px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.portal-banner-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan-core);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.portal-banner-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.portal-banner-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 650px;
}

.discipline-challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.quant-challenge-card {
  position: relative;
  background: rgba(11, 16, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.quant-challenge-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(56, 189, 248, 0.2);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.challenge-id-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.challenge-diff-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.challenge-diff-badge.easy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d1d1d6;
}

.challenge-diff-badge.medium {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f5f5f7;
}

.challenge-diff-badge.hard {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.challenge-diff-badge.quant-tier {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #000000;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.challenge-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.challenge-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.challenge-formula-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #f5f5f7;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.challenge-firms-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.firm-pill {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #86868b;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.card-footer-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.card-acceptance {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.card-acceptance strong {
  color: #ffffff;
}

.btn-solve-challenge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-solve-challenge:hover {
  background: #f5f5f7;
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
  color: #000000;
  transform: translateY(-2px);
}

/* ===================================================================
   HACK THE BOX GAMIFIED PROGRESSION LADDER
   =================================================================== */
.progression-ladder-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: radial-gradient(ellipse 70% 40% at 50% 50%, rgba(255, 255, 255, 0.03), transparent 70%);
}

.ladder-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.ladder-card {
  background: rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 15px 40px rgba(0, 0, 0, 0.65);
  transform: translateZ(0);
  contain: layout style;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.ladder-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.05);
}

.ladder-rank-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: transform 0.3s ease;
}

.ladder-card:hover .ladder-rank-icon {
  transform: scale(1.08);
}

.ladder-card.rank-1 .ladder-rank-icon,
.ladder-card.rank-2 .ladder-rank-icon,
.ladder-card.rank-3 .ladder-rank-icon,
.ladder-card.rank-4 .ladder-rank-icon,
.ladder-card.rank-5 .ladder-rank-icon {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ladder-rank-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #6e6e73;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.ladder-rank-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.ladder-solved-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #d1d1d6;
  margin-bottom: 12px;
}

.ladder-perk-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ===================================================================
   LIVE ARENA SOLVERS STREAM & LEADERBOARD PODIUM
   =================================================================== */
.live-arena-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.arena-showcase-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  margin-top: 50px;
  align-items: stretch;
}

.solvers-feed-container {
  background: rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: translateZ(0);
  contain: layout style;
}

.feed-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feed-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.feed-user-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c2c2e, #1c1c1e);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.feed-user-name {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

.feed-challenge-name {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.feed-verdict-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-runtime {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #d1d1d6;
}

.feed-tag-accepted {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.leaderboard-podium-box {
  background: rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: translateZ(0);
  contain: layout style;
  display: flex;
  flex-direction: column;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 24px 0;
  align-items: flex-end;
}

.podium-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.podium-card.first {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 25px rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
}

.podium-rank-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.podium-card.first .podium-rank-badge { background: #ffffff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
.podium-card.second .podium-rank-badge { background: #d1d1d6; }
.podium-card.third .podium-rank-badge { background: #8e8e93; color: #ffffff; }

.podium-name {
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  margin: 12px 0 4px 0;
}

.podium-rating {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.podium-solved {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-view-full-leaderboard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-full);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: auto;
}

.btn-view-full-leaderboard:hover {
  background: #f5f5f7;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
  color: #000000;
  transform: translateY(-2px);
}

/* ===================================================================
   HERO WORKSTATION MOCKUP CODE STYLES
   =================================================================== */
.mockup-code-header-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(14, 20, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
}

.mockup-code-editor-box {
  padding: 12px 14px;
  background: #060913;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: #e2e8f0;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-kw { color: #ffffff; font-weight: 700; }
.code-fn { color: #f5f5f7; font-weight: 600; }
.code-str { color: #d1d1d6; }
.code-num { color: #a1a1a6; }
.code-comment { color: #6e6e73; font-style: italic; }

.mockup-test-verdict-banner {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #ffffff;
}

/* ===================================================================
   MEMBERSHIP TIERS & PRICING (FREE, PRO 999/MO, ENTERPRISE)
   =================================================================== */
.pricing-section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
  background: radial-gradient(ellipse 70% 40% at 50% 50%, rgba(99, 102, 241, 0.08), transparent 70%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 54px;
}

.pricing-card {
  position: relative;
  background: rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 40px 32px;
  transform: translateZ(0);
  contain: layout style;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 50px rgba(0, 0, 0, 0.75);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}

/* Apple Specular Reflection Layer */
.pricing-card::after,
.discipline-card::after,
.pillar-card::after,
.ladder-card::after,
.quant-challenge-card::after,
.solvers-feed-container::after,
.leaderboard-podium-box::after,
.cta-vortex-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    460px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(41, 151, 255, 0.14),
    rgba(255, 255, 255, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.pricing-card:hover::after,
.discipline-card:hover::after,
.pillar-card:hover::after,
.ladder-card:hover::after,
.quant-challenge-card:hover::after,
.solvers-feed-container:hover::after,
.leaderboard-podium-box:hover::after,
.cta-vortex-card:hover::after {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(41, 151, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 28px 70px rgba(0, 0, 0, 0.88), 0 0 35px rgba(41, 151, 255, 0.1);
}

/* Featured Pro Tier (₹999/month) */
.pricing-card.featured {
  background: rgba(18, 22, 30, 0.9);
  border-color: rgba(41, 151, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(41, 151, 255, 0.35), 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(41, 151, 255, 0.16);
  transform: translateY(-8px);
}

.pricing-card.featured:hover {
  border-color: rgba(41, 151, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(41, 151, 255, 0.6), 0 32px 85px rgba(0, 0, 0, 0.95), 0 0 50px rgba(41, 151, 255, 0.28);
}

/* Enterprise Tier */
.pricing-card.enterprise {
  border-color: rgba(255, 255, 255, 0.18);
}

.pricing-card.enterprise:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.08);
}

/* Card Floating Badges */
.pricing-floating-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 3;
}

.pricing-floating-badge.free {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f5f5f7;
}

.pricing-floating-badge.popular {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #000000;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.pricing-floating-badge.gold {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.pricing-tier-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #86868b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-tier-tag {
  color: #ffffff;
}

.pricing-card.enterprise .pricing-tier-tag {
  color: #a1a1a6;
}

.pricing-plan-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 46px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
}

.pricing-card.featured .pricing-amount {
  background: linear-gradient(180deg, #ffffff 20%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-card.enterprise .pricing-amount {
  background: linear-gradient(180deg, #ffffff 20%, #8e8e93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-cycle {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-summary {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 26px;
  min-height: 42px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-primary);
}

.pricing-feature-item i {
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
  color: #ffffff;
}

.pricing-feature-item.disabled {
  color: var(--text-muted);
  opacity: 0.6;
}

.pricing-feature-item.disabled i {
  color: var(--text-muted);
}

/* Plan Action Buttons */
.btn-plan-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
}

.btn-plan-action.free {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-plan-action.free:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-plan-action.pro {
  background: #ffffff;
  color: #000000 !important;
  border-color: #ffffff;
  box-shadow: 0 8px 30px rgba(41, 151, 255, 0.35), 0 0 20px rgba(41, 151, 255, 0.2);
}

.btn-plan-action.pro:hover {
  background: #f5f5f7;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(41, 151, 255, 0.55), 0 0 15px rgba(41, 151, 255, 0.3);
  color: #000000 !important;
}

.btn-plan-action.enterprise {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-plan-action.enterprise:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ===================================================================
   ENTERPRISE APPOINTMENT BOOKING MODAL
   =================================================================== */
.appointment-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.85);
  backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.appointment-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.appointment-modal-card {
  position: relative;
  background: rgba(18, 18, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 580px;
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 90px rgba(0, 0, 0, 0.95);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s var(--ease-out-expo);
  max-height: 90vh;
  overflow-y: auto;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.appointment-modal-overlay.active .appointment-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 75px;
}

.modal-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  margin-top: 8px;
}

.modal-submit-btn:hover {
  background: #f5f5f7;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.modal-feedback {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #34d399;
}

/* ===================================================================
   QUANTITATIVE MCQ QUIZ MODAL ($10,000 APPLE FINTECH DESIGN)
   =================================================================== */
.quiz-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.quiz-modal-dialog {
  position: relative;
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 32px 30px;
  max-width: 680px;
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(41, 151, 255, 0.1);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.quiz-modal-overlay.active .quiz-modal-dialog {
  transform: translateY(0) scale(1);
}

.quiz-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.quiz-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quiz-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2997ff;
  background: rgba(41, 151, 255, 0.1);
  border: 1px solid rgba(41, 151, 255, 0.28);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.quiz-difficulty-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #a1a1a6;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.quiz-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
}

.quiz-title-wrap {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-discipline-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.quiz-discipline-subtitle {
  font-size: 13px;
  color: #86868b;
}

.quiz-progress-bar-wrap {
  margin-bottom: 22px;
}

.quiz-progress-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #a1a1a6;
  margin-bottom: 8px;
}

.quiz-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2997ff, #70b4ff);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-question-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 22px;
}

.quiz-question-stem {
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f7;
  line-height: 1.55;
  margin-bottom: 20px;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #f5f5f7;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.quiz-option-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(41, 151, 255, 0.4);
  transform: translateX(4px);
}

.quiz-option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 1px;
}

.quiz-option-btn.correct {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.quiz-option-btn.correct .quiz-option-letter {
  background: #10b981;
  border-color: #10b981;
  color: #000;
}

.quiz-option-btn.incorrect {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #ffffff !important;
}

.quiz-option-btn.incorrect .quiz-option-letter {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.quiz-option-btn:disabled {
  cursor: default;
}

.quiz-verdict-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.3s ease;
}

.quiz-verdict-box.correct {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}

.quiz-verdict-box.incorrect {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}

.quiz-verdict-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.quiz-verdict-box.correct .quiz-verdict-header {
  color: #34d399;
}

.quiz-verdict-box.incorrect .quiz-verdict-header {
  color: #f87171;
}

.quiz-verdict-explanation {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.quiz-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.btn-quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-full);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-quiz-next:hover:not(:disabled) {
  background: #f5f5f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.4);
}

.btn-quiz-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

/* Quiz Completion Results Screen */
.quiz-results-card {
  text-align: center;
  padding: 24px 16px;
  animation: fadeIn 0.4s ease;
}

.quiz-score-circle {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.15), rgba(255, 255, 255, 0.05));
  border: 2px solid #2997ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(41, 151, 255, 0.3);
}

.quiz-score-big {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.quiz-score-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  color: #2997ff;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.quiz-result-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.quiz-result-desc {
  font-size: 13.5px;
  color: #a1a1a6;
  max-width: 480px;
  margin: 0 auto 26px auto;
  line-height: 1.55;
}

.quiz-result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-quiz-retry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quiz-retry:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-quiz-solve-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-full);
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.btn-quiz-solve-code:hover {
  background: #f5f5f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.4);
}
.faq-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(10, 15, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(15, 21, 38, 0.85);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  user-select: none;
}

.faq-icon {
  font-size: 14px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--cyan-core);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo), padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

/* ===================================================================
   CRAZY FINAL CTA: THE EVENT HORIZON
   =================================================================== */
.cta-portal-section {
  padding: 140px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.cta-vortex-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at center, rgba(18, 22, 32, 0.95), rgba(0, 0, 0, 0.98));
  border: 1px solid rgba(41, 151, 255, 0.35);
  box-shadow: 
    0 30px 100px rgba(0, 0, 0, 0.95),
    0 0 80px rgba(41, 151, 255, 0.15),
    inset 0 1px 0 rgba(41, 151, 255, 0.3);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.vortex-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(41, 151, 255, 0.14) 0%, rgba(41, 151, 255, 0.03) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulseVortex 6s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes pulseVortex {
  from { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
  to { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.cta-vortex-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.cta-vortex-card p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 2;
}

.cta-btn-wrapper {
  position: relative;
  z-index: 2;
}

.btn-cta-vortex {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: #ffffff;
  color: #000000 !important;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(41, 151, 255, 0.4), 0 0 20px rgba(41, 151, 255, 0.2);
  border: 1px solid #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-vortex:hover {
  background: #f5f5f7;
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(41, 151, 255, 0.65), 0 0 25px rgba(41, 151, 255, 0.35);
  color: #000000 !important;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.landing-footer {
  padding: 80px 0 40px 0;
  background: #030509;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
  margin-top: 14px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

/* ===================================================================
   ULTRA-WIDE & 4K DISPLAY ENGINE (21:9, 32:9, 2560px, 3440px, 5120px)
   =================================================================== */
@media (min-width: 1500px) {
  .landing-container {
    max-width: 1520px;
    padding: 0 36px;
    margin: 0 auto;
  }
  .landing-nav {
    max-width: 1320px;
  }
  .discipline-cards-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px;
  }
  .discipline-card:nth-child(1),
  .discipline-card:nth-child(2),
  .discipline-card:nth-child(3),
  .discipline-card:nth-child(4),
  .discipline-card:nth-child(5) {
    grid-column: auto !important;
  }
  .hero-mockup-wrapper {
    max-width: 1320px;
    margin: 16px auto 0 auto;
  }
  .hero-mockup-card {
    max-width: 1320px;
  }
  .arena-showcase-split {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .pricing-grid {
    max-width: 1360px;
    margin: 44px auto 0 auto;
    gap: 28px;
  }
  .ladder-grid {
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1800px) {
  .landing-container {
    max-width: 1620px;
    padding: 0 44px;
    margin: 0 auto;
  }
  .landing-nav {
    max-width: 1420px;
    padding: 8px 18px 8px 24px;
    gap: 32px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-link {
    font-size: 13.5px;
    padding: 7px 14px;
  }
  .hero-headline {
    font-size: 4rem;
    max-width: 1200px;
  }
  .hero-mockup-wrapper {
    max-width: 1400px;
    margin: 20px auto 0 auto;
  }
  .hero-mockup-card {
    max-width: 1400px;
  }
  .discipline-cards-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 22px;
  }
  .pricing-grid {
    max-width: 1420px;
    margin: 48px auto 0 auto;
    gap: 30px;
  }
  .ladder-grid {
    max-width: 1520px;
    margin: 0 auto;
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 2400px) {
  .landing-container {
    max-width: 1720px;
    padding: 0 48px;
    margin: 0 auto;
  }
  .landing-nav {
    max-width: 1500px;
    padding: 10px 22px 10px 28px;
    gap: 36px;
  }
  .hero-headline {
    font-size: 4.4rem;
    max-width: 1300px;
  }
  .hero-mockup-wrapper {
    max-width: 1480px;
    margin: 24px auto 0 auto;
  }
  .hero-mockup-card {
    max-width: 1480px;
  }
  .discipline-cards-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 24px;
  }
  .pricing-grid {
    max-width: 1480px;
    gap: 32px;
  }
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES (COMPREHENSIVE ALL-ASPECT-RATIO ENGINE)
   =================================================================== */

/* 1. Tablet Landscape & Intermediate Desktop (<= 1100px) */
@media (max-width: 1100px) {
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .narrative-container {
    grid-template-columns: 1fr;
  }
  .narrative-visual-col {
    position: relative;
    top: 0;
  }
  .mockup-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mockup-sidebar, .mockup-ticket {
    display: none;
  }
  .mockup-chart-area {
    height: 380px;
  }
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .discipline-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
    max-width: 800px;
    margin: 36px auto 0 auto;
  }
  .discipline-card:nth-child(1),
  .discipline-card:nth-child(2),
  .discipline-card:nth-child(3),
  .discipline-card:nth-child(4) {
    grid-column: auto !important;
  }
  .discipline-card:nth-child(5) {
    grid-column: span 2 !important;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .ladder-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 14px;
  }
  .ladder-card:nth-child(1),
  .ladder-card:nth-child(2),
  .ladder-card:nth-child(3) {
    grid-column: span 2 !important;
  }
  .ladder-card:nth-child(4) {
    grid-column: 2 / span 2 !important;
  }
  .ladder-card:nth-child(5) {
    grid-column: 4 / span 2 !important;
  }
  .arena-showcase-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin: 36px auto 0 auto;
  }
  .pricing-card.enterprise {
    grid-column: span 2;
  }
  .challenges-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    gap: 28px;
  }
  .challenge-card.featured {
    transform: none;
  }
  .payouts-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Switch seamlessly to mobile drawer on tablet <= 1024px */
  .nav-links {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
  }
  .landing-nav {
    padding: 6px 12px 6px 16px;
    gap: 10px;
  }
}

/* 1b. Desktop/Laptop Breakpoint (<= 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
  .landing-nav {
    gap: 12px;
    padding: 6px 12px 6px 18px;
  }
  .nav-links {
    gap: 2px;
  }
  .nav-link {
    font-size: 11.5px;
    padding: 5px 8px;
  }
  .btn-sound-toggle {
    width: 30px;
    height: 30px;
  }
  .btn-nav-google {
    padding: 5px 10px;
    font-size: 11.5px;
  }
  .btn-nav-launch {
    padding: 5px 12px;
    font-size: 11px;
  }
}

/* 1c. Tablet Portrait (<= 880px) */
@media (max-width: 880px) {
  .btn-sound-toggle {
    display: none;
  }
}

/* 2. Coarse Pointer / Touch Device Performance Guardrails */
@media (pointer: coarse), (hover: none) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
  .hero-mockup-card {
    transform: none !important;
  }
  .hero-mockup-card:hover {
    transform: none !important;
  }
  .bento-card:hover {
    transform: none !important;
  }
  .challenge-card {
    transform: none !important;
  }
  .challenge-card:hover {
    transform: none !important;
  }
  .challenge-card.featured {
    transform: none !important;
  }
  .pricing-card,
  .discipline-card,
  .pillar-card,
  .ladder-card,
  .solvers-feed-container,
  .leaderboard-podium-box,
  .cta-vortex-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(14, 16, 22, 0.94) !important;
  }
}

/* 3. Mobile Portrait & Tablet Portrait (<= 768px) */
@media (max-width: 768px) {
  /* Global Container & Overflow Lock */
  .landing-container {
    padding: 0 16px;
  }

  /* Floating Glass Navbar on Mobile */
  .landing-nav-wrapper {
    top: 10px;
    padding: 0 12px;
  }

  .landing-nav {
    padding: 6px 12px 6px 14px;
    gap: 8px;
    border-radius: var(--radius-full);
  }

  .nav-links,
  .btn-nav-launch {
    display: none !important;
  }

  .nav-brand {
    gap: 8px;
  }

  .nav-logo-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
    border-radius: 0;
  }

  .nav-brand-title {
    font-size: 16px;
  }

  .nav-actions {
    gap: 6px;
  }

  .btn-sound-toggle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  /* Compact Executive Trader Chip on Mobile Top Bar */
  .nav-trader-executive-btn {
    padding: 3px 8px 3px 3px;
    gap: 6px;
  }

  .nav-trader-executive-btn .trader-pro-chip,
  .nav-trader-executive-btn .trader-launch-cue {
    display: none !important;
  }

  .nav-trader-executive-btn .trader-details {
    display: flex;
  }

  .nav-trader-executive-btn .trader-name-label {
    font-size: 11.5px;
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .btn-nav-google {
    padding: 6px 12px;
    font-size: 11.5px;
    gap: 6px;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 100px 0 36px;
    min-height: auto;
  }

  .hero-pill-badge {
    font-size: clamp(9px, 2.5vw, 10.5px);
    padding: 5px 14px;
    max-width: 95%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 6.8vw, 2.55rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-bottom: 16px;
    padding: 0 4px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-subheadline {
    font-size: clamp(13px, 3.4vw, 14.5px);
    line-height: 1.55;
    padding: 0 4px;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 32px auto;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 13px 18px;
    font-size: 13px;
  }

  .hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 420px;
    margin: 0 auto 36px auto;
  }

  .stat-divider {
    display: none;
  }

  .stat-num {
    font-size: clamp(16px, 4.5vw, 18px);
  }

  .stat-label {
    font-size: 9.5px;
  }

  /* Mockup Terminal Card Mobile */
  .hero-mockup-wrapper {
    perspective: none !important;
    margin-top: 0;
  }

  .hero-mockup-card {
    transform: none !important;
    border-radius: var(--radius-md);
  }

  .mockup-header-bar {
    padding: 8px 12px;
  }

  .mockup-tab-title {
    font-size: 10px;
  }

  .mockup-chart-area {
    height: clamp(230px, 48vh, 290px);
  }

  .mockup-floating-hud {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .mockup-tp-line,
  .mockup-sl-line,
  .mockup-entry-line {
    right: 6px;
  }

  .mockup-tp-badge,
  .mockup-sl-badge,
  .mockup-entry-badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  /* Bento Grid Mobile */
  .features-section {
    padding: 60px 0;
  }

  .section-tag {
    font-size: 10px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(1.65rem, 5.5vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    padding: 0 4px;
  }

  .section-subtitle {
    font-size: clamp(12.5px, 3.2vw, 14px);
    line-height: 1.55;
    padding: 0 6px;
    margin-top: 8px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .bento-card {
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }

  /* Narrative 3-Phase Mobile */
  .narrative-section {
    padding: 60px 0;
  }

  .narrative-container {
    gap: 24px;
  }

  .narrative-step-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .narrative-step-card h3 {
    font-size: 19px;
  }

  .narrative-step-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .narrative-portal-box {
    aspect-ratio: auto;
    min-height: 250px;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  .portal-big-stat {
    font-size: 34px;
  }

  .portal-glow-ring {
    width: 170px;
    height: 170px;
  }

  .btn-portal-launch {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Cyber-Arena Sections Mobile */
  .arena-pillars-section,
  .discipline-explorer-section,
  .progression-ladder-section,
  .live-arena-section {
    padding: 60px 0 40px 0;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .discipline-cards-grid,
  .discipline-challenges-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    max-width: 100%;
    margin: 28px auto 0 auto;
  }
  .discipline-card:nth-child(1),
  .discipline-card:nth-child(2),
  .discipline-card:nth-child(3),
  .discipline-card:nth-child(4),
  .discipline-card:nth-child(5) {
    grid-column: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    width: 100%;
  }
  .ladder-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    max-width: 100%;
  }
  .ladder-card:nth-child(1),
  .ladder-card:nth-child(2),
  .ladder-card:nth-child(3),
  .ladder-card:nth-child(4),
  .ladder-card:nth-child(5) {
    grid-column: auto !important;
    width: 100%;
  }
  .discipline-tabs-row {
    gap: 6px;
  }
  .discipline-tab-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
  .arena-showcase-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Pricing Section Mobile */
  .pricing-section {
    padding: 70px 0 50px 0;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }
  .pricing-card {
    padding: 28px 20px;
    border-radius: 22px;
  }
  .pricing-card.featured {
    transform: none !important;
  }
  .pricing-card.enterprise {
    grid-column: auto;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .appointment-modal-card {
    padding: 26px 18px;
  }

  /* 3-Tier Challenges Mobile */
  .challenges-section {
    padding: 60px 0 50px 0;
  }

  .challenges-header-wrap {
    margin-bottom: 26px;
  }

  .currency-toggle-bar {
    margin-top: 18px;
    padding: 4px;
  }

  .currency-toggle-btn {
    padding: 7px 18px;
    font-size: 12px;
  }

  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    perspective: none !important;
    margin-bottom: 0;
    max-width: 480px;
  }

  .challenge-card {
    padding: 26px 20px;
    border-radius: 22px;
    transform: none !important;
  }

  .challenge-card.featured {
    transform: none !important;
  }

  .challenge-capital-amount {
    font-size: clamp(34px, 8vw, 40px);
    margin-bottom: 8px;
  }

  .challenge-price-display {
    font-size: clamp(26px, 6.5vw, 32px);
  }

  .challenge-metrics-list {
    gap: 10px;
    margin-bottom: 22px;
    padding-top: 14px;
  }

  .challenge-metric-item {
    font-size: 12.5px;
  }

  .card-payout-preview {
    padding: 12px 14px;
    margin-bottom: 22px;
  }

  .btn-challenge-buy {
    width: 100%;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 12.5px;
    justify-content: center;
  }

  /* Verified Payouts Stream Mobile */
  .payouts-section {
    padding: 60px 0 50px 0;
  }

  .payouts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    max-width: 480px;
  }

  .payout-card {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  .payout-amount {
    font-size: 26px;
    margin: 10px 0 6px 0;
  }

  /* FAQ Mobile */
  .faq-section {
    padding: 60px 0;
  }

  .faq-list {
    gap: 10px;
    margin-top: 26px;
  }

  .faq-item {
    border-radius: var(--radius-md);
  }

  .faq-question {
    padding: 16px 14px;
    font-size: 13.5px;
    gap: 10px;
    min-height: 48px;
  }

  .faq-answer {
    padding: 0 14px 16px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  /* CTA Vortex Card Mobile */
  .cta-portal-section {
    padding: 40px 0 60px;
  }

  .cta-vortex-card {
    padding: 34px 18px;
    border-radius: 20px;
  }

  .cta-vortex-card h2 {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem);
    line-height: 1.2;
  }

  .cta-vortex-card p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 22px;
  }

  .btn-cta-vortex {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 13px;
  }

  /* Footer Mobile */
  .landing-footer {
    padding: 50px 0 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand p {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .footer-col h4 {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links li a {
    font-size: 12.5px;
    padding: 4px 0;
    display: inline-block;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 36px;
    padding-top: 20px;
    font-size: 11px;
  }

  /* Mobile Desks in Navigation Drawer */
  .mobile-desks-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }

  .mobile-desk-card {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }

  .mobile-desk-title {
    font-size: 11.5px;
  }

  .mobile-desk-sub {
    font-size: 10px;
  }

  /* Discipline MCQ Quiz Modal on Mobile Viewports */
  .quiz-modal-overlay {
    padding: 12px;
  }

  .quiz-modal-dialog {
    padding: 22px 16px;
    border-radius: 20px;
    max-height: 92vh;
    width: 100%;
    max-width: 100%;
  }

  .quiz-discipline-title {
    font-size: 16px;
  }

  .quiz-discipline-subtitle {
    font-size: 11.5px;
  }

  .quiz-question-box {
    padding: 14px 12px;
    border-radius: 12px;
    margin-bottom: 14px;
  }

  .quiz-question-text {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .quiz-math-spec {
    font-size: 11px;
    padding: 8px 10px;
  }

  .quiz-options-list {
    gap: 8px;
    margin-bottom: 16px;
  }

  .quiz-option-btn {
    padding: 11px 12px;
    font-size: 12.5px;
    gap: 8px;
    border-radius: var(--radius-sm);
  }

  .quiz-option-letter {
    width: 22px;
    height: 22px;
    font-size: 10.5px;
  }

  .quiz-actions-row {
    flex-direction: column;
    gap: 8px;
  }

  .quiz-actions-row button,
  .quiz-actions-row a {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}

/* 4. Compact & Standard Phones (<= 480px - iPhone 12/13/14/15/16, Galaxy S) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(1.7rem, 6.4vw, 2.05rem);
    line-height: 1.14;
  }

  .hero-pill-badge {
    font-size: 8.5px;
    padding: 4px 10px;
    letter-spacing: 0.01em;
  }

  .hero-subheadline {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .stat-num {
    font-size: 16px;
  }

  .stat-label {
    font-size: 9px;
  }

  .mockup-chart-area {
    height: 240px;
  }

  .discipline-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .discipline-card-title {
    font-size: 18px;
  }

  .discipline-card-desc {
    font-size: 12.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .topic-chip {
    font-size: 10px;
    padding: 3px 8px;
  }

  .discipline-actions-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .btn-disc-quiz,
  .btn-disc-code {
    padding: 11px 10px;
    font-size: 11px;
    min-height: 44px;
    justify-content: center;
  }

  .challenge-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .challenge-capital-amount {
    font-size: 34px;
  }

  .challenge-price-display {
    font-size: 26px;
  }

  .card-payout-preview {
    padding: 10px 12px;
  }

  .cta-vortex-card {
    padding: 28px 14px;
  }
}

/* 5. Ultra-Compact Phones (<= 360px - e.g. iPhone SE, 320px) */
@media (max-width: 360px) {
  .landing-container {
    padding: 0 10px;
  }

  .landing-nav-wrapper {
    padding: 0 6px;
    top: 6px;
  }

  .landing-nav {
    padding: 5px 8px;
    gap: 6px;
  }

  .nav-brand-title {
    font-size: 14px;
  }

  .nav-logo-icon {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .btn-sound-toggle {
    display: none; /* preserve space for hamburger button on 320px */
  }

  .btn-nav-google {
    padding: 5px 8px;
    font-size: 10.5px;
    gap: 4px;
  }

  .nav-trader-executive-btn {
    padding: 2px 4px 2px 2px;
  }
  .nav-trader-executive-btn .trader-details {
    display: none !important;
  }

  .hero-headline {
    font-size: 1.55rem;
  }

  .discipline-card {
    padding: 16px 12px;
  }

  .discipline-card-title {
    font-size: 16.5px;
  }

  .discipline-actions-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-disc-quiz,
  .btn-disc-code {
    width: 100%;
  }

  .challenge-card {
    padding: 18px 12px;
  }

  .challenge-capital-amount {
    font-size: 30px;
  }

  .challenge-price-display {
    font-size: 24px;
  }

  .btn-challenge-buy {
    font-size: 11.5px;
    padding: 12px 14px;
  }
}

/* 6. Landscape Orientation on Phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    padding: 90px 0 30px;
  }
  .mockup-chart-area {
    height: 220px;
  }
  .mobile-nav-drawer {
    width: 90%;
    max-width: 420px;
  }
}

/* ===================================================================
   LANDING GOOGLE SIGN-IN & LOGOUT SYSTEM
   =================================================================== */
button.btn-nav-google {
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

button.btn-mobile-google {
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

.nav-trader-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}

button.nav-trader-executive-btn {
  background: rgba(28, 28, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

button.nav-trader-executive-btn:focus-visible {
  border-color: #8ab4f8;
  box-shadow: 0 0 0 2px rgba(138, 180, 248, 0.4);
}

.trader-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: rgba(18, 19, 23, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 1px rgba(255, 255, 255, 0.2);
  padding: 14px;
  z-index: 10001;
  transform-origin: top right;
  animation: dropdownPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownPop {
  0% { opacity: 0; transform: scale(0.95) translateY(-6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.dropdown-header {
  padding: 4px 6px 10px;
}

.dropdown-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-user-info {
  flex: 1;
  min-width: 0;
}

.dropdown-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.dropdown-user-email {
  font-size: 11.5px;
  color: #9aa0a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.dropdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #34a853;
  background: rgba(52, 168, 83, 0.12);
  border: 1px solid rgba(52, 168, 83, 0.3);
  padding: 2px 7px;
  border-radius: 999px;
  margin-top: 6px;
}

.dropdown-badge i {
  font-size: 10px;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

.dropdown-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.dropdown-link-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateX(2px);
}

.dropdown-link-item i {
  width: 16px;
  font-size: 12px;
  text-align: center;
}

.dropdown-tag {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  background: #2997ff;
  color: #000;
  padding: 1px 5px;
  border-radius: 4px;
}

.dropdown-footer {
  padding-top: 4px;
}

.btn-dropdown-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(234, 67, 53, 0.1);
  border: 1px solid rgba(234, 67, 53, 0.25);
  border-radius: 10px;
  color: #ff6b6b;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-dropdown-logout:hover {
  background: rgba(234, 67, 53, 0.22);
  border-color: rgba(234, 67, 53, 0.5);
  color: #ffffff;
}

.btn-mobile-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: rgba(234, 67, 53, 0.12);
  border: 1px solid rgba(234, 67, 53, 0.3);
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  margin-top: 4px;
}

.btn-mobile-logout:hover,
.btn-mobile-logout:active {
  background: rgba(234, 67, 53, 0.25);
  color: #ffffff;
}

.landing-auth-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(18, 19, 23, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

.landing-auth-toast.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===================================================================
   INSTITUTIONAL HIGH-CONTRAST LIGHT MODE ARCHITECTURE
   (Apple Cupertino / Stripe Institutional Light Theme - Zero Performance Overhead)
   =================================================================== */
html.light-mode {
  /* Canvas & Elevated Surfaces */
  --bg-void: #f8fafc;
  --bg-deep: #f1f5f9;
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;

  /* High-Contrast Crisp Ink Typography */
  --text-pure: #09090b;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dark: #cbd5e1;

  /* High-Contrast Intentional Chromatic Accents */
  --apple-blue: #0071e3;
  --apple-blue-deep: #0056b3;
  --apple-blue-light: #0284c7;
  --apple-blue-glow: rgba(0, 113, 227, 0.12);
  --apple-blue-glow-strong: rgba(0, 113, 227, 0.24);
  --apple-blue-subtle: rgba(0, 113, 227, 0.08);
  --apple-blue-border: rgba(0, 113, 227, 0.25);
  --apple-blue-rim: rgba(0, 113, 227, 0.35);

  /* Color System Tokens (Light Mode Mapped) */
  --cyan-core: #0071e3;
  --cyan-glow: rgba(0, 113, 227, 0.12);
  --emerald-core: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.12);
  --amber-core: #d97706;
  --amber-glow: rgba(217, 119, 6, 0.12);
  --rose-core: #e11d48;
  --rose-glow: rgba(225, 29, 72, 0.12);
  --indigo-core: #4f46e5;
  --indigo-glow: rgba(79, 70, 229, 0.12);
  --violet-core: #7c3aed;
  --violet-glow: rgba(124, 58, 237, 0.12);

  /* Hairlines & Borders */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-highlight: rgba(0, 0, 0, 0.22);
  --border-cyan: rgba(0, 113, 227, 0.25);

  /* Elevation Shadows */
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-floating: 0 16px 40px rgba(0, 0, 0, 0.07);
  --shadow-neon: 0 0 20px rgba(0, 113, 227, 0.1);
  --shadow-cyan: 0 0 20px rgba(0, 113, 227, 0.1);

  background-color: #f8fafc;
  color: #0f172a;
}

html.light-mode body {
  background: radial-gradient(circle at 50% -120px, rgba(0, 113, 227, 0.04), transparent 65%), #f8fafc;
  color: #0f172a;
}

/* Hide background night sky starlight canvas in light mode */
html.light-mode .sky-horizon-container {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===================================================================
   FLOATING GLASS NAVBAR (LIGHT MODE)
   =================================================================== */
html.light-mode .landing-nav {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

html.light-mode .nav-brand-title {
  color: #09090b !important;
}

html.light-mode .nav-brand-title span {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #0071e3 !important;
  color: #0071e3 !important;
  text-shadow: none !important;
}

html.light-mode .nav-logo-icon {
  filter: drop-shadow(0 2px 8px rgba(0, 113, 227, 0.25));
}

html.light-mode .nav-link {
  color: #475569;
}

html.light-mode .nav-link:hover {
  color: #09090b;
}

html.light-mode .nav-link.nav-link-usp,
html.light-mode .nav-link[style*="70b4ff"] {
  color: #0071e3 !important;
  font-weight: 700;
}

html.light-mode .nav-usp-badge,
html.light-mode .nav-link span[style*="2997ff"] {
  background: #0071e3 !important;
  color: #ffffff !important;
}

html.light-mode .btn-sound-toggle,
html.light-mode .btn-theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.09);
  color: #0f172a;
}

html.light-mode .btn-sound-toggle:hover,
html.light-mode .btn-theme-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}

html.light-mode .btn-nav-google {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

html.light-mode .btn-nav-google:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.2);
}

html.light-mode .btn-nav-launch {
  background: #0071e3 !important;
  border: 1px solid #0071e3 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3) !important;
}

html.light-mode .btn-nav-launch:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.45) !important;
}

html.light-mode .btn-nav-launch i {
  color: #ffffff !important;
}

html.light-mode .nav-trader-executive-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

html.light-mode .trader-name-label {
  color: #0f172a;
}

html.light-mode .mobile-nav-toggle {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.09);
}

/* ===================================================================
   HERO SECTION (LIGHT MODE)
   =================================================================== */
html.light-mode .hero-headline {
  color: #09090b;
}

html.light-mode .gradient-text {
  background: linear-gradient(180deg, #09090b 20%, #334155 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html.light-mode .gradient-text-alt {
  background: linear-gradient(180deg, #09090b 20%, #475569 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html.light-mode .hero-pill-badge {
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.25);
  color: #0071e3;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.08);
}

html.light-mode .hero-pill-badge i {
  color: #0071e3 !important;
}

html.light-mode .btn-hero-primary {
  background: #0071e3 !important;
  border: 1px solid #0071e3 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(0, 113, 227, 0.35) !important;
}

html.light-mode .btn-hero-primary:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 113, 227, 0.5) !important;
}

html.light-mode .btn-hero-secondary {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  color: #0f172a !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .btn-hero-secondary:hover {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.22) !important;
  color: #000000 !important;
}

html.light-mode .hero-stats-row {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html.light-mode .stat-divider {
  background: rgba(0, 0, 0, 0.08);
}

html.light-mode .stat-label {
  color: #64748b;
  font-weight: 600;
}

html.light-mode .stat-num {
  color: #09090b;
}

html.light-mode .stat-num.text-cyan {
  color: #0071e3 !important;
}

html.light-mode .hero-mockup-card {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* ===================================================================
   SECTION TAGS / EYEBROW BADGES (OVERRIDE ALL !IMPORTANT GHOSTS)
   =================================================================== */
html.light-mode .section-tag,
html.light-mode .section-tag.glow-tag,
html.light-mode .glow-tag {
  background: rgba(0, 113, 227, 0.08) !important;
  border: 1px solid rgba(0, 113, 227, 0.24) !important;
  color: #0071e3 !important;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.08) !important;
}

html.light-mode .section-tag i,
html.light-mode .section-tag.glow-tag i,
html.light-mode .glow-tag i {
  color: #0071e3 !important;
}

html.light-mode .section-title {
  color: #09090b;
}

html.light-mode .section-subtitle {
  color: #475569;
}

/* ===================================================================
   MARQUEE TICKER (LIGHT MODE)
   =================================================================== */
html.light-mode .marquee-section {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

html.light-mode .ticker-item {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

html.light-mode .ticker-item i {
  color: #0071e3;
}

html.light-mode .ticker-symbol {
  color: #0f172a;
}

/* ===================================================================
   THE 4 BATTLEGROUND PILLARS (LIGHT MODE)
   =================================================================== */
html.light-mode .pillar-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html.light-mode .pillar-card:hover {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

html.light-mode .pillar-icon-box {
  background: #f1f5f9 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: inset 0 1px 0 #ffffff !important;
  color: #0f172a !important;
}

html.light-mode .pillar-icon-box.cyan {
  background: rgba(0, 113, 227, 0.08) !important;
  border-color: rgba(0, 113, 227, 0.22) !important;
  color: #0071e3 !important;
}

html.light-mode .pillar-icon-box.purple {
  background: rgba(124, 58, 237, 0.08) !important;
  border-color: rgba(124, 58, 237, 0.22) !important;
  color: #7c3aed !important;
}

html.light-mode .pillar-icon-box.amber {
  background: rgba(217, 119, 6, 0.08) !important;
  border-color: rgba(217, 119, 6, 0.22) !important;
  color: #d97706 !important;
}

html.light-mode .pillar-icon-box.emerald {
  background: rgba(5, 150, 105, 0.08) !important;
  border-color: rgba(5, 150, 105, 0.22) !important;
  color: #059669 !important;
}

html.light-mode .pillar-num {
  color: #0071e3;
  font-weight: 800;
}

html.light-mode .pillar-title {
  color: #09090b;
  font-weight: 800;
}

html.light-mode .pillar-desc {
  color: #475569;
}

html.light-mode .pillar-meta-tag {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
  font-weight: 600;
}

html.light-mode .pillar-meta-tag i {
  color: #0071e3;
}

/* ===================================================================
   5 CORE DESK DISCIPLINES (LIGHT MODE)
   =================================================================== */
html.light-mode .discipline-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html.light-mode .discipline-card:hover {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

html.light-mode .discipline-icon-box {
  background: rgba(0, 113, 227, 0.08) !important;
  border: 1px solid rgba(0, 113, 227, 0.22) !important;
  color: #0071e3 !important;
}

html.light-mode .discipline-card-title {
  color: #09090b;
  font-weight: 800;
}

html.light-mode .discipline-track-chip {
  background: rgba(0, 113, 227, 0.06);
  border: 1px solid rgba(0, 113, 227, 0.22);
  color: #0071e3;
  font-weight: 700;
}

html.light-mode .btn-disc-quiz {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
  font-weight: 700;
}

html.light-mode .btn-disc-quiz i {
  color: #0071e3;
}

html.light-mode .btn-disc-quiz:hover {
  background: #e2e8f0;
  border-color: rgba(0, 0, 0, 0.2);
  color: #000000;
}

html.light-mode .btn-disc-code {
  background: #0071e3 !important;
  border: 1px solid #0071e3 !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(0, 113, 227, 0.25);
}

html.light-mode .btn-disc-code:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.38);
}

html.light-mode .curriculum-portal-banner {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

html.light-mode .portal-banner-tag {
  color: #0071e3;
  font-weight: 800;
}

html.light-mode .portal-banner-title {
  color: #09090b;
}

html.light-mode .portal-banner-desc {
  color: #475569;
}

/* ===================================================================
   PROGRESSION LADDER (LIGHT MODE)
   =================================================================== */
html.light-mode .ladder-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html.light-mode .ladder-card:hover {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

html.light-mode .ladder-rank-icon {
  background: #f1f5f9 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #0f172a !important;
}

html.light-mode .ladder-card.rank-1 .ladder-rank-icon {
  background: rgba(0, 113, 227, 0.08) !important;
  border-color: rgba(0, 113, 227, 0.2) !important;
  color: #0071e3 !important;
}

html.light-mode .ladder-card.rank-2 .ladder-rank-icon {
  background: rgba(5, 150, 105, 0.08) !important;
  border-color: rgba(5, 150, 105, 0.2) !important;
  color: #059669 !important;
}

html.light-mode .ladder-card.rank-3 .ladder-rank-icon {
  background: rgba(217, 119, 6, 0.08) !important;
  border-color: rgba(217, 119, 6, 0.2) !important;
  color: #d97706 !important;
}

html.light-mode .ladder-card.rank-4 .ladder-rank-icon {
  background: rgba(124, 58, 237, 0.08) !important;
  border-color: rgba(124, 58, 237, 0.2) !important;
  color: #7c3aed !important;
}

html.light-mode .ladder-card.rank-5 .ladder-rank-icon {
  background: rgba(225, 29, 72, 0.08) !important;
  border-color: rgba(225, 29, 72, 0.2) !important;
  color: #e11d48 !important;
}

html.light-mode .ladder-rank-num {
  color: #64748b;
  font-weight: 800;
}

html.light-mode .ladder-rank-title {
  color: #09090b;
  font-weight: 800;
}

html.light-mode .ladder-perk-text {
  color: #475569;
}

html.light-mode .ladder-solved-tag {
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.2);
  color: #0071e3;
  font-weight: 700;
}

/* ===================================================================
   ARENA SOLVERS FEED & LEADERBOARD PODIUM (LIGHT MODE)
   =================================================================== */
html.light-mode .solvers-feed-container,
html.light-mode .leaderboard-podium-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

html.light-mode .feed-header-bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

html.light-mode .feed-header-bar > span,
html.light-mode .feed-header-meta {
  color: #64748b !important;
  font-weight: 700;
}

html.light-mode .feed-title {
  color: #09090b;
  font-weight: 800;
}

html.light-mode .feed-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

html.light-mode .feed-user-name {
  color: #09090b;
  font-weight: 700;
}

html.light-mode .feed-challenge-name {
  color: #64748b;
}

html.light-mode .feed-runtime {
  color: #64748b;
}

html.light-mode .feed-tag-accepted {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: #047857;
  font-weight: 800;
}

html.light-mode .podium-title {
  color: #09090b;
}

html.light-mode .podium-card {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

html.light-mode .podium-card.first {
  background: #ffffff;
  border: 1.5px solid rgba(0, 113, 227, 0.35);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08);
}

html.light-mode .podium-card.first .podium-rank-badge {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

html.light-mode .podium-card.second .podium-rank-badge {
  background: #64748b;
  color: #ffffff;
}

html.light-mode .podium-card.third .podium-rank-badge {
  background: #b45309;
  color: #ffffff;
}

html.light-mode .podium-name {
  color: #09090b !important;
  font-weight: 800;
}

html.light-mode .podium-rating {
  color: #0071e3 !important;
  font-weight: 800;
}

html.light-mode .podium-solved {
  color: #64748b !important;
}

html.light-mode .btn-view-full-leaderboard {
  background: #0071e3 !important;
  border: 1px solid #0071e3 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.25) !important;
}

html.light-mode .btn-view-full-leaderboard:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(0, 113, 227, 0.38) !important;
}

/* ===================================================================
   PRICING TIERS SECTION (LIGHT MODE)
   =================================================================== */
html.light-mode .pricing-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

html.light-mode .pricing-card.featured {
  background: #ffffff;
  border: 2px solid #0071e3;
  box-shadow: 0 16px 45px rgba(0, 113, 227, 0.12);
}

html.light-mode .pricing-card.enterprise {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

html.light-mode .pricing-tier-tag {
  color: #64748b !important;
  font-weight: 800;
}

html.light-mode .pricing-card.featured .pricing-tier-tag {
  color: #0071e3 !important;
  font-weight: 800;
}

html.light-mode .pricing-card.enterprise .pricing-tier-tag {
  color: #b45309 !important;
  font-weight: 800;
}

html.light-mode .pricing-plan-title {
  color: #09090b !important;
  font-weight: 900;
}

html.light-mode .pricing-amount,
html.light-mode .pricing-card.featured .pricing-amount,
html.light-mode .pricing-card.enterprise .pricing-amount {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: initial !important;
  color: #09090b !important;
  font-weight: 900;
}

html.light-mode .pricing-card.featured .pricing-amount {
  color: #0071e3 !important;
}

html.light-mode .pricing-cycle {
  color: #64748b !important;
  font-weight: 600;
}

html.light-mode .pricing-summary {
  color: #475569 !important;
}

html.light-mode .pricing-feature-item {
  color: #0f172a !important;
}

html.light-mode .pricing-feature-item i {
  color: #059669 !important;
}

html.light-mode .pricing-feature-item.disabled {
  color: #94a3b8 !important;
  opacity: 0.7;
}

html.light-mode .pricing-feature-item.disabled i {
  color: #cbd5e1 !important;
}

html.light-mode .pricing-floating-badge.free {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #475569;
  font-weight: 700;
}

html.light-mode .pricing-floating-badge.popular {
  background: #0071e3;
  border: 1px solid #0071e3;
  color: #ffffff;
  font-weight: 800;
}

html.light-mode .pricing-floating-badge.gold {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  font-weight: 800;
}

html.light-mode .btn-plan-action.free {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a !important;
  font-weight: 700;
}

html.light-mode .btn-plan-action.free:hover {
  background: #e2e8f0;
  color: #000000 !important;
}

html.light-mode .btn-plan-action.pro {
  background: #0071e3 !important;
  border: 1px solid #0071e3 !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3) !important;
}

html.light-mode .btn-plan-action.pro:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
}

html.light-mode .btn-plan-action.enterprise {
  background: #0f172a !important;
  border: 1px solid #0f172a !important;
  color: #ffffff !important;
  font-weight: 800;
}

html.light-mode .btn-plan-action.enterprise:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

/* ===================================================================
   FAQ ACCORDION (LIGHT MODE)
   =================================================================== */
html.light-mode .faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

html.light-mode .faq-item.active {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.06);
}

html.light-mode .faq-question {
  color: #09090b;
  font-weight: 700;
}

html.light-mode .faq-icon {
  color: #0071e3;
}

html.light-mode .faq-answer {
  color: #475569;
}

/* ===================================================================
   CTA VORTEX SECTION (LIGHT MODE)
   =================================================================== */
html.light-mode .cta-vortex-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.06);
}

html.light-mode .cta-vortex-card h2 {
  color: #09090b;
  font-weight: 900;
}

html.light-mode .cta-vortex-card p {
  color: #475569;
}

html.light-mode .btn-cta-vortex {
  background: #0071e3 !important;
  border: 1px solid #0071e3 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.28) !important;
}

html.light-mode .btn-cta-vortex:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 38px rgba(0, 113, 227, 0.42) !important;
}

/* ===================================================================
   FOOTER (LIGHT MODE)
   =================================================================== */
html.light-mode .landing-footer {
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #64748b;
}

html.light-mode .footer-top p {
  color: #64748b;
}

html.light-mode .footer-col h4 {
  color: #09090b;
  font-weight: 800;
}

html.light-mode .footer-links a {
  color: #475569;
}

html.light-mode .footer-links a:hover {
  color: #0071e3;
}

html.light-mode .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #64748b;
}

html.light-mode .system-status-indicator {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

/* ===================================================================
   MODALS: APPOINTMENT & QUANT MCQ QUIZ (LIGHT MODE)
   =================================================================== */
html.light-mode .appointment-modal-overlay {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html.light-mode .appointment-modal-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
  color: #0f172a;
}

html.light-mode .modal-close-btn {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

html.light-mode .modal-close-btn:hover {
  background: #e2e8f0;
  color: #000000;
}

html.light-mode .modal-title {
  color: #09090b !important;
}

html.light-mode .modal-subtitle {
  color: #475569;
}

html.light-mode .form-group label {
  color: #475569;
}

html.light-mode .form-input,
html.light-mode .form-select,
html.light-mode .form-textarea {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

html.light-mode .form-input:focus,
html.light-mode .form-select:focus,
html.light-mode .form-textarea:focus {
  background: #ffffff;
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

html.light-mode .modal-submit-btn {
  background: #0071e3;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.25);
}

html.light-mode .modal-submit-btn:hover {
  background: #0056b3;
}

html.light-mode .quiz-modal-overlay {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html.light-mode .quiz-modal-dialog {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
  color: #0f172a;
}

html.light-mode .quiz-close-btn {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

html.light-mode .quiz-tag {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.22);
  color: #0071e3;
}

html.light-mode .quiz-difficulty-badge {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

html.light-mode .quiz-discipline-title {
  color: #09090b !important;
}

html.light-mode .quiz-discipline-subtitle {
  color: #64748b;
}

html.light-mode .quiz-title-wrap {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.light-mode .quiz-progress-track {
  background: #f1f5f9;
}

html.light-mode .quiz-question-card {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

html.light-mode .quiz-question-stem {
  color: #0f172a !important;
}

html.light-mode .quiz-option-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

html.light-mode .quiz-option-btn:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #0071e3;
  color: #09090b;
}

html.light-mode .quiz-option-btn.correct {
  background: rgba(5, 150, 105, 0.1) !important;
  border-color: #059669 !important;
  color: #047857 !important;
}

html.light-mode .quiz-option-btn.wrong {
  background: rgba(225, 29, 72, 0.1) !important;
  border-color: #e11d48 !important;
  color: #be123c !important;
}

/* ===================================================================
   MOBILE NAVIGATION DRAWER & MENUS (LIGHT MODE)
   =================================================================== */
html.light-mode .mobile-nav-drawer {
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

html.light-mode .mobile-drawer-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.light-mode .mobile-drawer-close {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

html.light-mode .mobile-trader-auth-box {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

html.light-mode .mobile-trader-name {
  color: #09090b;
}

html.light-mode .mobile-trader-email {
  color: #64748b !important;
}

html.light-mode .mobile-trader-desc {
  color: #64748b;
}

html.light-mode .btn-mobile-google {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

html.light-mode .btn-mobile-logout {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #e11d48;
}

html.light-mode .btn-mobile-launch-terminal {
  background: #0071e3;
  color: #ffffff;
}

html.light-mode .mobile-drawer-link {
  color: #0f172a;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

html.light-mode .mobile-drawer-link:hover {
  color: #0071e3;
}

html.light-mode .mobile-drawer-link.mobile-drawer-usp,
html.light-mode .mobile-drawer-link[style*="70b4ff"] {
  color: #0071e3 !important;
}

html.light-mode .mobile-desk-card {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

html.light-mode .mobile-desk-title {
  color: #09090b;
}

html.light-mode .mobile-desk-sub {
  color: #64748b;
}

/* ===================================================================
   TRADER DROPDOWN MENU (LIGHT MODE)
   =================================================================== */
html.light-mode .trader-dropdown-menu {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.1);
}

html.light-mode .dropdown-user-name {
  color: #09090b;
}

html.light-mode .dropdown-user-email {
  color: #64748b;
}

html.light-mode .dropdown-link-item {
  color: #0f172a;
}

html.light-mode .dropdown-link-item:hover {
  background: #f1f5f9;
  color: #0071e3;
}

html.light-mode .dropdown-divider {
  background: rgba(0, 0, 0, 0.06);
}

#mobileThemeToggle {
  display: inline-flex !important;
}
