:root {
  --bg-primary: #0a0b0f;
  --bg-secondary: #111318;
  --bg-card: #161820;
  --bg-card-hover: #1c1e28;
  --fg-primary: #e8e9ed;
  --fg-secondary: #8b8d97;
  --fg-muted: #5a5c66;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --accent-glow: rgba(0, 212, 170, 0.25);
  --red: #ff4757;
  --red-dim: rgba(255, 71, 87, 0.12);
  --green: #00d4aa;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 212, 170, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 5vw 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--accent); }

.lede {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ── Hero CTA ── */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--accent);
  color: #0a0b0f;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.hero-cta-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Signal Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.signal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 1.8rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 0 60px rgba(0, 212, 170, 0.08), 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.signal-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-glow), transparent 50%);
  z-index: -1;
}

.signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.signal-ticker {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.signal-type {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.signal-type.bullish {
  background: rgba(0, 212, 170, 0.15);
  color: var(--accent);
}

.signal-text {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  font-style: italic;
}

.signal-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.signal-confidence { color: var(--accent); font-weight: 500; }

/* ── Problem Section ── */
.problem {
  padding: 8rem 5vw;
  background: var(--bg-secondary);
}

.problem-inner { max-width: 1100px; margin: 0 auto; }

.problem h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s;
}

.problem-card:hover { border-color: var(--border-accent); }

.problem-icon {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* ── Features ── */
.features {
  padding: 8rem 5vw;
}

.features-inner { max-width: 1100px; margin: 0 auto; }

.features-header {
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.features-sub {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.feature-card.feature-large {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 170, 0.04) 100%);
  border-color: var(--border-accent);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* ── Comparison ── */
.comparison {
  padding: 8rem 5vw;
  background: var(--bg-secondary);
}

.comparison-inner { max-width: 900px; margin: 0 auto; }

.comparison h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.comparison-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child { border-bottom: none; }

.compare-row.compare-header {
  background: var(--bg-card);
}

.compare-cell {
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.5;
  border-right: 1px solid var(--border);
}

.compare-cell:last-child { border-right: none; }

.compare-cell.label {
  font-weight: 600;
  color: var(--fg-secondary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-card);
}

.compare-cell.old {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.compare-cell.new {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.85rem;
}

.compare-header .compare-cell {
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-header .old { color: var(--fg-muted); }
.compare-header .new { color: var(--accent); }

/* ── Closing ── */
.closing {
  padding: 8rem 5vw;
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner { max-width: 600px; margin: 0 auto; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  margin-bottom: 1.5rem;
}

.footer-legal {
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 5vw 3rem;
    gap: 2.5rem;
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .stat-value { font-size: 1.3rem; }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.feature-large {
    grid-column: 1;
  }

  .compare-row {
    grid-template-columns: 100px 1fr 1fr;
  }

  .compare-cell {
    padding: 0.75rem 0.6rem;
    font-size: 0.78rem;
  }

  .closing h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat-divider { display: none; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell.label { border-right: none; border-bottom: 1px solid var(--border); }
  .compare-cell { border-right: none; }
}