/* ============================================================
   Homepage Sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 64px;
  /* Special: gradient mesh — alleen voor homepage hero */
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(139,92,246,0.10), transparent 60%),
    radial-gradient(ellipse 500px 400px at 20% 80%, rgba(236,72,153,0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 50% 50%, rgba(249,115,22,0.06), transparent 70%),
    var(--canvas);
}
@media (min-width: 1024px) {
  .hero { padding: 80px 0 112px; }
}

.hero__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
}

.hero__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.hero__main .display { max-width: 14ch; text-wrap: balance; }
.hero__main .display em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__main .lead { max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px;
}

/* Right tegel — phone-mockup met sample-vraag */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  min-height: 380px;
  justify-content: center;
}
.hero__visual::before { background: var(--brand-gradient); }

/* ---------- Exam card (echte CBR-vraag) ---------- */
.exam-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 22px 50px -22px rgba(15,23,42,0.20),
    0 8px 18px -10px rgba(15,23,42,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  transform: rotate(1.5deg);
  animation: exam-card-bob 5.5s var(--ease-out) infinite;
  flex-shrink: 0;
}

@keyframes exam-card-bob {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50%      { transform: rotate(1.5deg) translateY(-6px); }
}

.exam-card__photo {
  margin: 0; padding: 0;
  aspect-ratio: 990 / 630;
  overflow: hidden;
  background: #F1ECE5;
}
.exam-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.exam-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exam-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--magenta);
  align-self: flex-start;
}
.exam-card__tag::before {
  content: "";
  width: 14px; height: 2px;
  background: var(--magenta);
  border-radius: 2px;
}

.exam-card__q {
  margin: 2px 0 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.exam-card__opts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.exam-card__opts li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 11px;
  background: #FAF8F5;
  border: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.3;
}

.exam-card__opts li.is-selected {
  background: rgba(249,115,22,0.08);
  border-color: rgba(249,115,22,0.45);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(249,115,22,0.12),
              0 6px 18px -8px rgba(249,115,22,0.40);
}
.exam-card__opts li.is-selected svg {
  width: 14px; height: 14px;
  color: var(--orange);
  flex-shrink: 0;
}

.exam-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 12px 18px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: -0.005em;
  box-shadow: 0 3px 0 #C2410C,
              0 10px 22px -8px rgba(249,115,22,0.55);
  align-self: flex-start;
}
.exam-card__cta svg {
  width: 14px; height: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .exam-card { animation: none; transform: rotate(1.5deg); }
}

/* ---------- Hero caption ---------- */
.hero__visual .caption-row {
  display: flex; align-items: center; gap: 12px;
  padding-top: 4px;
  text-align: center;
}
.hero__visual .caption-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,0.15); flex-shrink: 0; }
.hero__visual .caption-row span { font-size: 0.9375rem; color: var(--ink-2); font-weight: 500; }

/* ---------- USP strip ---------- */
.usp-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .usp-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .usp-grid { gap: 24px; } }

.usp-card { display: flex; flex-direction: column; gap: 16px; }
.usp-card .subheading { margin-top: 4px; }
.usp-card p { color: var(--ink-2); flex: 1; }
.usp-card .tlink { margin-top: 4px; align-self: flex-start; }

/* ---------- Hoe werkt het (3 stappen) ---------- */
.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step { display: flex; flex-direction: column; gap: 18px; position: relative; }
.step__num {
  width: 72px; height: 72px;
  border-radius: 24px;
  background: var(--brand-gradient);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 24px -10px rgba(249,115,22,0.55);
}
.step .subheading { margin-top: 4px; }
.step p { color: var(--ink-2); }

/* Dashed connector lines between steps (desktop only) */
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 36px;
    right: -16px;
    width: 32px;
    height: 2px;
    background-image: linear-gradient(90deg, var(--ink-3) 50%, transparent 50%);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    z-index: 0;
    opacity: 0.5;
  }
}

/* ---------- Social proof ---------- */
.proof-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .proof-grid {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
  }
  .proof-grid > .quote-card {
    grid-row: span 2;
  }
}

.quote-card {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px;
  min-height: 320px;
}
.quote-card .quote-mark {
  color: var(--green);
  width: 40px; height: 40px;
}
.quote-card blockquote {
  font-family: "Plus Jakarta Sans", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.5vw + 0.8rem, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-card .author {
  display: flex; align-items: center; gap: 14px;
}
.author__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  background: linear-gradient(135deg, #FED7AA, #FB923C);
  box-shadow: 0 4px 14px -2px rgba(249,115,22,0.45),
              0 0 0 1px rgba(15,23,42,0.04);
}
.author__name { font-weight: 700; }
.author__meta { font-size: 0.875rem; color: var(--ink-3); }

.stat-card {
  display: flex; flex-direction: column; gap: 12px;
  justify-content: space-between;
  min-height: 150px;
}
.stat-card .stat-num { font-size: clamp(2rem, 2vw + 1.4rem, 2.75rem); line-height: 1.05; color: var(--ink); }
.stat-card .stat-label { color: var(--ink-2); font-weight: 500; font-size: 0.9375rem; }

.sparkline { width: 100%; height: 40px; }

.star-row { display: inline-flex; gap: 2px; }
.star-row svg { width: 20px; height: 20px; color: var(--amber); fill: currentColor; }

/* ---------- Pricing teaser ---------- */
.pricing-wrap { display: flex; justify-content: center; }
.pricing-card {
  max-width: 560px;
  width: 100%;
  text-align: left;
  display: flex; flex-direction: column; gap: 8px;
}
.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.pricing-card .price .stat-num {
  font-size: clamp(3rem, 4vw + 1rem, 4rem);
  line-height: 1;
  color: var(--ink);
}
.pricing-card .price .per { color: var(--ink-2); font-weight: 500; font-size: 1.0625rem; }
.pricing-card .price .strike {
  color: var(--ink-3); text-decoration: line-through;
  font-size: 1rem; margin-left: 4px;
}
.pricing-card .sub { color: var(--ink-2); }
.pricing-card .features {
  display: grid;
  gap: 12px;
  margin: 8px 0 4px;
}
.pricing-card .features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem;
  color: var(--ink);
}
.pricing-card .features li svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  color: var(--green);
}
.pricing-card .fine { font-size: 0.8125rem; color: var(--ink-3); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq__list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: background var(--t-fast) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #FAF8F5; }
.faq__plus {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(75,85,99,0.08);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: transform var(--t-base) var(--ease-spring), background var(--t-fast) var(--ease-out);
}
.faq__plus svg { width: 16px; height: 16px; }
.faq details[open] .faq__plus { transform: rotate(45deg); background: rgba(249,115,22,0.10); color: var(--orange); }
.faq__answer {
  padding: 0 24px 24px;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 60ch;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 56px 28px;
}
.final-cta .display { max-width: 18ch; text-wrap: balance; }
.final-cta .fine { color: var(--ink-3); font-size: 0.875rem; }
@media (min-width: 1024px) { .final-cta { padding: 80px 40px; } }

/* ---------- Footer ---------- */
.footer {
  background: #1F2937;
  color: #E5E7EB;
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 64px; } }

.footer .brand { color: #fff; }
.footer .brand__mark { box-shadow: none; }
.footer__about p { color: #9CA3AF; font-size: 0.9375rem; margin-top: 14px; max-width: 38ch; }
.footer__about .meta { color: #6B7280; font-size: 0.8125rem; margin-top: 14px; line-height: 1.7; }
.footer__col h4 {
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  color: #9CA3AF;
  font-size: 0.9375rem;
  transition: color var(--t-fast) var(--ease-out);
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #374151;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #6B7280;
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; align-items: center; } }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: #9CA3AF;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.footer__social a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }

/* ---------- Small helpers ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
