/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07090F;
  --surface: #0E1420;
  --surface-2: #141D2E;
  --border: #1A2638;
  --fg: #E8EDF5;
  --fg-muted: #7A8BA8;
  --green: #00FF88;
  --green-dim: rgba(0,255,136,0.12);
  --red: #FF4757;
  --red-dim: rgba(255,71,87,0.12);
  --yellow: #FFD43B;
  --yellow-dim: rgba(255,212,59,0.12);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tagline {
  color: var(--fg-muted);
  font-size: 13px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

/* ── Hero ── */
.hero {
  padding: 80px 40px 100px;
  background: radial-gradient(ellipse 80% 60% at 60% 0%, rgba(0,255,136,0.06) 0%, transparent 70%);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* Signal cards */
.hero-right { display: flex; flex-direction: column; gap: 12px; }
.signal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  font-family: var(--font-head);
}
.signal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.signal-pair { font-size: 15px; font-weight: 600; color: var(--fg); }
.signal-time { font-size: 12px; color: var(--fg-muted); font-family: var(--font-body); }
.signal-direction {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 8px;
}
.signal-up { color: var(--green); background: var(--green-dim); }
.signal-down { color: var(--red); background: var(--red-dim); }
.signal-indicators { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ind-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.2px;
}
.ind-agree { background: rgba(0,255,136,0.15); color: #5CFFAA; border: 1px solid rgba(0,255,136,0.2); }
.ind-neutral { background: var(--surface-2); color: var(--fg-muted); border: 1px solid var(--border); }
.signal-expiry { font-size: 12px; color: var(--fg-muted); font-family: var(--font-body); }

/* ── Section commons ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 56px;
}

/* ── How it works ── */
.how-it-works { padding: 100px 40px; border-top: 1px solid var(--border); }
.how-it-works .section-heading { max-width: 600px; }
.steps-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 0;
}
.step-card:first-child { border-radius: 12px 0 0 12px; }
.step-card:last-child { border-radius: 0 12px 12px 0; }
.step-number {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  opacity: 0.25;
  margin-bottom: 20px;
}
.step-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ── Indicators ── */
.indicators { padding: 100px 40px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.indicator-list { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; }
.indicator-item { display: flex; align-items: flex-start; gap: 20px; }
.indicator-icon {
  width: 52px;
  height: 52px;
  background: var(--green-dim);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.indicator-item h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.indicator-item p { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }

/* ── Confidence ── */
.confidence { padding: 100px 40px; background: var(--bg); }
.confidence-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.confidence-left h2 { font-family: var(--font-head); font-size: 38px; font-weight: 700; letter-spacing: -1px; line-height: 1.15; color: var(--fg); margin-bottom: 20px; }
.confidence-left p { font-size: 16px; color: var(--fg-muted); line-height: 1.7; max-width: 400px; }
.confidence-right { display: flex; flex-direction: column; gap: 12px; }
.conf-level { padding: 20px 24px; border-radius: 10px; border: 1px solid; }
.conf-high { background: var(--green-dim); border-color: rgba(0,255,136,0.2); }
.conf-med { background: var(--yellow-dim); border-color: rgba(255,212,59,0.2); }
.conf-low { background: var(--surface); border-color: var(--border); }
.conf-label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.8px; margin-bottom: 4px; }
.conf-high .conf-label { color: var(--green); }
.conf-med .conf-label { color: var(--yellow); }
.conf-low .conf-label { color: var(--fg-muted); }
.conf-desc { font-size: 13px; color: var(--fg-muted); margin-bottom: 6px; }
.conf-action { font-size: 14px; font-weight: 500; color: var(--fg); }

/* ── Closing ── */
.closing {
  padding: 120px 40px;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0,255,136,0.05) 0%, transparent 70%);
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.closing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing p { font-size: 17px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.closing-tagline {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(0,255,136,0.2);
  padding-top: 40px;
  display: inline-block;
}

/* ── Footer ── */
.footer { padding: 48px 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.footer-logo { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--fg); display: block; margin-bottom: 6px; }
.footer-brand p { font-size: 13px; color: var(--fg-muted); }
.footer-note { font-size: 12px; color: var(--fg-muted); max-width: 420px; text-align: right; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card:first-child { border-radius: 12px 12px 0 0; }
  .step-card:last-child { border-radius: 0 0 12px 12px; }
  .confidence-inner { grid-template-columns: 1fr; }
  .indicator-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
}
@media (max-width: 600px) {
  .hero { padding: 60px 20px 80px; }
  .nav { padding: 0 20px; }
  .how-it-works, .indicators, .confidence, .closing, .footer { padding: 60px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card:first-child { border-radius: 12px 12px 0 0; }
  .step-card:last-child { border-radius: 0 0 12px 12px; }
  .footer-note { max-width: 100%; }
  .nav-tagline { display: none; }
}