/* ==========================================================
   Storepilot — statische site
   ========================================================== */

:root {
  --navy: #0a2240;
  --navy-2: #0e4a9a;
  --blue: #0a6ff0;
  --blue-dark: #0858c4;
  --blue-soft: #e6f0ff;
  --mint: #16b88a;
  --bg: #f6f8fc;
  --white: #fff;
  --ink: #111a2c;
  --muted: #5b667a;
  --line: #e3e8f1;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 39, 68, .05), 0 10px 30px -12px rgba(15, 39, 68, .15);
  --shadow-lg: 0 2px 4px rgba(15, 39, 68, .06), 0 30px 60px -20px rgba(15, 39, 68, .3);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; color: var(--navy); font-weight: 750; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); font-weight: 750; font-size: 1.2rem; letter-spacing: -.02em; }
.logo:hover { color: var(--navy); }
.logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: .5rem; }
.nav a.link { color: var(--ink); text-decoration: none; font-weight: 550; padding: .5rem .85rem; border-radius: 8px; font-size: .98rem; }
.nav a.link:hover { background: var(--bg); }
.nav a.link[aria-current="page"] { color: var(--blue); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 10px; border: 0;
  font: 650 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px -8px rgba(10, 111, 240, .6); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: #c7cfdd; color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { color: var(--navy); background: #f1f4ff; }
.btn-sm { padding: .6rem 1rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

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

.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(10, 111, 240, .14), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(22, 184, 138, .1), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 13ch; }
.hero .lead { font-size: 1.22rem; color: var(--muted); max-width: 44ch; margin-bottom: 2rem; }

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .85rem .35rem .45rem; font-size: .88rem; font-weight: 600; color: var(--navy);
  margin-bottom: 1.4rem; box-shadow: var(--shadow);
}
.badge .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; }
.badge .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

.channels { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; font-size: .9rem; color: var(--muted); align-items: center; }
.channels span.ch { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .7rem; font-weight: 600; color: var(--navy); }

/* Dashboard illustration (pure HTML/CSS) */
.mock {
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; font-size: .85rem;
}
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e8f1; }
.mock-bar b { margin-left: .75rem; font-weight: 600; color: var(--muted); font-size: .8rem; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.mock-side { border-right: 1px solid var(--line); padding: 1rem .75rem; display: grid; align-content: start; gap: .3rem; }
.mock-side span { padding: .45rem .6rem; border-radius: 8px; color: var(--muted); font-weight: 550; }
.mock-side span.on { background: var(--blue-soft); color: var(--blue); }
.mock-main { padding: 1rem 1.1rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.mock-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .7rem; }
.mock-kpis small { display: block; color: var(--muted); font-size: .72rem; }
.mock-kpis strong { font-size: 1.05rem; color: var(--navy); }
.mock-row { display: grid; grid-template-columns: 1fr auto auto; gap: .8rem; align-items: center; padding: .55rem 0; border-top: 1px solid var(--line); }
.mock-row:first-of-type { border-top: 0; }
.mock-row .who { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--navy); }
.mock-row .src { width: 26px; height: 26px; border-radius: 7px; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.mock-row .src img { width: 18px; height: 18px; object-fit: contain; }
.pill { font-size: .72rem; font-weight: 650; padding: .2rem .5rem; border-radius: 999px; }
.pill.ok { background: #e3f7ef; color: #0f8a66; }
.pill.go { background: var(--blue-soft); color: var(--blue); }
.pill.wait { background: #fff3dc; color: #a86a00; }
.mock-row .muted { color: var(--muted); font-size: .8rem; }
@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; }
.feature .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.2rem; }
.feature .icon svg { width: 22px; height: 22px; }
.feature .icon.mint { background: #e3f7ef; color: #0f8a66; }
.feature .icon.navy { background: #e8edf5; color: var(--navy-2); }

.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 880px; margin: 0 auto; }
@media (max-width: 700px) { .logos { grid-template-columns: repeat(2, 1fr); } }
.logos li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); height: 130px; display: grid; place-items: center; padding: 1.5rem; box-shadow: var(--shadow); transition: transform .2s; }
.logos li:hover { transform: translateY(-3px); }
.logos img { max-height: 64px; max-width: 140px; width: auto; object-fit: contain; }
.logos { padding: 0; }

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

.cta {
  position: relative; overflow: hidden; border-radius: 24px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(10, 111, 240, .55), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(22, 184, 138, .35), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, .85);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta h2 { color: var(--white); margin-bottom: .4rem; }
.cta p { margin: 0; font-size: 1.12rem; max-width: 46ch; }

/* ---------- Contact ---------- */

.page-head { padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; background: var(--bg); }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin: 0; }

.contact-wrap { background: var(--bg); padding-bottom: clamp(4rem, 8vw, 6rem); }
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.25rem); }
.panel h2 { font-size: 1.35rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: .9rem; counter-increment: step; color: var(--muted); line-height: 1.5; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 750; display: grid; place-items: center; }
.steps strong { display: block; color: var(--navy); }

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--navy); }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .78rem .95rem; border-radius: 10px;
  border: 1px solid #d5dce8; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 111, 240, .15); }
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

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

.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: .92rem; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--navy); }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

@media (max-width: 480px) {
  .nav a.link { display: none; }
  .logo { font-size: 1.05rem; }
  .logo img { height: 28px; }
}

/* ---------- Storepilot-specifiek ---------- */
:root { --yellow: #ffd23f; --yellow-dark: #f5c000; }
.btn-yellow { background: var(--yellow); color: #1a1400; box-shadow: 0 8px 20px -8px rgba(245, 192, 0, .7); }
.btn-yellow:hover { background: var(--yellow-dark); color: #1a1400; }
.nav a.login { display: inline-flex; align-items: center; gap: .45rem; }
.nav a.login svg { width: 20px; height: 20px; }

.hero-center { text-align: center; }
.hero-center h1 { max-width: 16ch; margin-inline: auto; }
.hero-center .lead { margin-inline: auto; }
.hero-center .btn-row { justify-content: center; }

.shot { margin-top: clamp(2.5rem, 6vw, 4rem); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.shot .mock-bar { justify-content: flex-start; }
.shot img { width: 100%; }
.shot-caption { font-size: .88rem; color: var(--muted); margin-top: 1rem; text-align: center; }

.logos.five { grid-template-columns: repeat(5, 1fr); max-width: 1040px; }
@media (max-width: 800px) { .logos.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logos.five { grid-template-columns: repeat(2, 1fr); } }

.site-footer .credits { font-size: .88rem; }
.site-footer .credits a { color: var(--blue); }
@media (max-width: 480px) {
  .nav a.login { display: inline-flex; padding: .5rem; }
  .nav a.login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
