/* ==========================================================================
   StudentenCampus — style.css
   Pre-launch student platform (NL). Mobile-first, responsive, accessible.
   Palette: navy #0A2342 · turquoise #14B8A6 · light #F5F7FA · white #FFFFFF
   ========================================================================== */

:root {
  --navy: #0A2342;
  --navy-700: #0E2C54;
  --navy-600: #143257;
  --turquoise: #14B8A6;
  --turquoise-600: #0F9488;
  --turquoise-700: #0D7A6E;
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --text: #111827;
  --muted: #6B7280;
  --border: #E5E7EB;
  --border-soft: #EEF1F5;

  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 35, 66, .06);
  --shadow: 0 8px 24px rgba(10, 35, 66, .08);
  --shadow-lg: 0 20px 50px rgba(10, 35, 66, .14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --transition: .2s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; color: var(--navy); font-weight: 800; }

p { color: var(--muted); }

:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 18px;
  border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--white { background: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--turquoise-700);
  background: rgba(20, 184, 166, .1);
  border: 1px solid rgba(20, 184, 166, .25);
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.section--navy .eyebrow { color: #7EE8DC; background: rgba(20, 184, 166, .14); border-color: rgba(20, 184, 166, .3); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 18px 0 16px; }
.section-head p { font-size: 18px; }
.section--navy .section-head p { color: #B9C6D9; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 16px; font-weight: 700;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--turquoise); color: #04221E; box-shadow: 0 10px 22px rgba(20, 184, 166, .28); }
.btn--primary:hover { background: var(--turquoise-600); box-shadow: 0 14px 28px rgba(20, 184, 166, .34); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); }
.section--navy .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--lg { font-size: 17px; padding: 16px 32px; }
.btn--block { width: 100%; }

/* ----- Header / Nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--turquoise), var(--navy));
  display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: #334155; transition: color var(--transition); }
.nav-links a:hover { color: var(--navy); }

.nav-cta { display: none; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 20px; font-size: 15px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px; margin-right: -10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: #fff;
  padding: 14px 0 22px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 22px; font-weight: 600; color: var(--navy); }
.mobile-menu a:hover { background: var(--bg); }
.mobile-menu .menu-cta { display: flex; flex-direction: column; gap: 10px; padding: 14px 22px 0; }

/* ----- Hero ----- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20,184,166,.28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20,184,166,.14), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 60%, #0c2c52 100%);
  color: #fff;
  padding: 92px 0 100px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.hero .container { position: relative; z-index: 1; max-width: 880px; }
.hero .eyebrow { color: #8DEFE3; background: rgba(20,184,166,.16); border-color: rgba(20,184,166,.35); }
.hero h1 {
  color: #fff; font-size: clamp(32px, 5.4vw, 58px); font-weight: 800;
  margin: 22px 0 20px; letter-spacing: -.03em;
}
.hero h1 .accent { color: #7EE8DC; }
.hero .lead { font-size: clamp(18px, 2.4vw, 22px); color: #DCE6F2; font-weight: 500; max-width: 660px; }
.hero .support { margin-top: 16px; color: #AFC0D6; font-size: 16px; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #9FB3CC; font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise); display: inline-block; }

/* ----- Cards grid ----- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(20,184,166,.4); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15.5px; }

.card-icon {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20,184,166,.16), rgba(10,35,66,.08));
  color: var(--turquoise-700);
}
.card-icon svg { width: 24px; height: 24px; }

/* ----- Why list ----- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.why-list { display: grid; gap: 14px; }
.why-list li {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm);
  color: var(--text); font-weight: 500;
}
.why-list .check {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--turquoise); color: #04221E; display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}

/* ----- Forms ----- */
.form-wrap {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.section--navy .form-wrap { box-shadow: var(--shadow-lg); }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--turquoise-700); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 16px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--turquoise); background: #fff; outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #DC2626; background: #FEF2F2; }
.field .error-msg { display: none; color: #DC2626; font-size: 13px; margin-top: 6px; font-weight: 600; }
.field .error-msg.show { display: block; }

.checks { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.check-item { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--text); cursor: pointer; }
.check-item input { width: 18px; height: 18px; accent-color: var(--turquoise); }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); margin: 4px 0 18px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--turquoise); flex: 0 0 auto; }
.consent a { color: var(--turquoise-700); font-weight: 600; text-decoration: underline; }

.form-success {
  display: none; align-items: center; gap: 12px;
  background: rgba(20,184,166,.1); border: 1px solid rgba(20,184,166,.4);
  color: var(--navy); border-radius: var(--radius-sm); padding: 18px 20px; font-weight: 600;
}
.form-success.show { display: flex; }
.form-success .tick {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--turquoise); color: #04221E; display: grid; place-items: center; font-weight: 800;
}

.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Two-column intro + form */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.benefits { display: grid; gap: 12px; margin-top: 22px; }
.benefits li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; }
.benefits .check { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(20,184,166,.18); color: var(--turquoise-700); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
.section--navy .benefits li { color: #DCE6F2; }

/* ----- Roadmap ----- */
.roadmap { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: phase; }
.phase {
  position: relative; background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow-sm);
}
.phase .phase-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; font-weight: 800; font-size: 16px;
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-700)); color: #fff; margin-bottom: 14px;
}
.phase .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--turquoise-700); margin-bottom: 8px; }
.phase h3 { font-size: 18px; margin-bottom: 7px; }
.phase p { font-size: 15px; }

/* ----- Steden chips ----- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 11px 20px; font-weight: 700; color: var(--navy); font-size: 15px;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), border-color var(--transition);
}
.chip:hover { transform: translateY(-3px); border-color: var(--turquoise); }
.chip .dot { margin-right: 8px; }

/* ----- FAQ ----- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .icon { flex: 0 0 auto; width: 24px; height: 24px; position: relative; transition: transform var(--transition); }
.faq-q .icon::before, .faq-q .icon::after { content: ""; position: absolute; background: var(--turquoise); border-radius: 2px; }
.faq-q .icon::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq-q .icon::after { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: transform var(--transition); }
.faq-q[aria-expanded="true"] .icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 16px; }

/* ----- Final CTA ----- */
.final-cta {
  background:
    radial-gradient(700px 380px at 80% -20%, rgba(20,184,166,.3), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  border-radius: 24px; padding: 60px 40px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.final-cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.final-cta p { color: #C7D4E6; font-size: 18px; max-width: 620px; margin: 0 auto 30px; }
.final-cta .hero-cta { justify-content: center; }

/* ----- Footer ----- */
.site-footer { background: var(--navy); color: #C7D4E6; padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 38px; grid-template-columns: 1fr; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: #9FB3CC; font-size: 15px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: #AFC0D6; font-size: 15px; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: #8197B3; font-size: 13.5px;
}

/* ----- Legal pages ----- */
.legal { background: var(--white); }
.legal-hero { background: linear-gradient(160deg, var(--navy), var(--navy-700)); color: #fff; padding: 64px 0 56px; }
.legal-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.legal-hero p { color: #B9C6D9; margin-top: 12px; }
.legal-body { padding: 56px 0 80px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: 22px; margin: 38px 0 12px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { color: #374151; margin-bottom: 14px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal-body ul li { color: #374151; margin-bottom: 8px; }
.legal-body a { color: var(--turquoise-700); font-weight: 600; text-decoration: underline; }
.legal-meta { color: var(--muted); font-size: 14px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--turquoise-700); font-weight: 700; margin-bottom: 26px; }

/* ----- Reveal-on-scroll (progressive enhancement) ----- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: .9fr 1.1fr; }
  .split { grid-template-columns: 1fr 1.1fr; gap: 52px; }
  .roadmap { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
