/* ═══════════════════════════════════════════════
   SoccerPath 2026 — Brand Design System
   Brand color: #6B21A8 (purple) + variants
═══════════════════════════════════════════════ */

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

:root {
  /* ── SoccerPath Brand Colors (Purple) ── */
  --sp-green:        #6B21A8;   /* primary purple */
  --sp-green-dark:   #4C1373;   /* dark purple */
  --sp-green-light:  #F3E8FF;   /* light purple tint */
  --sp-dark:         #1A0A2E;   /* very dark purple-black */
  --sp-navy:         #2D1260;   /* deep purple */
  --sp-navy-mid:     #3B1A7A;   /* mid purple */

  /* ── Neutrals ── */
  --gray-50:   #F8FAFC;
  --gray-100:  #F1F5F9;
  --gray-200:  #E2E8F0;
  --gray-300:  #CBD5E1;
  --gray-400:  #94A3B8;
  --gray-500:  #64748B;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1E293B;
  --gray-900:  #0F172A;
  --white:     #FFFFFF;

  /* ── State Tag Colors ── */
  --ny-bg:    #DBEAFE; --ny-text: #1D4ED8;   /* Blue  */
  --nj-bg:    #FEF3C7; --nj-text: #B45309;   /* Amber */
  --fl-bg:    #FFE4E6; --fl-text: #BE123C;   /* Red   */

  /* ── Misc ── */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow:     0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.15);
}

/* ══ Reset ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--gray-800); background: var(--white); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ══ Typography ══ */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem;   font-weight: 600; }
p  { color: var(--gray-500); line-height: 1.7; }

/* ══ Layout ══ */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px;  margin: 0 auto; padding: 0 24px; }
.section      { padding: 80px 0; }
.section-sm   { padding: 56px 0; }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--sp-dark); }

/* ══ Eyebrow label ══ */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sp-green); margin-bottom: 10px;
}

/* ══ Section Header ══ */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { font-size: 1.05rem; }

/* ════════════════════════
   NAV
════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
nav.scrolled { border-bottom-color: var(--gray-200); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(107,33,168,0.35);
}
.nav-logo-wordmark {
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: #111;
}
.nav-logo-wordmark span { color: #7C3AED; }
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--gray-600);
  padding: 8px 12px; border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--gray-900); background: var(--gray-100); }
.nav-links a.active { color: var(--sp-green); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login {
  font-size: 0.875rem; font-weight: 600; color: var(--gray-700);
  padding: 8px 16px; border-radius: 8px; border: 1.5px solid var(--gray-200);
  transition: all 0.15s;
}
.nav-login:hover { border-color: var(--gray-400); background: var(--gray-50); }
.nav-signup {
  font-size: 0.875rem; font-weight: 600; color: var(--white);
  padding: 8px 18px; border-radius: 8px;
  background: var(--sp-green);
  transition: all 0.15s;
}
.nav-signup:hover { background: var(--sp-green-dark); transform: translateY(-1px); }
.nav-find-ai {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid #7C3AED;
  color: #7C3AED; font-size: 0.875rem; font-weight: 700;
  text-decoration: none; background: white; white-space: nowrap;
  animation: nav-ai-glow 2.2s ease-in-out infinite;
}
.nav-find-ai:hover { background: #F5F3FF; }
@keyframes nav-ai-glow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(124,58,237,0.12), 0 0 8px rgba(124,58,237,0.15); }
  50%       { box-shadow: 0 0 0 4px rgba(124,58,237,0.22), 0 0 20px rgba(124,58,237,0.28); }
}

/* ════════════════════════
   BUTTONS
════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.15s; text-decoration: none;
}
.btn-green  { background: var(--sp-green); color: var(--white); }
.btn-green:hover  { background: var(--sp-green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(107,33,168,0.35); }
.btn-dark   { background: var(--sp-dark); color: var(--white); }
.btn-dark:hover   { background: var(--sp-navy); transform: translateY(-1px); }
.btn-outline{ background: transparent; color: var(--sp-green); border: 2px solid var(--sp-green); }
.btn-outline:hover{ background: var(--sp-green-light); }
.btn-ghost  { background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 8px 16px; font-size: 0.825rem; border-radius: 8px; }

/* ════════════════════════
   STATE TAGS
════════════════════════ */
.state-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.state-ny { background: var(--ny-bg); color: var(--ny-text); }
.state-nj { background: var(--nj-bg); color: var(--nj-text); }
.state-fl { background: var(--fl-bg); color: var(--fl-text); }

/* ════════════════════════
   GENERAL TAGS/BADGES
════════════════════════ */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
}
.tag-green { background: var(--sp-green-light); color: var(--sp-green-dark); }
.tag-blue  { background: #DBEAFE; color: #1D4ED8; }
.tag-gray  { background: var(--gray-100); color: var(--gray-600); }
.tag-dark  { background: var(--sp-dark); color: var(--white); }

/* ════════════════════════
   ACADEMY CARD
════════════════════════ */
.academy-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.academy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.academy-card-top {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.academy-card-logo {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--sp-green-light), var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0; border: 1px solid var(--gray-200);
}
.academy-card-name { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); line-height: 1.3; }
.academy-card-location { font-size: 0.78rem; color: var(--gray-400); margin-top: 4px; }
.academy-card-body  { padding: 14px 20px; flex: 1; }
.academy-card-body p { font-size: 0.82rem; line-height: 1.6; margin-bottom: 12px; color: var(--gray-500); }
.academy-card-tags  { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.academy-info-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.academy-info-item  { display: flex; flex-direction: column; gap: 2px; }
.academy-info-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); }
.academy-info-value { font-size: 0.8rem; font-weight: 500; color: var(--gray-700); }
.academy-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.rating { display: flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }
.rating-star { color: #F59E0B; }
.available-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sp-green); display: inline-block; margin-right: 4px;
}

/* ════════════════════════
   PRICING CARD
════════════════════════ */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px 40px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.pricing-card.featured { border-color: var(--sp-green); box-shadow: 0 0 0 3px rgba(43,181,115,0.15), var(--shadow-lg); }
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--sp-green); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
}

/* ════════════════════════
   FOOTER
════════════════════════ */
footer {
  background: var(--sp-dark); color: var(--gray-400);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo { font-size: 1.1rem; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 260px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.85rem; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem;
}
.footer-email { color: var(--sp-green); }

/* ════════════════════════
   HERO (shared)
════════════════════════ */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(43,181,115,0.12); border: 1px solid rgba(43,181,115,0.25);
  color: var(--sp-green); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}

/* ════════════════════════
   FORM
════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--gray-800);
  background: var(--white); font-family: inherit;
  outline: none; transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sp-green); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ════════════════════════
   GRID HELPERS
════════════════════════ */
.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.academy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ════════════════════════
   MISC UTILITIES
════════════════════════ */
.text-green { color: var(--sp-green); }
.text-white { color: var(--white); }
.text-dark  { color: var(--sp-dark); }
.font-bold  { font-weight: 700; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.center { text-align: center; }

/* ════════════════════════
   HAMBURGER NAV
════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 9px 8px; border-radius: 8px;
  transition: background 0.15s; flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--gray-100); }
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: all 0.2s;
}

/* ════════════════════════
   RESPONSIVE
════════════════════════ */
@media (max-width: 1020px) {
  .academy-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }

  /* Nav mobile */
  .nav-inner { height: auto !important; padding: 12px 20px !important; flex-wrap: wrap; gap: 0; }
  .nav-logo img { height: 56px !important; }
  .nav-links { display: none; width: 100%; flex-direction: column; gap: 2px; padding: 8px 0 12px; order: 3; }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { padding: 10px 12px !important; font-size: 0.95rem !important; border-radius: 8px; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
}
@media (max-width: 600px) {
  .academy-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
