/* ============================================================
   Nexstack — design system v2 (premium)
   Minimalist · indigo→violet · NL
   ============================================================ */

:root {
  --bg:          #ffffff;
  --bg-alt:      #f7f8fc;
  --bg-soft:     #fbfbfe;
  --ink:         #0b0d1c;   /* dark sections */
  --ink-2:       #12152a;
  --text:        #0e1018;
  --text-2:      #2a2d3d;
  --muted:       #5c6075;
  --muted-2:     #7d8195;
  --border:      #e9eaf2;
  --border-2:    #eef0f6;

  --accent:      #4f46e5;   /* indigo 600 */
  --accent-2:    #6366f1;   /* indigo 500 */
  --violet:      #7c3aed;
  --accent-dark: #4338ca;
  --accent-soft: #eef0fe;
  --accent-soft2:#f3f1ff;

  --grad:        linear-gradient(135deg, #6366f1 0%, #4f46e5 52%, #7c3aed 100%);
  --grad-soft:   linear-gradient(135deg, #eef0fe, #f3f0ff);

  --radius:      16px;
  --radius-sm:   11px;
  --radius-lg:   24px;
  --radius-xl:   30px;

  --shadow-xs:   0 1px 2px rgba(16,18,40,.05);
  --shadow:      0 2px 8px rgba(16,18,40,.06), 0 12px 28px rgba(16,18,40,.07);
  --shadow-md:   0 10px 30px rgba(16,18,40,.10);
  --shadow-glow: 0 24px 60px -12px rgba(79,70,229,.45);

  --maxw:        1160px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* focus visibility (a11y) */
a:focus-visible, button:focus-visible, summary:focus-visible,
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #e7e8f4; position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 15% 0%, rgba(99,102,241,.22), transparent 70%),
    radial-gradient(40% 60% at 90% 100%, rgba(124,58,237,.20), transparent 70%);
}
.section--dark .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 20px;
  border: 1px solid #e3e3fb;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.section--dark .eyebrow { color: #c7c4ff; background: rgba(124,121,255,.12); border-color: rgba(124,121,255,.22); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.85rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.65rem); }
h3 { font-size: 1.22rem; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }
.section--dark .lead { color: #b8bad6; }

.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.text-center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  padding: 13px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 1px 1px rgba(255,255,255,.25) inset, 0 8px 20px -4px rgba(79,70,229,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 1px rgba(255,255,255,.25) inset, 0 14px 28px -6px rgba(79,70,229,.6); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--accent-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.22); }
.btn-lg { padding: 16px 30px; font-size: 1.04rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(233,234,242,.9);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; font-size: 1.28rem; letter-spacing: -.03em; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { color: var(--text); }
.brand-accent { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a { padding: 9px 15px; border-radius: 9px; font-weight: 500; font-size: .98rem; color: var(--muted); transition: color .15s, background .15s; }
.nav-links > a:hover { color: var(--text); background: var(--bg-alt); }
.nav-links > a.active { color: var(--accent-dark); background: var(--accent-soft); }
.nav-cta { margin-left: 10px; color: #fff !important; }
.nav-cta:hover { color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 104px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(48% 50% at 80% 0%, rgba(124,58,237,.14), transparent 62%),
    radial-gradient(46% 52% at 6% 96%, rgba(79,70,229,.12), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(16,18,40,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16,18,40,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 34px; max-width: 545px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  padding: 7px 16px 7px 8px; box-shadow: var(--shadow-xs); font-size: .88rem; color: var(--muted);
}
.hero-badge .hb-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.hero-badge .hb-dot svg { width: 15px; height: 15px; color: #fff; }
.hero-badge strong { color: var(--text); font-weight: 600; }

.hero-points { display: flex; flex-wrap: wrap; gap: 16px 26px; margin-top: 32px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: .96rem; color: var(--text-2); font-weight: 500; }
.hero-points svg { width: 19px; height: 19px; color: var(--accent); flex: none; }

/* hero visual */
.hero-visual { position: relative; }
.browser {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border-2); background: #fafafe; }
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #e0e1ec; }
.browser-bar .dot:nth-child(1){ background:#ff5f57; } .browser-bar .dot:nth-child(2){ background:#febc2e; } .browser-bar .dot:nth-child(3){ background:#28c840; }
.browser-bar .url { margin-left: 10px; font-size: .72rem; color: var(--muted-2); background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 4px 12px; flex: 1; }
.browser-body { padding: 22px; background: linear-gradient(180deg, #ffffff, #fafaff); }
.bb-nav { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.bb-logo { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); flex: none; }
.bb-navlinks { display: flex; gap: 9px; flex: 1; }
.bb-navlinks i { width: 28px; height: 7px; border-radius: 4px; background: #e9e9f4; }
.bb-btn { width: 60px; height: 22px; border-radius: 7px; background: var(--grad); flex: none; }
.bb-hero { border-radius: 13px; background: var(--grad); position: relative; overflow: hidden; margin-bottom: 16px; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 9px; min-height: 116px; }
.bb-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 100% at 80% 0%, rgba(255,255,255,.25), transparent 60%); }
.bb-hero span { position: relative; z-index: 1; display: block; }
.bb-h1 { width: 70%; height: 13px; border-radius: 6px; background: rgba(255,255,255,.95); }
.bb-h2 { width: 48%; height: 9px; border-radius: 5px; background: rgba(255,255,255,.6); }
.bb-cta { width: 86px; height: 24px; border-radius: 7px; background: #fff; margin-top: 7px; }
.bb-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.bb-card { border: 1px solid var(--border-2); border-radius: 11px; padding: 13px 11px; background: #fff; }
.bb-card .bb-ic { display: block; width: 27px; height: 27px; border-radius: 8px; background: var(--accent-soft); margin-bottom: 10px; }
.bb-card .bb-ic.g { background: var(--grad); }
.bb-card i { display: block; height: 6px; border-radius: 4px; background: #ececf6; }
.bb-card i.sh { width: 62%; margin-top: 6px; }

.float-chip {
  position: absolute; bottom: -24px; left: -24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 13px;
}
.float-chip .fc-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px -2px rgba(79,70,229,.45); }
.float-chip .fc-ic svg { width: 22px; height: 22px; }
.float-chip strong { display: block; font-size: 1.02rem; }
.float-chip small { color: var(--muted); font-size: .84rem; }
.float-chip--tr { top: 26px; right: -20px; bottom: auto; left: auto; }

/* ---------- trust strip ---------- */
.trust { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.trust p { text-align: center; color: var(--muted); font-size: .9rem; font-weight: 500; letter-spacing: .01em; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 14px; margin-top: 20px; }
.trust-row span {
  color: var(--muted); font-weight: 600; font-size: .94rem; letter-spacing: -.01em;
  background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px;
}

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #dcdcec; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff;
  display: grid; place-items: center; margin-bottom: 22px;
  box-shadow: 0 8px 18px -4px rgba(79,70,229,.5);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 11px; }
.card p { color: var(--muted); font-size: .98rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--accent); font-weight: 600; font-size: .94rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* feature list */
.feature-list { display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .fl-ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--grad-soft); color: var(--accent); display: grid; place-items: center; margin-top: 1px; border: 1px solid #e6e4fb; }
.feature-list .fl-ic svg { width: 14px; height: 14px; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); font-size: .97rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split-text { order: 2; }

/* ---------- service detail blocks ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: 0; }
.service-block--reverse .sb-media { order: -1; }
.sb-media {
  position: relative; border-radius: var(--radius-lg); aspect-ratio: 4/3;
  background: var(--grad); display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.sb-media::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%);
}
.sb-media svg { width: 96px; height: 96px; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.service-block h2, .service-block h3 { font-size: 1.6rem; margin-bottom: 15px; }
.sb-tag { color: var(--accent); font-weight: 600; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; display: inline-block; }
.service-block p { color: var(--muted); margin-bottom: 20px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px; transition: transform .2s var(--ease), box-shadow .2s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num { width: 48px; height: 48px; border-radius: 13px; background: var(--grad); color: #fff; font-weight: 700; font-size: 1.18rem; display: grid; place-items: center; box-shadow: 0 8px 16px -4px rgba(79,70,229,.5); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .99rem; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 28px 18px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat strong { display: block; font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(120deg,#c7c4ff,#a78bfa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: #b8bad6; font-size: .95rem; }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--grad); border-radius: var(--radius-xl); padding: 64px; text-align: center; color: #fff;
  box-shadow: var(--shadow-glow);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 80% at 12% 0%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(40% 90% at 92% 100%, rgba(0,0,0,.12), transparent 60%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 80%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: start; }
.contact-methods { display: grid; gap: 14px; margin-top: 28px; }
.contact-method { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-xs); transition: border-color .2s, transform .2s, box-shadow .2s; }
.contact-method:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-method .cm-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 6px 14px -3px rgba(79,70,229,.45); }
.contact-method .cm-ic svg { width: 22px; height: 22px; }
.contact-method strong { display: block; font-size: 1rem; }
.contact-method span { color: var(--muted); font-size: .94rem; }

/* form */
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fcfcff; color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }
.form .btn-primary { width: 100%; justify-content: center; }
.form-legend { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-success.show { display: block; }
.form-success .fs-ic { width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(135deg,#34d399,#10b981); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 10px 22px -6px rgba(16,185,129,.6); }
.form-success .fs-ic svg { width: 32px; height: 32px; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 4px 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #dcdcf2; box-shadow: var(--shadow-xs); }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; padding: 19px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); font-weight: 300; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 21px; }

/* ---------- page hero ---------- */
.page-hero { padding: 78px 0 50px; background: var(--bg-alt); border-bottom: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(46% 90% at 80% 0%, rgba(124,58,237,.10), transparent 60%), radial-gradient(40% 90% at 10% 100%, rgba(79,70,229,.08), transparent 60%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero p { color: var(--muted); font-size: 1.14rem; max-width: 640px; margin: 18px auto 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b3b6d2; padding: 72px 0 32px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,121,255,.5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 44px; }
.site-footer .brand-name { color: #fff; }
.footer-about { margin-top: 18px; font-size: .95rem; color: #8d90ad; max-width: 290px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; color: #b3b6d2; font-size: .96rem; transition: color .15s, transform .15s; }
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; color: #b3b6d2; transition: background .2s, color .2s, transform .2s; }
.footer-socials a:hover { background: var(--grad); color: #fff; transform: translateY(-2px); border-color: transparent; }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; color: #80839f; }
.footer-bottom a:hover { color: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .service-block, .service-block--reverse .sb-media { grid-template-columns: 1fr; }
  .service-block--reverse .sb-media { order: 0; }
  .split--reverse .split-text { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .float-chip, .float-chip--tr { display: none; }
  .section { padding: 84px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px 24px;
    transform: translateY(-135%); transition: transform .3s var(--ease); box-shadow: var(--shadow-md);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a { padding: 13px 14px; }
  .nav-cta { margin: 10px 0 0; display: flex; width: 100%; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 64px 0 72px; }
  .step { padding: 24px; gap: 16px; }
  .browser-body { padding: 16px; }
}
@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .btn:hover, .card:hover, .step:hover, .contact-method:hover { transform: none; }
}


/* ---------- hero met video-achtergrond ---------- */
.hero--video { background: var(--ink); }
.hero--video::before, .hero--video::after { display: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(108deg, rgba(11,13,28,.94) 0%, rgba(15,17,34,.86) 42%, rgba(28,24,72,.6) 100%),
              radial-gradient(60% 80% at 85% 10%, rgba(124,58,237,.32), transparent 60%); }
.hero--video .container { position: relative; z-index: 2; }
.hero--video h1 { color: #fff; }
.hero--video .grad { background: linear-gradient(120deg,#a5b4fc,#c4b5fd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero--video .lead { color: #c9cbe6; }
.hero--video .hero-points li { color: rgba(255,255,255,.9); }
.hero--video .hero-points svg { color: #a5b4fc; }
.hero--video .hero-badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #d7d9ef; }
.hero--video .hero-badge strong { color: #fff; }
.hero--video .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.32); box-shadow: none; }
.hero--video .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }


/* ---------- transparante header boven de video-hero (alleen homepage) ---------- */
.hero--video { margin-top: -72px; padding-top: 172px; }
.site-header--transparent { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.site-header--transparent .brand-name { color: #fff; }
.site-header--transparent .brand-accent { color: #c4b5fd; }
.site-header--transparent .nav-links > a:not(.nav-cta) { color: rgba(255,255,255,.82); }
.site-header--transparent .nav-links > a:not(.nav-cta):hover { color: #fff; background: rgba(255,255,255,.12); }
.site-header--transparent .nav-links > a:not(.nav-cta).active { color: #fff; background: rgba(255,255,255,.16); }
.site-header--transparent .nav-toggle span { background: #fff; }
.site-header--transparent.is-scrolled { background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom-color: rgba(233,234,242,.9); }
.site-header--transparent.is-scrolled .brand-name { color: var(--text); }
.site-header--transparent.is-scrolled .brand-accent { color: var(--accent); }
.site-header--transparent.is-scrolled .nav-links > a:not(.nav-cta) { color: var(--muted); }
.site-header--transparent.is-scrolled .nav-links > a:not(.nav-cta):hover { color: var(--text); background: var(--bg-alt); }
.site-header--transparent.is-scrolled .nav-links > a:not(.nav-cta).active { color: var(--accent-dark); background: var(--accent-soft); }
.site-header--transparent.is-scrolled .nav-toggle span { background: var(--text); }
@media (max-width: 640px) { .hero--video { padding-top: 120px; } }


/* ---------- diensten-grid (5 kaarten, gecentreerd) ---------- */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.svc-grid .card { flex: 1 1 300px; max-width: 346px; }
@media (max-width: 640px) { .svc-grid .card { max-width: none; } }


/* fix-mobiel-menu */
@media (max-width: 640px) {
  .site-header--transparent .nav-links > a:not(.nav-cta) { color: var(--muted); }
  .site-header--transparent .nav-links > a:not(.nav-cta):hover { color: var(--text); background: var(--bg-alt); }
  .site-header--transparent .nav-links > a:not(.nav-cta).active { color: var(--accent-dark); background: var(--accent-soft); }
}


/* ---------- detailronde: gevulde panelen, mini-grid, ervaringen, contact-note ---------- */
.panel-rich { display: grid; gap: 14px; padding: 28px; place-content: center; width: 100%; }
.panel-rich.cols2 { grid-template-columns: 1fr 1fr; }
.p-tile { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 20px 14px; text-align: center; }
.p-tile strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.p-tile span { color: rgba(255,255,255,.82); font-size: .85rem; }
.p-tile .pt-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin: 0 auto 12px; }
.p-tile .pt-ic svg { width: 21px; height: 21px; color: #fff; }
.p-tile .pt-name { display: block; color: #fff; font-weight: 600; font-size: .96rem; }

.sb-media svg { width: 116px; height: 116px; }
.sb-figure { position: relative; z-index: 1; display: grid; place-items: center; gap: 14px; }
.sb-figure .sb-label { color: rgba(255,255,255,.92); font-weight: 600; font-size: 1.05rem; }

.svc-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-mini .card { text-align: center; }
.svc-mini .card-icon { margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .svc-mini { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .svc-mini { grid-template-columns: 1fr; } }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-xs); }
.testi-stars { color: #f5b301; letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.testi p { color: var(--text-2); font-size: 1.02rem; line-height: 1.65; margin-bottom: 22px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.testi-av svg { width: 22px; height: 22px; }
.testi-who strong { display: block; font-size: .96rem; }
.testi-who > div span { color: var(--muted); font-size: .86rem; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }

.contact-note { margin-top: 24px; background: var(--accent-soft); border: 1px solid #e3e3fb; border-radius: var(--radius); padding: 20px 22px; }
.contact-note strong { display: flex; align-items: center; gap: 9px; color: var(--accent-dark); font-size: .98rem; }
.contact-note strong svg { width: 18px; height: 18px; flex: none; }
.contact-note ol { margin: 14px 0 0; padding: 0; counter-reset: cn; display: grid; gap: 9px; }
.contact-note li { list-style: none; display: flex; gap: 11px; align-items: center; color: var(--muted); font-size: .92rem; counter-increment: cn; }
.contact-note li::before { content: counter(cn); flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid #e3e3fb; color: var(--accent); font-weight: 700; font-size: .76rem; display: grid; place-items: center; }


/* ---------- verkoop: garantie, tools-strip, sticky mobiele CTA ---------- */
.guarantee { background: linear-gradient(135deg,#f4f2ff,#eef0fe); border: 1px solid #e3e3fb; border-radius: var(--radius-lg); padding: 40px 44px; }
.g-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.g-ic { width: 56px; height: 56px; border-radius: 15px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 8px 18px -4px rgba(79,70,229,.5); }
.g-ic svg { width: 28px; height: 28px; }
.g-head h2 { font-size: 1.5rem; }
.g-head p { color: var(--muted); margin-top: 3px; }
.g-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; list-style: none; padding: 0; }
.g-points li { display: flex; gap: 12px; align-items: flex-start; }
.g-points .gp-ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid #e3e3fb; color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.g-points .gp-ic svg { width: 14px; height: 14px; }
.g-points strong { display: block; }
.g-points span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .guarantee { padding: 28px 24px; } .g-points { grid-template-columns: 1fr; gap: 18px; } .g-head h2 { font-size: 1.3rem; } }

.tools-label { text-align: center; color: var(--muted); font-size: .9rem; font-weight: 500; }
.tools-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; margin-top: 20px; }
.tools-row span { color: #a2a6bd; font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; }

.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; }
  .mc-main { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-weight: 600; padding: 15px; border-radius: 14px; box-shadow: 0 12px 28px -6px rgba(79,70,229,.6); }
  .mc-wa { width: 54px; flex: none; display: grid; place-items: center; background: #25d366; color: #fff; border-radius: 14px; box-shadow: 0 12px 26px -8px rgba(0,0,0,.35); }
  .mc-wa svg { width: 24px; height: 24px; }
  .site-footer { padding-bottom: 100px; }
}


/* ---------- rijkere sub-pagina's: donkere hero, gloed, tijdlijn ---------- */
.page-hero { padding: 84px 0 64px; background: var(--ink); border-bottom: 0; color: #fff; }
.page-hero::before { background: radial-gradient(45% 80% at 82% 0%, rgba(124,58,237,.30), transparent 62%), radial-gradient(42% 80% at 8% 105%, rgba(79,70,229,.26), transparent 62%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  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(70% 85% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 85% at 50% 0%, #000, transparent 75%); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b9bbd6; }
.page-hero .eyebrow { color: #c7c4ff; background: rgba(124,121,255,.14); border-color: rgba(124,121,255,.24); }
.page-hero .grad { background: linear-gradient(120deg,#a5b4fc,#c4b5fd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.breadcrumb { color: #8d90ad; }
.breadcrumb a { color: #b9bbd6; }
.breadcrumb a:hover { color: #fff; }

.section--glow { position: relative; overflow: hidden; }
.section--glow::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 55% at 93% -8%, rgba(124,58,237,.09), transparent 60%), radial-gradient(36% 52% at 3% 108%, rgba(79,70,229,.08), transparent 60%); }
.section--glow > .container { position: relative; z-index: 1; }

.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 56px; top: 42px; bottom: 42px; width: 2px; background: linear-gradient(var(--accent-2), var(--violet)); opacity: .22; z-index: 0; }
.step { position: relative; z-index: 1; }
@media (max-width: 640px) { .steps::before { left: 48px; } }


/* paneel-chips op detailpagina's */
.sb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2px; }
.sb-chips span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); color: #fff; font-size: .82rem; font-weight: 500; padding: 5px 12px; border-radius: 100px; }
