/* ── NextplAI Redesign — Shared Stylesheet ────────────────────
   Light, inclusive, modern player-development platform.
   Brand red: #BA2424 | Body: warm off-white #FAFAF8
   Text: charcoal #1A1A1A | Secondary: #6B7280
───────────────────────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red:        #BA2424;
  --red-dark:   #8B1A1A;
  --red-light:  #F5E8E8;
  --body-bg:    #FAFAF8;
  --surface:    #FFFFFF;
  --card-bg:    #FFFFFF;
  --border:     #E5E7EB;
  --text:       #1A1A1A;
  --text-sec:   #6B7280;
  --text-light: #9CA3AF;
  --white:      #FFFFFF;

  /* Audience palette — Brazil (Juniors) */
  --brazil-green:  #009C3B;
  --brazil-yellow: #FFDF00;
  --brazil-blue:   #002776;
  --brazil-bg:     #FFFBF0;
  --brazil-card:   #FFF9E6;

  /* Audience palette — Spain (Players) */
  --spain-red:     #BA2424;
  --spain-gold:    #F5C500;
  --spain-bg:      #FFF8F0;
  --spain-card:    #FFF3E0;

  /* Audience palette — Netherlands (Parents) */
  --nl-orange:     #E87722;
  --nl-charcoal:   #1A1A1A;
  --nl-bg:         #FFF7F0;
  --nl-card:       #FFF3EB;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--body-bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px; display: flex; align-items: center; padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 20px; font-weight: 900; letter-spacing: -0.5px;
  color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
  color: var(--text-sec); text-decoration: none; font-size: 14px;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--red); color: var(--white) !important;
  padding: 10px 20px; border-radius: 8px;
  font-weight: 700 !important; font-size: 14px !important;
  transition: background 0.2s !important; text-decoration: none !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--text);
}
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  z-index: 99; padding: 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; }
.mobile-menu a {
  display: block; padding: 14px 0; color: var(--text-sec); text-decoration: none;
  font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border);
}
.mobile-menu .m-cta {
  display: block; margin-top: 20px; background: var(--red); color: var(--white);
  text-align: center; padding: 16px; border-radius: 10px; font-weight: 700;
  text-decoration: none; font-size: 16px;
}

/* ── SECTION BASE ─────────────────────────────────── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block; color: var(--red); font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(26px, 4vw, 42px); font-weight: 900;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px; color: var(--text);
}
.section-intro {
  font-size: 17px; color: var(--text-sec); max-width: 540px; margin-bottom: 48px;
}
.alt-section { background: #F3F4F6; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white);
  padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--text-sec); transform: translateY(-1px); }

/* ── AUDIENCE CARDS ───────────────────────────────── */
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 40px 0;
}
.audience-card {
  border-radius: 20px; padding: 28px 24px;
  text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.audience-card--junior { background: var(--brazil-card); border-color: var(--brazil-green); }
.audience-card--player { background: var(--spain-card); border-color: var(--spain-red); }
.audience-card--parent { background: var(--nl-card); border-color: var(--nl-orange); }

.audience-card__icon { font-size: 36px; }
.audience-card__question {
  font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.3;
}
.audience-card__desc { font-size: 14px; color: var(--text-sec); line-height: 1.6; flex: 1; }
.audience-card__cta {
  font-size: 13px; font-weight: 700; margin-top: 4px; display: flex; align-items: center; gap: 4px;
}
.audience-card--junior .audience-card__cta { color: var(--brazil-green); }
.audience-card--player .audience-card__cta { color: var(--spain-red); }
.audience-card--parent .audience-card__cta { color: var(--nl-orange); }

/* ── STEP CARDS ───────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
}
.step-num {
  width: 36px; height: 36px; background: var(--red); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: var(--white); margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step-text { font-size: 14px; color: var(--text-sec); line-height: 1.65; }

/* ── TRUST STRIP ──────────────────────────────────── */
.trust-strip {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 28px; display: flex;
  align-items: flex-start; gap: 16px;
}
.trust-strip__icon { font-size: 28px; flex-shrink: 0; }
.trust-strip__title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.trust-strip__text { font-size: 13px; color: var(--text-sec); line-height: 1.6; }
.trust-strip__links { margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
.trust-strip__links a { font-size: 13px; font-weight: 600; color: var(--red); text-decoration: none; }
.trust-strip__links a:hover { text-decoration: underline; }

/* ── FOOTER ───────────────────────────────────────── */
footer {
  background: var(--text); color: #D1D5DB; padding: 56px 24px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-logo {
  font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 10px;
}
.footer-logo span { color: var(--red); }
.footer-tagline { font-size: 13px; color: #9CA3AF; line-height: 1.6; max-width: 260px; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: #D1D5DB; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #374151; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: #6B7280; }
.footer-bottom a { color: #6B7280; text-decoration: none; }
.footer-bottom a:hover { color: #D1D5DB; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 600px) {
  .section { padding: 60px 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── AVATAR SHOWCASE ──────────────────────────────── */
.avatar-row {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none;
}
.avatar-row::-webkit-scrollbar { display: none; }
.avatar-item {
  flex-shrink: 0; width: 100px; height: 130px;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
canvas.av-thumb { width: 100px; height: 130px; display: block; }

/* ── HERO ─────────────────────────────────────────── */
.page-hero {
  padding: 120px 24px 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 800px; }
.page-hero__eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
  padding: 6px 14px; border-radius: 20px;
}
.page-hero__eyebrow--junior { background: #E8F5EC; color: var(--brazil-green); }
.page-hero__eyebrow--player { background: #F5E8E8; color: var(--spain-red); }
.page-hero__eyebrow--parent { background: #FEF0E6; color: var(--nl-orange); }

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px;
}
.page-hero__sub {
  font-size: 18px; color: var(--text-sec); max-width: 560px; margin-bottom: 36px; line-height: 1.6;
}
.page-hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── LANDING FEATURE GRID ─────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}
.feature-card__icon { font-size: 28px; margin-bottom: 12px; }
.feature-card__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card__text { font-size: 14px; color: var(--text-sec); line-height: 1.6; }

@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
  .page-hero__buttons { flex-direction: column; }
}

/* ── REDUCED MOTION ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
