/* ============================================================
   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 {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out-expo),
              height 0.4s var(--ease-out-expo),
              border-color 0.3s,
              opacity 0.3s;
  will-change: transform;
}
.cursor-dot.hover  { width: 14px; height: 14px; background: var(--gold-light); }
.cursor-ring.hover { width: 56px; height: 56px; border-color: rgba(201,168,76,0.8); }
.cursor-dot.click  { width: 6px; height: 6px; }
.cursor-ring.click { width: 28px; height: 28px; }
.cursor-dot.hidden, .cursor-ring.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: 22px 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: 14px 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: 130px 0 80px;
}
#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: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.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: 0;
  transform: translateY(16px);
}
.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(2.6rem, 5.5vw, 4rem);
  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-bottom: 40px;
  max-width: 480px;
  opacity: 0;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(16px);
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  opacity: 0;
}
.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 Panel Mockup ────────────────────────────────────── */
.ea-panel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(40px);
}
.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: 420px;
  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);
}
.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); }

/* ── PROBLEM SECTION ────────────────────────────────────── */
#problem {
  padding: 120px 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: 120px 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: 32px;
  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: 120px 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: 120px 0;
  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: 100px 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: 120px 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: 120px 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-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.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: 40px 24px;
  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) {
  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 { grid-template-columns: 1fr; gap: 40px; }
  .ea-panel-wrap { order: -1; opacity: 1 !important; transform: none !important; }
  .problem-inner { grid-template-columns: 1fr; gap: 48px; }
  .how-inner     { grid-template-columns: 1fr; gap: 48px; }

  /* Showcase mobile — de-pin, stack vertically */
  .showcase-outer { min-height: unset !important; }
  .showcase-sticky {
    position: static;
    height: auto;
    padding: 60px 0;
  }
  .showcase-layout { grid-template-columns: 1fr; gap: 40px; }
  .sc-panel-outer { order: -1; }
  /* On mobile steps sit in normal flow — override absolute positioning */
  .showcase-steps-wrap {
    height: auto;
    overflow: visible;
  }
  .sc-step {
    position: static !important;
    opacity: 0;
    visibility: hidden;
    display: none;
  }
  .sc-step.active {
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .sc-progress { display: none; }
  .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; }
}

@media (max-width: 480px) {
  .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: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

/* ── 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 32px;
  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 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: 100px 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;
}
