/* ─────────────────────────────────────────────────────────────────────────────
 * Ahead of the Odds — site styles
 * Dark, modern, signal-first. Brand purple #8b5cf6.
 * ─────────────────────────────────────────────────────────────────────────── */

:root {
  --bg-0: #0a0014;
  --bg-1: #130025;
  --bg-2: #1a0030;
  --bg-card: #1f0a3d;
  --border: #2d1f4a;
  --border-soft: #241540;

  --primary: #8b5cf6;
  --primary-strong: #a78bfa;
  --primary-soft: rgba(139, 92, 246, 0.12);
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;

  --text: #ece4f8;
  --text-muted: #a78bba;
  --text-dim: #6f5d88;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Menlo", monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-strong);
  text-decoration: none;
  transition: color 120ms ease;
}
a:hover { color: var(--text); }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary, .btn-ghost {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-1px); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--text); }
.btn-block { display: block; text-align: center; width: 100%; margin-top: 18px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.nav-cta:hover { border-color: var(--primary); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 24px 96px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.18), transparent 60%),
    var(--bg-0);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--primary-strong);
  margin: 0 0 18px;
  font-weight: 600;
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #fff, #c5b1ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 auto 32px;
  max-width: 640px;
}
.hero-cta-row {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Section scaffolding ─────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(28px, 3.5vw, 36px);
  margin: 0 0 12px;
}
.section-sub {
  color: var(--text-muted);
  margin: 0 0 36px;
  max-width: 640px;
  font-size: 15px;
}

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats {
  padding: 88px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.stat-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
}
.tag-sports { background: rgba(139, 92, 246, 0.12); color: var(--primary-strong); }
.tag-crypto { background: rgba(34, 197, 94, 0.10); color: var(--green); }
.tag-macro  { background: rgba(245, 158, 11, 0.10); color: var(--amber); }
.tag-stocks { background: rgba(168, 85, 247, 0.10); color: #c4b5fd; }
.stat-status {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.status-live { color: var(--green); }
.status-pending { color: var(--amber); }
.status-soon { color: var(--text-dim); }

/* "Coming soon" cards: muted, lower opacity, but still on-grid */
.stat-card-soon {
  opacity: 0.62;
}
.stat-card-soon:hover {
  opacity: 1;
  transform: none;   /* don't lift on hover — emphasizes "not yet" */
}
.stat-number {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  color: #fff;
}
.stat-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.stat-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.stats-foot {
  margin-top: 30px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── How it works ────────────────────────────────────────────────────────── */
.how { padding: 88px 0; background: var(--bg-0); }
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.how-steps li {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.how-steps h3 { font-size: 17px; margin-bottom: 6px; }
.how-steps p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ── Tiers ───────────────────────────────────────────────────────────────── */
.tiers { padding: 88px 0; background: var(--bg-1); border-top: 1px solid var(--border-soft); }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.tier-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.tier-card.tier-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.tier-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.tier-head { margin-bottom: 16px; }
.tier-head h3 { font-size: 18px; margin-bottom: 8px; }
.tier-price span {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.tier-price small { color: var(--text-muted); margin-left: 4px; font-size: 13px; }
.tier-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  flex: 1;
}
.tier-features li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-strong);
  font-weight: 700;
}
.tier-features li:last-child { border-bottom: none; }

/* ── Waitlist ────────────────────────────────────────────────────────────── */
.waitlist { padding: 88px 24px; background: var(--bg-0); }
.waitlist-inner { max-width: 580px; text-align: center; }
.waitlist-inner .section-sub { margin-left: auto; margin-right: auto; }
.waitlist-form {
  display: flex;
  gap: 8px;
  margin: 24px 0 12px;
}
.waitlist-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
}
.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
}
.waitlist-foot { color: var(--text-dim); font-size: 12.5px; margin: 0; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-foot {
  background: var(--bg-1);
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}
.foot-grid h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 700;
}
.foot-grid a {
  display: block;
  color: var(--text-muted);
  font-size: 13.5px;
  padding: 4px 0;
}
.foot-grid a:hover { color: var(--text); }
.foot-tagline { color: var(--text-muted); font-size: 13px; margin: 12px 0 0; max-width: 280px; }
.foot-disclaimer {
  display: block;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 12px;
  font-style: italic;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .site-nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 60px 20px 72px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .waitlist-form { flex-direction: column; }
}
