/* MemberLinQ — productwebsite (memberlinq.app)
   Bewust zonder externe fonts/CDN's: geen bezoekersdata naar derden (GDPR). */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --leden: #16a34a;   --leden-soft: #dcfce7;
  --clubs: #2563eb;   --clubs-soft: #dbeafe;
  --fed:   #7c3aed;   --fed-soft:   #ede9fe;
  --accent: var(--clubs);
  --accent-soft: var(--clubs-soft);
  --radius: 18px;
  --shadow: 0 1px 2px rgb(15 23 42 / .04), 0 12px 32px -12px rgb(15 23 42 / .18);
  --max: 1160px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.page-fed { --accent: var(--fed); --accent-soft: var(--fed-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.6; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 99px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.brand .q { color: var(--clubs); }
.wordmark-q {
  background: linear-gradient(135deg, var(--leden) 0%, var(--clubs) 55%, var(--fed) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 650; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgb(15 23 42 / .5); }
.btn-primary:hover { background: #1e293b; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .85); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.login { position: relative; }
.login > button {
  font: inherit; font-size: 15px; font-weight: 550; color: var(--ink-2);
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px;
}
.login-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 8px; display: none;
}
.login.open .login-menu { display: block; }
.login-menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; text-decoration: none; }
.login-menu a:hover { background: var(--bg-soft); }
.login-menu img { width: 32px; height: 32px; border-radius: 8px; }
.login-menu strong { display: block; font-size: 14px; }
.login-menu span { display: block; font-size: 12px; color: var(--muted); }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; }

/* Hero */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 820px; height: 820px; z-index: -1;
  background: radial-gradient(closest-side, rgb(37 99 235 / .10), transparent 70%),
              radial-gradient(closest-side at 30% 70%, rgb(22 163 74 / .10), transparent 70%);
}
.page-fed .hero::before {
  background: radial-gradient(closest-side, rgb(124 58 237 / .12), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; margin: 16px 0 20px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: 20px; color: var(--ink-2); max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .assure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.hero .assure span { display: inline-flex; align-items: center; gap: 6px; }
.check { width: 16px; height: 16px; flex: none; color: var(--leden); }

/* Visual stage */
.stage { position: relative; min-height: 520px; }

/* Desktop mock */
.desk {
  position: absolute; right: 0; top: 24px; width: 100%; max-width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
  font-size: 12px;
}
.desk-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg-soft); align-items: center; }
.desk-bar i { width: 9px; height: 9px; border-radius: 99px; background: #e2e8f0; }
.desk-bar .url { margin-left: 10px; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.desk-body { display: grid; grid-template-columns: 132px 1fr; min-height: 340px; }
.desk-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.desk-side .logo { font-weight: 800; font-size: 13px; padding: 0 8px 10px; }
.desk-side .logo b { color: var(--accent); }
.desk-side span { padding: 6px 8px; border-radius: 7px; color: var(--ink-2); }
.desk-side span.on { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.desk-main { padding: 16px; }
.desk-main h4 { margin: 0 0 12px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.stat small { color: var(--muted); display: block; font-size: 10.5px; }
.stat b { font-size: 18px; letter-spacing: -0.02em; }
.rows { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.row { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.av { width: 22px; height: 22px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--ink-2); }
.row .sub { color: var(--muted); font-size: 10.5px; }
.pill { font-size: 10.5px; font-weight: 650; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: var(--leden-soft); color: #15803d; }
.pill.warn { background: #fef3c7; color: #b45309; }
.pill.info { background: var(--clubs-soft); color: var(--clubs); }
.pill.fed { background: var(--fed-soft); color: var(--fed); }

/* Hero met desktop + gsm: desktop loopt rechts uit beeld, gsm overlapt enkel de zijbalk */
.stage-duo .desk { right: auto; left: 150px; width: 640px; max-width: none; top: 0; }
.stage-duo .phone { left: -16px; bottom: -24px; width: 230px; }

/* Phone mock */
.phone {
  position: absolute; left: 0; bottom: 0; width: 248px; z-index: 2;
  background: #0f172a; border-radius: 38px; padding: 10px; box-shadow: 0 30px 60px -20px rgb(15 23 42 / .45);
}
.phone-screen { background: #f8fafc; border-radius: 29px; overflow: hidden; height: 470px; display: flex; flex-direction: column; font-size: 12px; }
.phone-top { background: #fff; padding: 22px 14px 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.phone-top b { font-size: 15px; letter-spacing: -0.02em; }
.phone-top b i { font-style: normal; color: var(--leden); }
.phone-body { padding: 12px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.phone-body .hi { font-weight: 700; font-size: 15px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 10px 11px; }
.card small { color: var(--muted); display: block; font-size: 10.5px; }
.card .t { font-weight: 650; }
.card.pay { display: flex; justify-content: space-between; align-items: center; }
.card .mini-btn { background: var(--leden); color: #fff; border-radius: 8px; padding: 5px 10px; font-weight: 650; font-size: 11px; }
.card.msg { border-left: 3px solid var(--clubs); }
.phone-nav { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 8px 4px 14px; text-align: center; font-size: 9.5px; color: var(--muted); }
.phone-nav span.on { color: var(--leden); font-weight: 700; }
.phone-nav svg { width: 17px; height: 17px; margin: 0 auto 2px; }

/* Three portals */
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portal {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff;
  display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
}
.portal::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.portal img { width: 44px; height: 44px; border-radius: 12px; }
.portal h3 { font-size: 21px; }
.portal .domain { font-size: 13px; color: var(--c); font-weight: 650; }
.portal p { color: var(--muted); }
.portal .more { margin-top: auto; font-weight: 650; color: var(--c); text-decoration: none; }
.portal.l { --c: var(--leden); } .portal.c { --c: var(--clubs); } .portal.f { --c: var(--fed); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature .tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--fed); background: var(--fed-soft); padding: 3px 9px; border-radius: 99px; }
.features.green .feature .ic { background: var(--leden-soft); color: var(--leden); }

/* Split (text + list) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 42px); margin: 12px 0 16px; }
.split .lead { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.ticks li .check { width: 22px; height: 22px; margin-top: 2px; }
.ticks li b { display: block; }
.ticks li span { color: var(--muted); font-size: 15.5px; }

/* Phones row (leden) */
.phones-solo { display: flex; justify-content: center; }
.phones-solo .phone { position: relative; left: auto; bottom: auto; }

/* Security band */
.band { background: var(--ink); color: #e2e8f0; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.band h2 { color: #fff; font-size: clamp(28px, 3.5vw, 38px); margin: 12px 0 14px; }
.band p { color: #94a3b8; }
.band .eyebrow { color: #86efac; }
.band-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.band-list div b { color: #fff; display: block; margin-bottom: 4px; }
.band-list div span { color: #94a3b8; font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* CTA */
.cta-box {
  border-radius: 28px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--leden-soft), var(--clubs-soft) 50%, var(--fed-soft));
}
.cta-box h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.cta-box p { color: var(--ink-2); font-size: 18px; max-width: 620px; margin: 0 auto 28px; }
.cta-box .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-box .logo-big { width: 64px; height: 64px; margin: 0 auto 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 96px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: var(--ink); font-size: 14px; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split, .band { grid-template-columns: 1fr; }
  .stage { min-height: 560px; max-width: 600px; }
  .features, .portals { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.open .nav { display: flex; }
  .nav-actions .btn { display: none; }
  .hero { padding: 40px 0 56px; }
  .stage { min-height: 500px; }
  .desk, .stage-duo .desk { position: relative; top: 0; left: 0; width: 100%; }
  .desk-body { grid-template-columns: 1fr; }
  .desk-side { display: none; }
  .phone, .stage-duo .phone { left: 50%; transform: translateX(-50%); bottom: -20px; width: 220px; }
  .phone-screen { height: 400px; }
  .page-fed .stage { min-height: 0; }
  .features, .portals, .steps, .band-list { grid-template-columns: 1fr; }
  .band { padding: 36px 24px; border-radius: 22px; }
  .cta-box { padding: 44px 20px; border-radius: 22px; }
  .login-menu { position: fixed; left: 16px; right: 16px; top: 72px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Tekstpagina's (privacy) */
.prose { max-width: 760px; margin: 0 auto; padding: 64px 0 0; }
.prose h1 { font-size: clamp(32px, 4.5vw, 44px); margin: 12px 0 8px; }
.prose .meta { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; margin: 12px 0 0; }
.prose a { color: var(--accent); }
.prose .note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-top: 16px; }

/* Uitgelicht: echte screenshots (gemaakt met showcase-data, zie tools/website-screenshots) */
.spot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: center; margin-top: 96px; }
.spot.rev > .spot-text { order: 2; }
.spot.phone-spot { grid-template-columns: 1.2fr 1fr; }
.spot h3 { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 14px; }
.spot .lead { color: var(--muted); font-size: 17.5px; margin-bottom: 20px; }
.shot {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(15 23 42 / .04), 0 24px 48px -20px rgb(15 23 42 / .28);
}
.shot-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.shot-bar i { width: 9px; height: 9px; border-radius: 99px; background: #e2e8f0; }
.shot-bar span { margin-left: 10px; font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.shot img { width: 100%; height: auto; display: block; }
.device {
  width: 270px; flex: none; background: #0f172a; border-radius: 40px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgb(15 23 42 / .45);
}
.device img { width: 100%; height: auto; display: block; border-radius: 30px; }
.devices { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.devices .device:nth-child(2) { margin-top: 56px; }
.caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

@media (max-width: 980px) {
  .spot, .spot.phone-spot { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; }
  .spot.rev > .spot-text { order: 0; }
}
@media (max-width: 760px) {
  .device { width: 46%; min-width: 0; border-radius: 26px; padding: 6px; }
  .device img { border-radius: 20px; }
  .devices { gap: 12px; }
  .devices .device:nth-child(2) { margin-top: 32px; }
  .spot .device:only-child { width: 64%; }
  .shot-bar span { display: none; }
}
