@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --pitch-dark: #081f16;
  --pitch: #0b2f22;
  --pitch-mid: #123d2c;
  --pitch-line: #2e6b4f;
  --chalk: #f4f7f1;
  --chalk-dim: #b9c9bf;
  --gold: #ffc145;
  --gold-dim: #d9a53a;
  --glass: rgba(8, 10, 16, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --danger: #e8495f;

  --display: 'Bebas Neue', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --max-w: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--pitch-dark);
  color: var(--chalk);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  /* faint turf stripe texture across the whole page, not just the hero */
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 2px,
    transparent 2px,
    transparent 64px
  );
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; }

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ---------- Nav ---------- */

nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 31, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

nav.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.brand .ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--chalk);
  position: relative;
  flex-shrink: 0;
}
.brand .ball::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    conic-gradient(var(--pitch-dark) 0 20%, transparent 0 40%, var(--pitch-dark) 0 60%, transparent 0 80%, var(--pitch-dark) 0);
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--chalk-dim);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--chalk); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gold);
  color: #1a1305;
  box-shadow: 0 6px 18px rgba(255, 193, 69, 0.25);
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(255, 193, 69, 0.35); }

.btn-ghost {
  background: transparent;
  border-color: var(--glass-border);
  color: var(--chalk);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- Pitch divider (signature structural device) ---------- */

.pitch-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  max-width: var(--max-w);
  padding: 0 28px;
}
.pitch-divider .line {
  flex: 1;
  height: 1px;
  background: var(--pitch-line);
}
.pitch-divider .circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--pitch-line);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */

section { padding: 96px 0; position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.3px; margin: 0; }

h2.section-title { font-size: 42px; margin-bottom: 16px; }

.section-sub {
  color: var(--chalk-dim);
  font-size: 17px;
  max-width: 560px;
  margin: 0 0 48px;
}

/* ---------- Hero ---------- */

.hero { padding: 72px 0 60px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 68px;
  line-height: 0.98;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--gold); }

.hero p.lede {
  font-size: 18px;
  color: var(--chalk-dim);
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-ctas { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }

.hero-prefix-note {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--chalk-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-prefix-note code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--gold);
}

/* ---------- The card mockup — a direct replica of the bot's real card output ---------- */

.card-stage {
  perspective: 1400px;
  display: flex;
  justify-content: center;
}

.fc-card {
  width: 300px;
  aspect-ratio: 590 / 826;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 20% 0%, #1f6b46 0%, transparent 55%),
    radial-gradient(120% 90% at 100% 10%, #0d3a26 0%, transparent 60%),
    linear-gradient(160deg, #14432e 0%, #0a2a1c 65%, #081f16 100%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
  padding: 18px;
  transform: rotate3d(0.4, -1, 0, 10deg);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card-stage:hover .fc-card { transform: rotate3d(0.4, -1, 0, 2deg) scale(1.02); }

.fc-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--display);
}
.fc-name { font-size: 26px; letter-spacing: 0.5px; }
.fc-credits { font-size: 26px; color: var(--gold); }

.fc-photo {
  flex: 1;
  margin: 10px 0;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 40%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 8px, transparent 8px 16px),
    #0a1a12;
  position: relative;
}
.fc-photo::after {
  content: '⚽';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  opacity: 0.18;
}

.fc-desc {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.fc-codename {
  font-family: var(--body);
  font-weight: 700;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 4px;
}
.fc-sub {
  font-family: var(--body);
  font-size: 10.5px;
  color: var(--chalk-dim);
  margin-bottom: 8px;
}
.fc-desc-text {
  font-family: var(--body);
  font-size: 11px;
  color: #e8e8e8;
  line-height: 1.4;
}

.fc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-family: var(--body);
  font-size: 10px;
  color: var(--chalk-dim);
}
.fc-stats { display: flex; gap: 10px; font-weight: 700; }
.fc-stats span:first-child { color: var(--danger); }
.fc-stats span:last-child { color: var(--gold); }

/* ---------- Features ---------- */

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

.feature-card {
  background: var(--pitch-mid);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px 26px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--pitch-line);
}
.feature-card .icon { font-size: 26px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-family: var(--body); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--chalk-dim); font-size: 14.5px; margin: 0; }
.feature-card .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(255, 193, 69, 0.3);
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 14px;
}

/* ---------- How it works ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
}
.flow-step {
  padding: 0 28px;
  border-left: 1px solid var(--pitch-line);
  position: relative;
}
.flow-step:first-child { border-left: none; padding-left: 0; }
.flow-step .num {
  font-family: var(--display);
  font-size: 40px;
  color: var(--pitch-line);
  margin-bottom: 10px;
}
.flow-step h3 { font-family: var(--body); font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.flow-step p { color: var(--chalk-dim); font-size: 14px; margin: 0; }
.flow-step code {
  font-family: var(--mono);
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--gold);
}

/* ---------- Prefix callout ---------- */

.callout {
  background: linear-gradient(135deg, var(--pitch-mid), var(--pitch));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.callout h2 { font-size: 32px; margin-bottom: 10px; }
.callout p { color: var(--chalk-dim); margin: 0; max-width: 460px; }
.callout .codes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.callout .codes code {
  font-family: var(--mono);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--gold);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  margin-top: 40px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .credit {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--chalk-dim);
}
footer .credit strong { color: var(--chalk); }
footer .foot-links { display: flex; gap: 22px; font-size: 13.5px; }
footer .foot-links a { text-decoration: none; color: var(--chalk-dim); }
footer .foot-links a:hover { color: var(--chalk); }

/* ---------- Commands page ---------- */

.commands-header { padding: 56px 0 32px; }
.commands-header h1 { font-size: 52px; margin-bottom: 14px; }
.commands-header p { color: var(--chalk-dim); font-size: 16px; max-width: 560px; }

.search-box { margin: 28px 0 8px; position: relative; max-width: 420px; }
.search-box input {
  width: 100%;
  background: var(--pitch-mid);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 16px 12px 40px;
  color: var(--chalk);
  font-family: var(--body);
  font-size: 14.5px;
}
.search-box input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.search-box::before {
  content: '⌕';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--chalk-dim);
  font-size: 16px;
}

.cmd-category { margin: 44px 0; }
.cmd-category h2 {
  font-family: var(--body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--pitch-line);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.cmd-category .cat-note {
  font-size: 12.5px;
  color: var(--chalk-dim);
  margin: 8px 0 4px;
}

.cmd-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: start;
}
.cmd-row:last-child { border-bottom: none; }
.cmd-name {
  font-family: var(--mono);
  font-size: 14.5px;
  color: var(--chalk);
  font-weight: 500;
}
.cmd-name .slash { color: var(--gold); }
.cmd-desc { font-size: 14.5px; color: var(--chalk-dim); }
.cmd-row.hidden { display: none; }

.no-results {
  display: none;
  color: var(--chalk-dim);
  font-size: 14.5px;
  padding: 24px 4px;
}
.no-results.visible { display: block; }

/* ---------- Pricing (Premium/Ambassador/Supporter) ---------- */

.pricing-section { padding-top: 88px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.price-card {
  background: var(--pitch-mid);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 30px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(255, 193, 69, 0.08), var(--pitch-mid) 40%);
  border-color: rgba(255, 193, 69, 0.45);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px -20px rgba(255, 193, 69, 0.25);
}

.price-popular-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--gold);
  color: #1a1305;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  color: var(--chalk-dim);
  margin-bottom: 22px;
}
.price-card-head .icon { font-size: 18px; }

.price-amount {
  font-family: var(--display);
  font-size: 44px;
  color: var(--chalk);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-amount .unit {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--chalk-dim);
}

.price-tagline {
  color: var(--chalk-dim);
  font-size: 13.5px;
  margin: 0 0 20px;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  width: fit-content;
  margin-bottom: 22px;
}
.price-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.price-pill.dot-premium .dot { background: #3fb6c9; }
.price-pill.dot-ambassador .dot { background: var(--chalk); }
.price-pill.dot-supporter .dot { background: #c97fb0; }

.price-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}
.price-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--chalk-dim);
  padding: 7px 0;
}
.price-perks li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.price-perks li.highlight { color: var(--gold); font-weight: 600; }

.price-cta {
  display: block;
  text-align: center;
  width: 100%;
}

.pricing-footnote {
  text-align: center;
  color: var(--chalk-dim);
  font-size: 13px;
  margin: 28px 0 0;
}
.pricing-footnote a { color: var(--gold); text-decoration: none; }
.pricing-footnote a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow-step { border-left: none; padding-left: 0; }
  .cmd-row { grid-template-columns: 1fr; gap: 6px; }
  .nav-links { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .callout { padding: 32px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
