/* ── The Odds Place — Design System ── */
/* Moneyball-inspired. Clean. Data-forward. No noise. */

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

:root {
  /* Colors — professional, muted, data-forward */
  --bg: #0c0e12;
  --bg-alt: #111318;
  --surface: #1a1d24;
  --surface-hover: #22262e;
  --line: #2a2e36;
  --line-light: #363a44;
  --text: #e8eaed;
  --text-muted: #9aa0a8;
  --text-dim: #5c626e;
  --accent: #34d399;
  --accent-glow: rgba(52, 211, 153, 0.08);
  --accent-dim: #059669;
  --blue: #60a5fa;
  --blue-glow: rgba(96, 165, 250, 0.08);
  --red: #f87171;
  --red-dim: #b91c1c;
  --green: #34d399;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 8px; }

p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--accent-dim);
  border-radius: 20px;
  background: var(--accent-glow);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.strikethrough {
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  opacity: .6;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg {
  display: block;
  color: var(--accent);
}
.logo-text { letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-link:hover { color: var(--text); opacity: 1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(12, 14, 18, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    max-height: 300px;
    padding: 12px 0;
  }
  .nav-link {
    display: block;
    padding: 14px 20px;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-link:last-child { border-bottom: none; }
  .hamburger { display: flex; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #0c0e12;
}
.btn-primary:hover { opacity: .9; box-shadow: 0 0 24px var(--accent-glow); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-light);
}
.btn-outline:hover { border-color: var(--text-muted); background: var(--surface); }

/* ── Section base ── */
section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 24px;
}
@media (max-width: 720px) {
  section { padding: 64px 20px; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  overflow: hidden;
  max-width: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(52, 211, 153, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 720px; margin: 0 auto; padding: 0 12px; }

.hero .badge { margin-bottom: 24px; }

.hero h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

@media (max-width: 720px) {
  .hero { min-height: 90vh; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { gap: 24px; }
}

/* ── Problem Section ── */
.problem { text-align: center; }

.problem h2 { max-width: 600px; margin: 0 auto 40px; }

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

@media (max-width: 800px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  transition: border-color .2s, transform .2s;
}
.problem-card:hover {
  border-color: var(--line-light);
  transform: translateY(-2px);
}

.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
}
.problem-icon svg {
  display: block;
  color: var(--accent);
}

.problem-card h3 { font-size: 1.1rem; margin-bottom: 12px; }

.problem-card p { font-size: 0.92rem; }

/* ── How It Works ── */
.how { text-align: center; }

.how h2 { margin-bottom: 48px; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s;
}
.step:hover { border-color: var(--line-light); }

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 44px;
}

.step-content h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.step-content p { font-size: 0.92rem; }

@media (max-width: 720px) {
  .step { flex-direction: column; gap: 12px; }
}

/* ── Odds Table ── */
.odds { text-align: center; }

.odds-desc {
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.odds-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 0 24px;
}

.odds-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.odds-table thead th {
  padding: 14px 16px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  text-align: right;
}
.odds-table thead th:first-child { text-align: left; }

.odds-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.odds-table tbody tr:hover { background: var(--surface); }

.odds-table tbody td {
  padding: 16px;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}
.odds-table tbody td:first-child { text-align: left; font-family: 'Inter', sans-serif; }

.matchup { font-weight: 600; }
.team { color: var(--text); }

.sport-label { color: var(--text-dim); font-size: .82rem; font-weight: 500; }
.odds-table tbody td.sport-label { font-family: 'Inter', sans-serif; }

.value { color: var(--text-muted); }

.edge { font-weight: 700; }
.edge.up { color: var(--green); }
.edge.down { color: var(--red); }

.odds-note {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.odds-note a { color: var(--accent); font-weight: 600; }

/* ── Difference Section ── */
.diff { text-align: center; }

.diff h2 { margin-bottom: 40px; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .diff-grid { grid-template-columns: 1fr; }
}

.diff-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: left;
  transition: border-color .2s, transform .2s;
}
.diff-card:hover {
  border-color: var(--line-light);
  transform: translateY(-2px);
}

.diff-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
}
.diff-icon svg {
  display: block;
  color: var(--accent);
}

.diff-card h3 { font-size: 1rem; margin-bottom: 8px; }

.diff-card p { font-size: 0.88rem; line-height: 1.6; }

/* ── Waitlist ── */
.waitlist { text-align: center; }

.waitlist-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 32px;
  max-width: 520px;
  margin: 0 auto;
}

.waitlist h2 { margin-bottom: 12px; }

.waitlist p { margin-bottom: 28px; font-size: 0.95rem; }

.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.input-email {
  flex: 1;
  min-width: 220px;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.input-email:focus { border-color: var(--accent); }
.input-email::placeholder { color: var(--text-dim); }

.btn-submit { flex-shrink: 0; }

.waitlist-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 16px;
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .waitlist-form { flex-direction: column; }
  .input-email { min-width: 0; }
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.footer-links a:hover { color: var(--text); }

.footer-legal {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Selection ── */
::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--line); }
/* v2 */
