/* WorkBudy — kleuren uit de app (src/theme/tokens.ts), goud uit het logo */
:root {
  --navy-900: #0F2438;
  --navy-800: #142E47;
  --navy-700: #1B3A5B;
  --navy-500: #2D5F8A;
  --navy-100: #E3EDF5;
  --gold: #F5A623;
  --gold-dark: #D98E12;
  --gold-light: #F7D02E;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --border: #E4E7EC;
  --text: #101828;
  --text-2: #475467;
  --text-muted: #6B7280;
  --inverse-muted: #B8C7D6;
  --success: #0F7856;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(8, 20, 34, .35);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-500); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px;
  border-radius: 10px; border: 2px solid transparent;
  font: 600 16px/1.2 inherit; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--gold); color: var(--navy-900); }
.btn-accent:hover { background: var(--gold-dark); }
.btn-ghost { color: var(--navy-900); }
.btn-ghost:hover { background: var(--navy-100); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-100); }
.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- kop ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--navy-900); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-light { color: #fff; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { white-space: nowrap; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { color: var(--navy-900); background: var(--bg); }
.main-nav .nav-login-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; border-radius: 8px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(45, 95, 138, .55), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(245, 166, 35, .12), transparent 60%),
    var(--navy-900);
  color: #fff;
  padding: 80px 0 96px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.eyebrow-dark { color: var(--navy-500); }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; letter-spacing: -0.03em; }
.hl { background: linear-gradient(90deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--text-2); margin: 20px 0 0; max-width: 40em; }
.hero .lead, .lead.light { color: var(--inverse-muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 15px; color: var(--inverse-muted); }
.hero-trust li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }

.hero-visual { position: relative; min-height: 600px; }
.browser {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1);
}
.hero-visual .browser { position: absolute; top: 20px; right: -60px; width: 640px; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEF1F5; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D0D5DD; }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--text-muted); background: #fff; border-radius: 6px; padding: 2px 12px; }
.phone {
  width: 250px; border-radius: 36px; padding: 10px;
  background: #0B1726; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .12);
}
.phone img { border-radius: 27px; width: 100%; height: auto; }
.phone-hero { position: absolute; left: 0; top: 70px; width: 240px; }

/* ---------- secties ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--bg); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.025em; max-width: 22em; }
.section-title.light { color: #fff; }

/* herkenbaar */
.pains { background: var(--bg); padding: 72px 0; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.pain { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pain p { margin: 14px 0 0; color: var(--text-2); font-size: 16px; }
.pain-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #FDF0E3; color: #B54708; font-weight: 700; font-size: 18px; }
.pains-answer { margin: 32px 0 0; font-size: 19px; font-weight: 600; color: var(--navy-900); }

/* stappen */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: var(--gold); font-weight: 800; font-size: 19px; }
.step h3 { margin-top: 20px; font-size: 20px; }
.step p { margin: 10px 0 0; color: var(--text-2); font-size: 16px; }

/* rollen */
.roles { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 36px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.role-tab { border: 0; background: none; font: 600 15px/1 inherit; color: var(--text-2); padding: 12px 18px; border-radius: 9px; cursor: pointer; min-height: 44px; }
.role-tab:hover { color: var(--navy-900); }
.role-tab.is-active { background: var(--navy-900); color: #fff; }
.role-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.role-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.role-panel[hidden] { display: none; }
.role-copy h3 { font-size: 26px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 32px; margin: 12px 0; color: var(--text-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: #E3F5EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230F7856' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.role-visual { display: flex; justify-content: center; gap: 24px; }
.role-visual .phone { width: 230px; }
.phone-offset { margin-top: 56px; }

/* functies */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.feature:hover { border-color: #C9D6E3; box-shadow: var(--shadow); }
.feature h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); flex: none; }
.feature p { margin: 10px 0 0; color: var(--text-2); font-size: 16px; }
.desktop-showcase { margin-top: 64px; }
.browser-wide { max-width: 980px; margin: 0 auto; box-shadow: 0 24px 60px rgba(16, 24, 40, .16); border-color: var(--border); }
.caption { text-align: center; color: var(--text-muted); margin: 20px auto 0; max-width: 36em; font-size: 16px; }

/* vertrouwen */
.trust-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-list li { padding: 22px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .08); }
.trust-list strong { display: block; color: #fff; font-size: 17px; }
.trust-list span { display: block; margin-top: 6px; color: var(--inverse-muted); font-size: 15px; }

/* prijzen */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 24px; margin-top: 48px; }
.price-card { padding: 32px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
.price-featured { border: 2px solid var(--navy-900); box-shadow: var(--shadow); }
.price-label { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--navy-500); text-transform: uppercase; letter-spacing: .05em; }
.price-card h3 { font-size: 22px; }
.price { margin: 18px 0 4px; }
.price-amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy-900); }
.price-per { color: var(--text-muted); font-size: 15px; }
.price-card .checks { flex: 1; margin-bottom: 28px; }
.price-note { margin: 24px 0 0; color: var(--text-muted); font-size: 15px; }

/* vragen */
.faq { margin-top: 36px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--navy-500); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 12px; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* starten */
.section-cta { background: radial-gradient(800px 400px at 90% 0%, rgba(45, 95, 138, .5), transparent 60%), var(--navy-900); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-alt { margin-top: 28px; color: var(--inverse-muted); }
.cta-alt a { color: var(--gold); font-weight: 600; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-card { background: var(--surface); color: var(--text); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-lg); }
.cta-card h3 { font-size: 20px; }
.cta-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.cta-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.cta-steps strong { display: block; color: var(--navy-900); }
.cta-steps span:not(.step-num) { display: block; color: var(--text-2); font-size: 15px; margin-top: 2px; }

/* voet */
.site-footer { background: #0A1A2A; color: var(--inverse-muted); padding: 64px 0 32px; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-inner h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-inner a, .footer-inner span { display: block; color: var(--inverse-muted); text-decoration: none; margin: 6px 0; }
.footer-inner a:hover { color: #fff; }
.footer-brand p { margin: 12px 0 0; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

/* ---------- juridische pagina's ---------- */
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: 38px; font-weight: 800; }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: var(--text-2); }
.doc .notice { background: #FDF0E3; border: 1px solid #F5C99A; border-radius: 12px; padding: 16px 20px; color: #7A2E0E; }

/* ---------- app-pagina (app.html) ---------- */
.page-hero {
  background: radial-gradient(800px 400px at 90% 0%, rgba(45, 95, 138, .5), transparent 60%), var(--navy-900);
  color: #fff; padding: 64px 0 72px;
}
.page-hero h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.page-hero .lead { color: var(--inverse-muted); }
.device-section { padding-top: 48px; }
.device-pick { margin: 0 0 10px; font-weight: 600; color: var(--navy-900); }
.device-tabs { margin-top: 0; background: var(--bg); }
.device-panel { margin-top: 32px; }
.device-panel[hidden] { display: none; }
.alert { background: #FDF0E3; border: 1px solid #F5C99A; border-radius: 12px; padding: 18px 20px; margin-bottom: 24px; color: #7A2E0E; }
.alert[hidden] { display: none; }
.alert strong { display: block; font-size: 18px; color: #7A2E0E; }
.alert p { margin: 6px 0 14px; }
.alert-hint { margin: 10px 0 0 !important; font-size: 15px; }
.alert-hint:empty { display: none; }
.copy-row { display: flex; gap: 8px; }
.copy-input {
  flex: 1; min-width: 0; font: 400 16px/1.4 inherit; color: var(--text);
  min-height: 44px; padding: 8px 12px; border: 1px solid #F5C99A; border-radius: 10px; background: #fff;
}
.callout { background: var(--navy-100); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 20px; }
.callout strong { display: block; color: var(--navy-900); font-size: 18px; }
.callout p { margin: 6px 0 0; color: var(--text-2); }
.how-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.how-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.how-steps h3 { font-size: 19px; margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.how-steps p { margin: 6px 0 0; color: var(--text-2); font-size: 16px; }
.how-steps .btn { margin-top: 14px; }
.ico-chip { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--bg); border: 1px solid var(--border); color: #007AFF; }
.small-note { margin: 28px 0 0; font-size: 14px; color: var(--text-muted); }
.computer-grid { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.qr-card { margin: 0; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center; }
.qr-card img { width: 220px; height: 220px; image-rendering: pixelated; }
.qr-card figcaption { margin-top: 10px; font-weight: 600; color: var(--navy-900); }
.panel-title { font-size: 20px; }
.panel-title + p { margin: 6px 0 20px; color: var(--text-2); }
.start-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.start-box > div { padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.start-box h3 { font-size: 18px; }
.start-box p { margin: 6px 0 0; color: var(--text-2); }

/* ---------- responsief ---------- */
@media (max-width: 1080px) {
  .hero-visual .browser { width: 520px; right: -80px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
/* menu: met zes links past de balk pas vanaf ~1100px op één regel */
@media (max-width: 1100px) {
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
    box-shadow: var(--shadow); display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 12px; font-size: 17px; }
  .main-nav .nav-login-mobile { display: block; }
  .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner, .role-panel, .trust-grid, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; display: flex; justify-content: center; }
  .hero-visual .browser { display: none; }
  .phone-hero { position: static; width: 230px; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .computer-grid { grid-template-columns: 1fr; gap: 28px; justify-items: start; }
  .page-hero { padding: 48px 0 56px; }
  .device-section { padding-top: 36px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-actions .btn-accent { padding: 8px 14px; font-size: 15px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .pain-grid, .feature-grid, .trust-list { grid-template-columns: 1fr; }
  .pain-grid { gap: 10px; margin-top: 24px; }
  .pain { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
  .pain p { margin: 0; }
  .pain-icon { flex: none; }
  .feature { padding: 20px; }
  .roles { display: flex; width: 100%; }
  .role-tab { flex: 1 1 auto; padding: 12px 10px; font-size: 14px; }
  .role-visual .phone { width: 46%; padding: 6px; border-radius: 24px; }
  .role-visual .phone img { border-radius: 19px; }
  .role-visual { gap: 12px; }
  .phone-offset { margin-top: 32px; }
  .cta-card { padding: 22px; }
  .cta-buttons .btn { width: 100%; }
  .how-steps li { grid-template-columns: 36px 1fr; gap: 12px; padding: 16px; }
  .how-steps .step-num { width: 36px; height: 36px; font-size: 17px; }
  .how-steps h3 { margin-top: 5px; font-size: 18px; }
  .how-steps .btn { width: 100%; }
  .copy-row { flex-direction: column; }
  .start-box { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; padding-top: 32px; }
  .computer-grid { justify-items: stretch; }
  .qr-card img { margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
