/* ============================================================
   QUOTELY — landing page styles
   Dark navy + coral, bold geometric, 3D scroll
   ============================================================ */

:root {
  /* surfaces */
  --navy-950: #060823;
  --navy-900: #0a0d2c;
  --navy-850: #0c1033;
  --navy-800: #11163e;
  --navy-750: #161b48;
  --navy-700: #1a1f50;
  --navy-650: #222860;

  /* accent (coral) — overridable via tweak */
  --coral: #f8575f;
  --coral-bright: #ff7077;
  --coral-deep: #e23a45;

  /* secondary tile accent (indigo) */
  --indigo: #5b4bd6;
  --indigo-bright: #7565ee;
  --indigo-deep: #3a2e8f;

  /* text */
  --white: #ffffff;
  --text: #eef0ff;
  --text-muted: #b4b8e6;
  --text-dim: #8186b8;
  --green: #8fe09b;

  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.055);
  --card: rgba(255, 255, 255, 0.035);
  --card-strong: rgba(255, 255, 255, 0.05);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --shadow-card: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 60px 120px -30px rgba(0, 0, 0, 0.75);

  --maxw: 1560px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: "Hanken Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --motion: 1; /* tweakable motion multiplier */
}

/* ---- accent palette variants (tweak) ---- */
html[data-accent="violet"] {
  --coral: #8b6cff; --coral-bright: #a48cff; --coral-deep: #6c4be0;
}
html[data-accent="emerald"] {
  --coral: #2fd6a0; --coral-bright: #58e6bb; --coral-deep: #18b083;
}
html[data-accent="amber"] {
  --coral: #ffb24d; --coral-bright: #ffc678; --coral-deep: #f0962a;
}

/* ---- font variant (tweak) ---- */
html[data-font="grotesk"] { --font-display: "Hanken Grotesk", sans-serif; }
html[data-font="jakarta"] { --font-display: "Plus Jakarta Sans", sans-serif; }
html[data-font="space"]   { --font-display: "Space Grotesk", sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.55;
}

/* ===== ambient background: glows + grain ===== */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(150, 45, 130, 0.40), transparent 55%),
    radial-gradient(90% 80% at 110% 35%, rgba(120, 40, 150, 0.28), transparent 50%),
    radial-gradient(120% 90% at 95% 105%, rgba(228, 58, 69, 0.30), transparent 55%),
    radial-gradient(100% 80% at -10% 80%, rgba(50, 40, 140, 0.22), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* dynamic video background (toggle via Tweaks) */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
body[data-bgvideo="on"] .bg-video { opacity: 0.68; }
/* when video is on, soften the base layer so the motion shows through (glows stay) */
body[data-bgvideo="on"] .bg-field {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(150, 45, 130, 0.34), transparent 55%),
    radial-gradient(120% 90% at 95% 105%, rgba(228, 58, 69, 0.26), transparent 55%),
    radial-gradient(100% 80% at -10% 80%, rgba(50, 40, 140, 0.20), transparent 55%),
    linear-gradient(180deg, rgba(8,11,38,0.62), rgba(6,8,35,0.80));
}
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
}
/* skip the heavy video on phones (saves data + battery) */
@media (max-width: 768px) {
  .bg-video { display: none !important; }
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ===== type ===== */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.02em;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
}
.eyebrow::before { display: none; }
.eyebrow.center::before { display: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }

.display {
  font-size: clamp(36px, 5.6vw, 100px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.coral { color: var(--coral); }
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-muted);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 16px 28px;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--coral-bright), var(--coral));
  color: #fff;
  box-shadow: 0 18px 40px -14px rgba(248, 87, 95, 0.65), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 56px -16px rgba(248, 87, 95, 0.8); }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 11, 38, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.nav__logo { height: 30px; display: block; }
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav__cta { padding: 11px 20px; font-size: 14px; }

/* Hamburger-knop — enkel zichtbaar op mobiel/tablet */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10,13,44,0.97);
    backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav.open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { display: block; font-size: 16px; padding: 13px 14px; }
  .nav__cta { text-align: center; margin-top: 8px; padding: 14px 20px; }
}

/* ===== sections ===== */
.section { position: relative; padding: clamp(90px, 13vh, 180px) 0; }
.section-tag { margin-bottom: 22px; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 84px); }
.section-head .h2 { margin-bottom: 22px; }

/* ===== generic cards ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

/* icon chip */
.chip {
  width: 60px; height: 60px;
  flex: 0 0 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  color: var(--coral);
}
.chip.coral-fill {
  background: linear-gradient(170deg, var(--coral-bright), var(--coral-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 36px -14px rgba(248, 87, 95, 0.6);
}
.chip svg { width: 28px; height: 28px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  perspective: 1400px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.hero__copy { position: relative; z-index: 3; }
.hero__title { margin: 24px 0 26px; }
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 40px; }
.hero__trust { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; color: var(--text-dim); font-size: 14px; font-weight: 600; }
.hero__trust b { color: var(--white); }
.hero__stage { position: relative; transform-style: preserve-3d; min-height: 520px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 440px; margin-top: 20px; }
}

/* ===== hero stat strip ===== */
.statstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 14px;
}
.statstrip .stat { background: rgba(10,13,44,0.6); padding: 22px 20px; backdrop-filter: blur(6px); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); color: var(--coral); line-height: 1; letter-spacing: -0.03em; }
.stat__num small { font-size: 0.5em; color: var(--text-muted); font-weight: 700; }
.stat__label { font-size: 13px; color: var(--text-muted); margin-top: 8px; max-width: 22ch; }

/* ============================================================
   MOCKUPS (CSS-built product visuals)
   ============================================================ */
.mock { font-family: var(--font-body); }

/* phone / stat dashboard card */
.mock-dash {
  width: min(420px, 92%);
  background: linear-gradient(180deg, var(--navy-750), var(--navy-850));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-float);
}
.mock-dash__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock-dash__title { font-weight: 800; font-size: 17px; font-family: var(--font-display); }
.mock-dash__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(143,224,155,0.18); }
.dash-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft); margin-bottom: 10px; }
.dash-ico {
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 46px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, var(--indigo-bright), var(--indigo-deep));
  box-shadow: 0 10px 24px -10px rgba(91,75,214,0.7);
}
.dash-ico svg { width: 22px; height: 22px; }
.dash-row__body { flex: 1; min-width: 0; }
.dash-row__label { font-size: 12px; color: var(--text-dim); }
.dash-row__val { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.05; }
.dash-row__delta { font-size: 12px; font-weight: 700; color: var(--green); white-space: nowrap; }
.dash-row__delta.down { color: var(--green); }

/* hero USP rows */
.usp-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft); margin-bottom: 10px; }
.usp-row:last-child { margin-bottom: 0; }
.usp-ico { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--coral-bright), var(--coral-deep)); box-shadow: 0 10px 24px -10px rgba(248,87,95,0.6); }
.usp-ico svg { width: 22px; height: 22px; }
.usp-row__t { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.usp-row__d { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.4; }

/* toast */
.toast {
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: #14173a;
  border-radius: 18px; padding: 16px 20px;
  box-shadow: var(--shadow-float);
}
.toast__check { width: 38px; height: 38px; border-radius: 50%; background: #d8f3d8; color: #2f9e44; display: grid; place-items: center; flex: 0 0 38px; }
.toast__check svg { width: 20px; height: 20px; }
.toast__title { font-weight: 800; font-size: 15px; font-family: var(--font-display); }
.toast__sub { font-size: 13px; color: #5a5f86; }
.toast__sub b { color: var(--coral); }

/* settings panel mock */
.mock-settings {
  width: min(420px, 92%);
  background: linear-gradient(180deg, var(--navy-750), var(--navy-850));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-float);
}
.mock-settings__tabs { display: flex; gap: 6px; background: rgba(255,255,255,0.03); padding: 5px; border-radius: 12px; margin: 14px 0 18px; }
.mock-settings__tab { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 9px 4px; border-radius: 9px; color: var(--text-dim); }
.mock-settings__tab.active { background: var(--indigo); color: #fff; }
.set-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
.set-row:last-child { border-bottom: none; }
.set-row__label { font-size: 13px; color: var(--text-muted); }
.set-pill { font-family: var(--font-display); font-weight: 800; font-size: 15px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 7px 13px; border-radius: 10px; }
.set-toggle { width: 44px; height: 25px; border-radius: 999px; background: var(--coral); position: relative; }
.set-toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; }
.set-section-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; margin: 18px 0 4px; }

/* offerte PDF doc mock */
.mock-doc {
  width: min(400px, 90%);
  background: linear-gradient(180deg, #0e1132, #090b24);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow-float);
  color: var(--text-muted);
}
.mock-doc__logo { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 22px; }
.mock-doc__logo span { color: var(--coral); }
.mock-doc__h { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 30px; color: #fff; letter-spacing: -0.02em; }
.mock-doc__sub { font-size: 14px; margin-top: 4px; }
.doc-line { display: flex; justify-content: space-between; font-size: 13px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.doc-line span:last-child { color: #fff; font-weight: 700; }
.doc-total { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; background: linear-gradient(90deg, var(--coral), var(--coral-deep)); color: #fff; padding: 13px 18px; border-radius: 12px; font-family: var(--font-display); font-weight: 800; }

/* floating mock positioning helper (hero) */
.float { position: relative; will-change: transform; }

/* ===== feature columns ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  padding: 32px 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s;
}
.feat:hover { transform: translateY(-6px); border-color: rgba(248,87,95,0.4); background: var(--card-strong); }
.feat__glow { position: absolute; top: -40%; right: -30%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(248,87,95,0.22), transparent 70%); opacity: 0; transition: opacity .4s; }
.feat:hover .feat__glow { opacity: 1; }
.feat .chip { margin-bottom: 22px; }
.feat__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 12px; letter-spacing: -0.01em; }
.feat__body { color: var(--text-muted); font-size: 15.5px; }

/* small benefit row list (merk/controle) */
.benefit-list { display: grid; gap: 4px; }
.benefit {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 4px;
  border-top: 1px solid var(--border-soft);
}
.benefit:last-child { border-bottom: 1px solid var(--border-soft); }
.benefit__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px,2.4vw,27px); margin-bottom: 8px; }
.benefit__body { color: var(--text-muted); max-width: 52ch; }

/* pain stats */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; } }
.painstat {
  padding: 34px 30px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
}
.painstat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px,5vw,58px); color: var(--coral); line-height: 1; letter-spacing: -0.03em; }
.painstat__body { color: var(--text-muted); margin-top: 14px; }

/* ===== how it works steps ===== */
.steps { display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 4vw, 50px);
  align-items: center;
  padding: clamp(26px, 3.5vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .35s, border-color .35s;
}
.step:hover { border-color: rgba(248,87,95,0.35); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(46px, 6vw, 80px); color: transparent; -webkit-text-stroke: 2px rgba(248,87,95,0.55); line-height: 0.8; letter-spacing: -0.04em; }
.step__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 2.5vw, 28px); margin-bottom: 8px; }
.step__body { color: var(--text-muted); max-width: 60ch; }
.step__media { width: 120px; height: 120px; flex: 0 0 120px; }
@media (max-width: 760px) {
  .step { grid-template-columns: auto 1fr; }
  .step__media { display: none; }
}

/* ===== pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan {
  display: flex; flex-direction: column;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .35s, border-color .35s;
}
.plan:hover { transform: translateY(-6px); }
.plan--featured {
  background: linear-gradient(180deg, rgba(248,87,95,0.14), rgba(248,87,95,0.03));
  border-color: rgba(248,87,95,0.5);
  box-shadow: 0 40px 90px -50px rgba(248,87,95,0.6);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--coral-bright), var(--coral));
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  padding: 7px 16px; border-radius: 999px; text-transform: uppercase; white-space: nowrap;
}
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.plan__desc { color: var(--text-dim); font-size: 14px; margin-top: 6px; min-height: 40px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 2px; }
.plan__price b { font-family: var(--font-display); font-weight: 800; font-size: 52px; color: var(--white); letter-spacing: -0.03em; line-height: 1; }
.plan__setup { color: var(--text-dim); font-size: 13px; }
.plan__monthly { color: var(--coral); font-weight: 700; font-size: 15px; margin-top: 8px; }
.plan__list { list-style: none; display: grid; gap: 13px; margin: 26px 0 28px; }
.plan__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--text-muted); }
.plan__list .tick { width: 21px; height: 21px; flex: 0 0 21px; border-radius: 50%; background: var(--indigo); display: grid; place-items: center; margin-top: 1px; }
.plan--featured .plan__list .tick { background: var(--coral); }
.plan__list .tick svg { width: 12px; height: 12px; color: #fff; }
.plan__cta { margin-top: auto; }
.plan__cta .btn { width: 100%; justify-content: center; }

/* ===== CTA / form ===== */
.cta-card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 85% 10%, rgba(150,45,130,0.5), transparent 55%),
    radial-gradient(110% 120% at 10% 100%, rgba(228,58,69,0.45), transparent 55%),
    linear-gradient(160deg, var(--navy-750), var(--navy-900));
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(34px, 5vw, 64px);
  box-shadow: var(--shadow-float);
}
@media (max-width: 900px) { .cta-card { grid-template-columns: 1fr; } }
.cta-card__copy .h2 { margin: 18px 0 18px; }
.cta-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.cta-badge { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.cta-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--border); display: grid; place-items: center; color: var(--coral); }
.cta-badge .dot svg { width: 13px; height: 13px; }

.form { background: rgba(7,9,30,0.55); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); backdrop-filter: blur(10px); }
.form__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 4px; }
.form__sub { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.field input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--text-dim); }
.field input:focus { outline: none; border-color: var(--coral); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 4px rgba(248,87,95,0.15); }
.field input.invalid { border-color: var(--coral-deep); box-shadow: 0 0 0 4px rgba(226,58,69,0.18); }
.field__err { color: var(--coral-bright); font-size: 12.5px; margin-top: 6px; display: none; }
.field.show-err .field__err { display: block; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 14px; }
.form__success { text-align: center; padding: 24px 6px; display: none; }
.form__success .toast__check { margin: 0 auto 18px; width: 56px; height: 56px; }
.form__success .toast__check svg { width: 30px; height: 30px; }
.form__success h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 10px; }
.form__success p { color: var(--text-muted); }
.form.sent .form__body { display: none; }
.form.sent .form__success { display: block; }

/* ===== footer ===== */
.footer { border-top: 1px solid var(--border-soft); padding: 44px 0 60px; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--text-dim); font-size: 14px; }
.footer__brand { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-weight: 600; }
.footer__brand .globe { width: 22px; height: 22px; color: var(--coral); }
.footer__right { display: flex; align-items: center; gap: 16px; }
.footer__social {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.footer__social svg { width: 20px; height: 20px; }
.footer__social:hover { color: #fff; background: linear-gradient(170deg, var(--coral-bright), var(--coral-deep)); border-color: transparent; transform: translateY(-2px); }
@media (max-width: 560px) { .footer__row { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   WIDGET SHOWCASE (faithful product recreation, Quotely huisstijl)
   ============================================================ */
.widget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1000px) { .widget-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.widget {
  background: linear-gradient(180deg, var(--navy-750), var(--navy-850));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  font-size: 14px;
}
.widget__frame-label { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.widget__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.widget__brand { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(170deg, var(--coral-bright), var(--coral-deep)); padding: 7px 13px; border-radius: 8px; }
.widget__pill { font-size: 12px; font-weight: 700; color: var(--coral); background: rgba(248,87,95,0.12); border: 1px solid rgba(248,87,95,0.3); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.widget__meta { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); margin-bottom: 14px; }
.widget__stars { display: flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; font-size: 13px; }
.widget__stars .s { color: var(--coral); letter-spacing: 1px; }
.widget__stars small { color: var(--text-dim); font-weight: 500; }
.widget__free { font-size: 12px; color: var(--text-dim); }
.widget__progress { display: flex; gap: 6px; margin-bottom: 18px; }
.widget__progress span { height: 4px; flex: 1; border-radius: 999px; background: rgba(255,255,255,0.1); }
.widget__progress span.on { background: var(--coral); }
.widget__q { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 5px; }
.widget__hint { color: var(--text-dim); font-size: 13px; margin-bottom: 16px; }
.widget__group-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin: 16px 0 9px; display: flex; align-items: center; gap: 7px; }
.widget__group-label svg { width: 14px; height: 14px; color: var(--coral); }

.wtiles { display: grid; gap: 9px; }
.wtile { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 13px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); position: relative; }
.wtile.sel { border-color: var(--coral); background: rgba(248,87,95,0.08); box-shadow: 0 0 0 3px rgba(248,87,95,0.12); }
.wtile__ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); color: var(--coral); }
.wtile__ico svg { width: 19px; height: 19px; }
.wtile__t { font-weight: 700; color: #fff; font-size: 14px; }
.wtile__d { font-size: 12px; color: var(--text-dim); }
.wbadge { position: absolute; top: 11px; right: 11px; font-size: 10px; font-weight: 800; color: var(--coral); background: rgba(248,87,95,0.14); border: 1px solid rgba(248,87,95,0.3); padding: 3px 8px; border-radius: 999px; }

.wchips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wchip { text-align: center; padding: 12px 8px; border-radius: 11px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); font-weight: 600; font-size: 13px; color: var(--text-muted); }
.wchip.sel { border-color: var(--coral); background: rgba(248,87,95,0.08); color: #fff; }
.westimate { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); border-radius: 13px; padding: 13px 15px; }
.westimate__l { font-size: 12px; color: var(--text-dim); }
.westimate__v { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--coral); }
.westimate__v small { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.wprice-label { font-size: 12px; color: var(--text-dim); }
.wprice { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: #fff; letter-spacing: -0.03em; line-height: 1.05; }
.wprice-sub { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.wsave { display: flex; gap: 11px; align-items: flex-start; background: rgba(143,224,155,0.08); border: 1px solid rgba(143,224,155,0.25); border-radius: 13px; padding: 13px; margin: 14px 0; }
.wsave__ico { color: var(--green); flex: 0 0 22px; }
.wsave__ico svg { width: 22px; height: 22px; }
.wsave__t { font-weight: 700; color: var(--green); font-size: 13.5px; }
.wsave__d { font-size: 12px; color: var(--text-muted); }
.wlines { border: 1px solid var(--border-soft); border-radius: 13px; padding: 4px 14px; margin-bottom: 14px; }
.wline { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.wline:last-child { border-bottom: none; }
.wline__t { font-weight: 700; color: #fff; font-size: 13.5px; line-height: 1.3; }
.wline__d { font-size: 11.5px; color: var(--text-dim); line-height: 1.3; margin-top: 3px; }
.wline__v { font-weight: 700; color: #fff; white-space: nowrap; }
.wline.total .wline__t, .wline.total .wline__v { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.wsavings { background: rgba(248,87,95,0.06); border: 1px solid rgba(248,87,95,0.2); border-radius: 14px; padding: 15px; margin-bottom: 14px; }
.wsavings__label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
.wsavings__big { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--coral); margin: 4px 0 12px; letter-spacing: -0.02em; }
.wsavings__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wsavings__cell { background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); border-radius: 10px; padding: 10px 6px; text-align: center; }
.wsavings__cell b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; }
.wsavings__cell span { font-size: 10.5px; color: var(--text-dim); }

.wnav { display: flex; gap: 9px; margin-top: 16px; }
.wbtn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-weight: 700; font-size: 14px; border: none; }
.wbtn--primary { background: linear-gradient(180deg, var(--coral-bright), var(--coral)); color: #fff; box-shadow: 0 12px 28px -12px rgba(248,87,95,0.6); }
.wbtn--ghost { flex: 0 0 auto; padding-inline: 18px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-muted); }
.wbtn svg { width: 16px; height: 16px; }
.widget__cap { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11.5px; color: var(--text-dim); margin-top: 13px; }
.widget__cap svg { width: 14px; height: 14px; }

.widget-note { text-align: center; margin-top: clamp(36px, 5vw, 56px); }
.widget-note b { color: var(--white); }

/* ============================================================
   3D SCROLL ENGINE — base states (JS adds transforms)
   ============================================================ */
[data-reveal] { will-change: transform, opacity; }

/* Mobiel: geen zwaar per-frame 3D-effect (scrollt vlot). In de plaats een
   lichte, eenmalige fade-in via IntersectionObserver. De .mreveal-klasse wordt
   door scroll.js gezet, dus zonder JS blijft alles gewoon zichtbaar. */
@media (max-width: 768px) {
  .mreveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; will-change: opacity, transform; }
  .mreveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mreveal { opacity: 1 !important; transform: none !important; }
}

/* respect reduced motion: show everything, no transforms */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .float { transform: none !important; opacity: 1 !important; }
}

/* ============================================================
   CONTROLE grid + MOBILE compatibility
   ============================================================ */
.controle-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) {
  .controle-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock-settings { max-width: 420px; }
}

/* tablets */
@media (max-width: 760px) {
  .section { padding: clamp(64px, 11vh, 110px) 0; }
  .hero { padding-top: 96px; min-height: auto; }
  .hero__stage { min-height: 0; margin-top: 8px; }
  .statstrip { grid-template-columns: 1fr; }
  .statstrip .stat { display: flex; align-items: baseline; gap: 14px; padding: 18px 20px; }
  .stat__label { margin-top: 0; max-width: none; }
}

/* phones */
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .nav { padding: 14px 20px; }
  .nav__logo { height: 26px; }
  .nav__cta { padding: 10px 15px; font-size: 13px; }
  .display { font-size: clamp(38px, 12vw, 56px); }
  .h2 { font-size: clamp(29px, 8.5vw, 44px); }
  .lead { font-size: 16px; }
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .hero__cta-row .btn { justify-content: center; }
  .hero__trust { gap: 12px; }
  .feat, .painstat, .plan, .step, .widget { padding: 24px 22px; }
  .step { grid-template-columns: auto 1fr; gap: 18px; }
  .cta-card { padding: 26px 22px; border-radius: 26px; }
  .cta-badges { gap: 14px; }
  .wsavings__row { grid-template-columns: 1fr 1fr 1fr; }
  .mock-dash, .mock-settings, .toast { width: 100% !important; }
}

/* avoid sideways scrolling from tilted hero cards on small screens */
@media (max-width: 900px) {
  .hero__stage .float { transform: none !important; }
}

/* ===== testimonials / trust ===== */
.trust-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--text-muted); font-weight: 600; flex-wrap: wrap; justify-content: center; }
.trust-line__stars { color: var(--coral); letter-spacing: 2px; }

.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.tm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tm-stars { color: var(--coral); letter-spacing: 3px; font-size: 15px; }
.tm-quote { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: var(--text); margin: 0; }
.tm-author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.tm-avatar {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(180deg, var(--coral-bright), var(--coral));
}
.tm-author__txt { display: flex; flex-direction: column; line-height: 1.3; }
.tm-author__txt b { color: var(--white); font-size: 15px; font-weight: 700; }
.tm-author__txt small { color: var(--text-dim); font-size: 13px; }
@media (max-width: 900px) { .tm-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* bron-vermelding onder de cijferbalk */
.stat-source { margin-top: 16px; text-align: center; font-size: 12px; color: var(--text-dim); }

/* ===== extra dienst: website ===== */
.webcard {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  backdrop-filter: blur(10px);
}
.webcard__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 13px; }
.webcard__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-muted); line-height: 1.5; }
.webcard__list .tick { width: 21px; height: 21px; flex: 0 0 21px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; margin-top: 1px; }
.webcard__list .tick svg { width: 12px; height: 12px; color: #fff; }
.webcard__price {
  text-align: center;
  background: linear-gradient(180deg, rgba(248,87,95,0.14), rgba(248,87,95,0.03));
  border: 1px solid rgba(248,87,95,0.30);
  border-radius: var(--radius-md);
  padding: 34px 24px;
}
.webcard__price-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.webcard__price-amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); color: var(--coral); line-height: 1; margin: 8px 0 6px; letter-spacing: -0.03em; }
.webcard__price-sub { font-size: 13px; color: var(--text-muted); }
@media (max-width: 860px) {
  .webcard { grid-template-columns: 1fr; }
}

/* ===== live demo (ingesloten widget) ===== */
.demo-frame {
  max-width: 680px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f9fafb;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.65);
}
#quotelyDemo { width: 100%; border: 0; display: block; min-height: 600px; background: #f9fafb; }

.demo-cta { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.demo-cta .lead { color: var(--text-muted); }

.demo-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 22px; max-width: 640px; }
.demo-point { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; }
.demo-point svg { width: 15px; height: 15px; color: var(--coral); stroke-width: 2.4; }
