/* ============================================================
   NIGHTGUARD EA — style.css  (Cinematic Edition)
   Dark luxury cyberpunk · GSAP/Lenis · Premium interactive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@700&family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg-primary:    #04060f;
  --bg-card:       #080d1c;
  --bg-elevated:   #0b1022;
  --gold:          #c9a84c;
  --gold-light:    #e8c56a;
  --gold-dim:      #8a6e2f;
  --gold-glow:     rgba(201,168,76,0.12);
  --gold-glow-md:  rgba(201,168,76,0.25);
  --gold-glow-lg:  rgba(201,168,76,0.4);
  --navy:          #0f1a35;
  --navy-light:    #1a2a50;
  --white:         #f1f5f9;
  --off-white:     #cbd5e1;
  --muted:         #4a5568;
  --muted-light:   #64748b;
  --border:        #141e36;
  --border-light:  #1e2d50;
  --green:         #4ade80;
  --green-glow:    rgba(74,222,128,0.15);
  --red:           #f87171;
  --amber:         #fbbf24;

  --font-heading:  'Rajdhani', 'Orbitron', system-ui, sans-serif;
  --font-display:  'Orbitron', 'Rajdhani', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-gold-sm: 0 0 16px rgba(201,168,76,0.18);
  --shadow-gold:    0 0 40px rgba(201,168,76,0.22), 0 0 12px rgba(201,168,76,0.1);
  --shadow-gold-lg: 0 0 80px rgba(201,168,76,0.3), 0 0 30px rgba(201,168,76,0.15);
  --shadow-card:    0 8px 48px rgba(0,0,0,0.7);
  --shadow-deep:    0 24px 80px rgba(0,0,0,0.9);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--bg-primary);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Custom Cursor ──────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(201,168,76,0.5);
  transition: width 0.25s var(--ease-out-quint),
              height 0.25s var(--ease-out-quint),
              background 0.25s,
              opacity 0.25s;
  will-change: transform;
}
.cursor-ring { display: none !important; }
.cursor-dot.hover  { width: 14px; height: 14px; background: var(--gold-light); }
.cursor-dot.click  { width: 6px; height: 6px; }
.cursor-dot.hidden { opacity: 0; }

/* ── Utility ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}
.gold-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.split-reveal { overflow: hidden; }
.split-reveal-inner {
  display: block;
  transform: translateY(105%);
  will-change: transform;
}

/* ── Glow Orbs (ambient lighting) ───────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.35;
  will-change: transform;
}
.orb-gold  { background: radial-gradient(circle, rgba(201,168,76,0.6), transparent); }
.orb-navy  { background: radial-gradient(circle, rgba(26,42,80,0.8), transparent); }
.orb-blue  { background: radial-gradient(circle, rgba(30,60,120,0.6), transparent); }

/* ── Glass panels ───────────────────────────────────────── */
.glass {
  background: rgba(8,13,28,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.05);
}
.glass-gold {
  background: rgba(201,168,76,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201,168,76,0.15);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  will-change: transform;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #04060f;
  box-shadow: 0 0 24px rgba(201,168,76,0.35), 0 4px 12px rgba(0,0,0,0.4);
}
.btn-gold:hover {
  box-shadow: 0 0 48px rgba(201,168,76,0.6), 0 8px 24px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.5);
  box-shadow: inset 0 0 0 0 var(--gold);
}
.btn-outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold-sm);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--off-white);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: rgba(201,168,76,0.4);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ── NAV ────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
}
#main-nav.scrolled {
  background: rgba(4,6,15,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  padding: 8px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  line-height: 1;
}
.nav-logo-ea {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--muted-light);
  line-height: 1;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-quint);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 160px 0 140px;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  opacity: 0.2;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -50px;
  opacity: 0.15;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 50%;
  opacity: 0.1;
}
.hero-grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.04), transparent);
  height: 1px;
  width: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.hero-content { max-width: 900px; width: 100%; text-align: center; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  opacity: 1;
  transform: translateY(16px);
  pointer-events: auto;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero-heading-line { display: block; overflow: hidden; }
.hero-heading-line-inner {
  display: block;
  transform: translateY(105%);
  will-change: transform;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted-light);
  line-height: 1.75;
  margin: 0 auto 40px;
  max-width: 560px;
  opacity: 1;
  pointer-events: auto;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
  opacity: 1;
  transform: translateY(16px);
  pointer-events: auto;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  opacity: 1;
  pointer-events: auto;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ── EA Demo Section ─────────────────────────────────────── */
#ea-demo { padding: 80px 0; }
.ea-demo-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.ea-demo-sub {
  font-size: 1.05rem;
  color: var(--muted-light);
  line-height: 1.75;
  margin: 20px 0 44px;
}
.ea-demo-tags {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.ea-demo-tag {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  flex: 1;
  min-width: 180px;
  max-width: 230px;
}
.ea-demo-tag-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.ea-demo-tag-title {
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 4px;
}
.ea-demo-tag-desc {
  font-size: 0.73rem;
  color: var(--muted-light);
  line-height: 1.5;
}
.ea-demo-panel-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ── EA Panel Mockup ────────────────────────────────────── */
.ea-panel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 680px;
}
.ea-panel-wrap .float-elem {
  animation: float-gentle 6s ease-in-out infinite;
  will-change: transform;
}
.ea-panel-glow {
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(201,168,76,0.14) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}
.ea-panel {
  background: rgba(8,13,28,0.92);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03),
              0 32px 80px rgba(0,0,0,0.8),
              0 0 40px rgba(201,168,76,0.1);
  backdrop-filter: blur(12px);
}
.ea-panel-titlebar {
  background: rgba(11,16,34,0.95);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ea-panel-dots { display: flex; gap: 6px; }
.ea-dot { width: 10px; height: 10px; border-radius: 50%; }
.ea-dot-r { background: #f87171; opacity: 0.8; }
.ea-dot-y { background: var(--amber); opacity: 0.8; }
.ea-dot-g { background: var(--green); opacity: 0.8; }
.ea-panel-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.ea-panel-body { padding: 20px; }
.ea-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.ea-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.ea-status-badge.active {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: var(--green);
}
.ea-status-badge.active::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
.ea-version { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); }
.ea-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.ea-info-cell {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.ea-info-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.ea-info-value {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
}
/* Editable time inputs — styled to match ea-info-value */
.ea-info-input {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
  caret-color: var(--gold);
}
.ea-info-input:focus { color: var(--gold-light); }
.ea-info-input::-webkit-calendar-picker-indicator {
  filter: invert(75%) sepia(30%) saturate(500%) hue-rotate(5deg);
  cursor: pointer;
  opacity: 0.55;
  margin-left: 2px;
}
.ea-info-input::-webkit-datetime-edit { padding: 0; }
.ea-info-input::-webkit-datetime-edit-fields-wrapper { padding: 0; }
/* Free Trial button below the EA card */
.hero-trial-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ea-positions-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ea-positions-header {
  display: grid;
  grid-template-columns: 2fr 1.8fr 1.8fr 1.6fr;
  padding: 7px 12px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.ea-positions-header span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ea-position-row {
  display: grid;
  grid-template-columns: 2fr 1.8fr 1.8fr 1.6fr;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(20,30,54,0.5);
  transition: background 0.2s;
}
.ea-position-row:last-child { border-bottom: none; }
.ea-position-row span { font-family: var(--font-mono); font-size: 0.72rem; }
.ea-sym { color: var(--white); font-weight: 600; }
.ea-sl  { color: var(--red); }
.ea-tp  { color: var(--green); }
.ea-pl  { font-weight: 600; }
.ea-pl.pos { color: var(--green); }
.ea-pl.neg { color: var(--red); }
.ea-panel-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ea-spread-label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--muted); }
.ea-spread-val   { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; color: var(--amber); }

/* ── EA Panel — Simulation additions ──────────────────── */
.ea-status-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.ea-local-time {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  opacity: 0.72;
}
.ea-spreadhour-hint {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  color: var(--gold);
  opacity: 0.55;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  padding: 2px 0 4px;
}
/* PROTECTING badge — amber variant */
.ea-status-badge.protecting {
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.35);
  color: var(--amber);
}
.ea-status-badge.protecting::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
/* Sim countdown overlay — covers the positions table */
.ea-sim-countdown-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(8,13,28,0.94);
  align-items: center;
  justify-content: center;
  z-index: 5;
  border-radius: var(--radius-sm);
}
.ea-sim-countdown-overlay.visible { display: flex; }
.ea-sim-countdown-overlay span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.7;
}
/* Restore flash bar */
.ea-sim-flash-bar {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--green);
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.22);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ea-sim-flash-bar.visible { display: block; }
/* Heartbeat keyframe */
@keyframes heartbeat {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(201,168,76,0.4); }
  50%       { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}
/* Simulation button */
.ea-sim-btn {
  width: 100%;
  margin-top: 10px;
  padding: 8px 16px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.32);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  animation: heartbeat 2.2s ease-in-out infinite;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.ea-sim-btn:hover:not(:disabled) {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.6);
}
.ea-sim-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  animation: none;
}
/* Running state — replaces the disabled grey-out with an active indicator */
.ea-sim-btn.sim-running {
  opacity: 1;
  animation: none;
  border-color: rgba(201,168,76,0.6);
  background: rgba(201,168,76,0.1);
  cursor: default;
}
/* Animated trailing dots on the label text */
@keyframes sim-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}
.ea-sim-btn.sim-running::after {
  content: '';
  display: inline-block;
  animation: sim-dots 1.2s steps(1, end) infinite;
  min-width: 1.2em;
  text-align: left;
}

/* ── PROBLEM SECTION ────────────────────────────────────── */
#problem {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.problem-orb {
  width: 500px; height: 500px;
  top: 50%; right: -150px;
  transform: translateY(-50%);
  opacity: 0.12;
}
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.spread-chart-wrap {
  background: rgba(8,13,28,0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.spread-chart-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}
.spread-chart-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
}
.spread-chart-svg { width: 100%; height: 160px; }
.spread-chart-legend { display: flex; gap: 16px; margin-top: 14px; }
.spread-chart-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
}
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.problem-points { display: flex; flex-direction: column; gap: 18px; }
.problem-point {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: rgba(8,13,28,0.7);
  border: 1px solid rgba(248,113,113,0.12);
  border-radius: var(--radius-md);
  transition: var(--transition);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.problem-point::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.problem-point:hover { border-color: rgba(248,113,113,0.3); transform: translateX(6px); }
.problem-point:hover::before { opacity: 1; }
.problem-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.problem-point-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 5px;
}
.problem-point-desc { font-size: 0.84rem; color: var(--muted-light); line-height: 1.65; }

/* ── SOLUTION SECTION ───────────────────────────────────── */
#solution {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.solution-header { text-align: center; margin-bottom: 80px; }
.solution-sub { margin-top: 18px; color: var(--muted-light); font-size: 1rem; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 56px;
}
.timeline-connector {
  position: absolute;
  top: 35px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), rgba(201,168,76,0.1));
  overflow: hidden;
}
.timeline-connector-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.timeline-icon {
  width: 70px; height: 70px;
  background: rgba(8,13,28,0.9);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 24px rgba(201,168,76,0.15);
  transition: var(--transition);
}
.timeline-step:hover .timeline-icon {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(201,168,76,0.35);
}
.timeline-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.timeline-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.timeline-desc { font-size: 0.78rem; color: var(--muted-light); line-height: 1.55; }
.solution-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.solution-note span { color: var(--gold); }

/* ── PINNED SHOWCASE SECTION ────────────────────────────── */
.showcase-outer {
  position: relative;
  /* height set by JS based on feature count */
}
.showcase-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.showcase-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.showcase-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.showcase-ambient {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: background 1.2s ease;
  will-change: background;
}
.showcase-header {
  position: absolute;
  top: 32px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
}
.showcase-label-top {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}
.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}
.showcase-left { position: relative; }
.showcase-panel-outer {
  position: relative;
}
.showcase-panel-outer::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* EA panel inside showcase — separate states */
.sc-panel {
  background: rgba(5, 8, 18, 0.95);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), var(--shadow-deep), 0 0 60px rgba(201,168,76,0.12);
}
.sc-panel-titlebar {
  background: rgba(11,16,34,0.98);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc-panel-body { padding: 20px; }
.sc-panel-row {
  display: grid;
  grid-template-columns: 2fr 1.8fr 1.8fr 1.6fr;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(20,30,54,0.4);
  transition: background 0.3s;
  position: relative;
}
.sc-panel-row:last-child { border-bottom: none; }
.sc-panel-row span { font-family: var(--font-mono); font-size: 0.73rem; }
.sc-sym { color: var(--white); font-weight: 600; }
.sc-sl  { color: var(--red); position: relative; }
.sc-tp  { color: var(--green); position: relative; }
.sc-pl  { font-weight: 600; }
.sc-pl.pos { color: var(--green); }
.sc-pl.neg { color: var(--red); }

/* State: removed — SL/TP show strike-through */
.sc-panel.state-removed .sc-sl,
.sc-panel.state-removed .sc-tp {
  opacity: 0.3;
  text-decoration: line-through;
  text-decoration-color: var(--red);
}
.sc-panel.state-removed .sc-sl::after {
  content: '—';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.65rem;
  opacity: 0;
}

/* State: monitoring */
.sc-panel.state-monitoring .sc-panel-row { animation: row-pulse 2s ease-in-out infinite; }
.sc-panel.state-monitoring .sc-panel-row:nth-child(2) { animation-delay: 0.3s; }
.sc-panel.state-monitoring .sc-panel-row:nth-child(3) { animation-delay: 0.6s; }

/* State: alert */
.sc-panel.state-alert { border-color: rgba(251,191,36,0.5); box-shadow: 0 0 40px rgba(251,191,36,0.2); }
.sc-panel.state-restored { border-color: rgba(74,222,128,0.4); box-shadow: 0 0 40px rgba(74,222,128,0.15); }

/* (overlay badges removed — SL/TP text is swapped to "—" via JS instead) */
.sc-status-bar {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.5s, background 0.5s;
}
.sc-status-bar.alert { border-color: rgba(251,191,36,0.4); background: rgba(251,191,36,0.04); }
.sc-status-bar.ok    { border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.04); }
.sc-status-label { color: var(--muted); }
.sc-status-value { color: var(--gold); font-weight: 600; }

/* Showcase right content */
.showcase-right { position: relative; }
.showcase-step-counter {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
/* Fixed-height clip box — prevents steps bleeding into each other */
.showcase-steps-wrap {
  position: relative;
  height: 400px;        /* tall enough for longest step */
  overflow: hidden;
}
.sc-step {
  position: absolute;
  top: 0; left: 0; right: 0;
  /* NO CSS transition — GSAP owns all opacity/transform changes */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
}
.sc-step.active {
  /* active class used only for mobile fallback */
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sc-step-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(201,168,76,0.07);
  line-height: 1;
  margin-bottom: -16px;
  letter-spacing: -0.05em;
  display: block;
  user-select: none;
}
.sc-step-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 12px;
}
.sc-step-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.sc-step-desc {
  font-size: 0.95rem;
  color: var(--muted-light);
  line-height: 1.75;
  margin-bottom: 24px;
}
.sc-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sc-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 100px;
  color: var(--gold);
  text-transform: uppercase;
}

/* Progress dots */
.sc-progress {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 40px;
}
.sc-progress-dot {
  width: 28px; height: 3px;
  background: var(--border-light);
  border-radius: 2px;
  transition: background 0.4s, width 0.4s;
}
.sc-progress-dot.active {
  width: 40px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 8px rgba(201,168,76,0.5);
}

/* Scroll hint */
.showcase-scroll-hint {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
}
.sc-scroll-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.sc-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ── FEATURES SECTION ───────────────────────────────────── */
#features {
  padding: 80px 0;
  position: relative;
}
.features-header { margin-bottom: 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: rgba(8,13,28,0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  cursor: none;
  will-change: transform;
  transform-style: preserve-3d;
  transform: perspective(1000px);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201,168,76,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 0 40px rgba(201,168,76,0.1), 0 20px 40px rgba(0,0,0,0.5);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after  { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
  transition: box-shadow 0.3s;
}
.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
}
.feature-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.feature-desc { font-size: 0.84rem; color: var(--muted-light); line-height: 1.68; }

/* ── HOW IT WORKS (LOG) ─────────────────────────────────── */
#how-it-works {
  padding: 80px 0 50px;
  position: relative;
  overflow: hidden;
}
.how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.terminal-window {
  background: #020408;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 30px rgba(201,168,76,0.06);
  position: relative;
}
.terminal-window::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}
.terminal-titlebar {
  background: rgba(11,16,34,0.98);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  flex: 1;
  text-align: center;
}
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.95;
  overflow-x: auto;
}
.log-line { white-space: nowrap; opacity: 0; transform: translateX(-8px); }
.log-line.visible { opacity: 1; transform: none; transition: opacity 0.3s, transform 0.3s; }
.log-time   { color: #374151; }
.log-ok     { color: var(--green); }
.log-warn   { color: var(--amber); }
.log-danger { color: var(--red); }
.log-info   { color: var(--gold); }
.log-dim    { color: #2d3748; }
.log-normal { color: #64748b; }
.how-content { padding-top: 8px; }
.how-steps { display: flex; flex-direction: column; gap: 30px; margin-top: 36px; }
.how-step { display: flex; gap: 18px; }
.how-step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}
.how-step-text h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 5px;
}
.how-step-text p { font-size: 0.84rem; color: var(--muted-light); line-height: 1.65; }

/* ── STATS SECTION ──────────────────────────────────────── */
#stats {
  padding: 48px 0;
  background: linear-gradient(180deg, transparent, rgba(11,16,34,0.8), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stats-orb {
  width: 500px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  filter: blur(80px);
  background: radial-gradient(ellipse, rgba(201,168,76,0.6), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.stat-item { position: relative; }
.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-light);
}
.stat-item:last-child::after { display: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; letter-spacing: 0.05em; }
.testimonial-block {
  background: rgba(8,13,28,0.8);
  border: 1px solid var(--border-light);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 2;
  max-width: 760px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}
.t-header { color: var(--muted); margin-bottom: 8px; }
.t-body    { color: #64748b; }
.t-highlight { color: var(--green); }
.t-author  { color: var(--gold); margin-top: 8px; }

/* ── PRICING SECTION ────────────────────────────────────── */
#pricing {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.pricing-orb {
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.07;
}
.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-sub    { margin-top: 18px; color: var(--muted-light); font-size: 1rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}
.pricing-card {
  background: rgba(8,13,28,0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(16px);
}
.pricing-card:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 0 60px rgba(201,168,76,0.08), var(--shadow-card);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 0 60px rgba(201,168,76,0.15), var(--shadow-card);
  background: linear-gradient(160deg, rgba(26,42,64,0.5), rgba(8,13,28,0.95));
}
.pricing-card.featured:hover {
  box-shadow: 0 0 80px rgba(201,168,76,0.25), var(--shadow-deep);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #04060f;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
}
.pricing-plan {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pricing-price {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-currency {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  align-self: flex-start;
  margin-top: 10px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.price-period { font-size: 0.85rem; color: var(--muted); }
.pricing-divider { height: 1px; background: var(--border-light); margin: 26px 0; }
.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
  margin-bottom: 36px;
}
.pricing-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--off-white);
  line-height: 1.45;
}
.pricing-feature-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pricing-btn { width: 100%; justify-content: center; }
.pricing-reassurance {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--muted-light);
}

/* ── FAQ SECTION ────────────────────────────────────────── */
#faq {
  padding: 80px 0;
  position: relative;
}
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: rgba(8,13,28,0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
  backdrop-filter: blur(8px);
}
.faq-item.open { border-color: rgba(201,168,76,0.3); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-chevron { flex-shrink: 0; color: var(--gold); transition: transform 0.35s var(--ease-out-quint); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out-quint); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 26px 22px; font-size: 0.9rem; color: var(--muted-light); line-height: 1.75; }

/* ── FOOTER ─────────────────────────────────────────────── */
#footer {
  background: rgba(6,9,18,0.95);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centre logo, tagline & desc within the left column */
  text-align: center;
}
.footer-logo { display: flex; justify-content: center; margin-bottom: 10px; }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-brand-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.84rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.76rem; color: var(--muted); }
.footer-legal { font-family: var(--font-mono); font-size: 0.65rem; color: #1e2d50; }

/* ── SUCCESS / CANCEL PAGES ─────────────────────────────── */
.page-centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
}
.page-centered::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(201,168,76,0.05), transparent);
  pointer-events: none;
}
.page-card {
  background: rgba(8,13,28,0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}
.page-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
}
.success-icon {
  width: 80px; height: 80px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 0 40px rgba(74,222,128,0.15);
  animation: success-pop 0.6s var(--ease-out-expo);
}
.cancel-icon {
  width: 80px; height: 80px;
  background: rgba(100,116,139,0.08);
  border: 1px solid rgba(100,116,139,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}
.page-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.page-sub { font-size: 1rem; color: var(--muted-light); line-height: 1.75; margin-bottom: 40px; }
.next-steps {
  text-align: left;
  background: rgba(11,16,34,0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 36px;
}
.next-steps-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.next-step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.next-step:last-child { margin-bottom: 0; }
.next-step-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
}
.next-step-text { font-size: 0.875rem; color: var(--muted-light); line-height: 1.55; padding-top: 4px; }
.page-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Standalone Pricing Page ────────────────────────────── */
.pricing-page-hero {
  padding: 150px 0 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.pricing-page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06), transparent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}
.pricing-page-hero .section-heading { font-size: clamp(2.2rem, 4vw, 3rem); position: relative; z-index: 1; }
.pricing-page-hero p {
  position: relative; z-index: 1;
  margin-top: 18px;
  color: var(--muted-light);
  font-size: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── ANIMATIONS & KEYFRAMES ─────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px currentColor; }
  50% { opacity: 0.4; box-shadow: 0 0 2px currentColor; }
}
@keyframes success-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  70%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@keyframes row-pulse {
  0%, 100% { background: transparent; }
  50%       { background: rgba(201,168,76,0.04); }
}
@keyframes checkmark-draw {
  0%   { stroke-dashoffset: 50; }
  100% { stroke-dashoffset: 0; }
}
.checkmark-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: checkmark-draw 0.5s ease 0.3s forwards;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-brand-desc { max-width: 100%; }
  .showcase-layout { gap: 48px; }
}

@media (max-width: 768px) {
  html { overflow-x: hidden; }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  a, button { cursor: pointer; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 70px;
    background: rgba(4,6,15,0.98);
    padding: 48px 24px;
    gap: 28px;
    align-items: center;
    backdrop-filter: blur(24px);
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.3rem; }

  .hero-inner { gap: 32px; }
  .problem-inner { grid-template-columns: 1fr; gap: 48px; }
  .how-inner     { grid-template-columns: 1fr; gap: 48px; }

  /* Showcase mobile — horizontal scroll-snap carousel */
  .showcase-outer { min-height: unset !important; }
  .showcase-sticky {
    position: static;
    height: auto;
    overflow: visible;
    padding: 60px 0 40px;
  }
  .showcase-layout { grid-template-columns: 1fr; gap: 32px; }
  /* Fix: HTML uses .showcase-panel-outer (not .sc-panel-outer) */
  .showcase-panel-outer { order: -1; }

  /* min-width:0 is CRITICAL on grid cells — grid items default to
     min-width:auto which lets them grow to fit content, blowing out the page.
     overflow:hidden is belt-and-suspenders: clips anything that escapes the cell. */
  .showcase-left  { min-width: 0; overflow: hidden; }
  .showcase-right { min-width: 0; overflow: hidden; }

  /* ── Carousel track — inner-track clip approach ──
     The outer wrap is a simple overflow:hidden clip box whose layout width is
     always 100% of its parent — it never contributes extra width to the page.
     JS creates an inner flex-row "track" that contains the slides and translates
     IT (not the wrap) via GSAP, so slides genuinely slide in from the right.
     touch-action:pan-y lets the browser handle vertical scroll natively. */
  .showcase-steps-wrap {
    position: relative;
    overflow: hidden;     /* clip the inner track; the wrap itself stays at 100% */
    width: 100%;
    height: auto;
    touch-action: pan-y;  /* browser owns vertical; JS owns horizontal */
  }

  /* ── Every step is a carousel slide ── */
  .sc-step {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    transform: none !important;    /* clear any stray GSAP step transforms */
    pointer-events: auto !important;
    flex-direction: column;
    flex-shrink: 0;
    width: calc(85vw - 32px); /* slightly narrower than grid cell → peek of next slide */
    min-width: 260px;
    max-width: 420px;
    overflow: hidden;
    box-sizing: border-box;
  }
  /* Every direct child stays within card bounds */
  .sc-step > * {
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }
  /* Tags row: wrap tightly so long tags don't push card wider */
  .sc-step .sc-step-tags {
    flex-wrap: wrap;
    overflow: hidden;
    gap: 6px;
  }
  /* Deep child constraints */
  .sc-step p,
  .sc-step h3,
  .sc-step pre,
  .sc-step table,
  .sc-step img { max-width: 100%; overflow-x: auto; box-sizing: border-box; }
  /* no special override needed for .sc-step.active on mobile */
  .sc-step.active {}

  /* ── EA Panel: confined to showcase column width on mobile ── */
  .showcase-panel-outer {
    max-width: 100%;
    overflow: hidden;
  }
  .sc-panel {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  /* Panel position table: scrollable internally rather than breaking layout */
  .sc-panel .ea-positions-header,
  .sc-panel .sc-panel-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: auto;
    font-size: 0.68rem;    /* tighter on mobile so 4 cols fit */
  }

  /* ── Dots: visible and centred ── */
  .sc-progress {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  .showcase-scroll-hint { display: none; }
  .showcase-ambient    { display: none; }

  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline-connector { display: none; }
  .timeline-step { flex-direction: row; text-align: left; gap: 20px; }
  .timeline-icon { margin-bottom: 0; flex-shrink: 0; width: 54px; height: 54px; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-reassurance { flex-direction: column; align-items: center; gap: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-card { padding: 40px 24px; }

  /* ── EA Panel mobile fixes (issues 1–5) ── */

  /* Fix 5: panel fills its container, never overflows, no side margin */
  .ea-panel-wrap { width: 100%; max-width: 100%; margin: 0; }
  .ea-panel {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .ea-panel-body { padding: 14px; box-sizing: border-box; }

  /* Fix 1 (hero panel): title truncates with ellipsis instead of wrapping */
  .ea-panel-titlebar { overflow: hidden; }
  .ea-panel-title {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;  /* required for flex truncation */
    flex: 1;
  }

  /* Fix 1 (showcase panel): same truncation treatment */
  .sc-panel-titlebar { overflow: hidden; }

  /* Fix 3: spreadhour hint — smaller, normal wrapping (not forced one-line) */
  .ea-spreadhour-hint {
    font-size: 10px;
    line-height: 1.3;
    white-space: normal;
  }

  /* Fix 4: simulation button — fully visible, easy to tap */
  .ea-sim-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 12px;
    margin: 8px 0;
    box-sizing: border-box;
    visibility: visible;
    opacity: 1;
  }

  /* ── Issue 6: "How It Works" terminal panel ── */
  .terminal-window {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .terminal-body {
    overflow-x: auto;
    font-size: 0.6rem;
    padding: 14px 12px;
  }
  /* Log lines: allow wrapping on narrow screens.
     Also force-visible: the base CSS sets opacity:0 + translateX(-8px) and the
     GSAP typewriter animation normally reveals them. On mobile the typewriter is
     skipped (performance), so we reset them to visible here instead. */
  .log-line {
    white-space: pre-wrap;
    word-break: break-all;
    opacity: 1 !important;
    transform: none !important;
  }

  /* ── Issue 7: carousel step text and tags ── */
  .sc-step-desc {
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    padding-right: 8px;
  }
  .sc-step-tags {
    flex-wrap: wrap;
    gap: 6px;
    overflow: hidden;
  }
  .sc-tag {
    font-size: 10px;
    padding: 3px 8px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  /* Scale logos down on small phones */
  .nav-logo-img    { height: 64px; max-width: 320px; }
  .footer-logo-img { height: 150px; }

  .hero-buttons { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
  .timeline-step { flex-direction: column; align-items: center; text-align: center; }
  .sc-step-num { font-size: 3rem; }
  .sc-step-title { font-size: 1.5rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   NEW FEATURES — Cinematic Edition 2
   ============================================================ */

/* ── Logo Images ────────────────────────────────────────── */
.nav-logo-img {
  height: 100px;
  width: auto;
  max-width: 480px;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 200px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}

/* ── Section Gold Sweep Line ────────────────────────────── */
.section-sweep {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}
.section-sweep-line {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 45%, var(--gold-light) 50%, var(--gold) 55%, transparent 100%);
  transform: translateX(-101%);
  will-change: transform;
}

/* ── Hero Animated Candlestick Chart ────────────────────── */
.hero-candles {
  position: absolute;
  bottom: 0; right: 0;
  width: 48%;
  height: 65%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 0 20px 0 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}
.hero-candle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
}
.hero-candle-wick {
  width: 1px;
  flex-shrink: 0;
  will-change: height;
}
.hero-candle-body {
  width: 100%;
  min-width: 4px;
  border-radius: 1px 1px 0 0;
  flex-shrink: 0;
  animation: candle-breathe 7s ease-in-out infinite;
  will-change: transform;
}
.hero-candle:nth-child(2n) .hero-candle-body { animation-delay: -1.2s; }
.hero-candle:nth-child(3n) .hero-candle-body { animation-delay: -2.8s; }
.hero-candle:nth-child(4n) .hero-candle-body { animation-delay: -0.5s; }
.hero-candle:nth-child(5n) .hero-candle-body { animation-delay: -3.5s; }

@keyframes candle-breathe {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.88); }
}

/* ── Sticky Bottom CTA Bar ──────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(6, 9, 20, 0.97);
  border-top: 1px solid rgba(201,168,76,0.25);
  padding: 14px 72px 14px 32px; /* right padding reserves space for the × button */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 800;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-wrap: wrap;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text {
  font-size: 0.9rem;
  color: var(--off-white);
  flex: 1;
  min-width: 200px;
  text-align: right;
}
.sticky-cta-text strong { color: var(--gold); }
.sticky-cta-close {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1;
  padding: 6px;
  transition: color 0.2s;
}
.sticky-cta-close:hover { color: var(--white); }
@media (max-width: 600px) {
  .sticky-cta { padding: 12px 48px 12px 16px; gap: 12px; }
  .sticky-cta-text { text-align: center; font-size: 0.82rem; flex: 100%; }
  .sticky-cta-close { top: 8px; transform: none; }
}

/* ── Comparison Table Section ───────────────────────────── */
.comparison-section {
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.comparison-header { text-align: center; margin-bottom: 56px; }
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(8,13,28,0.9);
  min-width: 560px;
}
.comparison-table thead tr {
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.comparison-table th {
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  text-align: center;
}
.comparison-table th:first-child { text-align: left; padding-left: 28px; }
.comparison-table th.col-ng {
  color: var(--gold);
  background: rgba(201,168,76,0.04);
  border-left: 1px solid rgba(201,168,76,0.15);
  border-right: 1px solid rgba(201,168,76,0.15);
}
.comparison-table td {
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--muted-light);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child {
  text-align: left;
  padding-left: 28px;
  color: var(--off-white);
  font-weight: 500;
}
.comparison-table td.col-ng {
  color: var(--green);
  font-weight: 700;
  background: rgba(201,168,76,0.03);
  border-left: 1px solid rgba(201,168,76,0.1);
  border-right: 1px solid rgba(201,168,76,0.1);
  font-size: 1rem;
}
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.015); }
.comparison-table tbody tr:hover td.col-ng { background: rgba(201,168,76,0.05); }
.ct-no  { color: var(--red); font-size: 1rem; }
.ct-partial { color: var(--amber); font-size: 0.8rem; }

/* ── Pricing savings callout ────────────────────────────── */
.pricing-savings {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--green);
  letter-spacing: 0.06em;
  margin-top: 10px;
  margin-bottom: 4px;
}

/* ── Terminal body scroll ───────────────────────────────── */
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.95;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 420px;
  scroll-behavior: smooth;
}

/* ============================================================
   MEDIEVAL FANTASY THEME
   Atmospheric overlay — headings, textures, borders, canvas
   ============================================================ */

/* ── Cinzel Heading Font Override ───────────────────────── */
:root {
  --font-heading: 'Cinzel', 'Rajdhani', 'Orbitron', system-ui, serif;
  --font-display: 'Cinzel Decorative', 'Cinzel', 'Orbitron', system-ui, serif;
}

/* Apply Cinzel to all heading-class elements — body/mono unchanged */
.section-heading,
.hero-heading,
.sc-step-title,
.feature-name,
.timeline-title,
.problem-point-title,
.how-step-text h4,
.next-steps-title,
.footer-col-title,
.page-title,
h1, h2, h3 {
  font-family: 'Cinzel', 'Rajdhani', system-ui, serif;
}

/* Plan names — commanding title presence */
.pricing-plan {
  font-family: 'Cinzel', system-ui, serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #c9a84c !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(201,168,76,0.55),
    0 0 60px rgba(201,168,76,0.22);
  margin-bottom: 12px !important;
}

/* Badge — gilded label */
.pricing-badge {
  font-family: 'Cinzel', system-ui, serif;
  letter-spacing: 0.22em;
}

/* Nav links — Cinzel for atmosphere, keep readable */
.nav-links a {
  font-family: 'Cinzel', 'Rajdhani', system-ui, serif;
  letter-spacing: 0.14em;
}

/* ── Stone Texture Section Backgrounds ──────────────────── */
/* Warm amber-tinted vignettes on alternating dark sections  */
#problem,
#solution,
#features,
#how-it-works,
.comparison-section,
#faq {
  background-image:
    radial-gradient(ellipse 200% 55% at 0% 100%, rgba(40,28,14,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 200% 55% at 100% 0%,  rgba(32,20,8,0.18)  0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 50%,   rgba(20,15,8,0.1)   0%, transparent 70%);
}

/* Stats gets a complementary warm undertone */
#stats {
  background-image:
    linear-gradient(180deg, transparent, rgba(28,20,10,0.25), transparent),
    linear-gradient(180deg, transparent, rgba(11,16,34,0.8), transparent);
}

/* ── Medieval Section Divider Ornaments ─────────────────── */
/* Diamond marker centred on each section's top sweep line  */
.section-sweep::after {
  content: '◆';
  position: absolute;
  top: -0.48em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.52rem;
  color: rgba(201,168,76,0.5);
  pointer-events: none;
  z-index: 6;
  line-height: 1;
}

/* ── Worn / Aged Border Effect — Pricing Cards ──────────── */
/* Uneven multi-layer shadows simulate a weathered stone edge */
.pricing-card {
  border: 1px solid rgba(201,168,76,0.22);
  box-shadow:
    /* Outer faint halo */
    0 0 0 1px rgba(201,168,76,0.05),
    /* Depth */
    0 6px 20px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.65),
    /* Inner worn lip — top bright, bottom dark */
    inset 0  1px 0 rgba(201,168,76,0.09),
    inset 0 -1px 0 rgba(0,0,0,0.65),
    inset  1px 0 0 rgba(201,168,76,0.04),
    inset -1px 0 0 rgba(201,168,76,0.04);
}

.pricing-card.featured {
  border: 1px solid rgba(201,168,76,0.45);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.08),
    0 0 60px rgba(201,168,76,0.18),
    0 24px 80px rgba(0,0,0,0.85),
    inset 0  1px 0 rgba(201,168,76,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.75),
    inset  1px 0 0 rgba(201,168,76,0.08),
    inset -1px 0 0 rgba(201,168,76,0.08);
}

/* Corner-accent overlay via ::after (worn gold corners) */
.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(201,168,76,0.07) 0%, transparent 28%) top    left  / 70px 70px no-repeat,
    linear-gradient(225deg, rgba(201,168,76,0.07) 0%, transparent 28%) top    right / 70px 70px no-repeat,
    linear-gradient(315deg, rgba(201,168,76,0.07) 0%, transparent 28%) bottom right / 70px 70px no-repeat,
    linear-gradient(45deg,  rgba(201,168,76,0.07) 0%, transparent 28%) bottom left  / 70px 70px no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* ── Gold/Amber CTA Button Enhancement ──────────────────── */
.btn-gold {
  background: linear-gradient(135deg, #f0d870 0%, var(--gold-light) 35%, var(--gold) 65%, #9a6e20 100%);
  box-shadow:
    0 0 28px rgba(201,168,76,0.45),
    0 4px 14px rgba(0,0,0,0.55),
    inset 0  1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #f5e07a 0%, #ecd968 35%, var(--gold-light) 65%, var(--gold) 100%);
  box-shadow:
    0 0 55px rgba(201,168,76,0.7),
    0 8px 28px rgba(0,0,0,0.65),
    inset 0  1px 0 rgba(255,255,255,0.28),
    inset 0 -1px 0 rgba(0,0,0,0.4);
}

/* ── Tier Badge — Richly gilded ─────────────────────────── */
.pricing-badge {
  background: linear-gradient(135deg, #f0d870 0%, var(--gold-light) 40%, var(--gold) 70%, #8a6018 100%);
  box-shadow:
    0 0 22px rgba(201,168,76,0.55),
    0 3px 8px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ── Pricing Card Description Paragraphs ────────────────── */
.pricing-card-desc {
  font-size: 0.84rem;
  color: var(--muted-light);
  line-height: 1.72;
  margin-top: 14px;
  margin-bottom: 0;
}

/* ── Stat numbers — subtle ember glow ───────────────────── */
.stat-num {
  text-shadow: 0 0 40px rgba(201,168,76,0.28), 0 0 80px rgba(201,168,76,0.12);
}

/* ── Hero canvas — full-field energy ────────────────────── */
/* full opacity — brightness is controlled per-particle in JS */
#hero-canvas {
  opacity: 1;
}

/* ── MT5 Account Number guide ────────────────────────────── */
.mt5-guide {
  max-width: 700px;
  margin: 40px auto 0;
}
.mt5-guide-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--muted-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 13px 18px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, color 0.2s;
}
.mt5-guide-toggle:hover {
  border-color: var(--gold);
  color: var(--white);
}
.mt5-guide-toggle .mt5-info-icon { color: var(--gold); flex-shrink: 0; }
.mt5-guide-toggle .mt5-chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--muted);
}
.mt5-guide.open .mt5-guide-toggle {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  color: var(--white);
}
.mt5-guide.open .mt5-chevron { transform: rotate(180deg); }
.mt5-guide-body {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  padding: 20px 22px 22px;
}
.mt5-guide.open .mt5-guide-body { display: block; }
.mt5-guide-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.82rem;
  color: var(--muted-light);
  line-height: 1.6;
}
.mt5-guide-row:last-child { border-bottom: none; padding-bottom: 0; }
.mt5-guide-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}
.mt5-guide-note {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(201,168,76,0.05);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
}
.mt5-guide-note strong { color: var(--gold); font-weight: 600; }

/* ============================================================
   PRE-CHECKOUT MODAL — MT5 Account Number Education
   ============================================================ */

@keyframes ng-modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.ng-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ng-modal-overlay.ng-modal-visible {
  opacity: 1;
  pointer-events: auto;
}

.ng-modal-card {
  background: #0d0f1a;
  border: 1px solid #c9a84c;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: ng-modal-in 0.25s ease both;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.ng-modal-card::-webkit-scrollbar { width: 4px; }
.ng-modal-card::-webkit-scrollbar-track { background: transparent; }
.ng-modal-card::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 2px; }

.ng-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s;
  z-index: 1;
}
.ng-modal-close:hover { color: rgba(255,255,255,0.85); }

.ng-modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #c9a84c;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  padding-right: 28px;
}

.ng-modal-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.55;
}

.ng-modal-section {
  background: #080a10;
  border-left: 3px solid #c9a84c;
  border-radius: 0 6px 6px 0;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.ng-modal-section-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 6px;
}
.ng-modal-section p {
  font-size: 0.855rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}
.ng-modal-section p strong {
  color: #e2e8f0;
  font-weight: 600;
}

.ng-modal-note {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0 24px;
  font-size: 0.855rem;
  color: #94a3b8;
  line-height: 1.6;
}
.ng-modal-note code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #c9a84c;
  background: rgba(201,168,76,0.1);
  padding: 1px 5px;
  border-radius: 3px;
}

.ng-modal-confirm {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #d4b44f, #c9a84c);
  color: #04060f;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 0 24px rgba(201,168,76,0.35), 0 4px 12px rgba(0,0,0,0.4);
  margin-bottom: 10px;
}
.ng-modal-confirm:hover {
  box-shadow: 0 0 44px rgba(201,168,76,0.6), 0 8px 24px rgba(0,0,0,0.5);
  transform: translateY(-1px);
}

.ng-modal-cancel {
  display: block;
  width: 100%;
  padding: 10px 20px;
  background: transparent;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.ng-modal-cancel:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
}

@media (max-width: 560px) {
  .ng-modal-card {
    padding: 24px 20px;
    border-radius: 10px;
    max-height: 100vh;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    align-self: flex-end;
    width: 100%;
    max-width: 100%;
  }
  .ng-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .ng-modal-title { font-size: 1.1rem; }
}

/* ============================================================
   PRINT STYLES — exact screen-to-PDF reproduction
   Added only; no existing rules modified.
   ============================================================ */

/* Page geometry — A4 landscape, minimal white border */
@page {
  size: A4 landscape;
  margin: 0.5cm;
}

@media print {

  /* ── 1. Force color-exact printing on every element ── */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* ── 2. Root background ── */
  html, body {
    background:       #04060f !important;
    background-color: #04060f !important;
  }

  /* ── 3. Fixed-position UI chrome — reposition or suppress ── */
  /* Custom cursors: pointless in PDF */
  .cursor-dot,
  .cursor-ring { display: none !important; }

  /* Nav: fixed → static so it appears once at top, not on every page */
  #main-nav {
    position: static !important;
    background: rgba(4,6,15,0.88) !important;
  }

  /* Sticky CTA: starts off-screen via transform; keep it gone */
  .sticky-cta { display: none !important; }

  /* Modal overlay: normally hidden; keep hidden */
  .ng-modal-overlay { display: none !important; }

  /* ── 4. Freeze GSAP-animated elements in their final visible state ── */

  /* Hero elements that start at opacity:0 in CSS */
  .hero-badge,
  .hero-sub,
  .hero-buttons,
  .hero-stats {
    opacity:   1 !important;
    transform: none !important;
  }

  /* Split-reveal text (overflow:hidden clips translateY(105%) lines) */
  .split-reveal          { overflow: visible !important; }
  .split-reveal-inner,
  .hero-heading-line-inner { transform: none !important; }

  /* EA panel mockup */
  .ea-panel-wrap {
    opacity:   1 !important;
    transform: none !important;
  }

  /* Terminal log lines: start opacity:0 + translateX(-8px) */
  .log-line {
    opacity:   1 !important;
    transform: none !important;
  }

  /* Timeline fill bar */
  .timeline-connector-fill { transform: scaleX(1) !important; }

  /* Section sweep decorative line */
  .section-sweep-line { transform: translateX(0) !important; }

  /* ── 5. Showcase section — unpin sticky and flow all steps ── */
  .showcase-outer  { height: auto !important; }
  .showcase-sticky {
    position: static !important;
    height:   auto   !important;
  }
  .showcase-steps-wrap {
    height:   auto    !important;
    overflow: visible !important;
    display:  block   !important;   /* override mobile flex-row carousel */
  }
  .sc-step {
    position:       relative  !important;
    opacity:        1         !important;
    visibility:     visible   !important;
    pointer-events: auto      !important;
    display:        block     !important;
    max-width:      100%      !important;
    min-width:      unset     !important;
  }

  /* ── 6. Page-break control — never slice a card mid-element ── */
  .feature-card,
  .pricing-card,
  .faq-item,
  .faq-answer-inner,
  .problem-point,
  .timeline-step,
  .how-step,
  .page-card,
  .next-step,
  .comparison-table-wrap,
  .testimonial-block,
  .spread-chart-wrap,
  .sc-panel,
  .ea-panel,
  .terminal-window,
  .stats-grid,
  .pricing-grid {
    page-break-inside: avoid;
    break-inside:      avoid;
  }

  /* ── 7. Link URLs — do not append href text ── */
  a[href]::after { content: none !important; }

  /* ── 8. Explicit background re-declarations ──
     Browsers strip rgba/gradient backgrounds even with color-adjust.
     Re-declaring them !important guarantees they survive.          */

  /* Page / body surfaces */
  #footer               { background: rgba(6,9,18,0.95)      !important; }
  .pricing-page-hero    { background: linear-gradient(180deg, #0b1022 0%, #04060f 100%) !important; }

  /* Nav & glass surfaces */
  #main-nav.scrolled    { background: rgba(4,6,15,0.88)      !important; }
  .glass                { background: rgba(8,13,28,0.7)      !important; }
  .glass-gold           { background: rgba(201,168,76,0.04)  !important; }

  /* EA panel widget */
  .ea-panel             { background: rgba(8,13,28,0.92)     !important; }
  .ea-panel-titlebar    { background: rgba(11,16,34,0.95)    !important; }
  .ea-info-cell         { background: rgba(255,255,255,0.02) !important; }
  .ea-positions-header  { background: rgba(255,255,255,0.02) !important; }
  .ea-status-badge.active     { background: rgba(74,222,128,0.1)  !important; }
  .ea-status-badge.protecting { background: rgba(251,191,36,0.1)  !important; }
  .ea-sim-btn           { background: rgba(201,168,76,0.06)  !important; }

  /* Showcase panel */
  .sc-panel             { background: rgba(5,8,18,0.95)      !important; }
  .sc-panel-titlebar    { background: rgba(11,16,34,0.98)    !important; }
  .sc-status-bar        { background: rgba(255,255,255,0.02) !important; }
  .sc-status-bar.alert  { background: rgba(251,191,36,0.04)  !important; }
  .sc-status-bar.ok     { background: rgba(74,222,128,0.04)  !important; }
  .sc-tag               { background: rgba(201,168,76,0.12)  !important; }

  /* Terminal */
  .terminal-window      { background: #020408                !important; }
  .terminal-titlebar    { background: rgba(11,16,34,0.98)    !important; }

  /* Cards */
  .feature-card         { background: rgba(8,13,28,0.8)      !important; }
  .feature-icon         { background: rgba(201,168,76,0.08)  !important; }
  .faq-item             { background: rgba(8,13,28,0.8)      !important; }
  .pricing-card         { background: rgba(8,13,28,0.9)      !important; }
  .pricing-card.featured {
    background: linear-gradient(160deg, rgba(26,42,64,0.5), rgba(8,13,28,0.95)) !important;
  }
  .pricing-badge        {
    background: linear-gradient(135deg, #f0d870 0%, #e8c56a 40%, #c9a84c 70%, #8a6018 100%) !important;
  }
  .pricing-feature-check { background: rgba(74,222,128,0.08) !important; }
  .pricing-savings       { background: rgba(74,222,128,0.08) !important; }

  /* Comparison table */
  .comparison-table         { background: rgba(8,13,28,0.9)     !important; }
  .comparison-table th.col-ng { background: rgba(201,168,76,0.04) !important; }
  .comparison-table td.col-ng { background: rgba(201,168,76,0.03) !important; }

  /* Problem / stats / testimonial */
  .problem-point        { background: rgba(8,13,28,0.7)      !important; }
  .problem-icon         { background: rgba(248,113,113,0.08) !important; }
  .spread-chart-wrap    { background: rgba(8,13,28,0.85)     !important; }
  .testimonial-block    { background: rgba(8,13,28,0.8)      !important; }

  /* Solution / timeline */
  .timeline-icon        { background: rgba(8,13,28,0.9)      !important; }

  /* How it works */
  .how-step-num         { background: rgba(201,168,76,0.07)  !important; }

  /* Hero */
  .hero-badge           { background: rgba(201,168,76,0.06)  !important; }

  /* Success / cancel pages */
  .page-card            { background: rgba(8,13,28,0.9)      !important; }
  .next-steps           { background: rgba(11,16,34,0.8)     !important; }
  .next-step-num        { background: rgba(201,168,76,0.12)  !important; }
  .success-icon         { background: rgba(74,222,128,0.08)  !important; }
  .cancel-icon          { background: rgba(100,116,139,0.08) !important; }

  /* Buttons */
  .btn-gold {
    background: linear-gradient(135deg, #f0d870 0%, #e8c56a 35%, #c9a84c 65%, #9a6e20 100%) !important;
  }
  .btn-outline { background: transparent              !important; }
  .btn-ghost   { background: rgba(255,255,255,0.04)  !important; }

  /* MT5 guide */
  .mt5-guide-toggle { background: #080d1c              !important; }
  .mt5-guide-body   { background: #080d1c              !important; }
  .mt5-guide-label  { background: rgba(201,168,76,0.08) !important; }
  .mt5-guide-note   { background: rgba(201,168,76,0.05) !important; }

  /* Modal (if somehow visible — keep styled) */
  .ng-modal-card    { background: #0d0f1a              !important; }
  .ng-modal-section { background: #080a10              !important; }
  .ng-modal-note    { background: rgba(201,168,76,0.06) !important; }
  .ng-modal-confirm { background: linear-gradient(135deg, #d4b44f, #c9a84c) !important; }

}
