:root {
  --bg: #0a0e14;
  --bg-2: #0f1620;
  --panel: #121a26;
  --line: #1e2a3a;
  --text: #e6edf3;
  --muted: #8b9bb0;
  --up: #16c784;
  --down: #ea3943;
  --accent: #16c784;
  --grad-a: #16c784;
  --grad-b: #2dd4bf;
  --radius: 14px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

#ticker-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

body > *:not(#ticker-bg) { position: relative; z-index: 1; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #04140d;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(22, 199, 132, 0.6); }
.btn--sm { padding: 8px 16px; font-size: 0.9rem; }
.btn--lg { padding: 14px 26px; font-size: 1.02rem; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 20, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #04140d;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.95rem;
}
.brand__name { font-size: 1.02rem; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.15s ease; }
.nav__links a:hover { color: var(--text); }
.nav__links .btn { color: #04140d; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 90px 24px 100px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22, 199, 132, 0.08);
  border: 1px solid rgba(22, 199, 132, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(22,199,132,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,199,132,0.5);} 70%{ box-shadow:0 0 0 8px rgba(22,199,132,0);} 100%{ box-shadow:0 0 0 0 rgba(22,199,132,0);} }

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 22px 0 18px;
}
.grad { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__lede { font-size: 1.1rem; color: var(--muted); max-width: 46ch; }
.hero__lede strong { color: var(--text); }
.hero__cta { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }
.hero__badges li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.tick { color: var(--accent); font-weight: 700; }

/* Portrait */
.hero__visual { display: flex; justify-content: center; }
.portrait {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.portrait__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.portrait__ph {
  position: absolute;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  color: #2a3a4f;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(22,199,132,0.14), transparent 60%);
}
.portrait__ph svg { width: 70%; height: auto; margin-bottom: -6%; }
.portrait__tag {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(10,14,20,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: "JetBrains Mono", monospace;
}
.portrait__price { font-size: 1.1rem; font-weight: 700; }
.portrait__delta { font-size: 0.85rem; }
.portrait__delta.up { color: var(--up); }
.portrait__delta.down { color: var(--down); }

/* Sections */
.section { padding: 64px 24px; }
.section__head { margin-bottom: 40px; max-width: 640px; }
.kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.section__head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; margin-top: 10px; }

.about { display: grid; gap: 18px; max-width: 760px; color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(22,199,132,0.4); }
.card__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(22,199,132,0.1);
  color: var(--accent);
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg-2); padding: 32px 20px; text-align: center; }
.stat__num {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat__label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; display: block; }

/* CTA panel */
.cta-panel {
  text-align: center;
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 120% at 50% -20%, rgba(22,199,132,0.16), transparent 60%);
  pointer-events: none;
}
.cta-panel h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.cta-panel p { color: var(--muted); margin-bottom: 28px; }
.cta-panel__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 24px; margin-top: 40px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer p { color: var(--muted); font-size: 0.9rem; }
.footer__disclaimer { font-size: 0.82rem; opacity: 0.7; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 70px; }
  .hero__visual { order: -1; }
  .portrait { max-width: 280px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav__links a:not(.btn) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
