/* ─── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:   #4F46E5;
  --indigo-dark: #3730A3;
  --indigo-mid:  #6366F1;
  --teal:     #0D9488;
  --teal-mid: #14B8A6;
  --ink:      #0F172A;
  --ink-mid:  #1E293B;
  --ink-soft: #334155;
  --slate:    #64748B;
  --mist:     #CBD5E1;
  --canvas:   #FAFAF8;
  --white:    #FFFFFF;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:  0 4px 12px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg:  0 12px 32px rgba(15,23,42,.12), 0 4px 8px rgba(15,23,42,.06);
  --shadow-indigo: 0 8px 24px rgba(79,70,229,.30);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container {
  width: min(1100px, 100% - 48px);
  margin-inline: auto;
}

/* ─── Typography helpers ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--teal-mid); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -.02em; }
h1 em { font-family: var(--font-serif); font-style: italic; color: var(--indigo-mid); }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.015em; margin-bottom: 40px; }
h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary, .btn-outline, .btn-ghost, .btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 150ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: var(--shadow-indigo);
}
.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(79,70,229,.38); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 3px solid var(--indigo-mid); outline-offset: 3px; }

.btn-sm { padding: 9px 18px; font-size: 13px; }

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}
.btn-outline:hover { background: var(--indigo); color: var(--white); }
.btn-outline:focus-visible { outline: 3px solid var(--indigo-mid); outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:focus-visible { outline: 3px solid rgba(255,255,255,.5); outline-offset: 3px; }

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.3);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost-light:focus-visible { outline: 3px solid rgba(255,255,255,.5); outline-offset: 3px; }

.btn-full { width: 100%; justify-content: center; }

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(24px, calc((100vw - 1100px) / 2));
  height: 64px;
  background: rgba(250,250,248,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.nav-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.nav-logo:focus-visible { outline: 2px solid var(--indigo); border-radius: 2px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 150ms;
}
.nav-links a:hover { color: var(--indigo); }
.nav-links a:focus-visible { outline: 2px solid var(--indigo); border-radius: 2px; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 100px 0 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--indigo);
  top: -200px;
  right: -100px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  bottom: -150px;
  left: -80px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

/* Pulse motif */
.pulse-motif {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 28px;
}
.dot {
  border-radius: 50%;
  background: var(--indigo-mid);
  animation: pulse-beat 2s ease-in-out infinite;
}
.dot-sm { width: 7px; height: 7px; opacity: .35; }
.dot-lg { width: 12px; height: 12px; opacity: .85; }
.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: .12s; }
.dot:nth-child(3) { animation-delay: .28s; }
.dot:nth-child(4) { animation-delay: .44s; }
.dot:nth-child(5) { animation-delay: .60s; }
.dot:nth-child(6) { animation-delay: .76s; }
.dot:nth-child(7) { animation-delay: .88s; }

@keyframes pulse-beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: rgba(165,163,255,.9); }

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255,255,255,.68);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-proof {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.proof-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
}
.proof-tag svg { color: var(--teal-mid); flex-shrink: 0; }

/* ─── Problem ────────────────────────────────────────────────────────────── */
.problem {
  padding: 96px 0;
  background: var(--white);
}
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.problem-text .eyebrow { display: block; }
.problem-text h2 { margin-bottom: 20px; }
.problem-text p { color: var(--slate); line-height: 1.75; margin-bottom: 16px; }
.problem-text p:last-child { margin-bottom: 0; }
.problem-text em { font-style: italic; color: var(--ink-soft); }
.problem-text strong { color: var(--ink); font-weight: 600; }

/* Chat mock */
.chat-mock {
  background: var(--canvas);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
}
.chat-bubble {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
}
.chat-user {
  background: var(--indigo);
  color: var(--white);
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 88%;
  font-weight: 500;
}
.chat-ai {
  background: var(--white);
  border: 1px solid var(--mist);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.chat-ai-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate);
  margin-bottom: 10px;
}
.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-beat 1.8s ease-in-out infinite;
}
.chat-ai p { margin-bottom: 10px; font-size: 13px; }
.chat-ai ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mention {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  background: var(--canvas);
  color: var(--slate);
}
.mention-highlight {
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(13,148,136,.1));
  color: var(--indigo);
  border: 1px solid rgba(79,70,229,.2);
  font-weight: 600;
}
.mention-highlight svg { color: var(--indigo); flex-shrink: 0; }

@media (max-width: 820px) {
  .problem-inner { grid-template-columns: 1fr; }
  .problem-visual { order: -1; }
}

/* ─── Services ───────────────────────────────────────────────────────────── */
.services {
  padding: 96px 0;
  background: var(--canvas);
}
.services .eyebrow { display: block; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(15,23,42,.07);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.service-card--featured {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px var(--indigo), var(--shadow-md);
  position: relative;
}
.service-card--featured:hover { box-shadow: 0 0 0 1px var(--indigo), var(--shadow-lg); }

.service-card--dark {
  background: var(--ink);
  border-color: var(--ink-mid);
  color: var(--white);
}
.service-card--dark h3 { color: var(--white); }

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon--indigo { background: rgba(79,70,229,.12); color: var(--indigo); }
.service-icon--teal   { background: rgba(13,148,136,.12); color: var(--teal); }
.service-icon--white  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }

.service-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(79,70,229,.1);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.service-badge--light {
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.12);
}

.service-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.service-price span { font-size: 13px; font-weight: 400; color: var(--slate); }
.service-price--light { color: rgba(255,255,255,.9); }
.service-price--light span { color: rgba(255,255,255,.5); }

.service-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}
.service-card--dark .service-desc { color: rgba(255,255,255,.6); }

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.service-list li svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.service-list--light li { color: rgba(255,255,255,.7); }
.service-list--light li svg { color: var(--teal-mid); }

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* ─── Process ────────────────────────────────────────────────────────────── */
.process {
  padding: 96px 0;
  background: var(--ink);
  color: var(--white);
}
.process .eyebrow { color: var(--teal-mid); display: block; }
.process h2 { color: var(--white); margin-bottom: 56px; }

.process-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: steps;
  max-width: 680px;
}
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.process-step:last-child { border-bottom: none; }

.step-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: rgba(255,255,255,.08);
  line-height: 1;
  padding-top: 2px;
  letter-spacing: -.02em;
}
.step-content h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.step-content p { color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.75; }

/* ─── Deliverables ───────────────────────────────────────────────────────── */
.deliverables {
  padding: 96px 0;
  background: var(--white);
}
.deliverables .eyebrow { display: block; }
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.deliverable-item {
  padding: 28px 24px;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  transition: border-color 200ms, box-shadow 200ms;
}
.deliverable-item:hover { border-color: rgba(79,70,229,.25); box-shadow: var(--shadow-md); }

.deliverable-icon {
  width: 40px;
  height: 40px;
  background: rgba(79,70,229,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  margin-bottom: 16px;
}
.deliverable-item h3 { font-size: 16px; margin-bottom: 8px; }
.deliverable-item p { font-size: 13px; color: var(--slate); line-height: 1.65; }

@media (max-width: 960px) {
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .deliverables-grid { grid-template-columns: 1fr; }
}

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--indigo-dark) 0%, var(--ink) 65%);
  color: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-text h2 { color: var(--white); margin-bottom: 16px; }
.contact-text p { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.75; margin-bottom: 28px; }
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
}
.contact-list li svg { color: var(--teal-mid); flex-shrink: 0; }

/* Form */
.contact-form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.label-optional { font-weight: 400; color: rgba(255,255,255,.4); }

input, select, textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: border-color 200ms, background 200ms, box-shadow 200ms;
  outline: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.3); }
select { cursor: pointer; color: rgba(255,255,255,.75); }
select option { background: var(--ink-mid); color: var(--white); }

input:focus, select:focus, textarea:focus {
  border-color: rgba(165,163,255,.6);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(79,70,229,.25);
}

textarea { resize: vertical; min-height: 100px; }

.form-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,.38);
  line-height: 1.6;
}
.form-gdpr svg { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.01em;
}
.footer-logo:focus-visible { outline: 2px solid var(--indigo-mid); border-radius: 2px; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  font-style: italic;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color 150ms;
}
.footer-nav a:hover { color: rgba(255,255,255,.8); }
.footer-nav a:focus-visible { outline: 2px solid var(--indigo-mid); border-radius: 2px; }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.25);
  margin-top: 4px;
}

/* ─── Scroll-reveal animations ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms cubic-bezier(.16,1,.3,1), transform 500ms cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── Language toggle ──────────────────────────────────────────────────── */
.en-only { display: none; }
html.lang-en .nl-only { display: none !important; }
html.lang-en .en-only { display: block; }
html.lang-en span.en-only { display: inline; }
html.lang-en li.en-only  { display: list-item; }

.lang-btn {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.6);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  cursor: pointer; letter-spacing: .06em;
  transition: background 150ms, color 150ms, border-color 150ms;
  margin-right: 10px; flex-shrink: 0;
}
.lang-btn:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); }
.lang-btn:focus-visible { outline: 2px solid #6366F1; outline-offset: 2px; }
