/* ===========================================================
   Folevio — lichte, premium marketingpagina
   Licht thema (marketing) + donkere accent-secties (privacy,
   dashboard-preview) — gedeelde coral/teal identiteit met de
   tool zelf, alleen het draagvlak (licht i.p.v. donker) wisselt.
   =========================================================== */

:root{
  --bg:#FFFFFF;
  --surface:#F7F7F5;
  --surface-2:#F0F0EC;
  --border:#E6E5E1;

  --text:#15171C;
  --text-muted:#63656F;
  --text-faint:#9A9CA5;

  --coral:#FF6F59;
  --coral-dim:#FFF0ED;
  --coral-deep:#C24E3D;
  --teal:#0E8F79;
  --teal-dim:#E3F6F1;

  --dark-bg:#12141C;
  --dark-surface:#1B1E29;
  --dark-surface-2:#232733;
  --dark-border:#2E3341;
  --dark-text:#F2F1ED;
  --dark-text-muted:#8B8FA3;

  --radius-lg:20px;
  --radius-md:16px;
  --radius-sm:10px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(20,20,20,.05), 0 1px 1px rgba(20,20,20,.03);
  --shadow-md: 0 12px 28px rgba(20,20,20,.07), 0 2px 8px rgba(20,20,20,.04);
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-sans);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

.wrap{max-width:1080px;margin:0 auto;padding:0 24px;}
.narrow{max-width:680px;margin:0 auto;}

section{padding:88px 0;}
@media (max-width:640px){ section{padding:56px 0;} }

h1,h2,h3{margin:0;font-weight:600;letter-spacing:-0.02em;color:var(--text);}
h1{font-size:52px;line-height:1.08;}
h2{font-size:32px;line-height:1.15;}
h3{font-size:17px;line-height:1.3;}
p{margin:0;color:var(--text-muted);}

@media (max-width:640px){
  h1{font-size:34px;}
  h2{font-size:24px;}
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--coral-deep);
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
}
.eyebrow::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--coral);
  display:inline-block;
}

.section-head{max-width:560px;margin:0 auto 48px;text-align:center;}
.section-head p{margin-top:12px;font-size:16px;}

/* ---------- Nav ---------- */

.nav{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:1080px;margin:0 auto;padding:16px 24px;
  display:flex;align-items:center;justify-content:space-between;
}
.brand{
  font-weight:700;font-size:16px;letter-spacing:-0.01em;color:var(--text);
  text-decoration:none;display:flex;align-items:center;gap:8px;
}
.brand-mark{
  width:26px;height:26px;border-radius:8px;
  flex:none;
}
.nav-actions{display:flex;align-items:center;gap:20px;}
.nav-link{
  color:var(--text-muted);text-decoration:none;font-size:14px;font-weight:500;
}
.nav-link:hover{color:var(--text);}

@media (max-width:560px){
  .nav-link{display:none;}
  .nav-actions{gap:0;}
}

/* ---------- Buttons ---------- */

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 22px;
  border-radius:var(--radius-sm);
  font-family:var(--font-sans);
  font-size:15px;font-weight:600;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .12s ease, filter .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active{transform:scale(.98);}

.btn-primary{
  background:var(--coral);
  color:#fff;
  box-shadow:0 1px 2px rgba(194,78,61,.15), 0 8px 20px rgba(255,111,89,.28);
}
.btn-primary:hover{filter:brightness(1.05);}

.btn-ghost{
  background:#fff;
  color:var(--text);
  border:1px solid var(--border);
}
.btn-ghost:hover{background:var(--surface);}

.btn-lg{padding:15px 26px;font-size:16px;}

/* ---------- Hero ---------- */

.hero{padding:76px 0 40px;}
.hero-inner{text-align:center;max-width:680px;margin:0 auto;}
.hero h1 .accent{color:var(--coral);}
.hero-sub{font-size:18px;margin:20px 0 8px;}
.hero-sub-fine{font-size:14px;color:var(--text-faint);margin-top:10px;}
.hero-actions{
  display:flex;justify-content:center;gap:12px;margin-top:30px;flex-wrap:wrap;
}

/* ---------- Privacy flow (signature animation) ---------- */

.flow{
  margin-top:72px;
  border:1px solid var(--border);
  border-radius:24px;
  background:var(--surface);
  padding:44px 28px 36px;
}

.flow-steps{
  display:flex;align-items:center;justify-content:center;gap:0;
  position:relative;
  max-width:640px;margin:0 auto;
}

.flow-node{
  position:relative;z-index:2;
  flex:1;
  display:flex;flex-direction:column;align-items:center;gap:12px;
  text-align:center;
}
.flow-icon{
  width:64px;height:64px;border-radius:18px;
  background:#fff;
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-sm);
  transition:none;
}
.flow-icon svg{width:26px;height:26px;color:var(--text);}
.flow-label{font-size:13px;font-weight:600;color:var(--text);}

/* Precies één icoon tegelijk actief. JavaScript bepaalt welke, dat
   voorkomt de timing-onbetrouwbaarheid van CSS animation-delay
   gecombineerd met pauzeren/hervatten. */
.flow-icon.active{
  border-color:var(--coral);
  box-shadow:0 0 0 5px var(--coral-dim);
}

.flow-progress{
  width:100%;height:5px;border-radius:99px;
  background:var(--surface-2);
  overflow:hidden;margin-top:2px;
}
.flow-progress-fill{
  height:100%;width:100%;border-radius:99px;
  background:var(--coral);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 1.1s ease-in-out;
  will-change:transform;
}
.flow-progress-fill.active{
  transform:scaleX(1);
}

.flow-result-num{
  font-family:var(--font-mono);
  font-size:20px;font-weight:700;color:var(--coral-deep);
}

.flow-nocloud{
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin-top:36px;padding-top:28px;
  border-top:1px dashed var(--border);
  font-size:13px;color:var(--text-muted);
}
.flow-nocloud svg{width:22px;height:22px;color:var(--coral-deep);flex:none;}

@media (max-width:640px){
  .flow{padding:32px 18px 28px;}
  .flow-steps{flex-direction:column;gap:26px;}
  .flow-icon{width:52px;height:52px;}
}

@media (prefers-reduced-motion: reduce){
  .flow-icon,.flow-progress-fill{transition:none;}
}

/* ---------- Trust cards ---------- */

.trust-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
@media (max-width:900px){ .trust-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:520px){ .trust-grid{grid-template-columns:1fr;} }

.trust-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:26px 22px;
  box-shadow:var(--shadow-sm);
}
.trust-icon{
  width:42px;height:42px;border-radius:12px;
  background:var(--coral-dim);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;
}
.trust-icon svg{width:20px;height:20px;color:var(--coral-deep);}
.trust-card h3{margin-bottom:8px;}
.trust-card p{font-size:14px;}

/* ---------- Steps ---------- */

.steps{display:flex;flex-direction:column;gap:0;max-width:560px;margin:0 auto;}
.step-row{display:flex;gap:20px;padding:20px 0;}
.step-row + .step-row{border-top:1px solid var(--border);}
.step-num{
  flex:none;
  width:36px;height:36px;border-radius:10px;
  background:var(--text);color:#fff;
  font-family:var(--font-mono);font-size:14px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.step-body h3{margin-bottom:4px;}
.step-body p{font-size:14px;}

/* ---------- Dashboard preview ---------- */

.preview-frame{
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  background:var(--dark-bg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.preview-chrome{
  display:flex;align-items:center;gap:8px;
  padding:12px 16px;
  background:var(--dark-surface);
  border-bottom:1px solid var(--dark-border);
}
.preview-dot{width:9px;height:9px;border-radius:50%;background:var(--dark-border);}
.preview-url{
  margin-left:8px;
  font-family:var(--font-mono);font-size:11.5px;color:var(--dark-text-muted);
  background:var(--dark-bg);
  border:1px solid var(--dark-border);
  border-radius:6px;padding:4px 10px;
}
.preview-body{padding:32px 24px 36px;}
.preview-stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px;
  max-width:520px;margin:0 auto;
}
@media (max-width:640px){ .preview-stats{grid-template-columns:1fr 1fr;} }
.preview-stat{
  background:var(--dark-surface-2);
  border-radius:12px;padding:16px 14px;
}
.preview-stat .num{font-family:var(--font-mono);font-size:24px;font-weight:600;color:var(--dark-text);}
.preview-stat .lbl{font-size:11.5px;color:var(--dark-text-muted);margin-top:2px;}
.preview-stat.positive .num{color:var(--teal);}
.preview-stat.accent .num{color:var(--coral);}
.preview-caption{
  text-align:center;margin-top:22px;font-size:13px;color:var(--text-faint);
}

/* ---------- Privacy statement card ---------- */
/* Light theme, on purpose: "dark" on this page is reserved exclusively for
   moments that show the real tool (see .preview-frame). This card makes its
   point through color accent and typographic weight instead. */

.privacy-card{
  background:var(--teal-dim);
  border:1px solid #CFE9E3;
  border-radius:24px;
  padding:56px 32px;
  text-align:center;
}
.privacy-lock{
  width:56px;height:56px;border-radius:16px;
  background:#fff;
  border:1px solid #CFE9E3;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 24px;
}
.privacy-lock svg{width:24px;height:24px;color:var(--teal);}
.privacy-card h2{color:var(--text);max-width:460px;margin:0 auto;}
.privacy-card p{color:var(--text-muted);max-width:460px;margin:18px auto 0;font-size:15px;}

/* ---------- FAQ ---------- */

.faq-list{max-width:680px;margin:0 auto;display:flex;flex-direction:column;gap:10px;}
.faq-category{
  font-family:var(--font-mono);
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--coral-deep);
  margin:28px 0 2px;
}
.faq-category:first-child{margin-top:0;}
.faq-item{
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  background:#fff;
  overflow:hidden;
}
.faq-item summary{
  list-style:none;cursor:pointer;
  padding:18px 20px;
  font-weight:600;font-size:15px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"+";
  font-size:20px;font-weight:400;color:var(--text-faint);
  flex:none;transition:transform .15s ease;
}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item p{padding:0 20px 18px;font-size:14.5px;}

/* ---------- Final CTA ---------- */

.final-cta{text-align:center;}
.final-cta .btn{margin-top:8px;}

/* ---------- Footer ---------- */

footer{
  border-top:1px solid var(--border);
  padding:32px 0;
}
.footer-inner{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px;
}
.footer-nav{display:flex;gap:20px;}
.footer-nav a{color:var(--text-muted);text-decoration:none;font-size:13.5px;}
.footer-nav a:hover{color:var(--text);}
.footer-brand{font-size:13px;color:var(--text-faint);}

/* ---------- Focus & motion ---------- */

a:focus-visible,button:focus-visible{outline:2px solid var(--teal);outline-offset:2px;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{transition:none !important;}
}
