/* Forte-interim v2 — modern, cinematic, scroll-driven
   Layered on top of base styles.css. Keep base tokens as-is; this file owns
   only the new homepage + voor-bedrijven + voor-freelancers surfaces. */

:root {
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --bg-deep: #0B1838;
  --bg-deep-soft: #142554;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.10);
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.18);
  --aurora-amber: #F59E0B;
  --aurora-blue: #3366FF;
  --aurora-violet: #8B5CF6;
  --text-on-dark: #F4F6FB;
  --text-on-dark-muted: rgba(244, 246, 251, 0.62);
}

/* ===== Reveal primitive — used everywhere ===== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ===== Cinematic Hero ===== */
.cine-hero {
  position: relative;
  background: var(--bg-deep);
  color: var(--text-on-dark);
  margin-top: -72px;
  overflow: clip;
  display: flex;
  align-items: center;
  padding: 96px 0 56px;
}
.cine-hero .stage {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}

/* Aurora background — 3 soft blobs that drift on scroll */
.aurora {
  position: absolute; inset: -10%;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
}
.aurora .blob {
  position: absolute;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  will-change: transform;
}
.aurora .blob.b1 {
  background: radial-gradient(circle, rgba(245,158,11,0.55), transparent 65%);
  top: -10%; left: -15%;
}
.aurora .blob.b2 {
  background: radial-gradient(circle, rgba(51,102,255,0.55), transparent 65%);
  bottom: -20%; right: -10%;
}
.aurora .blob.b3 {
  background: radial-gradient(circle, rgba(139,92,246,0.4), transparent 65%);
  top: 30%; left: 35%;
  width: 40vw; height: 40vw;
}

/* Subtle starfield grain */
.cine-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image:
    radial-gradient(1px 1px at 17% 22%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 73% 41%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(1px 1px at 41% 78%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(1px 1px at 89% 86%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 8% 64%, rgba(255,255,255,0.3), transparent 50%);
  background-size: 600px 600px, 700px 700px, 500px 500px, 800px 800px, 650px 650px;
  pointer-events: none;
  opacity: 0.5;
}

/* Cursor spotlight */
.spotlight {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.06), transparent 60%);
  transition: opacity 300ms var(--ease-out);
}

.cine-hero .stage-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1280px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.cine-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--hairline);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.cine-eyebrow .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0.0); }
}

.cine-h1 {
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  font-weight: 700;
  margin-bottom: 22px;
}
.cine-h1 .gradient {
  color: #F59E0B;
}
.cine-h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: word-in 900ms var(--ease-out) forwards;
}
@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cine-h1 .word { opacity: 1; transform: none; animation: none; }
}
.cine-sub {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--text-on-dark-muted);
  max-width: 480px;
  margin-bottom: 28px;
}

.cine-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.btn-amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(245,158,11,0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.btn-amber:hover {
  background: var(--amber-hover);
  color: var(--navy);
  box-shadow: 0 12px 48px rgba(245,158,11,0.5), 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.btn-glass {
  background: var(--glass);
  color: var(--text-on-dark);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: var(--glass-strong);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

/* Inline progressive sign-up */
.inline-signup {
  display: flex; align-items: center; gap: 0;
  background: var(--glass);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 6px;
  max-width: 460px;
  backdrop-filter: blur(8px);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.inline-signup:focus-within {
  border-color: rgba(245,158,11,0.6);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.15);
}
.inline-signup input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 18px;
  height: 44px;
  color: var(--text-on-dark);
  font-size: 15px;
}
.inline-signup input::placeholder { color: rgba(255,255,255,0.45); }
.inline-signup .btn {
  height: 44px;
  border-radius: 999px;
  padding: 0 22px;
}
.inline-signup-hint {
  font-size: 12px;
  color: var(--text-on-dark-muted);
  margin-top: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ===== Hero visual: floating job cards & avatars ===== */
.hero-orbit {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}
.orbit-portrait {
  position: absolute;
  inset: 14%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy));
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.1) inset;
}
.orbit-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.orbit-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,11,31,0.6));
}

/* Floating job pills */
.float-pill {
  position: absolute;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,0,0,0.04) inset;
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
  backdrop-filter: blur(20px);
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.float-pill .role {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.float-pill .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.float-pill .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}
.float-pill.p1 { top: 8%; left: -8%; animation-delay: 0s; }
.float-pill.p2 { top: 28%; right: -10%; animation-delay: -1.5s; }
.float-pill.p3 { bottom: 22%; left: -12%; animation-delay: -3s; }
.float-pill.p4 { bottom: 14%; right: 4%; animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

/* Recently joined avatar stack */
.avatar-stack {
  position: absolute;
  bottom: -16px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.avatar-stack .avs {
  display: flex;
}
.avatar-stack .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  color: #fff;
  background: var(--navy);
}
.avatar-stack .av:first-child { margin-left: 0; }
.avatar-stack .av.a1 { background: linear-gradient(135deg, #F59E0B, #DC2626); }
.aud-card .avatar-stack .av.a1 { background: linear-gradient(135deg, #EC4899, #F472B6); color: #fff; }
.avatar-stack .av.a2 { background: linear-gradient(135deg, #3366FF, #06B6D4); }
.avatar-stack .av.a3 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.avatar-stack .av.a4 { background: linear-gradient(135deg, #10B981, #84CC16); }
.avatar-stack .label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}
.avatar-stack .label strong { color: var(--navy); font-weight: 700; }

/* Hero scroll indicator */
.scroll-cue {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}
.scroll-cue .line {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Marquee strip — silent rotation of "live" stats ===== */
.marquee-strip {
  background: var(--bg-deep-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  color: var(--text-on-dark-muted);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee-track {
  display: flex; gap: 80px;
  animation: marquee 50s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track > span {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.marquee-track > span strong { color: var(--text-on-dark); font-weight: 600; }
.marquee-track .mq-claim { color: #fff; font-weight: 700; }
.marquee-track .mq-bench { color: rgba(255,255,255,0.45); opacity: 1; }
.marquee-track .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Sticky scroll storytelling — "How it works" ===== */
.story {
  background: #fff;
  position: relative;
}
.story-header {
  padding: 60px 0 32px;
  text-align: center;
}
.story-header .eyebrow { justify-content: center; }
.story-header h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 780px;
  margin: 0 auto 16px;
}
.story-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

.story-tabs {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  position: relative;
  z-index: 5;
}
.story-tabs button {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: transparent;
  border: 0;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.story-tabs button:hover { color: var(--navy); }
.story-tabs button.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11,33,81,0.25);
}

/* Sticky-rail audience switcher */
.story-tabs-sticky {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
  padding-left: 48px;
}
.story-tabs-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sticky-stack {
  height: 400vh; /* 4 steps × 100vh */
  position: relative;
}
.sticky-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sticky-grid {
  width: 100%;
  max-width: 1200px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* Left rail — text steps */
.story-rail {
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.story-rail::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.story-step {
  position: relative;
  padding: 16px 0 16px 48px;
  cursor: pointer;
  transition: opacity 400ms var(--ease-out);
  opacity: 0.32;
}
.story-step.active { opacity: 1; }
.story-step .marker {
  position: absolute;
  left: 0;
  top: 18px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  transition: all 300ms var(--ease-out);
  z-index: 1;
}
.story-step.active .marker {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 6px rgba(11,33,81,0.08);
}
.story-step h4 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.story-step.active h4 { color: var(--navy); }
.story-step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 380px;
}
.story-step .substeps {
  margin-top: 14px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms var(--ease-out), opacity 400ms var(--ease-out);
  opacity: 0;
}
.story-step.active .substeps {
  grid-template-rows: 1fr;
  opacity: 1;
}
.story-step .substeps > div {
  overflow: hidden;
}
.story-step .substep-list {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 6px;
}
.story-step .substep-list span::before {
  content: "→ ";
  color: var(--amber);
}

/* Right rail — pinned visual canvas */
.story-canvas {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(135deg, #F6F8FC, #EEF2FA);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(10,31,68,0.1);
}
.story-frame {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out);
  pointer-events: none;
}
.story-frame.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Frame 1: form */
.frame-form {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(10,31,68,0.08);
  display: flex; flex-direction: column; gap: 14px;
}
.frame-form .row { display: flex; flex-direction: column; gap: 6px; }
.frame-form .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.frame-form .input {
  height: 36px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0 12px;
  display: flex; align-items: center;
  font-size: 13px;
  color: var(--ink);
}
.frame-form .input.typing::after {
  content: "▎";
  margin-left: 1px;
  color: var(--amber);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.frame-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frame-form .pill {
  display: inline-flex; padding: 4px 10px;
  background: var(--amber-soft); color: #92400E;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  font-family: var(--mono);
}

/* Frame 2: matches incoming */
.frame-matches { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.frame-matches .match {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(10,31,68,0.04);
  opacity: 0;
  transform: translateY(12px);
  animation: match-in 600ms var(--ease-out) forwards;
}
.frame-matches.active .match { animation-play-state: running; }
.frame-matches .match:nth-child(1) { animation-delay: 200ms; }
.frame-matches .match:nth-child(2) { animation-delay: 500ms; }
.frame-matches .match:nth-child(3) { animation-delay: 800ms; }
@keyframes match-in {
  to { opacity: 1; transform: translateY(0); }
}
.frame-matches .av-sm {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
}
.frame-matches .av-sm.av-photo {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, var(--navy-700), var(--navy));
  position: relative;
}
.frame-matches .av-sm.av-photo::after {
  content: "";
  position: absolute; left: 50%; top: 38%;
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: translate(-50%, -50%);
  box-shadow: 0 9px 0 -1px rgba(255,255,255,0.55);
}
.frame-matches .name { font-weight: 600; font-size: 14px; color: var(--navy); }
.frame-matches .role { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.frame-matches .rate { font-size: 13px; font-weight: 600; color: var(--navy); }
.frame-matches .rate small { color: var(--muted); font-weight: 400; font-size: 11px; }

/* Frame 3: chat */
.frame-chat { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.frame-chat .bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}
.frame-chat .b-them {
  background: #fff; border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--ink);
}
.frame-chat .b-me {
  background: var(--navy); color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.frame-chat .typing {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  align-self: flex-start;
  display: flex; gap: 4px;
}
.frame-chat .typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s ease-in-out infinite;
}
.frame-chat .typing i:nth-child(2) { animation-delay: 0.15s; }
.frame-chat .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Frame 4: contract / done */
.frame-done {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(10,31,68,0.08);
}
.frame-done .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22C55E, #10B981);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(34,197,94,0.4);
}
.frame-done h5 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--navy);
}
.frame-done p {
  font-size: 13px;
  color: var(--muted);
}
.frame-done .invoice-row {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px dashed var(--line);
  text-align: left;
}
.frame-done .invoice-row span:last-child { color: var(--navy); font-weight: 600; }

/* ===== Categories — modern cards ===== */
.cats-section {
  padding: 140px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.cats-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
.cats-header h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.cats-header .lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
}
.cats-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 12px 24px;
  min-height: 280px;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(245,158,11,0.06), transparent 50%);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  pointer-events: none;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(10,31,68,0.1);
}
.cat-card:hover::before { opacity: 1; }
.cat-card .cat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--navy);
  border: 1px solid var(--line);
  grid-row: 1; grid-column: 1;
  align-self: start;
}
.cat-card .cat-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  grid-row: 1; grid-column: 2;
  align-self: center;
  text-transform: uppercase;
}
.cat-card > div:nth-of-type(2) {
  grid-row: 2; grid-column: 1 / -1;
  display: flex; flex-direction: column; justify-content: flex-end;
  margin-top: 8px;
}
.cat-card h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  max-width: 100%;
}
.cat-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 360px;
  margin-bottom: 24px;
}
.cat-card .stat {
  display: flex; align-items: baseline; gap: 10px;
}
.cat-card .stat .num {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.cat-card .stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cat-card .arrow-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  transition: transform 300ms var(--ease-out), background 300ms var(--ease-out);
  grid-row: 3; grid-column: 2;
  justify-self: end;
}
.cat-card:hover .arrow-circle {
  background: var(--amber);
  color: var(--navy);
  transform: rotate(-45deg);
}

/* ===== Conversion split — Voor bedrijven / Voor freelancers ===== */
.split-section {
  padding: 140px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.split-header {
  text-align: center;
  margin-bottom: 64px;
}
.split-header h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.split-header p {
  color: var(--muted);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.split-card {
  position: relative;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 520px;
  padding: 48px;
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 400ms var(--ease-out);
  border: 1px solid var(--line);
}
.split-card:hover { transform: translateY(-6px); }
.split-grid > .reveal { display: flex; }
.split-grid > .reveal > .split-card { width: 100%; }
.split-card.companies {
  background: linear-gradient(135deg, #0B2151, #17336A);
  color: #fff;
}
.split-card.companies h3, .split-card.companies p { color: #fff; }
.split-card.freelancers {
  background: linear-gradient(135deg, #FEF3C7, #FFE9B0);
}
.split-card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.65;
}
.split-card h3 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
  max-width: 340px;
}
.split-card p {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.85;
  max-width: 360px;
  margin-bottom: 32px;
}
.split-card .features {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
}
.split-card .features span {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.split-card .features svg { flex-shrink: 0; opacity: 0.8; }
.split-card .cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: gap 200ms var(--ease-out);
}
.split-card:hover .cta { gap: 14px; }
.split-card.companies .cta { color: var(--amber); }
.split-card.freelancers .cta { color: var(--navy); }

.split-card .corner-shape {
  position: absolute;
  bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}
.split-card.companies .corner-shape {
  background: radial-gradient(circle, var(--amber), transparent 70%);
}
.split-card.freelancers .corner-shape {
  background: radial-gradient(circle, var(--navy), transparent 70%);
}

/* ===== Trust bar — refined ===== */
.trust-v2 {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.trust-v2::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px circle at 80% 20%, rgba(245,158,11,0.08), transparent 50%),
    radial-gradient(600px circle at 20% 80%, rgba(51,102,255,0.06), transparent 50%);
  pointer-events: none;
}
.trust-v2 .container { position: relative; z-index: 1; }
.trust-v2 h2 {
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 64px;
}
.trust-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-cell {
  background: var(--bg-deep);
  padding: 36px 28px;
}
.trust-cell .ico-v2 {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--amber);
}
.trust-cell h4 {
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.trust-cell p {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ===== CTA banner before footer ===== */
.cta-banner {
  background: #fff;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 32px;
}
.cta-banner h2 .gradient {
  background: linear-gradient(120deg, var(--amber), #FFB347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-banner .cta-actions {
  display: inline-flex; gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-banner .footnote {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ===== Refined footer ===== */
.footer-v2 {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 96px 0 40px;
}
.footer-v2 .footer-top { border-color: var(--hairline); }
.footer-v2 h5 { color: rgba(255,255,255,0.5); }
.footer-v2 a { color: var(--text-on-dark-muted); }
.footer-v2 a:hover { color: #fff; }
.footer-v2 .footer-brand p { color: var(--text-on-dark-muted); }
.footer-v2 .footer-brand .logo { color: #fff; }
.footer-v2 .footer-bottom { color: var(--text-on-dark-muted); }
.footer-v2 .footer-contact { color: var(--text-on-dark-muted); }
.footer-v2 .footer-contact a:hover { color: #fff; }

/* ===== Audience pages (Voor bedrijven / Voor freelancers) ===== */
.audience-page { background: var(--bg-deep); }

.aud-hero {
  position: relative;
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 90px 0 80px;
  overflow: hidden;
  margin-top: -72px;
  padding-top: 150px;
}
.aud-hero .aurora {
  position: absolute; inset: -10%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.aud-hero .aurora .blob {
  position: absolute;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  will-change: transform;
}
.audience-companies .aud-hero .aurora .b1 {
  background: radial-gradient(circle, rgba(245,158,11,0.4), transparent 65%);
  top: -20%; left: -15%;
}
.audience-companies .aud-hero .aurora .b2 {
  background: radial-gradient(circle, rgba(51,102,255,0.45), transparent 65%);
  bottom: -20%; right: -15%;
}
.audience-freelancers .aud-hero .aurora .b1 {
  background: radial-gradient(circle, rgba(139,92,246,0.4), transparent 65%);
  top: -20%; left: -15%;
}
.audience-freelancers .aud-hero .aurora .b2 {
  background: radial-gradient(circle, rgba(245,158,11,0.5), transparent 65%);
  bottom: -20%; right: -15%;
}

.aud-hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.aud-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}
.aud-portrait {
  position: absolute;
  inset: 12%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy));
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.aud-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.aud-card {
  position: absolute;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  font-size: 13px;
  color: var(--ink);
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}
.aud-card-1 { top: 4%; left: -10%; min-width: 240px; animation-delay: 0s; }
.aud-card-2 { bottom: 6%; right: -8%; min-width: 220px; animation-delay: -2s; }
.aud-card-h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.aud-card-row { display: flex; align-items: center; gap: 10px; }
.aud-card-row strong { display: block; font-size: 14px; color: var(--navy); }
.aud-card-row small { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.aud-card .av-md.a1 {
  background: linear-gradient(135deg, #F59E0B 0%, #EC4899 100%);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.18), 0 4px 12px rgba(236,72,153,0.35);
}
.aud-card-2 .av-md.a1 {
  background: linear-gradient(135deg, #3366FF 0%, #8B5CF6 100%);
  box-shadow: 0 0 0 3px rgba(51,102,255,0.18), 0 4px 12px rgba(139,92,246,0.35);
}
.av-md {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 11px;
}

.aud-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.aud-stats-mini > div { display: flex; flex-direction: column; }
.aud-stats-mini strong {
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.aud-stats-mini span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Stats strip */
.aud-stats {
  background: var(--bg-deep);
  padding: 0 0 100px;
  position: relative;
}
.aud-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.aud-stat {
  background: var(--bg-deep);
  padding: 36px 28px;
  color: var(--text-on-dark);
}
.aud-stat .num {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(120deg, #FFD884, #F59E0B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  line-height: 1;
}
.aud-stat .lbl {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.aud-stat .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-muted);
}

/* Benefits */
.aud-benefits {
  background: #fff;
  padding: 140px 0;
}
.aud-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
.aud-section-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.aud-section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
}
.aud-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.aud-benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.aud-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10,31,68,0.08);
  border-color: var(--line-strong);
}
.ben-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--navy);
  margin-bottom: 20px;
  border: 1px solid var(--line);
}
.aud-benefit h4 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--navy);
}
.aud-benefit p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Comparison band */
.aud-compare {
  background: var(--bg-soft);
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.aud-compare-title {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.035em;
  text-align: center;
  margin-bottom: 64px;
  line-height: 1.1;
}
.aud-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.aud-compare-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--line);
}
.aud-compare-card.them {
  background: #fff;
  color: var(--muted);
}
.aud-compare-card.us {
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 20px 60px rgba(11,33,81,0.2);
}
.aud-compare-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.65;
}
.aud-compare-card ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.aud-compare-card li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  line-height: 1.4;
}

/* Audience page responsive */
@media (max-width: 960px) {
  .aud-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .aud-stats-grid { grid-template-columns: 1fr 1fr; }
  .aud-section-head { grid-template-columns: 1fr; gap: 16px; }
  .aud-benefits-grid { grid-template-columns: 1fr; }
  .aud-compare-grid { grid-template-columns: 1fr; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cine-hero { height: auto; }
  .cine-hero .stage { position: static; height: auto; padding: 120px 0 80px; }
  .cine-hero .stage-inner { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .sticky-stack { height: auto; }
  .sticky-inner { position: static; height: auto; padding: 60px 0; }
  .sticky-grid { grid-template-columns: 1fr; gap: 40px; }
  .cats-header { grid-template-columns: 1fr; gap: 24px; }
  .cats-grid-v2 { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .trust-grid-v2 { grid-template-columns: 1fr 1fr; }
  .float-pill { display: none; }
  .story-tabs-sticky { padding-left: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===== Audience choice modal (after inline email) ===== */
.audience-choice-panel {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px 40px;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(5, 11, 31, 0.4), 0 0 0 1px rgba(255,255,255,0.05) inset;
  text-align: left;
}
.audience-choice-panel .ac-eyebrow {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.audience-choice-panel .ac-title {
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.1;
}
.audience-choice-panel .ac-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 420px;
}
.audience-choice-panel .ac-email-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-family: var(--mono);
  margin-bottom: 28px;
}
.audience-choice-panel .ac-options {
  display: flex; flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.audience-choice-panel .ac-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: all 200ms var(--ease-out);
  font-family: inherit;
}
.audience-choice-panel .ac-option:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11,33,81,0.1);
}
.audience-choice-panel .ac-option.ac-company:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(51,102,255,0.18);
}
.audience-choice-panel .ac-option.ac-worker:hover {
  border-color: var(--amber);
  box-shadow: 0 12px 32px rgba(245,158,11,0.22);
}
.audience-choice-panel .ac-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--navy);
  border: 1px solid var(--line);
  transition: all 200ms var(--ease-out);
}
.audience-choice-panel .ac-option.ac-company:hover .ac-icon {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.audience-choice-panel .ac-option.ac-worker:hover .ac-icon {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.audience-choice-panel .ac-body h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 4px;
}
.audience-choice-panel .ac-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.audience-choice-panel .ac-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  display: grid; place-items: center;
  transition: all 200ms var(--ease-out);
}
.audience-choice-panel .ac-option:hover .ac-arrow {
  background: var(--navy);
  color: #fff;
  transform: translateX(4px);
}
.audience-choice-panel .ac-note {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  margin: 0;
}
