/* ──────────────────────────────────────────────────────────────────────
   Blackfile AI — gemeenschappelijke stylesheet voor alle pagina's
   Tokens, reset, typography, header/footer, FAQ, scroll-reveal, buttons.
   Per-pagina styles blijven inline in elke .html-file.
   ────────────────────────────────────────────────────────────────────── */

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

:root {
  --bg: #000000;
  --bg-soft: #0A0A0A;
  --bg-card: #0E0E0E;
  --bg-card-hover: #141414;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --accent: #C8F135;
  --accent-hover: #B8E028;
  --accent-dim: rgba(200,241,53,0.08);
  --accent-border: rgba(200,241,53,0.25);
  --accent-glow: rgba(200,241,53,0.18);
  --danger: #FF5757;
  --text: #FFFFFF;
  --muted: #888888;
  --soft: rgba(255,255,255,0.7);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 999px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ──────────────────────────────────────────────────────────────────────
   Layout helpers
   ────────────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; position: relative; }
@media (min-width: 768px) { section { padding: 120px 0; } }

/* ──────────────────────────────────────────────────────────────────────
   Typography
   ────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { color: var(--soft); font-size: 1.0625rem; line-height: 1.65; }

.muted { color: var(--muted); font-size: 0.9375rem; }
.accent-text { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.eyebrow-pill {
  padding: 6px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  letter-spacing: 0.14em;
}

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: 1.0625rem; }

/* ──────────────────────────────────────────────────────────────────────
   Card — generic dark card component
   Used for: package cards, principle cards, contact options, deliverables.
   Modifiers: .card-bordered (subtle accent border), .card-hover (lift on hover).
   ────────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .card { padding: 28px; }
}
.card-bordered { border-color: var(--accent-border); }
.card-bordered-strong { border: 2px solid var(--accent); }
.card-hover { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  box-shadow: 0 8px 28px rgba(200, 241, 53, 0.10);
}

/* Card icon — neon-green dim square */
.card-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

/* Card label (small uppercase top-of-card pill) */
.card-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Checkmark list inside cards */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.checklist li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent);
  margin-top: 3px;
}
.checklist.x li svg { color: var(--muted); }

/* ──────────────────────────────────────────────────────────────────────
   Product page components — hero grid, price card, deliverables, ROI,
   spec block. Used on /lead-catcher, /no-show-stopper, /klant-onboarding,
   /bundel.
   ────────────────────────────────────────────────────────────────────── */

/* Product hero — 2-col on desktop, stacked on mobile */
.product-hero {
  padding-top: 80px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute;
  top: -240px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.product-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .product-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
  .product-hero { padding-top: 120px; padding-bottom: 80px; }
}
.product-hero-text h1 { margin-top: 16px; }
.product-hero-text .tagline {
  margin-top: 14px;
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
}
.product-hero-text .lead {
  margin-top: 22px;
  font-size: 1.0625rem;
  color: var(--soft);
  line-height: 1.65;
}
.product-hero-text .hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Price card (next to product hero text) */
.price-card {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: sticky;
  top: 80px;
}
.price-card .price-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}
.price-card .price-amount {
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.price-card .price-old {
  color: var(--muted);
  font-size: 1rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-bottom: 6px;
}
.price-card .price-suffix-block {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 24px;
}
.price-card .checklist {
  text-align: left;
  margin-bottom: 24px;
}
.price-card .checklist li { font-size: 0.875rem; }
.price-card .btn { margin-bottom: 8px; }
.price-card .btn:last-child { margin-bottom: 0; }

/* Pijn-sectie — big quote + body */
.pijn-section { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pijn-quote {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 16px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.pijn-body {
  margin-top: 22px;
  font-size: 1.0625rem;
  color: var(--soft);
  line-height: 1.7;
}

/* Deliverables — numbered list with tool tags */
.deliverables {
  list-style: none;
  padding: 0;
  margin: 48px 0 0 0;
  counter-reset: deliverable;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.deliverable-item {
  counter-increment: deliverable;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: border-color 0.2s ease;
}
.deliverable-item:hover { border-color: var(--accent-border); }
.deliverable-item::before {
  content: counter(deliverable, decimal-leading-zero);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  min-width: 28px;
}
.deliverable-content h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}
.deliverable-content p { color: var(--soft); font-size: 0.9375rem; line-height: 1.55; }
.tool-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ROI-callout */
.roi-callout {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
}
@media (min-width: 768px) { .roi-callout { padding: 40px 44px; } }
.roi-callout p {
  font-size: 1.0625rem;
  color: var(--soft);
  line-height: 1.75;
}
.roi-callout strong, .roi-highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Spec grid (Levertijd + Investering) */
.spec-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
.spec-block {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.spec-block-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.spec-block-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.spec-block-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Voor wie 2-col (used on product pages too) */
.voor-wie-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .voor-wie-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.voor-wie-col h3 {
  margin-top: 0;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 1.125rem;
}

/* Final CTA pattern */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 720px; margin: 0 auto 22px auto; }
.final-cta p.lead {
  max-width: 560px;
  margin: 0 auto 32px auto;
  font-size: 1.0625rem;
}
.final-cta-buttons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.final-cta .alt {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.final-cta .alt a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ──────────────────────────────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--accent-border); }
.btn-ghost:hover { background: var(--accent-dim); border-color: var(--accent); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: rgba(255,255,255,0.04); border-color: var(--text); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 30px; font-size: 1rem; }

/* ──────────────────────────────────────────────────────────────────────
   Header / nav (sticky, blur on scroll)
   ────────────────────────────────────────────────────────────────────── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 26px; height: 26px;
  background: var(--accent);
  color: #000;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--soft);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #000; }
.nav-cta { padding: 10px 18px; font-size: 0.875rem; }
@media (min-width: 900px) { .nav-links { display: flex; } }

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
}
@media (min-width: 900px) { .menu-btn { display: none; } }

/* ──────────────────────────────────────────────────────────────────────
   Mobile menu (full-viewport overlay, iOS-safe)
   ────────────────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  display: none;
  flex-direction: column;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-list {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}
.mobile-menu-list a {
  display: block;
  padding: 18px 0;
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-list .btn { margin-top: 24px; align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ──────────────────────────────────────────────────────────────────────
   FAQ accordion (semantic <details>)
   ────────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--accent-border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 0.9;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; }
}
.footer-col h4 {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.footer-col p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; margin-top: 12px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--muted); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--text); }
.footer-tagline { color: var(--soft); font-size: 0.875rem; margin-top: 12px; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent-border); background: var(--accent-dim); }
.footer-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ──────────────────────────────────────────────────────────────────────
   Scroll reveal
   ────────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────
   Skip to content (a11y)
   ────────────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #000;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ──────────────────────────────────────────────────────────────────────
   Toast (used by tools like contact form, optional)
   ────────────────────────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  color: var(--text);
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  max-width: 440px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
#toast.show { opacity: 1; }
