/* SwipeBuddy-website. Huisstijl overgenomen van erkama.com/swipebuddy (sb.css);
   lettertype Nunito staat op de eigen server (geen Google Fonts). */
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #0d1b2a;
  --navy-2: #13263b;
  --blue: #2962ff;
  --blue-dark: #1a4fe0;
  --blue-light: #7aa2ff;
  --red: #ee1e4a;
  --red-light: #ff7062;
  --ink: #0d1b2a;
  --ink-soft: #4f5f73;
  --muted: #7a8799;
  --line: #e3eafb;
  --bg: #ffffff;
  --bg-soft: #f4f7fd;
  --radius: 18px;
  --max: 1160px;
  --font: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 900; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; font-weight: 800; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.flush-top { padding-top: 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 19px; }

/* Taal: de pagina bevat beide talen; alleen de gekozen taal is zichtbaar.
   Zonder JavaScript blijft het Nederlands (klasse l-nl in de HTML). */
html.l-nl .en, html.l-en .nl { display: none !important; }

/* Toegankelijkheid */
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, transform .2s, border-color .2s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-lg { padding: 18px 32px; font-size: 19px; }
.btn svg { flex: none; }
.play { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid #000; line-height: 1.15; transition: transform .2s; }
.play:hover { transform: translateY(-2px); }
.play svg { flex: none; }
.play small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.play strong { display: block; font-size: 18px; font-weight: 800; }
.play.soon { background: transparent; color: var(--ink-soft); border: 1px dashed var(--muted); cursor: default; }
.play.soon:hover { transform: none; }
.hero .play { border-color: rgba(255,255,255,.35); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(13,27,42,.96); box-shadow: 0 2px 20px rgba(0,0,0,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 30px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.menu a { color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; opacity: .9; }
.menu a:hover, .menu a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--blue-light); }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; overflow: hidden; }
.lang button { background: none; border: 0; color: rgba(255,255,255,.8); font: inherit; font-size: 13px; font-weight: 800; padding: 6px 10px; cursor: pointer; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background:
    radial-gradient(900px 520px at 88% 18%, rgba(41,98,255,.35), transparent 60%),
    radial-gradient(700px 420px at 70% 95%, rgba(238,30,74,.22), transparent 60%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 150px 0 230px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 62px); }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero p { color: rgba(255,255,255,.85); font-size: clamp(18px, 2vw, 21px); max-width: 560px; margin-bottom: 32px; }
.hero .eyebrow { color: var(--blue-light); }
.hero-shots { position: relative; padding-bottom: 48px; }
.hero-shots img { border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.45); height: auto; }
.hero-shots .tv { position: relative; width: 86%; margin-left: auto; }
.hero-shots .phone { position: absolute; left: 0; bottom: 0; width: 32%; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 120px; }
.hero.small .hero-inner { display: block; padding: 150px 0 130px; }
.hero.small h1 { font-size: clamp(32px, 4.6vw, 50px); }
.hero.small p { margin-bottom: 0; }
.hero .updated { color: rgba(255,255,255,.7); font-size: 15px; margin: 0; }

/* App cards: drie apparaat-apps boven, twee beheer-apps onder */
.apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; margin-top: -130px; position: relative; z-index: 2; }
.app-card { grid-column: span 2; background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 16px 48px rgba(13,27,42,.10); display: flex; flex-direction: column; }
.app-card.half { grid-column: span 3; }
.app-card .icon { width: 72px; height: 72px; border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(13,27,42,.12); padding: 6px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--blue-dark); }
.chip.price { background: rgba(238,30,74,.08); color: #c8143c; }
.chip.soon { background: #fff4e0; color: #8a5300; }
.app-card p { font-size: 16px; }
.app-card .more { margin-top: auto; font-weight: 800; text-decoration: none; font-size: 16px; }
.app-card .more:hover { text-decoration: underline; }

/* App detail */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 40px; }
.detail:last-child { margin-bottom: 0; }
.detail .head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.detail .head img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 18px rgba(13,27,42,.12); background: #fff; padding: 4px; }
.detail .head h2 { margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--ink-soft); font-size: 17px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.note { font-size: 15px; background: var(--bg-soft); border-radius: 12px; padding: 14px 18px; margin: 20px 0 24px; }
.section.soft .note { background: #fff; }
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gallery img { scroll-snap-align: start; flex: none; height: 460px; width: auto; border-radius: 18px; box-shadow: 0 12px 36px rgba(13,27,42,.14); background: var(--bg-soft); }
.gallery.wide img { height: 300px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, var(--red-light), var(--red)); color: #fff; font-weight: 900; font-size: 20px; margin-bottom: 18px; }
.step p { font-size: 16px; margin: 0; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: #fff; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 16px 48px rgba(41,98,255,.14); }
.price-card .amount { font-size: 40px; font-weight: 900; line-height: 1.1; margin: 4px 0 4px; }
.price-card .amount.text { font-size: 28px; }
.price-card .amount small { font-size: 17px; font-weight: 700; color: var(--ink-soft); }
.price-card .sub { font-size: 15px; margin-bottom: 22px; }
.price-card .checks li { font-size: 16px; }
.fineprint { text-align: center; font-size: 14px; margin: 28px 0 0; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; }
.trust h3 { color: #fff; font-size: 19px; }
.trust p { color: rgba(255,255,255,.78); font-size: 15px; margin: 0; }
.dark { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; }
.dark h2 { color: #fff; }
.dark .section-head p { color: rgba(255,255,255,.82); }
.dark .eyebrow { color: var(--blue-light); }
.dark .links { text-align: center; margin-top: 40px; font-size: 16px; }
.dark .links a { color: var(--blue-light); font-weight: 700; margin: 0 12px; display: inline-block; }

/* Windows-downloadpagina */
.download { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.download-card { background: #fff; border: 2px solid var(--blue); border-radius: var(--radius); padding: 36px; box-shadow: 0 16px 48px rgba(41,98,255,.14); }
.download-card .head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.download-card .head img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 18px rgba(13,27,42,.12); padding: 4px; }
.download-card .head h2 { font-size: 28px; margin: 0; }
.download-card .file { font-size: 15px; margin: 14px 0 0; }
.download-card code, .legal code { font-size: .92em; background: var(--bg-soft); padding: 1px 6px; border-radius: 6px; }
.facts { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-soft); }
.facts li b { color: var(--ink); font-weight: 800; }
ol.install { margin: 0; padding-left: 22px; color: var(--ink-soft); }
ol.install li { margin-bottom: 12px; font-size: 17px; }

/* Juridische pagina's (privacy, account verwijderen) */
.legal { max-width: 800px; margin: 0 auto; padding: 32px 24px 96px; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.legal .toc a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; }
.legal .toc a:hover { border-color: var(--blue); color: var(--blue); }
.legal h2 { margin-top: 8px; padding-top: 24px; font-size: clamp(26px, 3.4vw, 34px); }
.legal h3 { font-size: 20px; margin-top: 36px; }
.legal h4 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul, .legal ol { padding-left: 22px; color: var(--ink-soft); }
.legal li { margin-bottom: 6px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 32px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.legal th { color: var(--ink); font-weight: 800; background: var(--bg-soft); }
.legal .table-wrap { overflow-x: auto; }
.legal .callout { background: var(--bg-soft); border-radius: 12px; padding: 16px 20px; margin: 16px 0 24px; }
.legal .callout p:last-child { margin-bottom: 0; }

/* Footer */
footer { background: #08121d; color: rgba(255,255,255,.72); padding: 44px 0 32px; font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot img { height: 26px; width: auto; }
footer a { color: rgba(255,255,255,.88); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Reveal (alleen met JavaScript; zonder JS is alles meteen zichtbaar) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn, .play { transition: none; } }

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; padding: 130px 0 200px; }
  .hero-shots { max-width: 560px; }
  .apps { grid-template-columns: 1fr 1fr; margin-top: -100px; }
  .app-card, .app-card.half { grid-column: span 1; }
  .detail, .download { grid-template-columns: 1fr; gap: 24px; }
  .steps, .steps.four, .prices { grid-template-columns: 1fr; }
  .prices { max-width: 560px; margin: 0 auto; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-right { gap: 12px; }
  .menu { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(13,27,42,.98); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s, visibility .3s; }
  .menu.open { max-height: 480px; visibility: visible; }
  .menu li a { display: block; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.08); }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .menu { position: static; max-height: none; visibility: visible; display: none; }
}
@media (max-width: 640px) {
  .apps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .brand img { height: 24px; }
  .trust { grid-template-columns: 1fr; }
  .gallery img { height: 380px; }
  .gallery.wide img { height: 200px; }
  .app-card, .price-card, .step, .download-card { padding: 26px 22px; }
  .legal { padding: 24px 16px 72px; }
  .hero.small .hero-inner { padding: 120px 0 110px; }
  .facts li { flex-direction: column; gap: 2px; }
}
[hidden] { display: none !important; }
