/* ==========================================================================
   Nado Football — shared stylesheet
   Pitch-green + ink stadium palette. Mobile-first responsive design.
   ========================================================================== */

:root {
  --pitch: #15803d;
  --pitch-deep: #0d5128;
  --turf: #16a34a;
  --ink: #0a1612;
  --ink-soft: #142823;
  --gold: #fbbf24;
  --amber: #f59e0b;
  --whistle: #ef4444;
  --line-white: #f8fafc;
  --text: #0f1f1a;
  --text-soft: #3d5249;
  --muted: #748a82;
  --bg: #f6f9f5;
  --surface: #ffffff;
  --line: rgba(10, 22, 18, 0.08);
  --shadow-sm: 0 4px 12px rgba(10, 22, 18, 0.06);
  --shadow-md: 0 14px 40px rgba(10, 22, 18, 0.10);
  --shadow-lg: 0 24px 70px rgba(10, 22, 18, 0.20);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color .2s ease, color .2s ease;
}
a:hover { border-bottom-color: var(--turf); }

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

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

/* ----- Top navigation ---------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 249, 245, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -.01em;
  color: var(--ink);
}
.nav__brand:hover { border-color: transparent; }
.nav__logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--turf), var(--pitch-deep));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.4);
}
.nav__links { display: flex; gap: 22px; align-items: center; }
.nav__links a {
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  border: none;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  border: none !important;
}
.nav__cta:hover { background: var(--ink-soft); }

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

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

.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(22, 163, 74, 0.18), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(251, 191, 36, 0.14), transparent 50%),
    linear-gradient(160deg, var(--ink), var(--ink-soft));
  color: #fff;
  overflow: hidden;
  padding: 90px 0 110px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--turf);
  width: 480px; height: 480px;
  top: -160px; right: -160px;
  filter: blur(70px);
  opacity: 0.4;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 22px 0 18px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--turf), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin: 0 auto 32px;
}
@media (min-width: 881px) { .hero p { margin-left: 0; } }

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 880px) { .hero__actions { justify-content: center; } }

/* ----- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: transparent; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--turf), var(--pitch-deep));
  color: #fff;
  box-shadow: 0 14px 30px rgba(21, 128, 61, 0.4);
}
.btn--primary:hover { box-shadow: 0 18px 40px rgba(21, 128, 61, 0.55); }

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.14);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); }

.btn--solid {
  background: var(--ink);
  color: #fff;
}
.btn--solid:hover { background: var(--ink-soft); }

/* ----- Phone mockup ------------------------------------------------------ */

.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9/19;
  margin: 0 auto;
  border-radius: 38px;
  background: linear-gradient(180deg, #1a2a25, #050a08);
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,0.04);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--ink), var(--pitch-deep));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone__inner {
  padding: 44px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone__row {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone__avatar {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
  color: #fff;
}
.phone__avatar.gk { background: var(--gold); color: var(--ink); }
.phone__avatar.def { background: var(--turf); }
.phone__avatar.mid { background: var(--amber); color: var(--ink); }
.phone__avatar.fwd { background: var(--whistle); }
.phone__name { color: #fff; font-size: 12px; font-weight: 700; }
.phone__time { color: rgba(255,255,255,.55); font-size: 11px; font-family: ui-monospace, monospace; margin-left: auto; }
.phone__chip {
  font-size: 9px; font-weight: 800;
  color: #fff;
  background: var(--whistle);
  padding: 3px 6px;
  border-radius: 6px;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.phone__hero {
  text-align: center;
  padding: 8px 0 4px;
}
.phone__hero .clock {
  font-family: ui-monospace, monospace;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
}
.phone__hero .label {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

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

.section {
  padding: 90px 0;
}
.section--soft { background: var(--surface); }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section__kicker {
  font-size: 12px; font-weight: 800;
  color: var(--turf);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 12px 0 14px;
  color: var(--ink);
}
.section__sub {
  font-size: 17px;
  color: var(--text-soft);
}

/* ----- Feature grid ------------------------------------------------------ */

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

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 163, 74, .4);
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--turf), var(--pitch-deep));
  display: grid; place-items: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 17px; font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

/* ----- Stats strip ------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
}
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px; } }

.stat__num {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--turf), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  font-weight: 600;
}

/* ----- CTA --------------------------------------------------------------- */

.cta {
  background: linear-gradient(135deg, var(--turf), var(--pitch-deep));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.cta p {
  font-size: 16px;
  margin: 0 auto 28px;
  max-width: 520px;
  opacity: 0.9;
}

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

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 48px 0 32px;
  font-size: 14px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer__inner { grid-template-columns: 1fr; } }

.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer a {
  color: rgba(255,255,255,.6);
  border: none;
}
.footer a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 36px;
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}

/* ----- Doc page (privacy / support / terms) ------------------------------ */

.page {
  background: var(--bg);
  padding: 60px 0 90px;
}
.page__hero {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.page__hero h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 8px 0 14px;
  color: var(--ink);
}
.page__hero .meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.page__hero p {
  font-size: 17px;
  color: var(--text-soft);
}

.doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .doc { padding: 28px 22px; border-radius: 22px; } }

.doc h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 12px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 24px 0 8px;
  color: var(--ink);
}
.doc p, .doc li {
  font-size: 15.5px;
  color: var(--text-soft);
}
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); border-bottom-color: var(--turf); font-weight: 600; }

/* ----- FAQ accordion ----------------------------------------------------- */

.faq {
  display: flex; flex-direction: column; gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 22px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(22, 163, 74, .4); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: var(--turf);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 15px;
}

/* ----- Contact card ------------------------------------------------------ */

.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
@media (max-width: 600px) { .contact-card { grid-template-columns: 1fr; } }
.contact-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}
.contact-card p {
  margin: 0;
  color: rgba(255,255,255,.7);
}
