/* VoordeelShoppers – website
   Kleuren en sfeer komen uit de app en het logo: merkblauw, geel, oranje en een licht blauwpaars verloop. */
:root {
  --brand: #2f47d6;
  --brand-deep: #1f2c9e;
  --brand-bright: #4560f0;
  --yellow: #ffc83d;
  --orange: #ff7a45;
  --cta: #f05f28;
  --cta-hover: #d94e1a;
  --ink: #131a2a;
  --muted: #5a6377;
  --line: #d8dde7;
  --surface: #ffffff;
  --soft: #eceefb;
  --soft-2: #f5f3fc;
  --ok: #17845a;
  --ok-bg: #dff3e9;
  --warn: #a96300;
  --warn-bg: #fdefd6;
  --crit: #cc2b2a;
  --crit-bg: #fde3e1;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(31, 44, 158, 0.12);
  --shadow-lg: 0 30px 60px rgba(15, 22, 80, 0.35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(160deg, #e3e7fd 0%, var(--soft-2) 45%, #ffffff 100%) fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }

.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Wordmark: "Voordeel" + "Shoppers" in twee kleuren */
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; color: var(--brand); }
.wordmark img { width: 40px; height: 40px; }
.wordmark .w2 { color: var(--orange); }
.on-brand .wordmark { color: #fff; }
.on-brand .wordmark .w2 { color: var(--yellow); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(47, 71, 214, 0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.97rem; opacity: 0.9; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.site-nav .btn { opacity: 1; }
@media (max-width: 820px) { .site-nav a:not(.btn) { display: none; } }
@media (max-width: 480px) {
  .site-header .wordmark { font-size: 1.08rem; gap: 8px; }
  .site-header .wordmark img { width: 32px; height: 32px; }
  .site-nav .btn { padding: 9px 13px; font-size: 0.9rem; border-radius: 12px; }
}

/* Knoppen */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 8px 20px rgba(240, 95, 40, 0.35); }
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.26); }

/* Store-knoppen (vervang later door de officiële badges van Apple en Google) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 10px 18px 10px 14px; border-radius: 14px; background: #0b0f1c; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.25); transition: transform .15s ease, background-color .15s ease; }
.store-btn:hover { background: #000; transform: translateY(-2px); }
.store-btn svg { width: 28px; height: 28px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: 0.72rem; opacity: 0.8; }
.store-btn strong { font-size: 1.12rem; font-weight: 700; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 15% -10%, rgba(255, 255, 255, 0.18), transparent 60%), linear-gradient(140deg, var(--brand-bright) 0%, var(--brand) 45%, var(--brand-deep) 100%); padding-block: 64px 0; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 80px; display: grid; gap: 22px; }
.hero h1 .accent { color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, 0.86); }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-weight: 600; font-size: 0.95rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--yellow); }
.hero-visual { position: relative; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
}

/* Telefoon-mockup */
.phone { position: relative; width: min(320px, 78vw); aspect-ratio: 9 / 19.5; border-radius: 46px; background: #0b0f1c; padding: 12px; box-shadow: var(--shadow-lg); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0b0f1c; z-index: 2; }
.phone img { object-fit: cover; border-radius: 36px; background: #eef0f8; }
.hero .phone { margin-bottom: -60px; transform: rotate(-3deg); }

/* Zwevende melding in de hero */
.toast { position: absolute; z-index: 3; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; width: min(300px, 82vw); padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: var(--shadow); font-size: 0.88rem; line-height: 1.35; }
.toast img { width: 40px; height: 40px; border-radius: 10px; }
.toast strong { display: block; font-size: 0.92rem; }
.toast .when { color: var(--muted); font-size: 0.78rem; }
.toast-1 { top: 70px; left: -30px; animation: float 6s ease-in-out infinite; }
.toast-2 { top: 300px; right: -20px; animation: float 6s ease-in-out 1.5s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
@media (max-width: 900px) { .toast-1 { left: 0; } .toast-2 { right: 0; top: 340px; } }

/* Secties */
section { scroll-margin-top: 80px; }
.section { padding-block: 96px; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Vertrouwensbalk */
.trust { padding-top: 100px; padding-bottom: 20px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.trust .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.trust .ico svg { width: 22px; height: 22px; }
.trust strong { display: block; font-size: 1rem; }
.trust span { font-size: 0.9rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } }

/* Functies: tekst + screenshot afwisselend */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 48px; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature.reverse .feature-visual { order: -1; }
.feature-copy { display: grid; gap: 18px; }
.feature-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.feature-tag .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.feature-tag .dot svg { width: 18px; height: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.checks svg { width: 22px; height: 22px; color: var(--ok); margin-top: 3px; }
.feature-visual { display: flex; justify-content: center; position: relative; }
.feature-visual::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 40px; background: linear-gradient(140deg, rgba(69, 96, 240, 0.18), rgba(255, 200, 61, 0.22)); filter: blur(2px); z-index: -1; }
.feature-visual .phone { width: min(290px, 72vw); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-visual { order: 0; }
}

/* Herinneringen */
.reminders { background: var(--surface); border-radius: 32px; padding: 56px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--soft-2); }
.timeline .pill { white-space: nowrap; justify-self: start; font-weight: 800; font-size: 0.85rem; padding: 6px 10px; border-radius: 999px; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.crit { background: var(--crit-bg); color: var(--crit); }
.timeline strong { display: block; }
.timeline span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .reminders { grid-template-columns: 1fr; padding: 32px 22px; } }

/* Privacy-band */
.privacy-band { background: linear-gradient(140deg, var(--brand-deep), var(--brand)); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.privacy-band .shield { width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: var(--yellow); }
.privacy-band .shield svg { width: 64px; height: 64px; }
.privacy-band p { color: rgba(255, 255, 255, 0.88); max-width: 65ch; }
.privacy-band .grid { display: grid; gap: 14px; }
@media (max-width: 760px) { .privacy-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* Stappen */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 10px; }
.steps li::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--brand); }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border-radius: 16px; box-shadow: 0 2px 10px rgba(31, 44, 158, 0.06); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Download-CTA */
.cta-band { text-align: center; color: #fff; border-radius: 36px; padding: 64px 24px; background: radial-gradient(800px 400px at 80% 120%, rgba(255, 200, 61, 0.35), transparent 60%), linear-gradient(140deg, var(--brand-bright), var(--brand-deep)); display: grid; gap: 22px; justify-items: center; }
.cta-band img.logo { width: 96px; height: 96px; border-radius: 24px; box-shadow: var(--shadow-lg); }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 52ch; }
.cta-band .stores { justify-content: center; }

/* Footer */
.site-footer { padding-block: 56px 40px; color: var(--muted); font-size: 0.95rem; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 1rem; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.site-footer .bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.88rem; }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; } }

/* Juridische pagina's */
.legal { max-width: 760px; margin: 0 auto; padding-block: 56px 80px; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 14px; }
.legal p, .legal li { color: #2d3548; }
.legal .card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
