:root {
  --bg-void: #030504;
  --bg-deep: #060b08;
  --bg-surface: #082311;
  --bg-card: rgba(8, 35, 17, 0.55);
  --bg-elevated: #0d1510;
  --brand-neon: #19ff52;
  --brand-emerald: #15c36b;
  --brand-mint: #a4f8b8;
  --text-primary: #ffffff;
  --text-secondary: #b1d5bc;
  --text-muted: #8ea896;
  --border-subtle: rgba(177, 213, 188, 0.12);
  --border-neon: rgba(25, 255, 82, 0.32);
  --level-1: #19ff52;
  --level-2: #facc15;
  --level-3: #ff4d4d;
  --cyan-figma: #38bdf8;
  --purple-figma: #a855f7;
  --orange-figma: #fb923c;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--brand-neon);
  color: #030504;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--brand-neon);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Top Scroll Progress Bar */
.scroll-progress-top {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 9999;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-emerald), var(--brand-neon));
  box-shadow: 0 0 16px var(--brand-neon);
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

/* Two-Do Inspired Ambient Orbs + SVG Grain */
.ambient-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  opacity: 0.45;
}
.orb--a {
  width: 45vmax;
  height: 45vmax;
  background: radial-gradient(circle, rgba(25, 255, 82, 0.16), transparent 70%);
  top: -12vmax;
  left: 28%;
  animation: orb-drift-a 26s ease-in-out infinite alternate;
}
.orb--b {
  width: 38vmax;
  height: 38vmax;
  background: radial-gradient(circle, rgba(21, 195, 107, 0.14), transparent 70%);
  top: 35vh;
  right: -12vmax;
  animation: orb-drift-b 32s ease-in-out infinite alternate;
}
.orb--c {
  width: 34vmax;
  height: 34vmax;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08), transparent 70%);
  bottom: -10vmax;
  left: -10vmax;
  animation: orb-drift-a 38s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift-a {
  to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.08); }
}
@keyframes orb-drift-b {
  to { transform: translate3d(-8vmax, -4vmax, 0) scale(0.92); }
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography Helpers */
.mono {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.neon-text {
  color: var(--brand-neon);
  text-shadow: 0 0 28px rgba(25, 255, 82, 0.35);
}

/* Urgency Top Banner + Glass Header */
.top-urgency {
  position: relative;
  z-index: 30;
  background: linear-gradient(90deg, #061b0d, #0a2e16, #061b0d);
  border-bottom: 1px solid var(--border-neon);
  padding: 9px 16px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--brand-mint);
}
.top-urgency strong {
  color: var(--brand-neon);
}
.urgency-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand-neon);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px var(--brand-neon);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.45; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(3, 5, 4, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand-neon);
  box-shadow: 0 0 12px var(--brand-neon);
}
.brand-bar {
  width: 22px;
  height: 5px;
  border-radius: 2px;
  background: var(--text-primary);
  margin-left: -4px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-Countdown {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(25, 255, 82, 0.07);
  border: 1px solid rgba(25, 255, 82, 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-mint);
}
@media (min-width: 768px) {
  .header-Countdown { display: inline-flex; }
}
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-neon);
  color: #030504;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(25, 255, 82, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(25, 255, 82, 0.6);
}

/* Orizon.one Inspired Telemetry HUD & Side Stage Ruler */
.orizon-hud {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 35;
  background: rgba(6, 14, 9, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(25, 255, 82, 0.22);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  min-width: 195px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.orizon-hud__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.orizon-hud__key {
  color: var(--text-muted);
}
.orizon-hud__val {
  color: var(--brand-neon);
  font-weight: 600;
}
.orizon-hud__bar {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}
.orizon-hud__fill {
  height: 100%;
  width: 100%;
  background: var(--brand-neon);
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

.stage-ruler {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stage-ruler__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.25s ease;
}
.stage-ruler__label {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  background: rgba(6, 14, 9, 0.9);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.stage-ruler__item:hover .stage-ruler__label,
.stage-ruler__item.is-active .stage-ruler__label {
  opacity: 1;
  transform: translateX(0);
}
.stage-ruler__tick {
  width: 12px;
  height: 2px;
  background: rgba(177, 213, 188, 0.3);
  transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.stage-ruler__item.is-active {
  color: var(--brand-neon);
}
.stage-ruler__item.is-active .stage-ruler__tick {
  width: 24px;
  background: var(--brand-neon);
  box-shadow: 0 0 10px var(--brand-neon);
}

@media (max-width: 1024px) {
  .orizon-hud, .stage-ruler { display: none; }
}

/* ==========================================================================
   CHAPTER 1: HERO CANVAS (ONLINES.COM.AR FAVORITE STYLE)
   ========================================================================== */
.hero-canvas {
  position: relative;
  min-height: calc(100svh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 96px;
  overflow: hidden;
  z-index: 2;
}

/* Interactive Cell Grid (grilla-celdas) */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(25, 255, 82, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(25, 255, 82, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle 650px at var(--mouse-x, 50%) var(--mouse-y, 45%), rgba(0,0,0,1) 0%, rgba(0,0,0,0.22) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 650px at var(--mouse-x, 50%) var(--mouse-y, 45%), rgba(0,0,0,1) 0%, rgba(0,0,0,0.22) 70%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  z-index: 3;
}

/* Interactive "Modo Professor IA" Switch Pill (from onlines.com.ar) */
.ai-switch-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.ai-switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 35, 17, 0.85);
  border: 1px solid var(--border-neon);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 0 28px rgba(25, 255, 82, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ai-switch-pill:hover {
  transform: scale(1.03);
}
.ai-switch-track {
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  position: relative;
  transition: background 0.3s ease;
}
.ai-switch-pill.is-on .ai-switch-track {
  background: var(--brand-neon);
}
.ai-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #030504;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ai-switch-pill.is-on .ai-switch-knob {
  transform: translateX(16px);
}
.ai-switch-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(25, 255, 82, 0.18);
  color: var(--brand-neon);
}

/* Figma Selection Frame with 6 Handles (home-hero__seleccion) */
.figma-selection-box {
  position: relative;
  display: inline-block;
  padding: clamp(18px, 3vw, 32px) clamp(16px, 3.5vw, 42px);
  border: 1.5px solid var(--brand-neon);
  background: rgba(8, 35, 17, 0.28);
  backdrop-filter: blur(8px);
  margin-bottom: 26px;
  box-shadow: 0 0 50px rgba(25, 255, 82, 0.1);
}
.figma-selection-tag {
  position: absolute;
  top: -24px;
  left: -1.5px;
  background: var(--brand-neon);
  color: #030504;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px 4px 0 0;
  letter-spacing: 0.05em;
}
.figma-handle {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #030504;
  border: 2px solid var(--brand-neon);
  z-index: 4;
}
.figma-handle--tl { top: -5px; left: -5px; }
.figma-handle--tr { top: -5px; right: -5px; }
.figma-handle--tc { top: -5px; left: calc(50% - 4.5px); }
.figma-handle--bl { bottom: -5px; left: -5px; }
.figma-handle--br { bottom: -5px; right: -5px; }
.figma-handle--bc { bottom: -5px; left: calc(50% - 4.5px); }

.hero-title {
  font-size: clamp(2.35rem, 5.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 690px;
  margin: 0 auto 28px;
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.55;
}
.hero-subtitle strong {
  color: var(--text-primary);
}

/* 3 Trust Pills */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-secondary);
}
.trust-pill strong {
  color: var(--text-primary);
}

/* Primary CTA Button */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--brand-neon) 0%, var(--brand-emerald) 100%);
  color: #030504;
  font-weight: 800;
  font-size: clamp(0.98rem, 1.6vw, 1.14rem);
  padding: 18px 36px;
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 0 40px rgba(25, 255, 82, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(25, 255, 82, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-primary__badge {
  background: #030504;
  color: var(--brand-neon);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 8px;
}
.cta-microcopy {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Floating Canvas Widgets & Multiplayer Cursors (onlines.com.ar signature) */
.floating-widget {
  position: absolute;
  background: rgba(8, 26, 14, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(25, 255, 82, 0.24);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  text-align: left;
  z-index: 2;
  will-change: transform;
  pointer-events: none;
}
.floating-widget--pdf {
  top: 12%;
  left: max(2%, calc(50% - 620px));
  width: 235px;
}
.floating-widget--code {
  bottom: 14%;
  left: max(2%, calc(50% - 610px));
  width: 265px;
}
.floating-widget--comment {
  top: 16%;
  right: max(2%, calc(50% - 620px));
  width: 260px;
}
.floating-widget--levels {
  bottom: 15%;
  right: max(2%, calc(50% - 600px));
  width: 245px;
}

.fw-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-mint);
  margin-bottom: 6px;
}
.fw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-neon);
}
.fw-body {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.fw-typing {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--brand-neon);
  min-height: 2.6em;
}
.fw-cursor-blink {
  display: inline-block;
  width: 6px;
  height: 13px;
  background: var(--brand-neon);
  vertical-align: middle;
  animation: blink 0.9s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Figma Multiplayer Cursors */
.hero-cursor {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-cursor--a {
  top: 26%;
  left: calc(50% - 370px);
  animation: cursor-roam-a 9s ease-in-out infinite alternate;
}
.hero-cursor--b {
  bottom: 24%;
  right: calc(50% - 390px);
  animation: cursor-roam-b 11s ease-in-out infinite alternate;
}
.hero-cursor__label {
  display: inline-block;
  margin-left: 14px;
  margin-top: -4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #030504;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
@keyframes cursor-roam-a {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(28px, -18px, 0); }
  100% { transform: translate3d(-16px, 22px, 0); }
}
@keyframes cursor-roam-b {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-32px, -20px, 0); }
  100% { transform: translate3d(18px, 14px, 0); }
}

@media (max-width: 1180px) {
  .floating-widget, .hero-cursor {
    display: none;
  }
}

/* ==========================================================================
   CHAPTER 2: STICKY WORD-BY-WORD QUOTE + DOT MATRIX (ONLINES.COM.AR)
   ========================================================================== */
.quote-scroll-section {
  --quote-scroll-distance: 1500px;
  position: relative;
  width: 100%;
  height: calc(100svh + var(--quote-scroll-distance));
  z-index: 2;
}
.quote-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow: hidden;
}

/* Interactive Dot Matrix (patron-puntos) */
.patron-puntos {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(25, 255, 82, 0.28) 1.25px, transparent 1.25px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle 420px at var(--quote-mouse-x, 50%) var(--quote-mouse-y, 50%), rgba(0,0,0,1), rgba(0,0,0,0.12) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 420px at var(--quote-mouse-x, 50%) var(--quote-mouse-y, 50%), rgba(0,0,0,1), rgba(0,0,0,0.12) 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.quote-container {
  position: relative;
  z-index: 2;
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}
.quote-eyebrow {
  display: inline-block;
  color: var(--brand-neon);
  margin-bottom: 20px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-neon);
  background: rgba(8, 35, 17, 0.6);
}
.quote-headline {
  font-size: clamp(1.85rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.quote-word {
  display: inline-block;
  margin-right: 0.22em;
  color: rgba(255, 255, 255, 0.13);
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}
.quote-word.is-lit {
  color: var(--text-primary);
}
.quote-word.is-neon.is-lit {
  color: var(--brand-neon);
  text-shadow: 0 0 26px rgba(25, 255, 82, 0.45);
}

/* Pain Story Cards under the Quote */
.pain-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
  text-align: left;
}
.pain-mini-card {
  background: rgba(8, 35, 17, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pain-mini-card.is-active-card {
  border-color: var(--border-neon);
  transform: translateY(-4px);
}
.pain-mini-card__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--level-3);
  margin-bottom: 6px;
}
.pain-mini-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.pain-mini-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

@media (max-width: 860px) {
  .quote-scroll-section {
    --quote-scroll-distance: 950px;
  }
  .pain-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }
  .pain-mini-card {
    padding: 12px 14px;
  }
}

/* ==========================================================================
   CHAPTER 3: THE FALSE SOLUTION (IA SOLTA VS PROFESSOR PARTICULAR)
   ========================================================================== */
.section-wrap {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 20px;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  color: var(--brand-neon);
  background: rgba(25, 255, 82, 0.08);
  border: 1px solid var(--border-neon);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

.trap-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trap-card {
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid var(--border-subtle);
  background: rgba(13, 21, 16, 0.75);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.trap-card--bad {
  border-color: rgba(255, 77, 77, 0.28);
  background: linear-gradient(160deg, rgba(40, 12, 12, 0.45), rgba(10, 14, 12, 0.85));
}
.trap-card--good {
  border-color: var(--border-neon);
  background: linear-gradient(160deg, rgba(8, 35, 17, 0.72), rgba(5, 14, 9, 0.9));
  box-shadow: 0 0 45px rgba(25, 255, 82, 0.12);
}
.trap-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.trap-card--bad .trap-card__badge {
  background: rgba(255, 77, 77, 0.15);
  color: var(--level-3);
}
.trap-card--good .trap-card__badge {
  background: rgba(25, 255, 82, 0.18);
  color: var(--brand-neon);
}
.trap-card h3 {
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.trap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trap-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-secondary);
}
.trap-list li strong {
  color: var(--text-primary);
}

@media (max-width: 820px) {
  .trap-comparison {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CHAPTER 4: MAIN STICKY SIMULATION (LIVE 4-STAGE GEMINI + 3 LEVELS)
   ========================================================================== */
.sim-scroll-track {
  --sim-scroll-distance: 2200px;
  position: relative;
  height: calc(100svh + var(--sim-scroll-distance));
  z-index: 2;
}
.sim-sticky-frame {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 68px 20px 24px;
  overflow: hidden;
}
.sim-workbench {
  max-width: 1160px;
  width: 100%;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Left Column: 4 Interactive Narrative Steps */
.sim-steps-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.sim-step-btn {
  text-align: left;
  background: rgba(13, 21, 16, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.sim-step-btn.is-active {
  background: rgba(8, 35, 17, 0.85);
  border-color: var(--brand-neon);
  color: var(--text-primary);
  box-shadow: 0 0 28px rgba(25, 255, 82, 0.16);
}
.sim-step-btn__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-neon);
  margin-bottom: 4px;
}
.sim-step-btn h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.sim-step-btn p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Right Column: Simulated Gemini Interface + 3 Levels Dashboard */
.sim-window {
  background: #070d09;
  border: 1px solid var(--border-neon);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(25, 255, 82, 0.1);
  min-height: 510px;
}
.sim-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(8, 35, 17, 0.75);
  border-bottom: 1px solid var(--border-subtle);
}
.sim-window__dots {
  display: flex;
  gap: 7px;
}
.sim-window__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.sim-window__dots span:first-child { background: #ff5f56; }
.sim-window__dots span:nth-child(2) { background: #ffbd2e; }
.sim-window__dots span:nth-child(3) { background: #27c93f; }

.sim-window__title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--brand-mint);
}
.sim-window__badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(25, 255, 82, 0.16);
  color: var(--brand-neon);
  padding: 3px 9px;
  border-radius: 999px;
}

.sim-window__stage-area {
  position: relative;
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* Stage Panels inside Gemini Simulator */
.sim-stage-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: fadeSlideIn 0.35s ease forwards;
}
.sim-stage-panel.is-visible {
  display: flex;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.pdf-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(25, 255, 82, 0.1);
  border: 1px solid var(--border-neon);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
}
.prompt-preview-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--brand-neon);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 5 Questions Strip */
.q-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.q-pill {
  padding: 10px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-align: center;
  border: 1px solid var(--border-subtle);
}
.q-pill--hit {
  background: rgba(25, 255, 82, 0.12);
  border-color: rgba(25, 255, 82, 0.4);
  color: var(--brand-neon);
}
.q-pill--miss {
  background: rgba(255, 77, 77, 0.14);
  border-color: rgba(255, 77, 77, 0.45);
  color: var(--level-3);
}

.ai-chat-bubble {
  background: rgba(8, 35, 17, 0.65);
  border: 1px solid rgba(25, 255, 82, 0.25);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.ai-chat-bubble strong {
  color: var(--text-primary);
}

/* Always-visible 3 Levels Meter at Bottom of Simulator */
.levels-dashboard {
  background: rgba(3, 5, 4, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 16px;
}
.levels-dashboard__title {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.levels-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.level-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
}
.level-card__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.level-card__topic {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.level-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.level-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 960px) {
  .sim-scroll-track {
    height: auto;
  }
  .sim-sticky-frame {
    position: relative;
    height: auto;
    padding: 40px 16px;
  }
  .sim-workbench {
    grid-template-columns: 1fr;
  }
  .levels-bars {
    grid-template-columns: 1fr;
  }
  .q-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   CHAPTER 5: FORGETTING CURVE EXPEDITION (RIDETORIO.COM INSPIRED)
   ========================================================================== */
.curve-box {
  background: rgba(8, 28, 14, 0.55);
  border: 1px solid var(--border-neon);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.curve-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.curve-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legend-line {
  width: 22px;
  height: 3px;
  border-radius: 2px;
}
.legend-line--neon {
  background: var(--brand-neon);
  box-shadow: 0 0 10px var(--brand-neon);
}
.legend-line--red {
  background: var(--level-3);
  border-bottom: 2px dashed var(--level-3);
}
.milestone-tabs {
  display: flex;
  gap: 8px;
}
.milestone-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.milestone-tab.is-active,
.milestone-tab:hover {
  background: var(--brand-neon);
  color: #030504;
  font-weight: 700;
  border-color: var(--brand-neon);
}

.curve-svg-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}
.curve-svg {
  width: 100%;
  height: auto;
  display: block;
}
.curve-path-neon {
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease;
}
.curve-callout {
  background: rgba(3, 5, 4, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   CHAPTER 6: BENTO GRID 3D STACK (CORE + 4 BONUSES)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.bento-card {
  grid-column: span 6;
  background: radial-gradient(600px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 0%), rgba(25, 255, 82, 0.11), transparent 40%), rgba(10, 22, 14, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neon);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}
.bento-card--hero {
  grid-column: span 12;
  background: linear-gradient(135deg, rgba(8, 35, 17, 0.92), rgba(5, 14, 9, 0.95));
  border-color: var(--border-neon);
}
.bento-card--third {
  grid-column: span 4;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(25, 255, 82, 0.14);
  color: var(--brand-neon);
  border: 1px solid rgba(25, 255, 82, 0.3);
}
.bento-card h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
}
.bento-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.bento-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.bento-bullets li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.bento-bullets li span {
  color: var(--brand-neon);
  font-weight: 700;
}

.big-counter {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand-neon);
  font-family: var(--font-mono);
  line-height: 1;
}

@media (max-width: 900px) {
  .bento-card,
  .bento-card--third {
    grid-column: span 12;
  }
}

/* ==========================================================================
   CHAPTER 7: PRICE ANCHOR COMPARATOR + GUARANTEE + FAQ
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}
.comparator-card,
.checkout-offer-card {
  background: rgba(10, 22, 14, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: clamp(24px, 3.5vw, 38px);
}
.checkout-offer-card {
  background: linear-gradient(160deg, #082311 0%, #040d07 100%);
  border: 2px solid var(--brand-neon);
  box-shadow: 0 0 60px rgba(25, 255, 82, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comp-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}
.comp-row__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.comp-row__track {
  height: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.comp-row__fill {
  height: 100%;
  border-radius: 999px;
}
.comp-row__fill--high {
  width: 100%;
  background: rgba(255, 77, 77, 0.55);
}
.comp-row__fill--mid {
  width: 48%;
  background: rgba(250, 204, 21, 0.65);
}
.comp-row__fill--low {
  width: 18%;
  background: var(--brand-neon);
  box-shadow: 0 0 14px var(--brand-neon);
}

.price-display {
  margin: 18px 0;
}
.price-display__old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-display__value {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--brand-neon);
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-display__sub {
  font-size: 0.88rem;
  color: var(--brand-mint);
  margin-top: 4px;
}

/* Guarantee Card */
.guarantee-banner {
  margin-top: 32px;
  background: rgba(8, 35, 17, 0.5);
  border: 1px solid var(--border-neon);
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 34px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}
.guarantee-seal {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(25, 255, 82, 0.14);
  border: 1.5px solid var(--brand-neon);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--brand-neon);
  font-size: 0.75rem;
  line-height: 1.1;
}
.guarantee-seal strong {
  font-size: 1.4rem;
}

@media (max-width: 880px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .guarantee-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .guarantee-seal {
    margin: 0 auto;
  }
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(10, 22, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] {
  border-color: var(--border-neon);
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  font-family: var(--font-mono);
  color: var(--brand-neon);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Mobile Floating Bottom CTA Bar */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(3, 8, 5, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-neon);
  padding: 10px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-sticky-cta__info {
  font-size: 0.78rem;
  line-height: 1.2;
}
.mobile-sticky-cta__info strong {
  color: var(--brand-neon);
  font-size: 1rem;
  display: block;
}
.mobile-sticky-cta .btn-header {
  padding: 11px 18px;
  font-size: 0.86rem;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

/* Reduced Motion Accessibility Guardrail (from scroll-experience skill) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .quote-word {
    color: var(--text-primary) !important;
  }
}

/* Requested refinements: keep the existing composition and content. */
@media (min-width: 1181px) {
  .hero-canvas { padding-top: 158px; padding-bottom: 168px; }
  .floating-widget--pdf, .floating-widget--comment { top: 24px; }
  .floating-widget--code, .floating-widget--levels { bottom: 24px; }
}
/* A green light sweeps across every purchase button without covering its label. */
.btn-primary, .btn-header { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-header::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(186,255,199,.12) 40%, rgba(211,255,219,.65) 49%, rgba(118,255,151,.22) 58%, transparent 70%);
  transform: translateX(-120%);
  animation: cta-green-shine 3.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-green-shine {
  0%, 15% { transform: translateX(-120%); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translateX(120%); opacity: 1; }
  71%, 100% { transform: translateX(120%); opacity: 0; }
}
.trust-pill {
  animation: trust-highlight 9s ease-in-out infinite;
}
.trust-pill:nth-child(2) { animation-delay: -6s; }
.trust-pill:nth-child(3) { animation-delay: -3s; }
@keyframes trust-highlight {
  0%, 32%, 100% { transform: translateY(0); border-color: var(--border-subtle); box-shadow: 0 0 0 rgba(25,255,82,0); }
  10%, 22% { transform: translateY(-3px); border-color: rgba(25,255,82,.6); box-shadow: 0 0 18px rgba(25,255,82,.13); }
}
@media (max-width: 768px) {
  .top-urgency, .site-header .header-right { display: none; }
  .site-header { position: relative; }
  .trust-pills { flex-direction: column; align-items: stretch; gap: 12px; }
  .trust-pill { width: 100%; justify-content: center; padding: 12px 14px; }
  .mobile-sticky-cta { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary::after, .btn-header::after { display: none; }
  .trust-pill { animation: none; }
}
