/* =========================================================
   Cleversoft — statische site
   Pas --brand / --accent aan naar je echte huisstijl.
   ========================================================= */
:root {
  --brand: #2563eb;       /* hoofdkleur */
  --brand-dark: #1d4ed8;
  --accent: #06b6d4;      /* accent / cyaan */
  --ink: #0f172a;         /* donkere tekst */
  --ink-soft: #475569;    /* zachte tekst */
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-dark: #0b1220;
  --line: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

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

.grad {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.logo-mark { display: block; border-radius: 8px; }
.logo-text { font-size: 1.18rem; letter-spacing: -.02em; color: var(--ink); }
.logo-text strong { color: var(--brand); font-weight: 800; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .85rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav .nav-cta {
  background: var(--brand);
  color: #fff;
  margin-left: .35rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(6, 182, 212, .12), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(37, 99, 235, .12), transparent 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  padding: 84px 24px 88px;
}
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(37, 99, 235, .08);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
.lead { font-size: 1.13rem; color: var(--ink-soft); max-width: 33ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.hero-points li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); font-size: .98rem; }
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* Code card visual */
.hero-visual { display: flex; justify-content: center; }
.code-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px 22px;
  border: 1px solid rgba(255, 255, 255, .06);
}
.code-dots { display: flex; gap: 7px; margin-bottom: 14px; }
.code-dots span { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.code-dots span:nth-child(1) { background: #ef4444; }
.code-dots span:nth-child(2) { background: #f59e0b; }
.code-dots span:nth-child(3) { background: #22c55e; }
.code-card pre { margin: 0; overflow-x: auto; }
.code-card code {
  font-family: "SF Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .86rem;
  line-height: 1.7;
  color: #cbd5e1;
  white-space: pre;
}
.c-key { color: #c084fc; }
.c-fn  { color: #60a5fa; }
.c-val { color: #34d399; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  background: var(--bg-alt);
  border-radius: 12px;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.18rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step-num {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* Over */
.over-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 48px;
  align-items: center;
}
.over-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.over-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
}
.stats li {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}
.stats strong { font-size: 1.7rem; color: var(--brand); }
.stats span { color: var(--ink-soft); font-size: .95rem; }

/* Contact */
.section-contact {
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(37, 99, 235, .12), transparent 60%),
    var(--bg);
}
.contact-inner { max-width: 620px; margin: 0 auto; }
.section-contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-contact p { color: var(--ink-soft); font-size: 1.1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; background: var(--bg-alt); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-meta { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: var(--ink-soft); font-size: .92rem; }
.footer-nav a:hover { color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero-visual { order: -1; }
  .lead { max-width: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .over-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem .6rem; }
  .nav .nav-cta { margin: .4rem 0 0; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

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