/* SquadMaster promo site: one page, the app's dark pitch and neon green. */

:root {
  --bg:        #0b1410;   /* deep pitch */
  --bg-2:      #0e1914;   /* app bar / chrome */
  --surface:   #13211a;
  --surface-2: #182a21;
  --line:      rgba(52, 211, 153, 0.14);
  --text:      #e8f2ec;
  --muted:     #93a89c;
  --green:     #34d399;   /* neon accent */
  --green-2:   #22c55e;
  --brand:     #006d3e;   /* primary buttons */
  --amber:     #ffb300;
  --red:       #e53935;
  --radius:    16px;
  --shadow:    0 20px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.glow { color: var(--green); text-shadow: 0 0 28px rgba(52, 211, 153, 0.45); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(0, 109, 62, 0.35); }
.btn-primary:hover { background: #00804a; box-shadow: 0 10px 30px rgba(52, 211, 153, 0.25); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }

/* ── Navigation ──────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 16, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.brand b { color: var(--green); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; margin-left: auto; }
.nav-links .mobile-only { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Faint pitch markings behind dark bands. */
.pitch-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(circle at 50% 50%, transparent 119px, var(--line) 120px, var(--line) 121px, transparent 122px),
    linear-gradient(90deg, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) calc(50% + 1px), transparent calc(50% + 1px));
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(60% 60% at 80% 30%, rgba(52, 211, 153, 0.16), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(0, 109, 62, 0.25), transparent 70%),
    var(--bg);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }

/* Phone mock-up */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1d2b24, #0a110d);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 80px rgba(52, 211, 153, 0.15);
  position: relative; transform: rotate(-2deg);
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 22px; margin-left: -46px; background: #050806; border-radius: 12px; z-index: 2; }
.screen { background: #f4f5f7; color: #1a1c1e; border-radius: 34px; padding: 48px 14px 18px; min-height: 560px; font-size: 13px; }
.app-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.app-bar img { border-radius: 7px; }
.app-bar strong { color: #006d3e; font-size: 16px; }
.bell { margin-left: auto; position: relative; font-size: 16px; }
.bell i { position: absolute; top: -6px; right: -8px; background: var(--red); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; border-radius: 9px; padding: 1px 5px; border: 1.5px solid #fff; }
.team-chip { display: inline-block; background: #e6f4ec; color: #006d3e; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.card { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.next-up { background: #0e1914; color: #e8f2ec; }
.next-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--green); }
.pill-live { background: rgba(52, 211, 153, 0.15); padding: 2px 8px; border-radius: 99px; letter-spacing: 0; }
.vs { display: flex; align-items: center; justify-content: space-between; margin: 14px 4px; }
.crest { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #1f3b2e; color: var(--green); border: 2px solid rgba(52, 211, 153, 0.4); }
.crest-alt { background: #2b2440; color: #c4b5fd; border-color: rgba(196, 181, 253, 0.4); }
.vs-mid { text-align: center; }
.vs-mid b { display: block; font-size: 20px; }
.vs-mid small { color: #93a89c; font-size: 11px; }
.venue { font-size: 12px; color: #b7c8bd; }
.venue u { color: var(--green); text-decoration: none; font-weight: 600; }
.countdown { margin-top: 10px; font-size: 12px; color: #93a89c; }
.countdown b { color: #fff; font-size: 18px; }
.rsvp-label { font-size: 12px; font-weight: 700; color: #4f6073; margin: 2px 0 6px; }
.rsvp-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.rsvp-pills span { text-align: center; padding: 7px 0; border-radius: 99px; border: 1.5px solid #d8dadc; font-weight: 600; font-size: 12px; color: #4f6073; }
.rsvp-pills .on { background: #22c55e; border-color: #22c55e; color: #fff; }
.rsvp-pills .off { background: var(--red); border-color: var(--red); color: #fff; }
.mini { display: flex; gap: 10px; align-items: flex-start; }
.mini-icon { width: 32px; height: 32px; border-radius: 50%; background: #fff4e5; display: grid; place-items: center; flex: none; }
.mini small { display: block; color: #4f6073; }

.float-card {
  position: absolute; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 14px; font-size: 13px; box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); }
.float-1 { left: -36px; top: 4%; }
.float-2 { right: -28px; bottom: -3%; max-width: 230px; animation-delay: -3s; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); margin-right: 4px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Audience strip ──────────────────────────────────────────────── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; padding: 22px 0; color: var(--muted); }
.strip b { color: var(--text); font-size: 18px; }
.strip i { color: var(--green); font-style: normal; }

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2, .show-copy h2, .cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: linear-gradient(180deg, var(--surface), rgba(19, 33, 26, 0.4));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(52, 211, 153, 0.45); }
.f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(52, 211, 153, 0.1); border: 1px solid var(--line); margin-bottom: 16px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* Showcases */
.showcase { background: var(--bg-2); }
.showcase.alt { background: var(--bg); }
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.show-grid.reverse .show-copy { order: 2; }
.show-copy p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: rgba(52, 211, 153, 0.15); color: var(--green);
}

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head span { color: var(--muted); font-size: 13px; }
.panel-note { display: block; color: var(--muted); font-size: 11px; margin-top: 12px; text-align: right; }

.bars { display: grid; gap: 14px; margin-bottom: 20px; }
.bar { display: grid; grid-template-columns: 82px 1fr 28px; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.bar div { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--green-2); }
.bar.red i { background: var(--red); }
.bar.amber i { background: var(--amber); }
.bar b { color: var(--text); text-align: right; }
.notif { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.notif img { border-radius: 8px; }
.notif small { display: block; color: var(--muted); font-size: 13px; }

.chat .bubble { background: var(--surface-2); border-radius: 16px 16px 16px 4px; padding: 10px 14px; margin-bottom: 10px; max-width: 82%; font-size: 15px; position: relative; }
.chat .bubble small { display: block; color: var(--green); font-weight: 600; font-size: 12px; }
.chat .bubble em { position: absolute; right: 10px; bottom: -10px; font-style: normal; font-size: 11px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 99px; padding: 1px 7px; }
.chat .bubble.mine { margin-left: auto; background: var(--brand); border-radius: 16px 16px 4px 16px; }
.composer { display: flex; justify-content: space-between; margin-top: 18px; padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.composer b { color: var(--green); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpis div { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpis small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.kpis b { font-size: 22px; }
.kpis .warn b { color: var(--amber); }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr 1fr; gap: 10px; align-items: center; font-size: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.row span:nth-child(2) { color: var(--muted); font-size: 13px; }
.row em { font-style: normal; font-size: 12px; font-weight: 700; text-align: center; padding: 3px 8px; border-radius: 99px; }
.row .ok { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.row .late { background: rgba(255, 179, 0, 0.15); color: var(--amber); }

/* Roles */
.roles-section { background: var(--bg-2); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); position: relative; overflow: hidden; }
.role::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 211, 153, 0.12), transparent 70%); }
.role h3 { color: var(--green); font-size: 20px; }
.role p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: linear-gradient(180deg, var(--surface), transparent); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 16px; box-shadow: 0 0 24px rgba(52, 211, 153, 0.3); }
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq-section { background: var(--bg-2); }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 12px; overflow: hidden; }
summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* CTA */
.cta {
  position: relative; overflow: hidden; padding: 110px 0;
  background: radial-gradient(70% 90% at 50% 100%, rgba(0, 109, 62, 0.45), transparent 70%), var(--bg);
  border-top: 1px solid var(--line);
}
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-inner img { border-radius: 22px; margin-bottom: 26px; filter: drop-shadow(0 0 30px rgba(52, 211, 153, 0.35)); }
.cta p { color: var(--muted); font-size: 18px; }
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; width: min(860px, 100%); margin-top: 18px; }
.contact input {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--text); font: inherit; min-width: 0;
}
.contact input::placeholder { color: var(--muted); }
.contact input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); }
.form-note { min-height: 1.6em; margin-top: 12px; font-size: 15px; }
.form-note.error { color: #fca5a5; }
.form-note.ok { color: var(--green); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; color: var(--muted); font-size: 14px; }
.footer nav a:hover { color: var(--green); }
.footer small { color: var(--muted); }
.footer .brand { font-size: 17px; }
.footer .brand img { border-radius: 7px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 18px; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 16px; gap: 14px; margin: 0;
  }
  .nav.open .nav-links a { font-size: 17px; }
  .nav.open .nav-links .mobile-only { display: block; }
  .nav.open .nav-links .btn { display: inline-flex; color: #fff; justify-content: center; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 56px 0 72px; }
  .hero-grid, .show-grid { grid-template-columns: 1fr; gap: 44px; }
  .show-grid.reverse .show-copy { order: 0; }
  .roles, .steps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .float-1 { left: 0; }
  .float-2 { right: 0; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .phone { width: 270px; }
  .float-card { display: none; }
  .row { grid-template-columns: 1fr 1fr; }
  .kpis b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
