/* ================================
   WAKESURF — Design System v2
   8pt grid spacing · Inter · groshi247 palette
   ================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Brand */
  --orange: #FF6B35;
  --orange-hover: #E85A28;
  --orange-light: #FFF0E8;
  --orange-shadow: rgba(255,107,53,.25);
  --blue: #4A9FD4;
  --blue-light: #E8F4FC;
  --blue-dark: #3888BE;
  --navy: #1A2B4A;
  --green: #27AE60;
  --green-light: #E8F8F0;

  /* Text */
  --text: #1A2B4A;
  --text-sec: #5A6B7D;
  --text-muted: #8A9AAC;

  /* Surface */
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --card: #FFFFFF;
  --border: #E8EDF2;
  --white: #FFFFFF;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing (8pt grid) */
  --sp-2: 2px;
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-56: 56px;
  --sp-64: 64px;

  /* Radii */
  --r: 16px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 24px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.1);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.25s var(--ease);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  padding-top: 36px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 10001;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-xs);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-24);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: -0.02em;
}
nav { display: flex; gap: var(--sp-24); align-items: center; }
nav a {
  color: var(--text-sec);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
  position: relative;
}
nav a:hover { color: var(--navy); }
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s var(--ease);
}
nav a:hover::after { width: 100%; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
  padding: var(--sp-4);
}

/* ── HERO ── */
.hero {
  background: var(--bg);
  color: var(--navy);
  padding: var(--sp-48) var(--sp-24) var(--sp-40);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--sp-16);
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-sec);
  margin-bottom: var(--sp-32);
  line-height: 1.65;
}
.hero-cta { display: flex; gap: var(--sp-12); justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-24);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, #FF6B35, #FF8A55);
  background-size: 200% 100%;
  animation: btnShimmer 3s ease-in-out infinite;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--orange-shadow);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes btnShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--orange-shadow);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--border);
  animation: btnPulse 2.5s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,159,212,0); }
  50% { box-shadow: 0 0 0 6px rgba(74,159,212,0.1); }
}
.btn-secondary:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue-dark);
  animation: none;
}
.btn--outline {
  background: var(--white);
  color: var(--text-sec);
  border: 1.5px solid var(--border);
  padding: var(--sp-8) var(--sp-16);
  font-size: 12px;
  border-radius: var(--r-pill);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
  font-family: var(--font);
  line-height: 1;
}
.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.btn--sm { padding: var(--sp-8) var(--sp-16); font-size: 13px; }

/* ── SECTIONS ── */
.section {
  padding: var(--sp-56) var(--sp-24);
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: var(--sp-40);
}
.section-title h1,
.section-title h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: var(--sp-8);
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-sec);
  max-width: 500px;
  margin: 0 auto;
}

/* ── GRID ── */
.grid { display: grid; gap: var(--sp-20); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── CARDS ── */
.card {
  background: var(--card);
  border-radius: var(--r);
  padding: var(--sp-24);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-8);
  font-weight: 700;
  color: var(--navy);
}
.card-icon { font-size: 2rem; margin-bottom: var(--sp-12); }
.card-description {
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: var(--sp-12);
}
.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: var(--sp-4);
}
.card-duration {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: var(--sp-12);
}

/* ── TRUST SIGNALS ── */
.trust-signals {
  display: flex;
  justify-content: center;
  gap: var(--sp-32);
  flex-wrap: wrap;
  padding: var(--sp-8) 0;
}
.trust-item { text-align: center; }
.trust-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: var(--sp-4);
  line-height: 1;
}
.trust-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* ── STEPS ── */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-20);
  max-width: 900px;
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: var(--sp-20) var(--sp-16);
}
.step-number {
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto var(--sp-12);
}
.step h4 {
  font-size: 0.95rem;
  margin-bottom: var(--sp-4);
  font-weight: 700;
  color: var(--navy);
}
.step p {
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.5;
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-16) 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s var(--ease);
}
.faq-question:hover { color: var(--orange); }
.faq-icon { font-size: 12px; color: var(--text-muted); transition: transform 0.3s var(--ease); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--text-sec);
  line-height: 1.7;
  font-size: 14px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: var(--sp-16); }

/* ── TESTIMONIALS ── */
.testimonial {
  background: var(--card);
  border-left: 3px solid var(--orange);
  padding: var(--sp-24);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { font-size: 13px; margin-bottom: var(--sp-8); }
.testimonial-text {
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--sp-8);
}
.testimonial-author {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

/* ── FORM ── */
.form-container {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--r);
  padding: var(--sp-32);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: var(--sp-16); }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
  margin-bottom: var(--sp-4);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--sp-12) var(--sp-16);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,159,212,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { min-height: 80px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: var(--sp-12);
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
}
.form-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--orange-shadow);
}
.form-message { text-align: center; margin-bottom: var(--sp-12); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  margin-top: var(--sp-48);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-32);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-40) var(--sp-24) var(--sp-32);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: var(--sp-8);
  color: rgba(255,255,255,0.5);
}
.footer-social { display: flex; gap: var(--sp-12); margin-top: var(--sp-12); }
.footer-social a { font-size: 20px; text-decoration: none; transition: transform 0.2s; }
.footer-social a:hover { transform: scale(1.15); }
.footer-section h3,
.footer-section h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: var(--sp-12);
  font-weight: 700;
}
.footer-section a {
  display: block;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  padding: var(--sp-4) 0;
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-section a:hover { color: var(--orange); }
.footer-address { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-top: var(--sp-4); }
.footer-disclaimers {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-24);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-disclaimers p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-8);
}
.footer-disclaimers a { color: rgba(255,255,255,0.45); text-decoration: underline; }
.footer-disclaimers a:hover { color: var(--orange); }
.footer-disclaimers strong { color: rgba(255,255,255,0.5); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-24);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin: var(--sp-4) 0; }
.footer-legal-links { display: flex; justify-content: center; gap: var(--sp-8); flex-wrap: wrap; }
.footer-legal-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.78rem; }
.footer-legal-links a:hover { color: var(--orange); }
.footer-legal-links span { color: rgba(255,255,255,0.2); }
.footer-note { font-size: 0.72rem !important; color: rgba(255,255,255,0.25) !important; margin-top: var(--sp-8) !important; }

/* ── ANIMATIONS ── */
/* fade-in-up disabled — was causing invisible content on mobile */
.fade-in-up { opacity: 1; transform: none; }
.fade-in-up.visible { opacity: 1; transform: none; }

/* ── STICKY CALL ── */
.sticky-call { position: fixed; bottom: var(--sp-20); right: var(--sp-20); z-index: 900; }
.sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 4px 12px var(--orange-shadow);
  transition: var(--transition);
}
.sticky-call a:hover { transform: scale(1.1); }

/* ── SCHOOL CARDS ── */
.school-card {
  background: var(--card);
  border-radius: var(--r);
  padding: var(--sp-24);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-16);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.school-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.school-card--partner {
  border: 2px solid var(--orange);
  background: linear-gradient(135deg, #FFF8F3 0%, var(--white) 100%);
}
.school-card__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  flex-shrink: 0;
}
.school-card__rank {
  width: 32px;
  height: 32px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
}
.school-card--partner .school-card__rank {
  background: var(--orange);
  color: var(--white);
}
.school-card__logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: var(--sp-4);
}
.school-card__logo-wrap img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}
.school-card__logo-wrap span {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}
.school-card__info { flex: 1; min-width: 0; }
.school-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: var(--sp-2) var(--sp-8);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.school-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}
.school-card__rating {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: 13px;
  margin-bottom: var(--sp-12);
}
.school-card__stars { color: var(--orange); letter-spacing: 1px; font-size: 12px; }
.school-card__score { font-weight: 700; color: var(--navy); }
.school-card__reviews { color: var(--text-muted); font-size: 12px; }
.school-card__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.school-card__feature {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 13px;
}
.school-card__feature-icon { font-size: 16px; flex-shrink: 0; }
.school-card__feature-text { color: var(--text-sec); font-weight: 500; }
.school-card__tags { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.tag {
  padding: var(--sp-4) var(--sp-12);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
}
.tag--blue { background: var(--blue-light); color: var(--blue-dark); }
.tag--green { background: var(--green-light); color: var(--green); }
.school-card__cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  flex-shrink: 0;
  align-self: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: var(--sp-32) var(--sp-16) var(--sp-24); }
  .hero h1 { font-size: 1.5rem; }
  .hero-subtitle { margin-bottom: var(--sp-24); }
  nav { display: none; }
  nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    gap: var(--sp-24);
    z-index: 9999;
  }
  nav.mobile-open a { font-size: 18px; color: var(--navy); }
  nav.mobile-open a::after { display: none; }
  .mobile-menu-btn { display: block; z-index: 10000; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .section { padding: var(--sp-40) var(--sp-16); }
  .section-title { margin-bottom: var(--sp-32); }
  .footer-content { grid-template-columns: 1fr 1fr; gap: var(--sp-24); padding: var(--sp-32) var(--sp-20) var(--sp-24); }
  .footer-brand { grid-column: 1 / -1; }
  .form-container { padding: var(--sp-24); }
  .hero-cta { flex-direction: column; align-items: center; }
  .school-card {
    flex-direction: column;
    text-align: left;
    padding: var(--sp-16);
    gap: var(--sp-12);
  }
  .school-card__left { flex-direction: row; gap: var(--sp-12); }
  .school-card__features { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); text-align: left; }
  .school-card__tags { justify-content: flex-start; flex-wrap: wrap; gap: var(--sp-6); }
  .school-card__cta { flex-direction: column; }
  .school-card__rating { justify-content: flex-start; }
  .school-card__feature { font-size: 12px; }
  .school-card__feature-icon { font-size: 14px; }
}
@media (max-width: 480px) {
  .steps-container { grid-template-columns: 1fr; }
  .card { padding: var(--sp-20); }
  .footer-content { grid-template-columns: 1fr; }
}
@media print {
  header, footer, .sticky-call, .form-container { display: none; }
}
