/* ============================================================
   Nexus Forecaster — Landing Page Styles
   ============================================================ */

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

:root {
  --bg:        #08090d;
  --bg-alt:    #0d0f18;
  --bg-dark:   #060709;
  --surface:   #111420;
  --surface2:  #181c2e;
  --border:    #1e2240;
  --accent:    #4f7cff;
  --accent2:   #7c3aed;
  --gold:      #f5c518;
  --green:     #22c55e;
  --text:      #e8eaf6;
  --text-muted:#8890b0;
  --text-dim:  #555f80;
  --font:      'Inter', system-ui, sans-serif;
  --mono:      'Roboto Mono', monospace;
  --radius:    12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

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

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,9,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}
.nav-cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79,124,255,0.12) 0%, transparent 70%);
}
.hero-inner { max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(79,124,255,0.12);
  border: 1px solid rgba(79,124,255,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, #8ba4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-stat-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: -0.2px;
  box-shadow: 0 4px 32px rgba(79,124,255,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(79,124,255,0.45);
}
.btn-primary.full-width {
  display: block;
  text-align: center;
  margin-top: 8px;
}

.hero-fine {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 100px 24px; }
.section.dark { background: var(--bg-dark); }
.section.alt { background: var(--bg-alt); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-inner.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 768px) {
  .section-inner.two-col { grid-template-columns: 1fr; gap: 48px; }
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ── Track Record ────────────────────────────────────────── */
.accuracy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 640px) {
  .accuracy-grid { grid-template-columns: 1fr; }
}

.accuracy-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.accuracy-window:hover { border-color: var(--accent); }
.accuracy-window.featured {
  border-color: var(--accent);
  background: rgba(79,124,255,0.06);
}

.window-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.window-rate {
  font-size: 48px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.window-sub {
  font-size: 13px;
  color: var(--text-dim);
}

.tf-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.tf-table th {
  background: var(--surface2);
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.tf-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.tf-table tr:last-child td { border-bottom: none; }
.tf-table tr:hover td { background: rgba(255,255,255,0.02); }

.tf-badge {
  background: rgba(79,124,255,0.12);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
}

.hit-rate {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

.table-note {
  padding: 16px 20px;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  background: var(--surface2);
}

/* ── Sample Forecast ─────────────────────────────────────── */
.sample-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--mono);
}
.sample-header {
  background: var(--surface2);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.sample-tf {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.sample-window {
  font-size: 11px;
  color: var(--text-dim);
}
.sample-body { padding: 20px; }
.sample-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sample-row:last-of-type { border-bottom: none; }
.sample-key { font-size: 12px; color: var(--text-muted); }
.sample-val { font-size: 15px; font-weight: 500; color: var(--text); }
.confidence-med {
  background: rgba(245,197,24,0.12);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
}
.sample-comment {
  margin-top: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: var(--font);
}
.sample-scorecard {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(79,124,255,0.06);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  font-size: 11px;
  flex-wrap: wrap;
}
.sc-label { color: var(--accent); font-weight: 500; white-space: nowrap; }
.sc-val { color: var(--text-muted); }

/* ── Steps ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.step p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ── Methodology Pillars ─────────────────────────────────── */
.col p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.pillars { display: flex; flex-direction: column; gap: 16px; }
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.pillar-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.pillar-text { display: flex; flex-direction: column; gap: 4px; }
.pillar-text strong { font-size: 15px; font-weight: 600; color: var(--text); }
.pillar-text span { font-size: 13px; color: var(--text-muted); }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 0 60px rgba(79,124,255,0.1);
}
.pricing-header { margin-bottom: 28px; }
.pricing-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text);
  line-height: 1;
}
.pricing-price span {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-features li::first-letter { color: var(--green); }

.pricing-fine {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}
.footer-inner { max-width: 680px; margin: 0 auto; }
.footer .logo { display: block; margin-bottom: 20px; }
.footer-disclaimer {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-copy { font-size: 12px; color: var(--text-dim); }
