/* =========================================================
   CustomPrograms, stylesheet
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #06070b;
  --bg-alt: #090b12;
  --surface: rgba(255, 255, 255, .035);
  --surface2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #eef0f7;
  --muted: #9aa2b4;
  --dim: #6b7386;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #22d3ee 100%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
::selection { background: rgba(139, 92, 246, .45); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 84px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 28px -8px rgba(124, 92, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -8px rgba(124, 92, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: var(--surface2); border: 1px solid var(--line2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-glow { animation: btnGlow 3.2s ease-in-out infinite; }
.w-full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled, .nav.menu-open {
  background: rgba(6, 7, 11, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; flex: none; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { display: inline-flex; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line2); background: var(--surface2);
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 156px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 25%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; }
.b1 { width: 560px; height: 560px; background: #6d28d9; top: -200px; left: -160px; animation: drift 18s ease-in-out infinite; }
.b2 { width: 480px; height: 480px; background: #0e7490; top: 80px; right: -160px; animation: drift 22s ease-in-out infinite reverse; }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; margin-bottom: 26px; border-radius: 999px;
  border: 1px solid var(--line2); background: var(--surface);
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.eyebrow:hover { border-color: rgba(139, 92, 246, .5); color: var(--text); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; animation: pulse 2s infinite; }
h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 540px; margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust .ic { width: 16px; height: 16px; color: var(--green); }

/* Hero visual: workflow */
.hero-visual { position: relative; }
.flow {
  position: relative; padding: 22px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--line2);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 80px -30px rgba(124, 92, 255, .45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.flow-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 4px 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.flow-time { margin-left: auto; font-family: ui-monospace, "Cascadia Code", Menlo, monospace; font-size: 12px; padding: 3px 9px; border-radius: 7px; background: var(--surface2); color: var(--text); }
.flow-steps { position: relative; display: grid; gap: 12px; }
.flow-track { position: absolute; left: 30px; top: 30px; bottom: 30px; width: 2px; background: var(--line2); overflow: hidden; }
.flow-pulse { position: absolute; left: 0; width: 2px; height: 70px; background: linear-gradient(transparent, var(--cyan), transparent); animation: travel 2.8s linear infinite; }
.node {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 12px 14px 12px 12px; border-radius: 16px;
  background: rgba(11, 13, 21, .85); border: 1px solid var(--line);
  animation: nodeIn .7s var(--ease) both; animation-delay: calc(var(--i) * .16s + .35s);
}
.node b { display: block; font-size: 14.5px; font-weight: 600; }
.node small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.node .pill { margin-left: auto; }
.node-ic { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.node-ic .ic { width: 18px; height: 18px; }
.ic-violet { background: rgba(139,92,246,.18); color: #c4b5fd; box-shadow: inset 0 0 0 1px rgba(139,92,246,.4); }
.ic-indigo { background: rgba(99,102,241,.18); color: #a5b4fc; box-shadow: inset 0 0 0 1px rgba(99,102,241,.4); }
.ic-cyan { background: rgba(34,211,238,.15); color: #67e8f9; box-shadow: inset 0 0 0 1px rgba(34,211,238,.38); }
.ic-green { background: rgba(52,211,153,.15); color: #6ee7b7; box-shadow: inset 0 0 0 1px rgba(52,211,153,.38); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: rgba(52,211,153,.12); color: var(--green); }
.pill.run { background: rgba(34,211,238,.12); color: var(--cyan); }
.pill.run i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(17, 20, 33, .92); border: 1px solid var(--line2);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 500;
  animation: floaty 6s ease-in-out infinite;
}
.fc1 { left: -40px; bottom: -30px; }
.fc1 span:last-child { color: var(--muted); line-height: 1.3; font-weight: 500; }
.fc1 em { font-style: normal; font-size: 11px; color: var(--dim); }
.fc-num { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc2 { right: -22px; top: -22px; animation-delay: -3s; }

/* ---------- Integrations marquee ---------- */
.integrations { padding: 24px 0 8px; }
.int-title { text-align: center; color: var(--dim); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 22px; padding: 0 16px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 12px; padding-right: 12px; }
.int-chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 500; font-size: 15px; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 12%, var(--bg-alt) 88%, transparent); }
.section-head { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
h2 { font-size: clamp(32px, 4.5vw, 54px); font-weight: 800; letter-spacing: -.038em; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.chip { padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.28); }
.chip[aria-pressed="true"] { background: var(--text); color: #0b0d14; border-color: transparent; }

/* ---------- Case cards ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.case:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, .42); box-shadow: 0 34px 70px -34px rgba(124, 92, 255, .55); }
.case.hide { display: none; }
.case-num {
  position: absolute; top: 16px; left: 18px; z-index: 4;
  font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; color: var(--text);
  padding: 4px 11px; border-radius: 999px; background: rgba(6,7,11,.65); border: 1px solid var(--line2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.case-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.case-tag { font-size: 12.5px; font-weight: 600; color: #a5b4fc; letter-spacing: .02em; margin-bottom: 10px; }
.case h3 { font-size: 23px; font-weight: 700; margin-bottom: 10px; }
.case p { color: var(--muted); font-size: 15.5px; }
.gains { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; }
.gains li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.gains .ic { width: 18px; height: 18px; color: var(--green); margin-top: 1px; }
.case-cta {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  background: var(--surface2); border: 1px solid var(--line2);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.case-cta .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.case-cta:hover { background: var(--grad); border-color: transparent; box-shadow: 0 10px 30px -10px rgba(124,92,255,.8); }
.case-cta:hover .ic { transform: translateX(3px); }

.custom-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 24px; padding: 34px 38px; border-radius: 26px;
  border: 1px dashed rgba(139, 92, 246, .45);
  background: radial-gradient(80% 140% at 0% 0%, rgba(139,92,246,.16), transparent 60%), var(--surface);
}
.custom-banner h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.custom-banner p { color: var(--muted); max-width: 620px; }

/* ---------- Mockups (visuals in cards) ---------- */
.mock {
  --a: 139, 92, 246; --b: 34, 211, 238;
  position: relative; height: 262px; overflow: hidden;
  display: grid; place-items: center; padding: 28px 26px 24px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 95% at 0% 0%, rgba(var(--a), .26), transparent 56%),
    radial-gradient(100% 90% at 100% 100%, rgba(var(--b), .2), transparent 56%),
    #0a0c14;
}
.mock::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.win {
  position: relative; width: 100%; max-width: 420px; overflow: hidden;
  background: rgba(14, 17, 28, .9); border: 1px solid var(--line2); border-radius: 14px;
  box-shadow: 0 26px 60px -24px rgba(0,0,0,.95);
  font-size: 11px; line-height: 1.35;
  transform: translateY(6px); transition: transform .6s var(--ease);
}
.case:hover .win, .case:hover .phone, .case:hover .pipeline { transform: translateY(-2px); }
.win-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 500; color: var(--muted); }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.15); }
.win-bar span { margin-left: 8px; white-space: nowrap; }
.win-badge { margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(139,92,246,.2); color: #c4b5fd; white-space: nowrap; }
.win-badge.g { background: rgba(52,211,153,.14); color: var(--green); }
.win-badge.r { background: rgba(251,113,133,.15); color: var(--rose); }
.win-body { padding: 12px; }
.sk { height: 6px; border-radius: 3px; background: rgba(255,255,255,.13); }
.w20 { width: 20%; } .w30 { width: 30%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }

.toast {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px; white-space: nowrap;
  background: rgba(21, 25, 40, .96); border: 1px solid var(--line2);
  box-shadow: 0 16px 36px -12px rgba(0,0,0,.85);
  font-size: 11.5px; font-weight: 500;
  animation: floaty 5s ease-in-out infinite;
}
.toast.br { right: 14px; bottom: 12px; }
.toast.tr { right: 14px; top: 14px; animation-delay: -2.5s; }
.toast.bl { left: 14px; bottom: 12px; animation-delay: -1.2s; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.g { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot.v { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.dot.a { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* 01 Agenda */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.cal-h { font-size: 9.5px; font-weight: 600; color: var(--dim); text-align: center; padding-bottom: 2px; }
.slot { height: 24px; display: flex; align-items: center; padding: 0 6px; border-radius: 6px; border: 1px dashed rgba(255,255,255,.1); font-size: 9px; font-weight: 600; color: var(--dim); }
.slot.b { border: 1px solid rgba(139,92,246,.45); background: rgba(139,92,246,.2); color: #ddd6fe; }
.slot.c { border: 1px solid rgba(34,211,238,.4); background: rgba(34,211,238,.13); color: #a5f3fc; }
.slot.new { animation: pop 2.4s ease-in-out infinite; }

/* 02 Factuur */
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.inv-top > div:first-child { width: 50%; display: grid; gap: 5px; }
.inv-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); opacity: .85; }
.inv-row, .inv-total { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.inv-row b { color: var(--text); font-weight: 500; }
.inv-total { border: 0; padding-top: 9px; font-size: 12.5px; font-weight: 700; color: var(--text); }
.inv-total b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 03 Voorraad */
.bars { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 112px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(139,92,246,.9), rgba(99,102,241,.3)); transform-origin: bottom; }
.js .case:not(.in) .bar { transform: scaleY(.1); }
.case.in .bar { transition: transform 1s var(--ease) .3s; }
.bar.low { background: linear-gradient(180deg, #fb7185, rgba(251,113,133,.35)); box-shadow: 0 0 18px rgba(251,113,133,.55); }
.threshold { position: absolute; left: 0; right: 0; bottom: 24%; border-top: 1px dashed rgba(251,113,133,.6); z-index: 1; }
.threshold em { position: absolute; right: -2px; top: -8px; padding: 1px 5px; border-radius: 4px; background: #1a1220; border: 1px solid rgba(251,113,133,.45); font-style: normal; font-size: 8px; line-height: 1.2; font-weight: 600; color: var(--rose); }
.bar-labels { display: flex; gap: 10px; padding: 6px 4px 0; }
.bar-labels span { flex: 1; min-width: 0; text-align: center; font-size: 8.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }

/* 04 CRM */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.col { display: grid; gap: 6px; align-content: start; padding: 7px; border-radius: 9px; background: rgba(255,255,255,.025); }
.col-h { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 600; color: var(--muted); }
.col-h em { font-style: normal; color: var(--dim); }
.kc { display: grid; gap: 7px; padding: 7px; border-radius: 7px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.kc.won { border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.07); }
.kc.hot { border-color: rgba(139,92,246,.55); box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.kc-f { display: flex; justify-content: space-between; align-items: center; }
.av { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #f0abfc, #8b5cf6); flex: none; }
.av.a2 { background: linear-gradient(135deg, #67e8f9, #3b82f6); }
.av.a3 { background: linear-gradient(135deg, #fde68a, #f97316); }
.amt { font-size: 9px; font-weight: 600; color: var(--muted); }

/* 05 Planning */
.gantt { display: grid; gap: 7px; }
.g-head, .g-row { display: grid; grid-template-columns: 60px 1fr; align-items: center; }
.g-days { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 9px; font-weight: 600; color: var(--dim); }
.g-days span { padding-left: 4px; }
.g-name { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.g-lane { position: relative; height: 24px; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 calc(20% - 1px), rgba(255,255,255,.08) calc(20% - 1px) 20%); }
.g-lane b { position: absolute; top: 2px; bottom: 2px; display: flex; align-items: center; padding: 0 7px; border-radius: 5px; font-size: 8.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.g-lane b.v { background: rgba(139,92,246,.35); border: 1px solid rgba(139,92,246,.55); color: #ede9fe; }
.g-lane b.c { background: rgba(34,211,238,.22); border: 1px solid rgba(34,211,238,.45); color: #cffafe; }
.g-lane b.g { background: rgba(52,211,153,.2); border: 1px solid rgba(52,211,153,.45); color: #d1fae5; }
.g-lane b.a { background: rgba(251,191,36,.22); border: 1px solid rgba(251,191,36,.5); color: #fef3c7; }

/* 06 Chat */
.msgs { display: flex; flex-direction: column; gap: 7px; }
.msg { max-width: 80%; padding: 7px 11px; border-radius: 12px; font-size: 10.5px; line-height: 1.4; }
.msg.me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.typing { display: flex; gap: 4px; padding: 9px 12px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

/* 07 Dashboard */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 8px; }
.kpi { padding: 8px 9px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.kpi small { display: block; font-size: 8.5px; color: var(--dim); }
.kpi b { display: block; font-family: var(--display); font-size: 15px; font-weight: 700; margin: 2px 0 1px; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 9px; font-weight: 600; }
.up { color: var(--green); }
.dn { color: var(--rose); }
.chart { width: 100%; height: 76px; }
.chart .line { fill: none; stroke: url(#chartLine); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.js .case:not(.in) .chart .line { stroke-dashoffset: 100; }
.case.in .chart .line { transition: stroke-dashoffset 1.8s var(--ease) .3s; }

/* 08 Werkbon (telefoon) */
.mock-phone { place-items: start center; padding-top: 24px; }
.phone {
  position: relative; width: 172px; height: 290px; padding: 24px 12px 12px;
  border-radius: 28px; background: #0d1019; border: 1px solid var(--line2);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.95), inset 0 0 0 4px #161a27;
  font-size: 10px; transition: transform .6s var(--ease);
}
.ph-notch { position: absolute; top: 9px; left: 50%; width: 46px; height: 6px; border-radius: 4px; background: #232838; transform: translateX(-50%); }
.ph-h b { display: block; font-family: var(--display); font-size: 12.5px; }
.ph-h small { font-size: 9px; color: var(--dim); }
.ph-list { list-style: none; padding: 0; margin: 9px 0; display: grid; gap: 5px; }
.ph-list li { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 8px; background: rgba(255,255,255,.045); font-size: 9.5px; white-space: nowrap; }
.ph-list .ic { width: 13px; height: 13px; padding: 2px; border-radius: 4px; background: var(--green); color: #052e1c; stroke-width: 3.5; }
.ph-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 8px; }
.ph-photos span { position: relative; aspect-ratio: 1; border-radius: 7px; overflow: hidden; }
.ph-photos .p1 { background: radial-gradient(circle at 30% 30%, #94a3b8, transparent 45%), linear-gradient(160deg, #475569, #1e293b); }
.ph-photos .p2 { background: radial-gradient(circle at 65% 40%, #fdba74, transparent 40%), linear-gradient(160deg, #7c2d12, #1c1917); }
.ph-photos .p3 { background: radial-gradient(circle at 40% 60%, #67e8f9, transparent 45%), linear-gradient(160deg, #155e75, #0f172a); }
.ph-photos em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 700; background: rgba(0,0,0,.45); }
.ph-sign { padding: 6px 8px; border-radius: 8px; border: 1px dashed var(--line2); }
.ph-sign svg { width: 100%; height: 24px; }
.ph-sign path { fill: none; stroke: #c4b5fd; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.js .case:not(.in) .ph-sign path { stroke-dashoffset: 100; }
.case.in .ph-sign path { transition: stroke-dashoffset 2s ease .5s; }
.ph-sign small { font-size: 8.5px; color: var(--dim); }

/* 09 Documenten AI */
.docai { position: relative; display: grid; grid-template-columns: 116px 44px 1fr; align-items: center; width: 100%; max-width: 440px; }
.receipt {
  position: relative; display: grid; gap: 7px; padding: 13px 11px; overflow: hidden;
  background: #eef1f8; border-radius: 8px; transform: rotate(-4deg);
  box-shadow: 0 24px 44px -16px rgba(0,0,0,.85);
}
.receipt .sk { background: #c9d0df; }
.receipt .sk.dark { background: #475569; }
.r-logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, #f59e0b, #ef4444); }
.r-line, .r-total { display: flex; justify-content: space-between; }
.r-total { padding-top: 6px; border-top: 1px dashed #b8c0d1; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 28px; background: linear-gradient(180deg, transparent, rgba(34,211,238,.35)); border-bottom: 2px solid var(--cyan); box-shadow: 0 6px 16px rgba(34,211,238,.55); animation: scan 2.6s ease-in-out infinite alternate; }
.ai-arrow { display: grid; place-items: center; }
.ai-arrow span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-size: 10px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 22px rgba(124,92,255,.75); }
.fields-win { transform: none; }
.fr { display: grid; grid-template-columns: 1fr auto; gap: 0 6px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.fr:last-child { border-bottom: 0; padding-bottom: 0; }
.fr:first-child { padding-top: 0; }
.fr small { grid-column: 1 / -1; font-size: 8.5px; color: var(--dim); }
.fr b { font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr i { font-style: normal; font-size: 10px; font-weight: 700; color: var(--green); }

/* 10 Order-pipeline */
.pipeline { position: relative; display: flex; justify-content: space-between; width: 100%; max-width: 440px; margin-bottom: 30px; transition: transform .6s var(--ease); }
.pl-line { position: absolute; left: 36px; right: 36px; top: 25px; height: 2px; background: linear-gradient(90deg, rgba(139,92,246,.6), rgba(34,211,238,.6)); opacity: .5; }
.pl-dot { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan), 0 0 4px #fff; animation: pl 3.4s ease-in-out infinite; }
.pl-node { position: relative; width: 74px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.pl-ic { width: 52px; height: 52px; margin-bottom: 8px; border-radius: 15px; display: grid; place-items: center; background: rgba(14,17,28,.96); border: 1px solid var(--line2); color: #c4b5fd; box-shadow: 0 12px 26px -10px rgba(0,0,0,.85); }
.pl-node:nth-child(3) .pl-ic { color: #a5b4fc; }
.pl-node:nth-child(4) .pl-ic { color: #67e8f9; }
.pl-node:nth-child(5) .pl-ic { color: var(--amber); }
.pl-ic .ic { width: 22px; height: 22px; }
.pl-node b { font-size: 11px; font-weight: 600; white-space: nowrap; }
.pl-node small { font-size: 9.5px; color: var(--dim); white-space: nowrap; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; padding: 28px 26px;
  border-radius: 22px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease);
}
.svc::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(139,92,246,.2), transparent 45%); opacity: 0; transition: opacity .3s; }
.svc:hover { border-color: rgba(139,92,246,.38); transform: translateY(-3px); }
.svc:hover::before { opacity: 1; }
.svc-ic { position: relative; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(139,92,246,.26), rgba(34,211,238,.14)); border: 1px solid rgba(139,92,246,.38); color: #ddd6fe; }
.svc h3 { position: relative; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.svc p { position: relative; font-size: 14.5px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 76px; right: -12px; height: 1px; background: linear-gradient(90deg, rgba(139,92,246,.6), rgba(255,255,255,.06)); }
.step-n { position: relative; width: 56px; height: 56px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 18px; background: #0d0f18; border: 1px solid rgba(139,92,246,.4); box-shadow: 0 0 30px -8px rgba(124,92,255,.6); }
.step-n span { font-family: var(--display); font-weight: 800; font-size: 20px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.badge { font-family: var(--font); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0; padding: 3px 9px; border-radius: 999px; background: rgba(52,211,153,.14); color: var(--green); }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.calc-in, .calc-out { padding: 36px; border-radius: 26px; border: 1px solid var(--line); }
.calc-in { background: var(--surface); display: flex; flex-direction: column; justify-content: center; }
.range + .range { margin-top: 34px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; font-weight: 500; }
.range-top label { color: var(--muted); font-size: 15px; }
.range-top output { font-family: var(--display); font-weight: 700; font-size: 20px; white-space: nowrap; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 0; border-radius: 999px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee) 0 / var(--p, 50%) 100% no-repeat, rgba(255,255,255,.1);
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(139,92,246,.3), 0 4px 12px rgba(0,0,0,.5); transition: box-shadow .2s; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(139,92,246,.3), 0 4px 12px rgba(0,0,0,.5); }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(139,92,246,.4), 0 4px 12px rgba(0,0,0,.5); }
.calc-out {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-color: rgba(139,92,246,.38);
  background: radial-gradient(120% 100% at 100% 0%, rgba(139,92,246,.32), transparent 60%), radial-gradient(100% 100% at 0% 100%, rgba(34,211,238,.18), transparent 60%), #0d0f19;
}
.out-label { color: var(--muted); font-size: 15px; }
.out-hours { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 70px); letter-spacing: -.045em; line-height: 1; margin: 12px 0 8px; }
.out-week { font-size: 14px; color: var(--dim); }
.out-money-wrap { margin: 26px 0 28px; padding-top: 22px; border-top: 1px solid var(--line2); }
.out-money { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; margin-top: 4px; background: linear-gradient(90deg, #6ee7b7, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.out-note { font-size: 12.5px; color: var(--dim); margin-top: 16px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, background .25s; }
.faq details[open] { border-color: rgba(139,92,246,.4); background: rgba(139,92,246,.06); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 17px; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface2); font-size: 20px; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--text); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 720px; }

/* ---------- CTA ---------- */
.section-cta { padding: 40px 0 0; }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 80px 40px; border-radius: 34px; border: 1px solid rgba(139,92,246,.38);
  background: radial-gradient(80% 120% at 50% 0%, rgba(139,92,246,.45), transparent 62%), radial-gradient(60% 100% at 100% 100%, rgba(34,211,238,.25), transparent 60%), #0c0e18;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
}
.cta-band h2 { max-width: 760px; margin: 0 auto; }
.cta-band p { max-width: 580px; margin: 20px auto 34px; color: var(--muted); font-size: 18px; }

/* ---------- Footer ---------- */
.footer { margin-top: 80px; padding: 60px 0 36px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); max-width: 340px; margin-top: 16px; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 15px; }
.foot-col h4 { font-family: var(--font); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.foot-col a, .foot-link { transition: color .2s; }
.foot-col a:hover, .foot-link:hover { color: var(--text); }
.foot-link { color: #c4b5fd; font-weight: 600; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.foot-bottom a:hover { color: var(--text); }

/* ---------- Quote dialog ---------- */
.quote {
  width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line2); border-radius: 28px;
  background: #0c0e17; color: var(--text);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
  box-shadow: 0 50px 120px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(139,92,246,.15), 0 0 120px -40px rgba(124,92,255,.6);
}
.quote[open] { animation: dlgIn .4s var(--ease); }
.quote::backdrop { background: rgba(3, 4, 8, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.quote-form { position: relative; padding: 38px; }
.quote-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); color: var(--muted); transition: color .2s, background .2s; }
.quote-close:hover { color: var(--text); background: rgba(255,255,255,.1); }
.quote-head { padding-right: 40px; }
.quote-head .kicker { margin-bottom: 10px; }
.quote-head h3 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.quote-head p { color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin: 28px 0 24px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; outline: none;
  font: inherit; font-size: 15px; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa2b4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option { background: #0c0e17; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(139,92,246,.75); background: rgba(139,92,246,.06); box-shadow: 0 0 0 4px rgba(139,92,246,.18); }
.tried .field :invalid { border-color: rgba(251,113,133,.75); box-shadow: 0 0 0 4px rgba(251,113,133,.12); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line2); font-size: 14px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.seg span:hover { color: var(--text); border-color: rgba(255,255,255,.28); }
.seg input:checked + span { background: var(--text); color: #0b0d14; border-color: transparent; font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form-note { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--dim); }
.quote-success { display: none; text-align: center; padding: 28px 8px 8px; }
.quote-success h3 { font-size: 28px; font-weight: 800; margin: 20px 0 10px; }
.quote-success p { color: var(--muted); max-width: 420px; margin: 0 auto 26px; }
.success-ic { width: 68px; height: 68px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(52,211,153,.14); color: var(--green); box-shadow: 0 0 0 10px rgba(52,211,153,.06); }
.success-ic .ic { width: 32px; height: 32px; stroke-width: 2.5; }
.sent .quote-main { display: none; }
.sent .quote-success { display: block; animation: dlgIn .4s var(--ease); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: rise .9s var(--ease) var(--d, 0s) both; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(50px, 40px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@keyframes travel { 0% { top: -70px; } 100% { top: 100%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes nodeIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes scan { from { top: -28px; } to { top: 100%; } }
@keyframes pop { 0%, 100% { box-shadow: 0 0 0 0 rgba(139,92,246,0); } 50% { box-shadow: 0 0 0 4px rgba(139,92,246,.22); } }
@keyframes pl { 0% { left: 0; opacity: 0; } 10%, 88% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes btnGlow { 0%, 100% { box-shadow: 0 8px 28px -8px rgba(124,92,255,.75), inset 0 1px 0 rgba(255,255,255,.28); } 50% { box-shadow: 0 8px 34px -4px rgba(34,211,238,.6), inset 0 1px 0 rgba(255,255,255,.28); } }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-inner { gap: 28px; }
  .nav-links { gap: 22px; }
}
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .step::after { display: none; }
}
@media (max-width: 980px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    background: rgba(6,7,11,.97); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-links a { padding: 15px 2px; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .menu-toggle { display: block; }
  .hero { padding: 128px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .fc1 { left: 12px; }
  .fc2 { right: 12px; }
  .calc { grid-template-columns: 1fr; }
  .custom-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .cases { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-inner { gap: 12px; height: 64px; }
  .nav-links { top: 64px; padding: 8px 16px 20px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav .brand { font-size: 15px; }
  .nav .brand-name { flex-direction: column; line-height: 1.02; }
  .nav .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .nav .btn .ic { display: none; }
  .menu-toggle { width: 40px; height: 40px; }
  .menu-toggle span { left: 11px; right: 11px; }
  .menu-toggle span:first-child { top: 15px; }
  .menu-toggle span:last-child { top: 23px; }
  .menu-open .menu-toggle span:first-child, .menu-open .menu-toggle span:last-child { top: 19px; }
  .hero { padding: 112px 0 72px; }
  .hero-ctas .btn { width: 100%; }
  .flow { padding: 16px; }
  .node { padding: 10px 12px 10px 10px; gap: 12px; }
  .node b { font-size: 13.5px; }
  .node small { font-size: 11.5px; }
  .flow-track { left: 27px; }
  .fc1 { bottom: -34px; padding: 10px 14px; }
  .fc-num { font-size: 22px; }
  .fc2 { top: -26px; font-size: 12px; padding: 9px 12px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 16.5px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .case-body { padding: 22px 20px 24px; }
  .case h3 { font-size: 21px; }
  .mock { height: 240px; padding: 26px 16px 20px; }
  .toast { font-size: 10.5px; padding: 7px 10px; }
  .toast.br, .toast.tr { right: 10px; }
  .toast.bl { left: 10px; }
  .docai { grid-template-columns: 96px 34px 1fr; }
  .pl-node { width: 64px; }
  .pl-ic { width: 44px; height: 44px; border-radius: 13px; }
  .pl-line { top: 21px; left: 30px; right: 30px; }
  .custom-banner { padding: 26px 22px; }
  .custom-banner .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .calc-in, .calc-out { padding: 26px 22px; }
  .cta-band { padding: 56px 22px; border-radius: 26px; }
  .cta-band .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 22px; }
  .quote-form { padding: 28px 18px 22px; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .nav .btn { padding: 0 12px; font-size: 13px; }
  .nav .brand { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
