:root {
  --bg: #0a0a0c;
  --bg-elev: #131316;
  --bg-elev-2: #1a1a1e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-muted: rgba(245, 245, 247, 0.62);
  --text-soft: rgba(245, 245, 247, 0.42);
  --accent: #00c853;
  --accent-strong: #00e676;
  --accent-ink: #00130a;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(
      1200px 600px at 80% -10%,
      rgba(0, 200, 83, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at -10% 10%,
      rgba(0, 200, 83, 0.06),
      transparent 60%
    );
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-strong);
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(10, 10, 12, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 200, 83, 0.6);
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .nav-links {
    gap: 18px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-strong);
  color: var(--accent-ink) !important;
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 56px 0 40px;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.25);
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  background: var(--bg-elev-2);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}

.btn-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.btn-meta-small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.btn-meta-large {
  font-size: 16px;
  font-weight: 600;
}

/* ── Hero scoreboard mockup ──────────────────────────────────────────── */

.scoreboard {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  position: relative;
  overflow: hidden;
}

.scoreboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 200px at 50% -20%,
    rgba(0, 200, 83, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.score-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.score-meta .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 200, 83, 0.8);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.score-rows {
  margin: 24px 0 8px;
  display: grid;
  gap: 14px;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: baseline;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.score-row.serving {
  background: rgba(0, 200, 83, 0.08);
  border-color: rgba(0, 200, 83, 0.3);
}

.team {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.serve-mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.serve-mark.hidden {
  background: transparent;
}

.games {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  min-width: 24px;
  text-align: right;
}

.points {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  text-align: right;
  letter-spacing: -0.01em;
}

.score-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Sections ────────────────────────────────────────────────────────── */

section {
  padding: 80px 0;
}

@media (max-width: 700px) {
  section { padding: 56px 0; }
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 700;
}

.section-intro {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 0 48px;
}

/* ── Feature grid ────────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 880px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.feature {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.feature:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.3);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Pricing ─────────────────────────────────────────────────────────── */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.plan {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.plan.featured {
  background: linear-gradient(
    180deg,
    rgba(0, 200, 83, 0.08),
    rgba(0, 200, 83, 0.02)
  );
  border-color: rgba(0, 200, 83, 0.35);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.plan-price {
  display: baseline;
  margin: 0 0 4px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-price small {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.plan-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.plan ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.plan li {
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}

.plan li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2300c853' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8.5 6.5 12 13 4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.plan-foot {
  margin-top: auto;
  font-size: 13px;
  color: var(--text-soft);
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 18px;
  transition: background 0.15s ease;
}

.faq details[open] {
  background: var(--surface-strong);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  margin-top: 32px;
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.copyright {
  font-size: 13px;
  color: var(--text-soft);
}

/* ── Legal pages ─────────────────────────────────────────────────────── */

.legal {
  padding: 64px 0 80px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0 0 40px;
  letter-spacing: 0.02em;
}

.legal h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
  letter-spacing: -0.005em;
}

.legal p,
.legal li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.legal p {
  margin: 0 0 16px;
}

.legal ul {
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(0, 230, 118, 0.4);
  text-underline-offset: 3px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}

.legal th,
.legal td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--surface);
}

.legal tr:last-child td {
  border-bottom: none;
}

.legal .callout {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  margin: 16px 0 24px;
  font-size: 15px;
  color: var(--text-muted);
}
