/* ==========================================================================
   CourtFlow marketing site — shared stylesheet
   ========================================================================== */

:root {
  --navy-950: #071021;
  --navy-900: #081428;
  --navy-800: #0B1F3A;
  --navy-700: #0E2646;
  --navy-600: #132B4E;

  --cyan-300: #67E8F9;
  --cyan-400: #22D3EE;
  --cyan-600: #0891B2;
  --cyan-tint: #E6FBFF;

  --grey-50:  #F5F7FA;
  --grey-100: #F0F3F7;
  --grey-200: #E7EBF1;
  --grey-300: #D8DFE8;
  --grey-400: #C7D2E0;
  --grey-500: #8592A6;
  --grey-600: #5A6A82;
  --grey-700: #3A4A63;
  --grey-900: #101826;

  --amber-bg: #FEF3C7;
  --amber-fg: #92400E;
  --green-bg: #DCFCE7;
  --green-fg: #166534;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(11,31,58,0.06), 0 12px 32px rgba(11,31,58,0.06);
  --shadow-soft: 0 1px 2px rgba(11,31,58,0.05), 0 8px 22px rgba(11,31,58,0.05);

  --container-max: 1200px;
  --gutter: 64px;
}

@media (max-width: 900px)  { :root { --gutter: 32px; } }
@media (max-width: 560px)  { :root { --gutter: 20px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--grey-50);
  color: var(--grey-900);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-600); text-decoration: none; }
a:hover { color: var(--cyan-400); }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.01em; margin: 0; color: var(--navy-800); }
p { margin: 0; }
button { font-family: inherit; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 999px;
  border: none; cursor: pointer; white-space: nowrap;
}
.btn-cyan { background: var(--cyan-400); color: var(--navy-950); }
.btn-cyan:hover { background: #3DDCF5; color: var(--navy-950); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline { background: transparent; color: var(--navy-800); border: 1.5px solid var(--grey-300); }
.btn-outline:hover { border-color: var(--grey-500); color: var(--navy-800); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-static, .btn[aria-disabled="true"] {
  cursor: default; pointer-events: none; opacity: 0.72;
}

/* ---------- nav ---------- */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter); background: var(--navy-900);
  position: relative; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 32px; object-fit: contain; flex: 0 0 auto; }
.brand-logo-sm { width: 30px; height: 22px; }
.brand span { font-size: 20px; font-weight: 800; color: #fff; }
.brand span em { color: var(--cyan-400); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--grey-400); font-weight: 600; font-size: 14px; }
.nav-links a.active { color: #fff; font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right .signin { color: var(--grey-400); font-weight: 600; font-size: 14.5px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- status / feedback ---------- */
.availability-card {
  display: flex; align-items: center; gap: 10px; padding: 12px 22px;
  border: 1.5px solid #22384F; border-radius: 12px; background: var(--navy-700);
  color: var(--grey-400); font-size: 13px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .navbar.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-900);
    padding: 24px var(--gutter) 28px; border-top: 1px solid #16233A;
  }
  .navbar.open .nav-right { display: none; }
}

/* ---------- pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  border-radius: 999px; font-size: 13px; font-weight: 700;
}
.pill-cyan-dark { background: rgba(34,211,238,0.12); color: var(--cyan-300); }
.pill-cyan-light { background: var(--cyan-tint); color: var(--cyan-600); }
.pill-grey { background: var(--grey-100); color: var(--grey-700); }
.pill-amber { background: var(--amber-bg); color: var(--amber-fg); }
.pill-green { background: var(--green-bg); color: var(--green-fg); }

/* ---------- sections ---------- */
.section { padding: 100px var(--gutter); }
.section-tight { padding: 70px var(--gutter); }
.section-dark { background: var(--navy-800); }
.section-navgrad { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 65%, var(--navy-700) 100%); }
.section-white { background: #fff; }
.section-header { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-header p { color: var(--grey-600); font-size: 16.5px; line-height: 1.6; margin-top: 14px; }
.eyebrow { margin-bottom: 18px; }

@media (max-width: 900px) {
  .section { padding: 64px var(--gutter); }
  .section-tight { padding: 48px var(--gutter); }
}

/* ---------- cards & grids ---------- */
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.card-outline { background: #fff; border-radius: var(--radius-lg); border: 1.5px solid var(--grey-200); }
.card-dashed { border: 1.5px dashed var(--grey-400); background: #F7F9FB; border-radius: var(--radius-lg); }
.card-pad { padding: 32px 26px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-center { align-items: center; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* icon tile */
.icon-tile {
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px var(--gutter) 110px;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(34,211,238,0.22), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 65%, var(--navy-700) 100%);
}
.hero-rings { position: absolute; right: -120px; top: 60px; width: 520px; height: 520px; border-radius: 50%; border: 1.5px solid rgba(34,211,238,0.16); pointer-events: none; }
.hero-rings.inner { right: 20px; top: 160px; width: 340px; height: 340px; border-color: rgba(34,211,238,0.14); }
.hero-content { max-width: 680px; position: relative; }
.hero h1 { font-size: 54px; line-height: 1.08; color: #fff; margin-bottom: 22px; }
.hero p.lede { font-size: 19px; line-height: 1.6; color: var(--grey-400); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-foot { color: #7C8CA6; font-size: 13.5px; margin-top: 22px; }

@media (max-width: 700px) {
  .hero { padding: 64px var(--gutter) 70px; }
  .hero h1 { font-size: 36px; }
  .hero p.lede { font-size: 16.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- proof strip ---------- */
.proof-strip {
  background: #fff; padding: 26px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--grey-200); flex-wrap: wrap; gap: 16px;
}
.proof-strip .label { color: var(--grey-500); font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; }
.sports-list { display: flex; gap: 40px; flex-wrap: wrap; }
.sports-list span { color: var(--grey-700); font-weight: 700; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { padding: 64px var(--gutter) 40px; background: var(--navy-900); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: #fff; font-weight: 700; font-size: 13.5px; margin-bottom: 16px; }
.footer-grid a { color: #8FA0B8; font-size: 13.5px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-bottom { border-top: 1px solid #16233A; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom span, .footer-bottom a { color: #5C6C86; font-size: 12.5px; }
.footer-simple { padding: 36px var(--gutter); background: var(--navy-900); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-simple-links { display: flex; gap: 24px; }
.footer-simple-links a { color: #8FA0B8; font-size: 12.5px; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- phone mockups ---------- */
.phone-row { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.phone-wrap { text-align: center; }
.phone {
  width: 220px; height: 462px; border-radius: 32px; background: var(--navy-800);
  padding: 9px; box-shadow: 0 24px 44px rgba(11,31,58,0.20); margin: 0 auto;
}
.screen { width: 100%; height: 100%; border-radius: 24px; background: var(--grey-50); overflow: hidden; position: relative; padding: 16px 14px; }
.phone-caption { margin-top: 14px; font-weight: 700; font-size: 13px; color: var(--navy-800); }
.phone-subcaption { font-size: 11px; color: var(--grey-500); }

/* ---------- misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--grey-700); }
.check-list li::before { content: "—"; color: var(--cyan-600); font-weight: 800; flex-shrink: 0; }
.check-list.on-dark li { color: #DDE6F0; }
.check-list.on-dark li::before { color: var(--cyan-400); }

/* skip link for accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: #fff; color: var(--navy-800);
  padding: 12px 20px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (max-width: 900px) {
  .hero-content, .grid-center > div { max-width: 100%; }
  .grid-center { grid-template-columns: 1fr !important; }
}
