:root {
  --bg: #070b10;
  --panel: #0d141c;
  --panel-2: #111a24;
  --line: rgba(148, 163, 184, 0.16);
  --text: #f4f7fb;
  --muted: #93a4b8;
  --mint: #34d399;
  --mint-2: #6ee7b7;
  --blue: #60a5fa;
  --red: #fb7185;
  --max: 1200px;
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(96, 165, 250, 0.22), transparent 55%),
    radial-gradient(700px 420px at -10% 20%, rgba(52, 211, 153, 0.16), transparent 50%),
    linear-gradient(180deg, #070b10, #0a1018 40%, #070b10);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  animation: gridshift 24s linear infinite;
}
@keyframes gridshift {
  to { background-position: 72px 72px; }
}

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { position: relative; z-index: 1; padding: 96px 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
  color: var(--mint-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.12; }
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; max-width: 16ch; }
.lede { color: var(--muted); font-size: 17px; max-width: 62ch; }
.accent {
  background: linear-gradient(90deg, #6ee7b7, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fine { color: var(--muted); font-size: 13px; }

.nav {
  position: sticky;
  top: 14px;
  z-index: 40;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 16, 0.72);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { width: 36px; height: 36px; }
.brand span { color: var(--mint); font-weight: 700; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #042016;
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.28);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.hero { position: relative; z-index: 1; padding: 48px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero .lede { margin: 18px 0 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

.terminal {
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17,26,36,0.95), rgba(10,16,24,0.95));
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #fb7185; }
.dots i:nth-child(2) { background: #fbbf24; }
.dots i:nth-child(3) { background: #34d399; }
.live { display: flex; align-items: center; gap: 8px; color: var(--mint); font-size: 12px; font-weight: 700; }
.live b {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 12px var(--mint); animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
.term-body { padding: 8px 16px 18px; }
canvas#chart { width: 100%; height: 230px; display: block; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.metric span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.up { color: var(--mint); }
.down { color: var(--red); }
.pair-change.up { color: var(--mint); }
.pair-change.down { color: var(--red); }

.ticker-wrap {
  position: relative; z-index: 1; overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.ticker { display: flex; gap: 28px; width: max-content; padding: 14px 0; animation: marquee 26s linear infinite; }
.tick { display: flex; gap: 8px; white-space: nowrap; font-size: 13px; font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

.bento, .stats, .sessions, .plans, .why, .features { display: grid; gap: 14px; margin-top: 28px; }
.stats { grid-template-columns: repeat(4, 1fr); }
.features { grid-template-columns: 1.2fr 1fr; }
.sessions { grid-template-columns: repeat(4, 1fr); }
.plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.why { grid-template-columns: repeat(3, 1fr); }

.glass {
  background: rgba(13, 20, 28, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(16px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.glass:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}
.stat strong { display: block; font-size: 30px; font-weight: 800; }
.icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(52,211,153,.16), rgba(96,165,250,.08));
  color: var(--mint-2); margin-bottom: 14px;
}
.glass h3 { font-size: 22px; margin-bottom: 8px; }
.glass p, .glass li { color: var(--muted); }
.glass ul { margin-top: 10px; padding-left: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.issues { display: grid; gap: 10px; margin-top: 18px; }
.issue {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.16);
}

.pair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.pair {
  padding: 16px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.pair b { display: block; font-size: 18px; }
.session.active { border-color: rgba(52,211,153,.5); box-shadow: inset 0 0 0 1px rgba(52,211,153,.12); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.step-num {
  font-size: 13px; font-weight: 800; color: var(--mint);
  margin-bottom: 10px;
}

.plan { display: flex; flex-direction: column; min-height: 540px; }
.plan.featured {
  background:
    radial-gradient(circle at 100% 0, rgba(52,211,153,.18), transparent 40%),
    var(--panel-2);
  border-color: rgba(52,211,153,.45);
  transform: translateY(-8px);
}
.price { font-size: 28px; font-weight: 800; margin: 8px 0 12px; }
.plan ul { list-style: none; display: grid; gap: 10px; flex: 1; margin: 8px 0 18px; }
.plan li { display: flex; gap: 8px; color: var(--muted); }

.cta {
  text-align: center;
  padding: 56px 28px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 0, rgba(96,165,250,.18), transparent 35%),
    radial-gradient(circle at 20% 100%, rgba(52,211,153,.14), transparent 40%),
    var(--panel);
}
.cta h2 { max-width: none; margin: 0 auto 14px; }
.cta .lede { margin: 0 auto 22px; }

.faq { display: grid; gap: 10px; margin-top: 24px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.02); }
.faq-item button {
  width: 100%; background: none; border: 0; color: var(--text); text-align: left;
  padding: 18px 20px; font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item p { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open p { display: block; }

.risk { color: var(--muted); font-size: 14px; max-width: 90ch; }
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 40px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.footer h4 { margin-bottom: 10px; }
.footer a, .footer p { color: var(--muted); font-size: 14px; }

.modal {
  position: fixed; inset: 0; z-index: 80; display: none; place-items: center;
  background: rgba(2,6,10,.72); padding: 16px;
}
.modal.open { display: grid; }
.modal-card {
  width: min(480px, 100%);
  background: #0e1620;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.modal-card h3 { font-size: 28px; margin-bottom: 6px; }
.form { display: grid; gap: 12px; margin-top: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.form input, .form select {
  width: 100%; background: #0a1118; border: 1px solid var(--line); color: var(--text);
  border-radius: 14px; padding: 12px 14px;
}
.form input:focus, .form select:focus { outline: 2px solid rgba(52,211,153,.45); border-color: transparent; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); }

.reveal { opacity: 0; transform: translateY(18px); animation: rise .7s ease forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hero-grid, .stats, .features, .sessions, .plans, .why, .split, .footer-grid, .steps, .pair-grid {
    grid-template-columns: 1fr;
  }
  .plan.featured { transform: none; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: grid; }
  .nav-inner { border-radius: 22px; }
}
