:root {
  --paper: #F4F3FF;
  --paper-2: #FFFFFF;
  --ink: #17162A;
  --ink-2: #4B4966;
  --line: #DCD9F2;
  --iris: #6A5CFF;
  --iris-deep: #4A3CE0;
  --coral: #FF6B57;
  --mint: #2ED3A6;
  --radius-card: 18px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--iris-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--iris);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav ul a:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 40px 0 80px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  max-width: 11ch;
}
.lead { font-size: 21px; color: var(--ink-2); max-width: 34ch; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1.5px solid var(--ink);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.btn[aria-disabled="true"] { cursor: default; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.platforms b { color: var(--ink); font-weight: 600; }

/* iPhone mockup */
.stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 320px; aspect-ratio: 9 / 19.5;
  border-radius: 54px; padding: 12px;
  background: linear-gradient(145deg, #3B3A44, #17161C 40%, #2A2930);
  box-shadow: 0 0 0 1.5px #55535F inset, 0 40px 80px -30px rgba(40, 30, 120, .45), 0 18px 30px -18px rgba(0,0,0,.5);
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3A3942;
}
.phone::before { left: -3px; top: 150px; height: 64px; }
.phone::after { right: -3px; top: 190px; height: 92px; }
.screen {
  position: relative; height: 100%; border-radius: 43px; overflow: hidden;
  background: #0A0B10; color: #fff; padding: 58px 16px 16px;
}
.island { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: #000; }
.statusbar { position: absolute; top: 15px; left: 30px; right: 26px; display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.screen h2 { font-family: var(--display); font-size: 30px; letter-spacing: -0.03em; margin: 0 0 14px; }

.stack { position: relative; height: 420px; perspective: 1100px; }
.pass {
  position: absolute; left: 0; right: 0; height: 180px; border: 0; padding: 0;
  background: none; cursor: pointer; transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), top .5s cubic-bezier(.2,.8,.2,1), opacity .4s;
}
.pass .side {
  position: absolute; inset: 0; border-radius: var(--radius-card); padding: 14px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  text-align: left; color: #fff; overflow: hidden;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
}
.pass .back { transform: rotateY(180deg); display: flex; flex-direction: column; gap: 8px; }
.pass .head { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 16px; }
.pass .mono { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; background: rgba(255,255,255,.18); }
.pass .logo { height: 28px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; display: block; }
.pass .kind { margin-left: auto; font-family: var(--body); font-size: 10px; font-weight: 600; opacity: .75; }
.pass .num { position: absolute; left: 14px; right: 14px; bottom: 14px; font: 500 13px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass .code { flex: 1; background: #fff; border-radius: 12px; padding: 10px 12px 6px; display: flex; flex-direction: column; align-items: center; }
.pass .code svg { width: 100%; flex: 1; }
.pass .code small { font: 500 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: #333; margin-top: 4px; }
.pass.ink-dark .side { color: #17162A; }
.stack.open .pass:not(.active) { opacity: .25; filter: blur(2px); }
.pass.active { z-index: 20 !important; }
.hint { text-align: center; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 6px; }

.watch {
  position: absolute; right: -6px; bottom: 30px; width: 132px; height: 158px;
  border-radius: 40px; background: linear-gradient(145deg, #2F2E36, #121117);
  padding: 10px; box-shadow: 0 0 0 1.5px #4A4853 inset, 0 24px 40px -18px rgba(0,0,0,.5);
}
.watch .face { height: 100%; border-radius: 31px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; color: #222; }
.watch .face b { font-size: 11px; }
.watch .face svg { width: 92px; height: 46px; }
.watch .face small { font: 500 9px ui-monospace, monospace; }

/* Sections */
section { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 14px;
}
.section-head p { color: var(--ink-2); font-size: 19px; margin: 0; }

.why { background: var(--ink); color: #fff; border-radius: 36px; padding: 70px 56px; }
.why .section-head p { color: #C9C6E8; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.compare div { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.compare div:nth-child(odd) { padding-right: 28px; color: #9D99C4; }
.compare div:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.compare strong { display: block; color: #fff; font-family: var(--display); font-size: 20px; margin-bottom: 2px; }
.compare-head { font-weight: 600; font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 40px; }
.feature h3 { font-family: var(--display); font-size: 23px; letter-spacing: -0.02em; margin: 14px 0 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 17px; }
.swatch { height: 92px; border-radius: 16px; position: relative; overflow: hidden; }
.swatch svg { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; color: #fff; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--paper-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--iris); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 18px;
}
.steps h3 { font-family: var(--display); font-size: 22px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 17px; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--iris); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; max-width: 68ch; }

.cta { text-align: center; padding: 100px 0 110px; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.045em; line-height: 1; margin: 0 auto 18px; max-width: 14ch; }
.cta p { color: var(--ink-2); margin: 0 0 30px; }
.cta .actions { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 30px 0 50px; font-size: 15px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Text pages */
.page { max-width: 760px; padding: 30px 0 90px; }
.page h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.04em; line-height: 1; margin: 20px 0 16px; }
.page h2 { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; margin: 44px 0 8px; }
.page p, .page li { color: var(--ink-2); }
.page .updated { font-size: 15px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 40px; }
  .stage { margin-top: 10px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .why { padding: 50px 26px; border-radius: 26px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .nav ul { gap: 16px; }
  .nav ul li:nth-child(2) { display: none; }
  .features, .steps, .compare { grid-template-columns: 1fr; }
  .compare div:nth-child(even) { padding-left: 0; border-left: 0; }
  .compare div:nth-child(odd) { padding-bottom: 6px; border-bottom: 0; }
  .phone { width: 290px; }
  .watch { right: -2px; width: 112px; height: 136px; }
  .watch .face svg { width: 76px; height: 40px; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pass { transition: none; }
}

/* Account: bevestigen, wachtwoord, account maken */
.auth { max-width: 460px; margin: 30px auto 90px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 28px; padding: 34px 32px; box-shadow: 0 30px 60px -40px rgba(23,22,42,.35); }
.auth h1 { font-family: var(--display); font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; margin: 14px 0 10px; }
.auth p { color: var(--ink-2); margin: 0 0 18px; }
.auth .badge { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--iris), #9B8CFF); color: #fff; }
.auth .badge svg { width: 30px; height: 30px; }
.auth.ok .badge { background: linear-gradient(135deg, var(--mint), #69E5C3); }
.auth.err .badge { background: linear-gradient(135deg, var(--coral), #FF9A8B); }
.auth form { display: grid; gap: 12px; margin-top: 8px; }
.auth label { font-weight: 600; font-size: 14px; display: grid; gap: 6px; }
.auth input { font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.auth input:focus { outline: 2px solid var(--iris); outline-offset: 1px; }
.auth button { font: inherit; font-weight: 600; font-size: 17px; border: 0; border-radius: 14px; padding: 15px 18px; background: var(--iris); color: #fff; cursor: pointer; }
.auth button:disabled { opacity: .55; cursor: default; }
.auth .msg { font-size: 15px; margin: 4px 0 0; min-height: 1.2em; }
.auth .msg.bad { color: #D2412E; }
.auth .msg.good { color: #13976F; }
.auth .switch { text-align: center; font-size: 15px; margin-top: 16px; }
.auth .switch a { color: var(--iris-deep); font-weight: 600; }
.auth .small { font-size: 13px; color: var(--ink-2); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Animaties ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotate(4deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dealIn { from { opacity: 0; transform: translateY(-140px) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes watchIn { from { opacity: 0; transform: translateY(30px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shine { from { background-position: -200% 0; } to { background-position: 200% 0; } }

.js .enter { opacity: 0; animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d) * 120ms + 100ms); }
.js .hero h1 span { display: inline-block; }
.js .enter-stage .phone { opacity: 0; animation: phoneIn 1s cubic-bezier(.2,.8,.2,1) .35s forwards; }
.js .enter-stage .watch { opacity: 0; animation: watchIn .8s cubic-bezier(.3,1.4,.5,1) 1.3s forwards; }
.js .enter-stage .pass { opacity: 0; animation: dealIn .7s cubic-bezier(.2,.9,.25,1.15) forwards; animation-delay: calc(var(--i) * 110ms + 700ms); }
.js .stage.floating .phone { animation: float 6s ease-in-out infinite; }
.stage .phone { transition: transform .4s cubic-bezier(.2,.8,.2,1); will-change: transform; }

/* winkelband */
.stores { padding: 10px 0 90px; overflow: hidden; }
.stores-title { text-align: center; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin: 0 auto 26px; color: var(--ink); max-width: 90%; }
.stores-title .count { color: var(--iris); font-variant-numeric: tabular-nums; }
.marquee-row { overflow: hidden; padding: 7px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: drift 46s linear infinite; }
.marquee-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee-row:hover .marquee-track { animation-play-state: paused; }
.tile { width: 150px; height: 95px; border-radius: 14px; display: grid; place-items: center; flex: none; box-shadow: 0 10px 22px -14px rgba(23,22,42,.45), inset 0 0 0 1px rgba(23,22,42,.06); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.tile:hover { transform: translateY(-4px) scale(1.04); }
.tile img { max-width: 64%; max-height: 46%; object-fit: contain; }

/* binnenschuiven bij scrollen */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--r, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.feature .swatch { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.feature:hover .swatch { transform: translateY(-4px) rotate(-1.5deg); }
.feature:hover .swatch svg { animation: none; }
.btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 12px 26px -12px rgba(23,22,42,.55); }
.cta h2 { background: linear-gradient(90deg, var(--ink), var(--iris), var(--coral), var(--ink)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 9s linear infinite; }

@media (max-width: 720px) {
  .tile { width: 118px; height: 75px; border-radius: 12px; }
  .stores-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .enter, .js .enter-stage .phone, .js .enter-stage .watch, .js .enter-stage .pass { animation: none; opacity: 1; }
  .js .stage.floating .phone, .marquee-track, .cta h2 { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
