/* ============================================================================
   OnlyRules — Rule-Based Trading Psychology
   Stylesheet
   ----------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Accessibility helpers
   4.  Layout primitives
   5.  Reusable components (buttons, tags, section headers)
   6.  Reveal / motion utilities
   7.  Navigation + mobile menu + scroll progress
   8.  Hero
   9.  Founder story
   10. Psychology engine
   11. YouTube
   12. Discord / Trading Floor
   13. Pricing
   14. Pre-trade checklist
   15. Violations calculator
   16. Footer
   17. Responsive
   18. Reduced motion
   ========================================================================== */

/* ─── 1. DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg-primary:    #080a0f;
  --bg-secondary:  #0b0e15;
  --bg-card:       #111620;
  --bg-elevated:   #161c28;

  /* Borders */
  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(56, 189, 248, 0.35);

  /* Text */
  --text-primary:   #f0f4ff;
  --text-secondary: #9aa3b8;
  --text-muted:     #5a6478;

  /* Accent */
  --accent:        #38bdf8;
  --accent-hover:  #7dd3fc;
  --accent-deep:   #0ea5e9;
  --accent-ink:    #04121d;
  --accent-glow:   rgba(56, 189, 248, 0.15);
  --accent-subtle: rgba(56, 189, 248, 0.08);

  /* Status */
  --success: #10b981;
  --danger:  #f87171;
  --violet:  #818cf8;

  /* Typography */
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Radii */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Spacing scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 120px;

  /* Elevation */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:  0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg:  0 28px 80px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 14px 40px rgba(56, 189, 248, 0.28);

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:  0.18s var(--ease);
  --t-base:  0.28s var(--ease);
  --t-slow:  0.6s var(--ease-out);

  /* Layout */
  --container: 1120px;
  --nav-h: 70px;

  /* Z-index scale */
  --z-base: 1;
  --z-nav: 100;
  --z-menu: 200;
  --z-progress: 300;
  --z-skip: 400;
}

/* ─── 2. RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'cv01', 'cv03', 'ss03';
}

/* Subtle film-grain texture over the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

img, svg, canvas { display: block; max-width: 100%; }

::selection { background: rgba(56, 189, 248, 0.28); color: #fff; }

/* Custom scrollbar (WebKit) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border: 3px solid var(--bg-primary);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover { background: #222a3a; }

/* ─── 3. ACCESSIBILITY HELPERS ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-skip);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); }

/* Consistent, on-brand focus ring for keyboard users */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ─── 4. LAYOUT PRIMITIVES ──────────────────────────────────────────── */
section { position: relative; z-index: var(--z-base); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

/* Sections that sit on the slightly-lighter band */
#psychology, #checklist, #pricing {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border);
}

#story, #discord, #youtube, #indicator, #calculator { border-top: 1px solid var(--border); }
#story { border-top: none; }

/* ─── 5. REUSABLE COMPONENTS ────────────────────────────────────────── */

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base),
              background var(--t-base), border-color var(--t-base), color var(--t-base);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: var(--border-strong);
  font-weight: 600;
}
.btn-outline:hover {
  border-color: var(--border-accent);
  background: rgba(56, 189, 248, 0.06);
  transform: translateY(-2px);
}

.btn-lg { font-size: 16px; padding: 16px 32px; }
.btn-block { width: 100%; }

/* Section headers ------------------------------------------------------ */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  text-wrap: pretty;
}

.section-header { margin-bottom: var(--space-8); }
.section-header-center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.section-header-center .section-subtitle { margin-inline: auto; }

/* ─── 6. REVEAL / MOTION UTILITIES ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Cursor-following spotlight for cards */
[data-spotlight] {
  position: relative;
}
[data-spotlight]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(56, 189, 248, 0.10),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
  z-index: 1;
}
[data-spotlight]:hover::after { opacity: 1; }
/* keep real content above the spotlight layer */
[data-spotlight] > * { position: relative; z-index: 2; }

/* ─── 7. NAVIGATION ─────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: var(--z-progress);
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-hover));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  transition: width 0.1s linear;
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: rgba(8, 10, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 10, 15, 0.88);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--nav-h);
  padding-inline: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo svg { transition: transform var(--t-base); }
.nav-logo:hover svg { transform: scale(1.03); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 6px 2px;
  transition: color var(--t-fast);
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}
.nav-links a:not(.nav-cta):hover { color: var(--text-primary); }
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

/* KAIROS — sibling-product cross-link (reads as a related product, not a section) */
.nav-links a.nav-sibling { color: var(--accent); font-weight: 600; white-space: nowrap; }
.nav-links a.nav-sibling:hover { color: var(--accent-hover); }
.mobile-menu-nav a.mobile-menu-sibling { color: var(--accent); }
.mobile-menu-nav a.mobile-menu-sibling:hover { color: var(--accent-hover); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 18px; height: 2px;
  margin-inline: auto;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: var(--z-menu);
  background: rgba(11, 14, 21, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-6) var(--space-6);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform var(--t-base), opacity var(--t-base);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 8px;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-menu-nav a:hover { color: var(--text-primary); padding-left: 14px; }
.mobile-menu-cta {
  color: var(--accent) !important;
  border-bottom: none !important;
  margin-top: var(--space-2);
}
.mobile-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-menu) - 1);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--t-base);
}
.mobile-menu-scrim.open { opacity: 1; }
body.menu-open { overflow: hidden; }

/* ─── 8. HERO ───────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 var(--space-9);
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* Radial vignette so the headline reads cleanly over the canvas */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(56, 189, 248, 0.05), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 110%, var(--bg-primary), transparent 60%);
}

#hero .container { position: relative; z-index: var(--z-base); }

.hero-inner { text-align: center; max-width: 840px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: var(--space-6);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-headline {
  font-size: clamp(46px, 7.5vw, 84px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.04;
  margin-bottom: var(--space-5);
  background: linear-gradient(135deg, #ffffff 0%, #aeb7cc 60%, #8b94a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-wrap: balance;
}
.hero-headline em {
  font-style: normal;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  position: relative;
}

.hero-manifesto {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-7);
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat-row {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-9);
  padding-top: var(--space-7);
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-primary);
}
.stat-value { color: var(--accent); }
.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: var(--space-1);
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  z-index: var(--z-base);
  transition: border-color var(--t-base);
}
.hero-scroll-cue:hover { border-color: var(--border-accent); }
.hero-scroll-cue-dot {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 100px;
  animation: scrollCue 1.8s var(--ease-out) infinite;
}
@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  60% { opacity: 1; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ─── 9. FOUNDER STORY ──────────────────────────────────────────────── */
#story { padding: var(--space-10) 0; }

.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-9);
  align-items: start;
}

.story-headline {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--text-primary);
  margin: var(--space-3) 0 var(--space-6);
  text-wrap: balance;
}
.story-body {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.story-closer {
  color: var(--text-primary);
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: var(--space-4);
  margin-top: var(--space-5);
}

.story-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.story-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.story-stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.story-stat-num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--accent);
  line-height: 1;
}
.story-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--space-2);
  font-weight: 500;
}
.story-quote {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── 10. PSYCHOLOGY ENGINE ─────────────────────────────────────────── */
#psychology { padding: var(--space-10) 0; }

.psych-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.psych-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.psych-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 3;
}
.psych-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.psych-card:hover::before { opacity: 1; }

.psych-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: var(--space-5);
  opacity: 0.8;
}
.psych-icon {
  width: 48px; height: 48px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 22px;
  transition: transform var(--t-base);
}
.psych-card:hover .psych-icon { transform: scale(1.08) rotate(-4deg); }
.psych-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.psych-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.psych-rule {
  margin-top: var(--space-5);
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}
.psych-rule::before {
  content: 'RULE';
  display: block;
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-1);
}

/* ─── 11. YOUTUBE ───────────────────────────────────────────────────── */
#youtube { padding: var(--space-10) 0; }

.yt-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: start;
}

.yt-player-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}
.yt-player-wrapper iframe { width: 100%; height: 100%; display: block; border: none; }

.yt-player-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background:
    radial-gradient(ellipse at center, rgba(56, 189, 248, 0.08), transparent 70%),
    linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: background var(--t-base);
}
.yt-player-placeholder:hover { background:
    radial-gradient(ellipse at center, rgba(56, 189, 248, 0.14), transparent 70%),
    linear-gradient(135deg, var(--bg-card), var(--bg-elevated)); }
.yt-play-btn {
  width: 72px; height: 72px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.45);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.yt-player-placeholder:hover .yt-play-btn {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.6);
}
.yt-play-btn svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.yt-placeholder-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

.yt-sidebar { display: flex; flex-direction: column; gap: var(--space-6); }

.yt-cta-block {
  text-align: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.yt-sub-count {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--accent);
}
.yt-sub-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 4px 0 20px;
}

.yt-playlist {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.yt-playlist-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.yt-playlist-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
  transition: background var(--t-fast), padding-left var(--t-fast);
}
.yt-playlist-item:last-child { border-bottom: none; }
.yt-playlist-item:hover { background: var(--bg-elevated); padding-left: 26px; }
.yt-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  width: 18px;
  flex-shrink: 0;
}
.yt-item-info { flex: 1; min-width: 0; display: block; }
.yt-item-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yt-item-meta { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.yt-item-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.tag-rulebook { background: rgba(56, 189, 248, 0.12); color: var(--accent); }
.tag-psych    { background: rgba(129, 140, 248, 0.12); color: var(--violet); }
.tag-review   { background: rgba(16, 185, 129, 0.12); color: var(--success); }

/* ─── 11.5 THE INDICATOR ────────────────────────────────────────────── */
#indicator { padding: var(--space-10) 0; }

.indicator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.indicator-copy .section-subtitle { max-width: 480px; margin-bottom: var(--space-6); }
.indicator-copy .section-subtitle strong { color: var(--text-primary); font-weight: 600; }

/* Ranking highlight */
.indicator-rank {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 16px 22px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  margin-bottom: var(--space-6);
}
.indicator-rank-num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}
.indicator-rank-text { display: flex; flex-direction: column; gap: 2px; }
.indicator-rank-text strong { font-size: 15px; color: var(--text-primary); font-weight: 700; }
.indicator-rank-text span { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Feature list (reuses the global .prop-check tick) */
.indicator-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.indicator-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 15px;
  color: var(--text-secondary);
}
.indicator-feature.soon { color: var(--text-muted); }
.indicator-feature.soon .prop-check { background: var(--accent-subtle); color: var(--accent); }
.soon-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: var(--space-2);
}

/* Free → premium notice */
.indicator-notice {
  padding: 16px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}
.indicator-notice strong { color: var(--text-primary); }

.indicator-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }
/* Equal-width pair on desktop; wraps to clean full-width buttons when the column is too narrow */
.indicator-ctas .btn { flex: 1 1 auto; padding-inline: 24px; white-space: nowrap; }

/* Product card */
.indicator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.10), 0 24px 70px rgba(56, 189, 248, 0.06);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.indicator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.22), 0 30px 80px rgba(56, 189, 248, 0.12);
}
.indicator-ribbon {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-accent);
}
.indicator-card-chart {
  padding: 24px 22px 18px;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(56, 189, 248, 0.10), transparent 60%),
    linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
  border-bottom: 1px solid var(--border);
}
.indicator-card-chart svg { width: 100%; height: auto; }

.indicator-card-body { padding: 22px 24px 24px; }
.indicator-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.indicator-card-title { font-size: 15px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.3px; line-height: 1.3; }
.indicator-card-by { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }
.indicator-card-price {
  text-align: right;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.indicator-card-price span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.indicator-card-stats {
  display: flex;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.indicator-card-stat { flex: 1; text-align: center; }
.indicator-card-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.indicator-card-stat:first-child .indicator-card-stat-num { color: var(--accent); }
.indicator-card-stat .stat-value { color: var(--text-primary); }
.indicator-card-stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* ─── 12. DISCORD / TRADING FLOOR ───────────────────────────────────── */
#discord { padding: var(--space-10) 0; }

.discord-terminal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.discord-terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(56, 189, 248, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* faux terminal chrome bar */
.discord-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}
.discord-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-elevated); }
.discord-dot:nth-child(1) { background: #ff5f57; }
.discord-dot:nth-child(2) { background: #febc2e; }
.discord-dot:nth-child(3) { background: #28c840; }
.discord-chrome-label {
  margin-left: var(--space-3);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.discord-top { display: grid; grid-template-columns: 1.2fr 0.8fr; }
.discord-left { padding: 64px; border-right: 1px solid var(--border); }
.discord-title { max-width: 420px; }
.discord-sub { max-width: 420px; margin-bottom: 0; }
.discord-right {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.discord-metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: border-color var(--t-base), transform var(--t-base);
}
.discord-metric:hover { border-color: var(--border-accent); transform: translateX(4px); }
.discord-metric-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.icon-green { background: rgba(16, 185, 129, 0.12); }
.icon-blue  { background: rgba(129, 140, 248, 0.12); }
.icon-blue-soft { background: var(--accent-subtle); }
.discord-metric-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text-primary);
}
.discord-metric-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.discord-value-props {
  margin: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.discord-prop {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 15px;
  color: var(--text-secondary);
}
.prop-check {
  width: 20px; height: 20px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--success);
}

.discord-bottom {
  border-top: 1px solid var(--border);
  padding: 28px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  position: relative;
  z-index: 2;
}
.discord-tagline { font-size: 14px; color: var(--text-muted); max-width: 420px; font-style: italic; }
.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
  white-space: nowrap;
}
.live-pulse::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
}

/* ─── 13. PRICING ───────────────────────────────────────────────────── */
#pricing { padding: var(--space-10) 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(160deg, #112033 0%, var(--bg-card) 60%);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12), 0 20px 60px rgba(56, 189, 248, 0.07);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 30px 80px rgba(56, 189, 248, 0.12);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-accent);
  z-index: 3;
}
.pricing-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.pricing-card.featured .pricing-tier { color: var(--accent); }
.pricing-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pricing-tagline { font-size: 14px; color: var(--text-secondary); margin-bottom: var(--space-6); line-height: 1.5; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: var(--space-2); }
.price-currency { font-size: 18px; font-weight: 700; color: var(--text-secondary); margin-top: 4px; }
.price-amount {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text-primary);
  line-height: 1;
}
.pricing-card.featured .price-amount { color: var(--accent); }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: var(--space-6); }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: var(--space-6); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.pricing-feature { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.feature-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-yes { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.feature-no  { background: rgba(255, 255, 255, 0.04); color: var(--text-muted); }
.pricing-feature.dim { color: var(--text-muted); }

.btn-pricing-primary,
.btn-pricing-outline {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.2px;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), border-color var(--t-base), color var(--t-base);
}
.btn-pricing-primary { background: var(--accent); color: var(--accent-ink); border: none; }
.btn-pricing-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-pricing-outline { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); font-weight: 600; }
.btn-pricing-outline:hover { border-color: var(--border-accent); color: var(--text-primary); transform: translateY(-2px); }

.pricing-note { text-align: center; margin-top: var(--space-6); font-size: 13px; color: var(--text-muted); }

/* ─── 14. PRE-TRADE CHECKLIST ───────────────────────────────────────── */
#checklist { padding: var(--space-10) 0; }

.checklist-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
.checklist-lead { margin-bottom: var(--space-6); }
.checklist-foot { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 460px; }

.checklist-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.widget-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget-title { font-size: 14px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.2px; }
.widget-progress-text { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); font-weight: 600; }
.widget-progress-bar { height: 3px; background: var(--border); position: relative; overflow: hidden; }
.widget-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  transition: width 0.45s var(--ease-out);
}

.checklist-items { padding: 8px 0; border: none; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: 14px 28px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background var(--t-fast);
}
.check-item:last-child { border-bottom: none; }
.check-item:hover { background: rgba(255, 255, 255, 0.02); }
.check-input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  width: 20px; height: 20px;
  border: 2px solid var(--border-strong);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.check-box::after {
  content: '✓';
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  transform: scale(0);
  transition: transform var(--t-fast) var(--ease-spring);
}
.check-input:checked ~ .check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.check-input:checked ~ .check-box::after { transform: scale(1); }
.check-input:focus-visible ~ .check-box { outline: 2px solid var(--accent); outline-offset: 3px; }
.check-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: color var(--t-fast);
}
.check-input:checked ~ .check-label { color: var(--text-muted); text-decoration: line-through; }

.widget-footer { padding: 20px 28px; border-top: 1px solid var(--border); }
.clearance-msg {
  display: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--success);
  padding: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
}
.clearance-msg.show { display: block; animation: clearPop 0.4s var(--ease-spring); }
@keyframes clearPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.reset-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t-base), color var(--t-base);
}
.reset-btn:hover { border-color: var(--border-strong); color: var(--text-secondary); }
.reset-btn.hidden { display: none; }

/* ─── 15. VIOLATIONS CALCULATOR ─────────────────────────────────────── */
#calculator { padding: var(--space-10) 0; }

.calc-widget {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.calc-header { padding: 28px 36px; border-bottom: 1px solid var(--border); }
.calc-body { padding: 36px; }
.calc-field { margin-bottom: var(--space-7); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-4); }
.calc-label-text { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.calc-value { font-family: var(--font-mono); font-size: 18px; font-weight: 700; letter-spacing: -0.5px; color: var(--accent); }
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  /* JS sets --fill to the % filled; track shows accent up to the thumb */
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--fill, 50%), var(--bg-elevated) var(--fill, 50%), var(--bg-elevated) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: var(--accent);
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 7px rgba(56, 189, 248, 0.28); transform: scale(1.1); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--accent);
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.calc-result {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
}
.calc-result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.calc-result-amount {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.calc-result-sub { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.calc-result-sub strong { color: var(--text-secondary); }
.calc-psych-note {
  margin-top: var(--space-5);
  padding: 16px 20px;
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.calc-disclaimer { margin-top: var(--space-4); font-size: 11px; color: var(--text-muted); text-align: center; }

/* ─── 16. FOOTER ────────────────────────────────────────────────────── */
footer { padding: var(--space-7) 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.footer-logo { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: var(--space-5); }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--text-secondary); }

/* ─── 17. RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .story-layout { grid-template-columns: 1fr; gap: var(--space-7); }
  .story-right { position: static; flex-direction: row; flex-wrap: wrap; }
  .story-stat-card { flex: 1 1 calc(50% - 8px); }
  .yt-layout { grid-template-columns: 1fr; }
  .indicator-layout { grid-template-columns: 1fr; gap: var(--space-7); }
  .checklist-layout { grid-template-columns: 1fr; gap: var(--space-6); }
}

@media (max-width: 860px) {
  .nav-nav { display: none; }
  .nav-toggle { display: flex; }
  .container { padding-inline: var(--space-5); }
  .nav-inner { padding-inline: var(--space-5); }

  .psych-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .pricing-card.featured { order: -1; }

  .discord-top { grid-template-columns: 1fr; }
  .discord-left { padding: 44px 32px; border-right: none; border-bottom: 1px solid var(--border); }
  .discord-right { padding: 32px; }
  .discord-bottom { flex-direction: column; padding: 28px 32px; text-align: center; }

  .hero-stat-row { gap: var(--space-6); flex-wrap: wrap; }

  .footer-inner { flex-direction: column; gap: var(--space-4); text-align: center; }
}

@media (max-width: 520px) {
  .story-stat-card { flex: 1 1 100%; }
  #hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-ctas .btn { width: 100%; }
  .indicator-ctas { flex-direction: column; }
  .indicator-ctas .btn { width: 100%; }
  .calc-body, .calc-header { padding: 24px; }
  .discord-left { padding: 36px 24px; }
}

/* ─── 18. REDUCED MOTION ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #hero-canvas { display: none; }
  .hero-scroll-cue-dot { animation: none; opacity: 1; }
}
