/* ═══════════════════════════════════════════════════
   Matchday Manager — site.css
   Hand-authored; no build step required.
   ═══════════════════════════════════════════════════ */

/* ── Custom properties ── */
:root {
  --navy:      #0B1629;
  --navy-800:  #152238;
  --navy-700:  #1e3252;
  --navy-600:  #27406a;
  --green:     #16A34A;
  --green-dim: rgba(22,163,74,.12);
  --gold:      #edbf55;
  --gold-dim:  rgba(237,191,85,.12);
  --gray-300:  #D1D5DB;
  --gray-400:  #9CA3AF;
  --gray-500:  #6B7280;
  --gray-600:  #4B5563;
  --gray-700:  #374151;
  --offwhite:  #F3F4F6;

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --font-display: 'Antonio', sans-serif;
  --font-body:    'Nunito Sans', sans-serif;

  --max-w: 1152px;
  --px: clamp(20px, 5vw, 48px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* ── Base ── */
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Keyframes ── */
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,.75); }
  60%       { box-shadow: 0 0 0 7px rgba(22,163,74,0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position:  200% center; }
}

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

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(11,22,41,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.site-nav .inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand img {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
}
.nav-brand span {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
}
@media (max-width: 480px) { .nav-brand span { display: none; } }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  border: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm  { font-size: 14px; padding: 8px 16px; border-radius: var(--radius); }
.btn-md  { font-size: 15px; padding: 12px 24px; }
.btn-lg  { font-size: 17px; padding: 16px 32px; border-radius: var(--radius-xl); }

.btn-green { background: var(--green);  color: #fff; }
.btn-green:hover { box-shadow: 0 10px 30px rgba(22,163,74,.35); }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { box-shadow: 0 10px 30px rgba(255,255,255,.12); }

.btn-icon { width: 24px; height: 24px; flex-shrink: 0; }

/* App Store badge button layout */
.btn-appstore .btn-label { display: flex; flex-direction: column; }
.btn-appstore .btn-label small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1;
  margin-bottom: 2px;
}
.btn-appstore .btn-label strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

/* ══════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════ */
.section {
  padding: 112px 0;
}
.section--bordered {
  border-top: 1px solid rgba(255,255,255,.05);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 54px);
  line-height: 1;
  color: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: 112px;
  padding-bottom: 80px;
  overflow: hidden;

  /* Subtle grid texture + green radial */
  background-image:
    radial-gradient(ellipse 100% 55% at 72% 50%, rgba(22,163,74,.07) 0%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='48' height='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0v48M48 0v48M0 0h48M0 48h48' stroke='%23fff' stroke-width='.4' stroke-opacity='.04'/%3E%3C/svg%3E");
}
@media (min-width: 1024px) { .hero { padding-top: 144px; padding-bottom: 128px; } }

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Decorative pitch circles */
.hero-circles {
  display: none;
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
@media (min-width: 1024px) { .hero-circles { display: block; } }
.hero-circles span {
  display: block;
  position: absolute;
  right: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.035);
}
.hero-circles .c1 { width: 640px; height: 640px; top: -320px; transform: translateX(208px); }
.hero-circles .c2 { width: 420px; height: 420px; top: -210px; transform: translateX(208px); }

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  border: 1px solid rgba(22,163,74,.3);
  background: rgba(22,163,74,.08);
  margin-bottom: 32px;
}
.live-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}
.live-badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}

/* Hero headline */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 72px);
  line-height: .92;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 28px;
  animation: fadeUp .65s .08s ease both;
}
.hero-title .accent { color: var(--green); }

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-400);
  max-width: 420px;
  margin-bottom: 40px;
  animation: fadeUp .65s .22s ease both;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: fadeUp .65s .38s ease both;
}
@media (min-width: 540px) { .hero-cta { flex-direction: row; align-items: center; } }

.hero-beta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
}
.hero-beta svg { color: var(--gold); flex-shrink: 0; }
@media (min-width: 540px) { .hero-beta { padding-top: 12px; } }

/* ── Phone mockup ── */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-phone-wrap { justify-content: flex-end; } }

.hero-phone-glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-phone-glow::after {
  content: '';
  width: 288px; height: 288px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,.14) 0%, transparent 70%);
}

.phone {
  position: relative;
  width: 248px;
  height: 508px;
  border-radius: 44px;
  overflow: hidden;
  background: linear-gradient(150deg, #1e3252 0%, #152238 100%);
  border: 1.5px solid rgba(255,255,255,.1);
  box-shadow: 0 50px 100px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06);
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 112px; height: 28px;
  background: var(--navy);
  border-radius: 0 0 24px 24px;
  z-index: 2;
}
.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 16px 16px;
}

/* Score card inside phone */
.score-card {
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.2);
}
.score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.score-label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.score-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.score-live .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 2s ease-in-out infinite;
}
.score-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
}
.score-num {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  color: #fff;
}
.score-sep {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--gray-700);
}
.score-teams {
  display: flex;
  justify-content: space-between;
}
.score-team { font-size: 11px; font-weight: 600; color: var(--gray-300); }

/* Timeline inside phone */
.timeline { flex: 1; overflow: hidden; }
.timeline-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.timeline-event {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.timeline-min {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--gray-500);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}
.timeline-icon { font-size: 14px; line-height: 1; }
.timeline-player { font-size: 12px; font-weight: 600; color: #fff; line-height: 1.2; }
.timeline-detail { font-size: 10px; color: var(--gray-500); }

/* Tab bar inside phone */
.phone-tabs {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.phone-tab { font-size: 10px; color: var(--gray-600); }
.phone-tab.active { color: var(--green); font-weight: 700; }

/* Bottom gradient on hero */
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 112px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  pointer-events: none;
}

/* ══════════════════════════════════════
   FEATURE GRID
══════════════════════════════════════ */
.feat-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px)  { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

.feat-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: linear-gradient(145deg, #172240, #131e36);
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .2s ease, transform .2s ease;
}
.feat-card:hover {
  border-color: rgba(22,163,74,.35);
  transform: translateY(-2px);
}
.feat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}
.feat-icon svg { width: 20px; height: 20px; }
.feat-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.feat-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feat-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-500);
}

/* ══════════════════════════════════════
   PRO SECTION
══════════════════════════════════════ */
.pro-card {
  border-radius: 28px;
  padding: clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #152119 0%, #0d1710 100%);
  border: 1px solid rgba(237,191,85,.25);
}
.pro-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237,191,85,.09) 0%, transparent 65%);
  pointer-events: none;
}
.pro-content { position: relative; z-index: 1; max-width: 672px; }

.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  border: 1px solid rgba(237,191,85,.35);
  background: rgba(237,191,85,.07);
  margin-bottom: 32px;
}
.pro-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.pro-badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #edbf55, #f5d07a, #edbf55, #c8982b, #edbf55);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.pro-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 54px);
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
}
.pro-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.pro-features {
  display: grid;
  gap: 32px;
}
@media (min-width: 600px) { .pro-features { grid-template-columns: repeat(3, 1fr); } }

.pro-feat-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}
.pro-feat-icon svg { width: 16px; height: 16px; }
.pro-feat-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.pro-feat-desc  { font-size: 14px; line-height: 1.6; color: var(--gray-500); }

/* ══════════════════════════════════════
   SCREENSHOTS
══════════════════════════════════════ */
.screenshots-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 24px;
  margin: 0 calc(-1 * var(--px));
  padding-left: var(--px);
  padding-right: var(--px);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.screenshots-strip::-webkit-scrollbar { display: none; }

.screenshot-item {
  flex-shrink: 0;
  width: clamp(140px, 25vw, 200px);
  border-radius: var(--radius-xl);
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.06);
  aspect-ratio: 9/18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  scroll-snap-align: start;
}
.screenshot-item .icon { font-size: 28px; }
.screenshot-item .label { font-size: 12px; font-weight: 600; color: var(--gray-500); }

/* ══════════════════════════════════════
   FINAL CTA
══════════════════════════════════════ */
.cta-section { padding: 144px 0; text-align: center; }
.cta-icon {
  width: 88px; height: 88px;
  border-radius: 22px;
  margin: 0 auto 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 64px);
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
}
.cta-title .accent { color: var(--green); }
.cta-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-400);
  max-width: 440px;
  margin: 0 auto 40px;
}
.cta-note {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 20px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 48px 0;
}
.site-footer .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .site-footer .inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img { width: 28px; height: 28px; border-radius: var(--radius-sm); }
.footer-brand span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}
.footer-links a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }

.footer-copy { font-size: 14px; color: var(--gray-600); }

/* ══════════════════════════════════════
   LEGAL & SUPPORT PAGES
══════════════════════════════════════ */
.legal-page { padding-top: 100px; padding-bottom: 80px; }
.legal-inner {
  max-width: 752px;
  margin: 0 auto;
  padding: 0 var(--px);
}
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
}
.legal-updated {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 48px;
}
.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 12px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body ul, .legal-body ol {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.legal-body ul { padding-left: 20px; list-style: disc; }
.legal-body ol { padding-left: 20px; list-style: decimal; }
.legal-body a { color: var(--green); text-decoration: underline; }
.legal-body a:hover { color: #fff; }
.legal-body strong { color: var(--offwhite); font-weight: 600; }

/* Support FAQs */
.faq { margin-bottom: 8px; }
.faq summary {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--green);
  flex-shrink: 0;
  transition: transform .2s;
}
details[open] .faq summary::after { transform: rotate(45deg); }
.faq-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-400);
  padding-bottom: 16px;
}

/* Contact card on support page */
.contact-card {
  margin-top: 48px;
  border-radius: var(--radius-xl);
  padding: 32px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.07);
}
.contact-card h2 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.contact-card p  { font-size: 15px; color: var(--gray-400); margin-bottom: 20px; line-height: 1.65; }

/* ══════════════════════════════════════
   404 PAGE
══════════════════════════════════════ */
.not-found {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px var(--px);
}
.not-found .num {
  font-family: var(--font-display);
  font-size: clamp(80px, 20vw, 160px);
  line-height: 1;
  color: rgba(22,163,74,.15);
  letter-spacing: -.02em;
  margin-bottom: -16px;
}
.not-found h1 { font-family: var(--font-display); font-size: 32px; color: #fff; margin-bottom: 12px; }
.not-found p  { font-size: 16px; color: var(--gray-500); max-width: 360px; margin-bottom: 36px; }
