:root {
  --bg: #07080d;
  --panel: rgba(16, 20, 32, 0.78);
  --line: rgba(212, 175, 103, 0.16);
  --text: #f3efe6;
  --muted: #9aa3b8;
  --gold: #d4af67;
  --gold-bright: #f0d48a;
  --gold-dim: #8d6f35;
  --up: #6ed3b0;
  --down: #e08989;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(212, 175, 103, 0.14), transparent 55%),
    radial-gradient(720px 420px at -10% 18%, rgba(72, 98, 180, 0.16), transparent 50%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' /%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
  pointer-events: none;
}

.orb {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
  border-radius: 50%;
  will-change: transform;
}
.orb-a {
  width: 340px;
  height: 340px;
  top: 8%;
  right: 6%;
  background: rgba(212, 175, 103, 0.16);
}
.orb-b {
  width: 280px;
  height: 280px;
  top: 42%;
  left: -80px;
  background: rgba(80, 110, 210, 0.14);
}
.orb-c {
  width: 220px;
  height: 220px;
  bottom: 8%;
  right: 18%;
  background: rgba(110, 211, 176, 0.08);
}

a { color: inherit; text-decoration: none; }
.nav, main, footer { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 7vw;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 13, 0.7);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.nav nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav nav a { position: relative; }
.nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav nav a:hover { color: var(--text); }
.nav nav a:hover::after { transform: scaleX(1); }

.tape {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 16, 0.85);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tape-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: tape 32s linear infinite;
}
.tape-track b { color: var(--gold-bright); font-weight: 600; }
@keyframes tape {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 650;
  font-family: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1406;
  box-shadow: 0 10px 30px rgba(212, 175, 103, 0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero, section, footer { padding: 84px 7vw; }
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 48px;
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  margin: 14px 0 20px;
  letter-spacing: -0.03em;
}
h1 em {
  font-style: italic;
  color: var(--gold-bright);
  display: block;
}
.lede { color: var(--muted); font-size: 18px; max-width: 640px; line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; margin: 30px 0 16px; flex-wrap: wrap; }
.disclaimer-inline { color: var(--muted); font-size: 13px; }

.hero-stage {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 24, 36, 0.8), rgba(10, 12, 18, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 22px;
}
.hero-chart { width: 100%; height: 180px; display: block; }
.chart-line {
  stroke: url(#lineGold);
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.chart-fill { fill: url(#fillGold); opacity: 0; }
.hero-stage.is-in .chart-line {
  animation: draw 1.8s ease forwards 0.2s;
}
.hero-stage.is-in .chart-fill {
  animation: fade 1.2s ease forwards 0.8s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.hero-pills span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 175, 103, 0.06);
  will-change: transform;
}
.hero-range { margin-top: 18px; }
.hero-range small { color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; }
.hero-range-track {
  position: relative;
  height: 6px;
  margin: 12px 0 8px;
  border-radius: 99px;
  background: #171c28;
  overflow: hidden;
}
.hero-range-track i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--down), var(--gold), var(--up));
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-stage.is-in .hero-range-track i { width: 100%; }
.hero-range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 0;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  backdrop-filter: blur(10px);
}
.stat span { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.stat strong { font-size: 17px; font-weight: 600; }

h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.section-copy, .section-head p { color: var(--muted); max-width: 720px; line-height: 1.6; }

.method { position: relative; }
.spine {
  position: absolute;
  left: calc(7vw - 18px);
  top: 160px;
  bottom: 80px;
  width: 1px;
  background: rgba(212, 175, 103, 0.12);
}
.spine i {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.cards, .board, .plans {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.cards { grid-template-columns: repeat(2, 1fr); }
.card, .asset, .plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.card-index {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin: 0 0 10px;
}
.formula {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  color: var(--gold);
  background: rgba(8, 10, 16, 0.8);
  padding: 10px 12px;
  border-radius: 10px;
}

.asset h3 { margin: 0; font-size: 22px; }
.asset h3 small { color: var(--muted); font-weight: 500; letter-spacing: 0.12em; }
.asset .px { font-family: var(--serif); font-size: 40px; margin: 6px 0 4px; letter-spacing: -0.03em; }
.asset .px small { font-family: var(--sans); }
.range {
  margin: 18px 0 8px;
}
.range-track {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: #141824;
  overflow: hidden;
}
.range-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(224, 137, 137, 0.85), rgba(212, 175, 103, 0.9), rgba(110, 211, 176, 0.85));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.asset.is-in .range-fill { width: 100%; }
.range-mark {
  position: absolute;
  top: -4px;
  width: 3px;
  height: 18px;
  border-radius: 99px;
  background: #fff;
  transform: translateX(-50%) scaleY(0);
  transform-origin: center bottom;
}
.asset.is-in .range-mark {
  transform: translateX(-50%) scaleY(1);
  transition: transform 0.5s ease 0.5s;
}
.range-mark.spot { background: var(--gold-bright); box-shadow: 0 0 12px rgba(240, 212, 138, 0.7); }
.range-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.scenarios div {
  background: rgba(8, 10, 16, 0.8);
  border-radius: 12px;
  padding: 12px;
}
.scenarios span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 4px; }
.scenarios strong { font-size: 15px; }
.bull { color: var(--up); }
.bear { color: var(--down); }
.why { color: var(--muted); font-size: 13px; line-height: 1.5; }

.plans { grid-template-columns: repeat(2, minmax(240px, 360px)); }
.plan.featured {
  border-color: rgba(212, 175, 103, 0.45);
  box-shadow: 0 20px 60px rgba(212, 175, 103, 0.08);
}
.badge { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.price { font-family: var(--serif); font-size: 48px; margin: 8px 0; }
.price span { font-family: var(--sans); font-size: 16px; color: var(--muted); }
.plan ul { color: var(--muted); padding-left: 18px; }
.legal { color: var(--muted); font-size: 13px; margin-top: 28px; max-width: 720px; }

footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,.55);
  display: grid;
  place-items: center;
}
.modal[hidden] { display: none; }
.modal-card {
  background: #121624;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  max-width: 420px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.cards .reveal:nth-child(2),
.stats .reveal:nth-child(2),
.board .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3),
.stats .reveal:nth-child(3),
.board .reveal:nth-child(3) { transition-delay: 0.16s; }
.stats .reveal:nth-child(4) { transition-delay: 0.24s; }

[data-drift] { will-change: transform; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .spine { display: none; }
}
@media (max-width: 860px) {
  .stats, .cards, .plans, .scenarios { grid-template-columns: 1fr; }
  .nav nav { gap: 14px; font-size: 13px; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .chart-line, .chart-fill, .range-fill, .range-mark, .tape-track, .btn {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-fill { opacity: 1; }
  .hero-range-track i, .range-fill { width: 100%; }
}
