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

:root {
  --black:      #0d0d0d;
  --dark:       #111827;
  --card-bg:    #1a2233;
  --border:     #2d3a4f;
  --accent:     #3b82f6;
  --accent-2:   #06b6d4;
  --text:       #e2e8f0;
  --muted:      #94a3b8;
  --green:      #22c55e;
  --yellow:     #eab308;
  --radius:     10px;
  --max-w:      1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Header ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

nav { display: flex; gap: 1.5rem; align-items: center; }
nav a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: var(--text); text-decoration: none; }

.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.btn-nav:hover { background: #2563eb; }

/* ─── Buttons ──────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: #2563eb; text-decoration: none; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); text-decoration: none; }

/* ─── Hero ─────────────────────────────────────── */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.stat span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat p {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── About ────────────────────────────────────── */
.about {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

.about strong { color: var(--text); }

/* ─── Sections ─────────────────────────────────── */
.sections { padding: 4rem 0; }

.sections h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: -0.5px;
}

.section-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  overflow: hidden;
}

.section-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(59,130,246,0.05);
}

.section-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ─── Pairs Table ──────────────────────────────── */
.pairs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pairs-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.pairs-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(45,58,79,0.5);
  color: var(--text);
  vertical-align: middle;
}

.pairs-table tr:last-child td { border-bottom: none; }
.pairs-table tr:hover td { background: rgba(59,130,246,0.04); }

.pairs-table td:first-child {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  width: 70px;
}

/* ─── Badges ───────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge.published   { background: rgba(34,197,94,0.15); color: var(--green); }
.badge.partial     { background: rgba(234,179,8,0.15);  color: var(--yellow); }
.badge.coming-soon { background: rgba(148,163,184,0.1); color: var(--muted); }

/* ─── Subscribe ────────────────────────────────── */
.subscribe {
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 100%, rgba(59,130,246,0.08) 0%, transparent 70%);
}

.subscribe h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.subscribe p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.subscribe-form input {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-size: 1rem;
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-form input:focus { border-color: var(--accent); }

.social-links { display: flex; gap: 1.5rem; justify-content: center; }
.social-links a { color: var(--muted); font-size: 0.9rem; }
.social-links a:hover { color: var(--accent); }

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

.site-footer p { color: var(--muted); font-size: 0.85rem; }
.tagline { margin-top: 0.25rem; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer-links a { color: var(--muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent); }

/* ─── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
  nav a:not(.btn-nav) { display: none; }
  .pairs-table th:nth-child(2),
  .pairs-table td:nth-child(2) { display: none; }
  .subscribe-form input { width: 100%; }
}
