/* ============================================================
   Surfbro's — placeholder landingspagina
   Exacte huisstijl van de app: navy + teal. Mobiel-first.
   ============================================================ */

:root {
  /* Merkkleuren — exact gemeten uit de app-screenshots */
  --navy:        #0a2240;  /* primaire knoppen, koppen */
  --navy-deep:   #061b39;  /* logo-navy (gemeten) */
  --teal:        #1a8fa3;  /* accent: "in Scheveningen", actieve chips, iconen (gemeten) */
  --teal-strong: #16808f;  /* hover / actieve vullingen */
  --teal-soft:   #e3f2f4;  /* lichte icoon-/badge-achtergrond */

  --green:      #1fa463;
  --green-soft: #e2f6ec;
  --amber:      #e0a032;
  --amber-soft: #fbf1d8;

  /* Tekst & neutrals */
  --ink:        #0d2a44;
  --muted:      #5c6b7a;
  --muted-light:#8a9aa8;
  --line:       #e6ecf2;
  --surface:    #ffffff;
  --surface-alt:#f2f6f9;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 14px 44px -16px rgba(10, 34, 54, 0.30);
  --shadow-sm: 0 6px 20px -10px rgba(10, 34, 54, 0.22);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 38px; width: auto; }
.logo-fallback { display: none; flex-direction: column; align-items: center; line-height: 1; }
.logo.no-img .logo-img { display: none; }
.logo.no-img .logo-fallback { display: inline-flex; }
.logo-text { font-family: "Kaushan Script", cursive; font-size: 1.7rem; color: var(--navy); }
.logo-wave { width: 92px; height: 12px; color: var(--teal); margin-top: -2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.6em 1.1em; font-size: 0.92rem; }
.btn-lg { padding: 0.95em 1.9em; font-size: 1.05rem; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--navy-deep); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  background: #fff;
  color: var(--teal-strong);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 70px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch { display: inline-flex; background: var(--surface-alt); border-radius: 999px; padding: 3px; }
.lang-btn {
  border: none; background: transparent; font-family: inherit;
  font-weight: 700; font-size: 0.82rem; color: var(--muted);
  padding: 0.35em 0.7em; border-radius: 999px; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn[aria-pressed="true"] { background: #fff; color: var(--teal-strong); box-shadow: var(--shadow-sm); }

/* ---------- Hero (licht/wit, zoals de app) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 440px at 88% -12%, rgba(26, 143, 163, 0.12), transparent 60%),
    radial-gradient(760px 440px at -5% 0%, rgba(26, 143, 163, 0.08), transparent 55%),
    #ffffff;
  padding: clamp(40px, 6.5vw, 80px) 0 clamp(48px, 7.5vw, 92px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 56px);
  align-items: center;
}
.hero-text { text-align: center; }

.badge {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-strong);
  border: 1px solid rgba(26, 143, 163, 0.25);
  padding: 0.45em 1em;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 1.3em;
}
.badge-light { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.4); }

.hero-title { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; color: var(--navy); }
.hero-title .accent { color: var(--teal); }
.hero-sub { font-size: clamp(1.04rem, 2.2vw, 1.24rem); color: var(--muted); max-width: 560px; margin: 0 auto 1.7em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8em; justify-content: center; }
.hero-note { margin-top: 1.2em; font-size: 0.88rem; color: var(--muted-light); }

/* ---------- Screenshots (app) ---------- */
.shot { margin: 0; display: flex; justify-content: center; }
.shot img { width: 100%; max-width: 270px; border-radius: 28px; box-shadow: var(--shadow); }
.shot-hero img { max-width: 300px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55); }
.shot-fallback { display: none; }
.shot.is-missing {
  width: 100%; max-width: 270px; aspect-ratio: 9 / 19; margin: 0 auto;
  border: 2px dashed var(--line); border-radius: 28px;
  background: linear-gradient(160deg, var(--teal-soft), #d3edf1);
}
.shot-hero.is-missing { max-width: 300px; }
.shot.is-missing img { display: none; }
.shot.is-missing .shot-fallback {
  display: flex; width: 100%; height: 100%;
  align-items: center; justify-content: center; text-align: center;
  color: var(--teal-strong); font-size: 0.9rem; font-weight: 600; padding: 1em;
}

/* ---------- Secties ---------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section-alt { background: var(--surface-alt); }
.section-title { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 800; color: var(--navy); }
.section-title-light { color: #fff; }
.lead { font-size: clamp(1.04rem, 2vw, 1.2rem); color: var(--muted); max-width: 640px; margin: 0 auto 1.2em; }
.lead-light { color: rgba(255,255,255,0.92); }

/* ---------- Stats ---------- */
/* Minder witruimte boven het stat-blok (de kop is hier weggehaald) */
#de-kans { padding-top: clamp(8px, 1.5vw, 18px); }
.stats { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 0; }
.stat {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 60%, var(--teal-soft) 150%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6em 1.2em; box-shadow: var(--shadow-sm);
}
/* Subtiel golf-watermerk (uit het logo) in de hoek — grafisch maar rustig */
.stat::after {
  content: "";
  position: absolute;
  right: -14px; bottom: 10px;
  width: 130px; height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16'%3E%3Cpath d='M2 9 C 20 1, 30 1, 48 8 S 84 15, 118 5' fill='none' stroke='%231a8fa3' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
}
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--teal); margin-bottom: 0.2em; }
.stat-label { color: var(--muted); font-size: 0.98rem; }

/* ---------- Stappen ---------- */
.steps { display: flex; flex-direction: column; gap: clamp(40px, 7vw, 76px); margin-top: 3em; }
.step { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.step-text { max-width: 460px; text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 0.6em; box-shadow: var(--shadow-sm);
}
.step-text h3 { font-size: 1.4rem; color: var(--navy); }
.step-text p { color: var(--muted); }

/* App-stijl prijzenkaart (stap 3) */
.price-card {
  width: 100%; max-width: 360px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4em 1.4em 1.1em; box-shadow: var(--shadow);
}
.price-card-title { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.9em; text-align: left; }
.price-row { display: flex; align-items: center; gap: 12px; padding: 0.7em 0; border-top: 1px solid var(--line); }
.price-ic {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-soft); font-size: 1.1rem;
}
.price-info { flex: 1 1 auto; display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.price-info strong { color: var(--navy); font-size: 0.98rem; }
.price-info small { color: var(--muted-light); font-size: 0.82rem; }
.price-amt { flex: 0 0 auto; display: flex; flex-direction: column; text-align: right; line-height: 1.3; }
.price-amt strong { color: var(--teal-strong); font-size: 1.05rem; }
.price-amt small { color: var(--muted-light); font-size: 0.78rem; }
.price-note { margin: 0.9em 0 0; font-size: 0.82rem; color: var(--muted-light); text-align: left; }

/* ---------- Cards (voordelen) ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 3em; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8em 1.6em; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; display: block; margin-bottom: 0.4em; }
.card h3 { font-size: 1.2rem; color: var(--navy); }
.card p { color: var(--muted); margin: 0; }

/* ---------- FOMO / CTA-sectie ---------- */
.section-cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--teal-strong) 130%);
  color: #fff; overflow: hidden;
}
.section-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 80% 120%, rgba(95, 208, 219, 0.25), transparent 60%);
}
.section-cta .container { position: relative; }
.section-cta .btn-primary { background: #fff; color: var(--navy); }
.section-cta .btn-primary:hover { background: var(--teal-soft); }

/* ---------- Formulier ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6em; box-shadow: var(--shadow); margin-top: 2em;
}
.field-row { display: flex; flex-wrap: wrap; gap: 0.7em; }
.field-row input {
  flex: 1 1 240px; padding: 0.95em 1.2em; border: 1.5px solid var(--line);
  border-radius: 999px; font-size: 1rem; font-family: inherit; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(21, 150, 163, 0.22); }
.field-row .btn { flex: 0 0 auto; }
.form-error { color: #dc2626; font-size: 0.9rem; margin: 0.8em 0 0; text-align: left; }

.form-success { padding: 1em 0.5em; }
.success-icon { font-size: 2.6rem; display: block; margin-bottom: 0.2em; }
.form-success h3 { font-size: 1.4rem; color: var(--navy); }
.form-success p { color: var(--muted); margin: 0; }

.privacy-note { margin-top: 1.4em; font-size: 0.86rem; color: var(--muted-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 56px 0 40px; }
.footer-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.footer-brand { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 0.9em; }
.footer-logo { height: 44px; width: auto; }
.footer-logo-fallback { display: none; flex-direction: column; align-items: center; line-height: 1; }
.footer-brand.no-img .footer-logo { display: none; }
.footer-brand.no-img .footer-logo-fallback { display: inline-flex; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-wave { color: #5fd0db; }
.footer-text { color: rgba(255,255,255,0.75); }
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 1.2em 0 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 559px) {
  .header-cta { display: none; }
}

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 880px) {
  .cards { grid-template-columns: repeat(4, 1fr); }

  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-text { text-align: left; }
  .hero-sub { margin-left: 0; }
  .hero-cta { justify-content: flex-start; }

  .step { flex-direction: row; justify-content: center; gap: 56px; text-align: left; }
  .step-text { text-align: left; }
  .step-reverse { flex-direction: row-reverse; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
