/* =========================================================
   PAYDAY — basisstijl
   Pas hier de huisstijl aan: kleuren, lettertypes, afronding.
   Stijl geïnspireerd op payday-omega.vercel.app
   ========================================================= */
:root {
  /* Lettertypes */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Kleuren */
  --paper: #f5f2ec;      /* achtergrond pagina */
  --card: #ffffff;       /* kaarten */
  --ink: #17132e;        /* donker (tekst, donkere blokken) */
  --ink-2: #2a2450;
  --text: #17132e;
  --muted: #736e86;      /* grijze tekst */
  --line: #e8e3da;       /* randen */
  --accent: #d5f55e;     /* hoofdaccent (lime) */
  --accent-dark: #4d6a00;
  --coral: #ff6a48;      /* waarschuwing / te laat */
  --coral-soft: #ffe7e0;
  --lilac: #c9bcff;

  /* Vormen */
  --radius: 20px;
  --radius-big: 28px;
  --max: 1120px;
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 12px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Label-pil (zwart met lime tekst) */
.eyebrow {
  display: inline-block;
  background: var(--ink); color: var(--accent);
  border-radius: 999px; padding: .3rem .85rem;
  font-size: .82rem; font-weight: 600;
}
/* Gemarkeerd woord in titel */
.hl {
  background: var(--accent); border-radius: 12px; padding: 0 .18em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Knoppen ---------- */
.button {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 0; cursor: pointer; text-decoration: none;
  font: 600 .95rem var(--font-body);
  border-radius: 12px; padding: .7rem 1.15rem;
  transition: transform .15s, background .15s;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ink); color: #fff; }
.button.accent { background: var(--accent); color: var(--ink); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button.ghost:hover { background: var(--card); }
.button.big { padding: .9rem 1.45rem; font-size: 1rem; border-radius: 14px; }
.button.full { width: 100%; justify-content: center; }

/* ---------- Navigatie ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: .55rem; font: 700 1.3rem var(--font-display); letter-spacing: -.03em; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 56px 0 72px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); letter-spacing: -.045em; margin: 18px 0 18px; line-height: 1.02; }
.hero-text > p { color: var(--muted); font-size: 1.15rem; max-width: 33rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 28px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.hero-note span::before { content: "✓"; color: var(--accent-dark); font-weight: 700; margin-right: 6px; }

/* Dashboard-mockup (donkere kaart) */
.dash {
  background:
    radial-gradient(circle at 92% 8%, #d5f55e8c, transparent 32%),
    radial-gradient(circle at 70% 120%, #c9bcff73, transparent 45%),
    var(--ink);
  color: #fff; border-radius: var(--radius-big);
  padding: 1.6rem 1.75rem; position: relative; overflow: hidden;
}
.dash-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.dash-label { color: #ffffffb3; font-size: .9rem; font-weight: 500; }
.dash-amount { font: 700 clamp(2.6rem, 7vw, 3.8rem) var(--font-display); letter-spacing: -.04em; margin: 1rem 0 1.2rem; position: relative; z-index: 1; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; position: relative; z-index: 1; }
.chip { background: #ffffff1f; border: 1px solid #ffffff26; border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 500; }
.chip.ok { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chip.late { background: var(--coral); border-color: var(--coral); }
.stripes { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; border-radius: 50%; background: repeating-radial-gradient(circle, #0000 0 14px, #ffffff0f 14px 15px); }

.rows { display: flex; flex-direction: column; gap: .6rem; margin-top: 14px; }
.row {
  background: var(--card); border-radius: var(--radius); border: 1px solid transparent;
  display: grid; grid-template-columns: auto 1fr auto; gap: .1rem 1rem; align-items: center;
  padding: .95rem 1.1rem;
}
.row.is-late { border-color: var(--coral-soft); box-shadow: inset 4px 0 0 var(--coral); }
.avatar { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 700 1.15rem var(--font-display); color: var(--ink); }
.hue-lime { background: #e6f9a4; } .hue-lilac { background: #e2daff; } .hue-sky { background: #cfe9ff; } .hue-peach { background: #ffd9c9; }
.row .who b { display: block; font-size: 1rem; }
.row .who small { color: var(--muted); font-size: .84rem; }
.row.is-late .who small { color: var(--coral); font-weight: 600; }
.row .amt { font: 700 1.25rem var(--font-display); letter-spacing: -.02em; text-align: right; }
.row .amt small { display: block; font: 600 .75rem var(--font-body); letter-spacing: 0; }
.st-signed { color: #5b4bb5; } .st-paid { color: var(--accent-dark); } .st-late { color: var(--coral); }

/* ---------- Vertrouwensbalk ---------- */
.trust { padding: 0 0 24px; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 22px 28px; background: var(--card); border-radius: var(--radius); }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.trust-item b { font: 700 1.35rem var(--font-display); letter-spacing: -.02em; }

/* ---------- Kaarten / grids ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 1px 0 var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step-nr { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; font: 700 1.1rem var(--font-display); margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.flow-arrow { display: none; }

/* Waarom-blok (donker) */
.why { background: var(--ink); color: #fff; border-radius: 36px; padding: 64px 48px; margin: 0 20px; }
.why .section-head p { color: #ffffffa6; }
.why .eyebrow { background: var(--accent); color: var(--ink); }
.promise { background: var(--ink-2); border-radius: var(--radius); padding: 1.8rem; position: relative; overflow: hidden; }
.promise .big-nr { font: 700 3rem var(--font-display); color: var(--accent); letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.promise h3 { font-size: 1.45rem; margin-bottom: 10px; }
.promise p { color: #ffffffb3; }
.promise ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .93rem; }
.promise li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.review-quote { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ffffff1f; font-size: .85rem; color: #ffffff80; font-style: italic; }

/* Vergelijkingstabel */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 .95rem var(--font-display); background: #faf8f4; }
.compare th.us, .compare td.us { background: #f4fbd9; font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--accent-dark); font-weight: 700; }
.no { color: var(--muted); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

/* Functies */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.feature .ico svg { width: 22px; height: 22px; }

/* ---------- Prijzen ---------- */
.toggle { display: inline-flex; background: var(--card); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 28px; }
.toggle button { border: 0; background: none; padding: .55rem 1.1rem; border-radius: 999px; font: 600 .9rem var(--font-body); cursor: pointer; color: var(--muted); }
.toggle button.active { background: var(--ink); color: #fff; }
.toggle .save { color: var(--accent-dark); font-size: .78rem; margin-left: 4px; }
.toggle button.active .save { color: var(--accent); }
.prices { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; max-width: 820px; margin: 0 auto; }
.price { background: var(--card); border-radius: var(--radius-big); padding: 2rem; display: flex; flex-direction: column; }
.price.featured { background: var(--ink); color: #fff; position: relative; }
.price.featured .muted { color: #ffffffa6; }
.badge { position: absolute; top: 20px; right: 20px; background: var(--accent); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.price .amount { font: 700 3.2rem var(--font-display); letter-spacing: -.04em; margin: 14px 0 2px; }
.price .amount small { font: 500 1rem var(--font-body); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: .95rem; flex: 1; }
.price li::before { content: "✓"; color: var(--accent-dark); font-weight: 700; margin-right: 8px; }
.price.featured li::before { color: var(--accent); }
.price-foot { text-align: center; margin-top: 22px; color: var(--muted); font-size: .9rem; }

/* ---------- Reviews ---------- */
.quote { display: flex; flex-direction: column; gap: 16px; }
.stars { color: #e8a400; letter-spacing: 2px; }
.quote p { color: var(--text) !important; font-size: 1.02rem; }
.quote .person { display: flex; gap: 12px; align-items: center; margin-top: auto; font-size: .9rem; }
.quote .person .avatar { width: 38px; height: 38px; font-size: .95rem; border-radius: 12px; }
.placeholder-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 16px; padding: 0 1.4rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.3rem var(--font-display); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; }

/* ---------- Slot-CTA & footer ---------- */
.final { text-align: center; background: var(--accent); border-radius: 36px; padding: 64px 24px; margin: 0 20px; }
.final h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.final p { margin: 14px auto 28px; max-width: 520px; color: var(--ink-2); }
footer { padding: 48px 0 36px; font-size: .9rem; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- Responsief ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .grid-3, .grid-2, .prices { grid-template-columns: 1fr; }
  .why { padding: 48px 22px; margin: 0 12px; border-radius: 28px; }
  .final { margin: 0 12px; border-radius: 28px; }
  .nav-links, .nav-cta .ghost { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); padding: 20px; gap: 18px; border-bottom: 1px solid var(--line); }
  section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .dash { padding: 1.3rem 1.25rem; border-radius: 24px; }
  .row { padding: .8rem .9rem; gap: .1rem .75rem; }
  .avatar { width: 40px; height: 40px; }
  .row .amt { font-size: 1.05rem; }
  .nav-cta .button { padding: .6rem .9rem; font-size: .88rem; }
}
