/* =========================================================
   VORMIQ 2.0 — preview design system
   Dark, cinematic, motion-first. Independent from style.css.
   ========================================================= */

@import url("https://fonts.googleapis.com");

:root {
  --bg: 222 26% 6%;
  --bg-soft: 222 24% 9%;
  --surface: 222 20% 11%;
  --surface-2: 222 18% 15%;
  --border: 222 16% 20%;
  --border-strong: 222 16% 28%;
  --text: 210 20% 96%;
  --text-dim: 216 12% 68%;
  --text-faint: 216 10% 48%;

  --accent: 166 72% 48%;
  --accent-bright: 152 68% 58%;
  --accent-deep: 169 70% 26%;
  --violet: 258 78% 68%;
  --amber: 32 90% 60%;

  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 0.25s;
  --dur-2: 0.45s;

  --section-pad: clamp(5rem, 10vw, 9rem);
  --edge: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { background: hsl(var(--bg)); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: hsl(var(--text));
  background: hsl(var(--bg));
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; }

p { color: hsl(var(--text-dim)); line-height: 1.65; }

::selection { background: hsl(var(--accent) / 0.35); color: #fff; }

/* ---------- utility ---------- */
/* ---------- recurring shard motif, reused outside the hero ---------- */
.shard-field { position: absolute; inset: 0 0 auto 0; height: clamp(9rem, 22vw, 14rem); overflow: visible; pointer-events: none; z-index: -1; }
.mini-shard {
  position: absolute; border-radius: 4px;
  background: linear-gradient(135deg, hsl(var(--accent-bright) / 0.6), hsl(var(--violet) / 0.45));
  animation: miniFloat 7s ease-in-out infinite;
}
@keyframes miniFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(6deg); } }
.text-shine {
  background: linear-gradient(100deg, hsl(var(--accent-bright)) 10%, hsl(var(--violet)) 45%, hsl(var(--accent-bright)) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }
.text-center { text-align: center; }
.badge {
  display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border-radius: var(--r-full);
  font-size: 0.72rem; font-weight: 600; border: 1px solid hsl(var(--border-strong)); color: hsl(var(--text-dim));
  background: hsl(var(--surface) / 0.7); backdrop-filter: blur(6px);
}
.badge--accent { border-color: hsl(var(--accent) / 0.5); color: hsl(var(--accent-bright)); background: hsl(var(--accent) / 0.1); }

/* ---------- grain + progress + bg field ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress-rail {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 61; background: hsl(var(--border) / 0.4);
}
.progress-rail__fill {
  display: block; height: 100%; width: 0%; transform-origin: left;
  background: linear-gradient(90deg, hsl(var(--accent)), hsl(var(--violet)));
}

.bg-field { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.bg-orb--a { width: 46vw; height: 46vw; top: -12vw; left: -8vw; background: radial-gradient(circle, hsl(var(--accent) / 0.55), transparent 70%); }
.bg-orb--b { width: 38vw; height: 38vw; top: 40vh; right: -10vw; background: radial-gradient(circle, hsl(var(--violet) / 0.4), transparent 70%); }
.bg-orb--c { width: 42vw; height: 42vw; bottom: -10vw; left: 20vw; background: radial-gradient(circle, hsl(var(--accent-deep) / 0.5), transparent 70%); }
.bg-grid { position: absolute; inset: -5%; color: hsl(var(--text) / 0.035); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0.9rem; left: 50%; transform: translateX(-50%);
  z-index: 50; width: min(1180px, calc(100% - 2rem));
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0.8rem 0.7rem 1.1rem; border-radius: var(--r-full);
  background: hsl(var(--surface) / 0.55); border: 1px solid hsl(var(--border) / 0.7);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: padding var(--dur-2) var(--ease), background var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.nav.is-condensed .nav__inner {
  padding-block: 0.45rem;
  background: hsl(var(--bg) / 0.72);
  box-shadow: 0 20px 50px -25px hsl(0 0% 0% / 0.7);
}
.nav__mark { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; flex-shrink: 0; transition: transform var(--dur-1) var(--ease-soft); }
.nav__mark:hover { transform: scale(1.04) rotate(-1deg); }
.nav__mark img { display: block; height: 30px; width: auto; }
.nav__badge { font-family: var(--font-mono); font-size: 0.6rem; padding: 0.15rem 0.4rem; border-radius: var(--r-full); background: hsl(var(--accent) / 0.16); color: hsl(var(--accent-bright)); }
.nav__status { display: flex; align-items: center; gap: 0.45rem; font-size: 0.76rem; color: hsl(var(--text-dim)); flex-shrink: 0; padding-left: 0.9rem; border-left: 1px solid hsl(var(--border)); white-space: nowrap; }
.nav__status-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--accent-bright)); flex-shrink: 0; }
.nav__status-dot::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid hsl(var(--accent-bright) / 0.6);
  animation: navStatusPulse 2.2s ease-out infinite;
}
@keyframes navStatusPulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links > a, .nav__dropdown-trigger { position: relative; font-size: 0.86rem; color: hsl(var(--text-dim)); transition: color var(--dur-1); display: flex; align-items: center; gap: 0.3rem; }
.nav__links > a::after, .nav__dropdown-trigger::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: hsl(var(--accent-bright)); transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav__links > a:hover, .nav__links > a.is-active, .nav__dropdown-trigger:hover, .nav__dropdown-trigger.is-active { color: hsl(var(--text)); }
.nav__links > a.is-active::after, .nav__dropdown-trigger.is-active::after { width: 100%; }

.nav__dropdown { position: relative; }
.nav__dropdown-chevron { transition: transform var(--dur-1) var(--ease); flex-shrink: 0; }
.nav__dropdown-panel {
  position: absolute; top: calc(100% + 1rem); left: 50%; transform: translateX(-50%) translateY(-6px);
  display: flex; flex-direction: column; gap: 0.1rem; min-width: 190px; padding: 0.45rem;
  border-radius: var(--r-lg); background: hsl(var(--surface) / 0.98); border: 1px solid hsl(var(--border-strong));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 25px 60px -25px hsl(0 0% 0% / 0.75);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), visibility var(--dur-1);
}
.nav__dropdown-panel a { display: block; padding: 0.55rem 0.7rem; border-radius: var(--r-sm); font-size: 0.84rem; color: hsl(var(--text-dim)); transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.nav__dropdown-panel a:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .nav__dropdown:hover .nav__dropdown-panel, .nav__dropdown:focus-within .nav__dropdown-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .nav__dropdown:hover .nav__dropdown-chevron, .nav__dropdown:focus-within .nav__dropdown-chevron { transform: rotate(180deg); }
  .nav__dropdown-panel a:hover { background: hsl(var(--surface-2)); color: hsl(var(--text)); }
}
.nav__cta {
  font-size: 0.82rem; font-weight: 600; padding: 0.6rem 1.15rem; border-radius: var(--r-full);
  background: hsl(var(--text)); color: hsl(var(--bg)); white-space: nowrap;
  transition: transform var(--dur-1) var(--ease), background var(--dur-1);
}
.nav__cta:hover { background: hsl(var(--accent-bright)); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav__toggle span { width: 18px; height: 1.5px; background: hsl(var(--text)); transition: transform var(--dur-2) var(--ease), opacity var(--dur-1); }
.nav__mobile {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  background: hsl(var(--bg) / 0.97); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility var(--dur-2);
}
.nav__mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__mobile a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.nav__mobile-group { display: flex; flex-direction: column; align-items: center; }
.nav__mobile-trigger { display: flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: hsl(var(--text)); }
.nav__mobile-trigger:active { transform: scale(0.97); }
.nav__mobile-group.is-open .nav__mobile-trigger .nav__dropdown-chevron { transform: rotate(180deg); }
.nav__mobile-panel { width: 100%; display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-2) var(--ease); }
.nav__mobile-panel-inner { overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.nav__mobile-panel-inner a { font-size: 1.05rem; font-weight: 500; color: hsl(var(--text-dim)); }
.nav__mobile-panel-inner a:first-child { margin-top: 1rem; }
.nav__mobile-group.is-open .nav__mobile-panel { grid-template-rows: 1fr; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.7rem; border-radius: var(--r-full); font-weight: 600; font-size: 0.92rem;
  overflow: hidden; isolation: isolate; transition: transform var(--dur-1) var(--ease-soft);
}
.btn:active { transform: scale(0.97); }
.btn--solid { background: hsl(var(--accent)); color: #04120d; }
.btn--solid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(100deg, hsl(var(--accent-bright)), hsl(var(--violet)));
  transition: opacity var(--dur-2);
}
.btn--solid:hover::before { opacity: 1; }
.btn--ghost { background: hsl(var(--text) / 0.06); border: 1px solid hsl(var(--border-strong)); color: hsl(var(--text)); }
.btn--ghost:hover { background: hsl(var(--text) / 0.1); }
.btn--outline { border: 1px solid hsl(var(--border-strong)); color: hsl(var(--text)); }
.btn--outline:hover { border-color: hsl(var(--accent-bright)); color: hsl(var(--accent-bright)); }
.btn--full { width: 100%; }

/* =========================================================
   SHARED SECTION SCAFFOLD
   ========================================================= */
main { position: relative; z-index: 1; }
section { position: relative; padding: var(--section-pad) var(--edge); }

[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-top: 6rem; overflow: hidden;
}
.hero__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero__wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 18vw, 15rem);
  color: transparent; -webkit-text-stroke: 1px hsl(var(--text) / 0.08);
  letter-spacing: -0.02em; user-select: none; opacity: 0.7;
}
.hero__fragments { position: absolute; inset: 0; }
.shard {
  position: absolute; width: var(--w, 10px); height: var(--h, 10px);
  background: linear-gradient(135deg, hsl(var(--accent-bright) / 0.9), hsl(var(--violet) / 0.7));
  border-radius: 3px; will-change: transform, opacity;
}
.hero__content { position: relative; max-width: 56rem; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.hero__title { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.4rem); max-width: 46rem; color: hsl(var(--text-dim)); }
.hero__title strong { color: hsl(var(--text)); font-weight: 700; }
.hero__title strong.text-shine { color: transparent; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; }
.word-inner { display: inline-block; will-change: transform; }
.hero__lead { max-width: 30rem; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.55; }
.hero__lead-accent { color: hsl(var(--accent-bright)); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
.hero__trust {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
  margin-top: 0.9rem; font-size: 0.8rem; color: hsl(var(--text-faint));
}
.hero__trust strong { color: hsl(var(--text-dim)); font-weight: 600; }
.hero__trust-dot { color: hsl(var(--border-strong)); }
.hero__scroll {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--text-faint));
}
.hero__scroll-track { width: 1px; height: 42px; background: hsl(var(--border-strong)); position: relative; overflow: hidden; }
.hero__scroll-track i { position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: hsl(var(--accent-bright)); animation: scrollDrip 2s var(--ease) infinite; }
@keyframes scrollDrip { to { top: 100%; } }

.marquee { position: relative; z-index: 1; border-block: 1px solid hsl(var(--border)); overflow: hidden; padding-block: 1.1rem; background: hsl(var(--bg-soft) / 0.6); }
.marquee__track { display: flex; gap: 0.9rem; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-mono); font-size: 0.85rem; color: hsl(var(--text-faint)); text-transform: uppercase; letter-spacing: 0.08em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SHARED SECTION INTROS / OUTROS
   ========================================================= */
.services__intro, .work__intro, .proof__intro, .process__intro, .pricing__intro, .faq__intro { max-width: 42rem; margin-inline: auto; text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.services__lead, .pricing__lead, .contact__lead { color: hsl(var(--text-dim)); max-width: 34rem; }

/* closing CTA band reused after Work, Pricing and About */
.section-cta {
  text-align: center; max-width: 30rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid hsl(var(--border)); display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
}
.section-cta p { color: hsl(var(--text)); font-size: 0.98rem; margin: 0; }

/* =========================================================
   SERVICES CONSTELLATION
   ========================================================= */
.constellation { position: relative; max-width: 64rem; margin: 0 auto clamp(3rem, 6vw, 4rem); aspect-ratio: 1000/620; }
.constellation__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constellation__lines path { fill: none; stroke: hsl(var(--border-strong)); stroke-width: 1; opacity: 0.5; transition: stroke var(--dur-2), opacity var(--dur-2), stroke-width var(--dur-2); }
.constellation__lines path.is-active { stroke: hsl(var(--accent-bright)); opacity: 1; stroke-width: 1.6; }

.constellation__hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: hsl(var(--surface-2)); border: 1px solid hsl(var(--border-strong)); box-shadow: 0 0 40px hsl(var(--accent) / 0.25);
}

.node-card {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: clamp(150px, 20vw, 200px); text-align: left; padding: 1.1rem 1.2rem; border-radius: var(--r-lg);
  background: hsl(var(--surface) / 0.85); border: 1px solid hsl(var(--border)); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 0.35rem; cursor: pointer; text-decoration: none; color: inherit;
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.node-card:active { transform: translate(-50%, -50%) scale(0.97); }
.node-card__icon { width: 34px; height: 34px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; background: hsl(var(--accent) / 0.14); color: hsl(var(--accent-bright)); margin-bottom: 0.3rem; }
.node-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: hsl(var(--text)); }
.node-card__price { font-family: var(--font-mono); font-size: 0.7rem; color: hsl(var(--accent-bright)); }
.node-card__desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.2s var(--ease), opacity 0.2s var(--ease); }
.node-card__desc-inner { overflow: hidden; font-size: 0.78rem; color: hsl(var(--text-faint)); }
.node-card__more { display: inline-block; margin-top: 0.3rem; color: hsl(var(--accent-bright)); font-weight: 600; }
.node-card.is-active, .node-card:focus-visible {
  border-color: hsl(var(--accent-bright) / 0.6); background: hsl(var(--surface-2) / 0.95);
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 20px 50px -20px hsl(0 0% 0% / 0.6), 0 0 0 1px hsl(var(--accent) / 0.2);
}
.node-card.is-active .node-card__desc, .node-card:focus-visible .node-card__desc { grid-template-rows: 1fr; opacity: 1; }
.node-card.is-dim { opacity: 0.35; }
@media (hover: hover) and (pointer: fine) {
  .node-card:hover {
    border-color: hsl(var(--accent-bright) / 0.6); background: hsl(var(--surface-2) / 0.95);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 20px 50px -20px hsl(0 0% 0% / 0.6), 0 0 0 1px hsl(var(--accent) / 0.2);
  }
  .node-card:hover .node-card__desc { grid-template-rows: 1fr; opacity: 1; }
}

/* =========================================================
   WORK / PORTFOLIO — interactive browser-window mockups
   ========================================================= */
.browser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; max-width: 80rem; margin-inline: auto; }
.browser-card {
  position: relative; display: flex; flex-direction: column; text-align: left; isolation: isolate;
  border-radius: var(--r-xl); overflow: hidden; background: hsl(var(--surface)); border: 1px solid hsl(var(--border));
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  /* auto-fit collapses empty tracks on a trailing partial row, which
     stretches a lone last card to the full grid width instead of
     matching its row-mates. Capping the card's own width (with
     margin-inline: auto to center it in its track) keeps every card
     the same size regardless of how many land in the final row —
     harmless on full rows since the cap sits right at their natural
     width, and never engages on single-column mobile. */
  max-width: 26rem; margin-inline: auto; width: 100%;
}
.browser-card:active { transform: scale(0.98); }
.browser-card:focus-visible { border-color: hsl(var(--accent-bright) / 0.45); box-shadow: 0 30px 60px -25px hsl(0 0% 0% / 0.6); }
.browser-card::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.35s var(--ease);
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), hsl(var(--accent-bright) / 0.16), transparent 70%);
}
@media (hover: hover) and (pointer: fine) {
  .browser-card:hover { border-color: hsl(var(--accent-bright) / 0.45); box-shadow: 0 30px 60px -25px hsl(0 0% 0% / 0.6); }
  .browser-card:hover::after { opacity: 1; }
}

.browser-card__chrome { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.8rem; background: hsl(var(--bg-soft)); border-bottom: 1px solid hsl(var(--border)); }
.browser-card__dots { display: flex; gap: 5px; flex-shrink: 0; }
.browser-card__dots span { width: 8px; height: 8px; border-radius: 50%; }
.browser-card__dots span:nth-child(1) { background: #ff5f57; }
.browser-card__dots span:nth-child(2) { background: #febc2e; }
.browser-card__dots span:nth-child(3) { background: #28c840; }
.browser-card__url {
  flex: 1; display: flex; align-items: center; gap: 0.35rem; min-width: 0;
  font-family: var(--font-mono); font-size: 0.68rem; color: hsl(var(--text-faint));
  background: hsl(var(--surface-2)); padding: 0.3rem 0.6rem; border-radius: var(--r-full);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-card__badge { display: flex; align-items: center; gap: 0.3rem; font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: hsl(var(--accent-bright)); flex-shrink: 0; }
.browser-card__badge span { width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--accent-bright)); box-shadow: 0 0 6px hsl(var(--accent-bright) / 0.9); }
.browser-card__badge--video { color: hsl(var(--violet)); }
.browser-card__badge--video span { background: hsl(var(--violet)); box-shadow: 0 0 6px hsl(var(--violet) / 0.9); }

.browser-card__viewport { position: relative; aspect-ratio: 16/10; overflow: hidden; background: hsl(var(--bg-soft)); }
.browser-card__viewport video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-soft); }
.browser-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: auto; width: 52px; height: 52px;
  border-radius: 50%; background: hsl(0 0% 100% / 0.14); backdrop-filter: blur(6px); color: #fff;
  opacity: 0; transform: scale(0.8); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .browser-card:hover .browser-card__viewport video { transform: scale(1.045); }
  .browser-card:hover .browser-card__play { opacity: 1; transform: scale(1); }
}

.browser-card__meta { padding: 1.15rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; }
.browser-card__meta h3 { display: flex; align-items: center; gap: 0.4rem; font-size: 1.02rem; }
.browser-card__meta h3 svg { opacity: 0; transform: translate(-3px, 3px); transition: opacity 0.25s, transform 0.25s; color: hsl(var(--accent-bright)); flex-shrink: 0; }
.browser-card:focus-visible .browser-card__meta h3 svg { opacity: 1; transform: translate(0, 0); }
@media (hover: hover) and (pointer: fine) {
  .browser-card:hover .browser-card__meta h3 svg { opacity: 1; transform: translate(0, 0); }
}
.browser-card__meta p { font-size: 0.85rem; margin: 0; }

/* ---------- video showcase: "never shown before" reel ---------- */
.showcase__intro { max-width: 80rem; margin: clamp(3.5rem, 7vw, 5rem) auto 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.showcase__intro h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; max-width: 80rem; margin-inline: auto; }
.showcase-card {
  position: relative; display: block; aspect-ratio: 9/16; max-width: 260px; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid hsl(var(--border)); background: hsl(var(--surface));
  transition: border-color 0.3s var(--ease);
}
.showcase-card:active { transform: scale(0.98); }
.showcase-card:focus-visible { border-color: hsl(var(--accent-bright) / 0.5); }
.showcase-card video { width: 100%; height: 100%; object-fit: cover; }
.showcase-card__play {
  position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: hsl(0 0% 100% / 0.14); backdrop-filter: blur(6px); color: #fff;
  opacity: 0; transform: scale(0.8); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .showcase-card:hover { border-color: hsl(var(--accent-bright) / 0.5); }
  .showcase-card:hover .showcase-card__play { opacity: 1; transform: scale(1); }
}

.video-modal {
  position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 2rem;
  background: hsl(var(--bg) / 0.92); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__frame {
  max-width: 90vw; max-height: 85vh; border-radius: var(--r-xl); overflow: hidden; border: 1px solid hsl(var(--border-strong));
  background: #000; box-shadow: 0 40px 100px -30px hsl(0 0% 0% / 0.7);
  transform: scale(0.96); transition: transform 0.3s var(--ease);
}
.video-modal.is-open .video-modal__frame { transform: scale(1); }
.video-modal__frame video { display: block; max-width: 90vw; max-height: 85vh; width: auto; height: auto; }
.video-modal__close {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 42px; height: 42px; border-radius: 50%;
  background: hsl(var(--surface)); border: 1px solid hsl(var(--border-strong)); color: hsl(var(--text));
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s;
}
.video-modal__close:active { transform: scale(0.9) rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .video-modal__close:hover { background: hsl(var(--surface-2)); transform: rotate(90deg); }
}

/* =========================================================
   PROOF / TESTIMONIALS
   ========================================================= */
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 72rem; margin: 0 auto clamp(3.5rem, 6vw, 5rem); position: relative; z-index: 1; }

/* ---------- wa-mock: a small living WhatsApp-style card, not a screenshot ---------- */
.wa-mock {
  display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; cursor: pointer;
  background: hsl(var(--surface)); border: 1px solid hsl(var(--border));
  opacity: 0; transform: translateY(50px) scale(0.96); transition: opacity 0.8s var(--ease), transform 0.4s var(--ease), border-color var(--dur-1);
}
.wa-mock.is-in { opacity: 1; transform: translateY(0) scale(1); }
@media (hover: hover) and (pointer: fine) {
  .wa-mock.is-in:hover { transform: translateY(-4px); border-color: hsl(var(--accent-bright) / 0.4); }
}

.wa-mock__bar { display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem 1.1rem; background: linear-gradient(120deg, hsl(var(--accent-deep)), hsl(var(--accent))); }
.wa-mock__avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: #04120d;
  background: hsl(var(--wa-hue, 166) 70% 75%);
}
.wa-mock__who { display: flex; flex-direction: column; color: #fff; line-height: 1.3; }
.wa-mock__who strong { font-size: 0.86rem; font-weight: 600; }
.wa-mock__who small { display: flex; align-items: center; gap: 0.35rem; font-size: 0.68rem; opacity: 0.85; }
.wa-mock__dot { width: 6px; height: 6px; border-radius: 50%; background: #7cffb2; box-shadow: 0 0 6px #7cffb2; }

.wa-mock__body {
  flex: 1; min-height: 6.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; padding: 1.1rem 1.1rem;
  background: linear-gradient(hsl(var(--bg-soft) / 0.55), hsl(var(--bg-soft) / 0.72)), url("whatsapp-wallpaper.jpg");
  background-size: 220px auto; background-repeat: repeat;
}
.wa-mock__bubble {
  position: relative; align-self: flex-start; max-width: 92%; background: hsl(0 0% 100% / 0.97); color: hsl(222 22% 15%);
  border-radius: 3px 14px 14px 14px; padding: 0.65rem 0.85rem 0.5rem; box-shadow: 0 10px 24px -12px hsl(0 0% 0% / 0.5);
}
.wa-mock__bubble--out {
  align-self: flex-end; background: hsl(148 62% 42% / 0.97); color: hsl(150 45% 10%);
  border-radius: 14px 3px 14px 14px;
}
.wa-mock__bubble--out .wa-mock__text { max-height: none; opacity: 1; }
.wa-mock__bubble--out .wa-mock__meta { opacity: 1; color: hsl(150 35% 22% / 0.8); }
.wa-mock__bubble--out .wa-mock__check { color: hsl(150 35% 15%); }
.wa-mock__typing { display: flex; gap: 4px; padding: 0.35rem 0.25rem; }
.wa-mock__typing i { width: 6px; height: 6px; border-radius: 50%; background: hsl(222 15% 55%); animation: waTyping 1.1s ease-in-out infinite; }
.wa-mock__typing i:nth-child(2) { animation-delay: 0.15s; }
.wa-mock__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes waTyping { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }

.wa-mock__text { margin: 0; font-size: 0.87rem; line-height: 1.45; font-weight: 500; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease); }
.wa-mock__meta { display: flex; align-items: center; justify-content: flex-end; gap: 0.3rem; margin-top: 0.25rem; font-size: 0.64rem; color: hsl(222 10% 45%); opacity: 0; transition: opacity 0.4s var(--ease) 0.1s; }
.wa-mock__check { color: #53bdeb; }

.wa-mock.is-typed .wa-mock__typing { display: none; }
.wa-mock.is-typed .wa-mock__text { max-height: 6rem; opacity: 1; }
.wa-mock.is-typed .wa-mock__meta { opacity: 1; }

.wa-mock__foot { display: flex; flex-direction: column; gap: 0.65rem; padding: 0.9rem 1.1rem 1.05rem; }
.wa-mock__foot-top { display: flex; align-items: center; justify-content: space-between; }
.wa-mock__stars { color: hsl(var(--amber)); letter-spacing: 0.12em; font-size: 0.82rem; }
.wa-mock__proof {
  display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 700; color: hsl(var(--accent-bright));
  padding-top: 0.6rem; border-top: 1px solid hsl(var(--border)); background: none; border-left: none; border-right: none; border-bottom: none;
  cursor: pointer; font-family: inherit; text-decoration: none; transition: gap var(--dur-1), color var(--dur-1); width: 100%; text-align: left;
}
.wa-mock__proof:hover { gap: 0.55rem; color: hsl(var(--text)); }
.wa-mock__proof svg { flex-shrink: 0; transition: transform var(--dur-1) var(--ease); }
.wa-mock__proof:hover svg { transform: translateX(3px); }

.proof__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 64rem; margin-inline: auto; text-align: center; border-top: 1px solid hsl(var(--border)); padding-top: 2.5rem; }
.proof__stats span, .proof__stat-text { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: hsl(var(--text)); }
.proof__stats p { font-size: 0.82rem; margin-top: 0.4rem; }

/* =========================================================
   PROCESS
   ========================================================= */
.process__path { position: relative; max-width: 40rem; margin-inline: auto; display: flex; flex-direction: column; gap: 3.5rem; padding-left: 2.5rem; }
.process__line { position: absolute; left: 0; top: 0; width: 4px; height: 100%; overflow: visible; }
.process__line-track { stroke: hsl(var(--border)); stroke-width: 2; }
.process__line-fill { stroke: hsl(var(--accent-bright)); stroke-width: 2; stroke-dasharray: 800; stroke-dashoffset: 800; }
.process__step { position: relative; opacity: 0.3; transform: translateX(-6px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.process__step.is-active { opacity: 1; transform: translateX(0); }
.process__step::before { content: ""; position: absolute; left: -2.5rem; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: hsl(var(--border-strong)); transition: background var(--dur-2), box-shadow var(--dur-2); }
.process__step.is-active::before { background: hsl(var(--accent-bright)); box-shadow: 0 0 0 5px hsl(var(--accent) / 0.18); }
.process__num { font-family: var(--font-mono); color: hsl(var(--text-faint)); font-size: 0.8rem; }
.process__step h3 { margin-top: 0.3rem; }
.process__step p { margin-top: 0.4rem; max-width: 26rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 80rem; margin-inline: auto; }
.about__media-frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid hsl(var(--border-strong)); aspect-ratio: 4/5; }
.about__media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about__content { display: flex; flex-direction: column; gap: 1.1rem; }
.pull-quote { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); color: hsl(var(--text)); font-weight: 500; line-height: 1.4; }
.about__cta { grid-column: 1 / -1; margin-top: clamp(1rem, 3vw, 1.5rem); }

/* =========================================================
   PRICING
   ========================================================= */
.price-card {
  padding: 1.8rem; border-radius: var(--r-lg); border: 1px solid hsl(var(--border)); background: hsl(var(--surface));
  transform-style: preserve-3d; transition: border-color var(--dur-2);
}
.price-card:active { transform: scale(0.98); }
.price-card--highlight { border-color: hsl(var(--accent) / 0.5); background: linear-gradient(160deg, hsl(var(--surface-2)), hsl(var(--accent) / 0.08)); }
.price-card__label { font-size: 0.85rem; color: hsl(var(--text-dim)); margin-bottom: 0.6rem; }
.price-card__value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: hsl(var(--text)); }
.price-card__value span { font-size: 1rem; color: hsl(var(--text-faint)); font-weight: 500; }
.price-card__desc { margin-top: 0.6rem; font-size: 0.85rem; }

/* ---------- tiered pricing strategy (diensten-prijzen) ---------- */
.pricing-anchor {
  text-align: center; max-width: 38rem; margin: 0 auto clamp(2rem, 4vw, 3rem); font-size: 0.95rem;
  color: hsl(var(--text-dim)); padding: 0.85rem 1.25rem; border-radius: var(--r-full);
  border: 1px solid hsl(var(--border)); background: hsl(var(--surface) / 0.5);
}
.pricing-anchor strong { color: hsl(var(--text)); }
.tier-group { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.tier-group__label { text-align: center; font-size: 1.05rem; color: hsl(var(--text-dim)); margin-bottom: 1.5rem; font-weight: 600; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 68rem; margin-inline: auto; align-items: stretch; }
.tier-card {
  position: relative; padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid hsl(var(--border));
  background: hsl(var(--surface) / 0.6); display: flex; flex-direction: column;
  transform-style: preserve-3d; transition: border-color var(--dur-2), transform var(--dur-2) var(--ease);
}
.tier-card--highlight {
  border-color: hsl(var(--accent) / 0.55); background: linear-gradient(160deg, hsl(var(--surface-2)), hsl(var(--accent) / 0.1));
  transform: scale(1.03); box-shadow: 0 25px 50px -25px hsl(var(--accent) / 0.35);
}
@media (hover: hover) and (pointer: fine) {
  .tier-card:hover { border-color: hsl(var(--accent-bright) / 0.5); }
}
.tier-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: hsl(var(--accent)); color: #04120d; font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.9rem; border-radius: var(--r-full);
}
.tier-card__name { font-size: 0.85rem; color: hsl(var(--text-dim)); font-weight: 600; }
.tier-card__price { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; color: hsl(var(--text)); margin-top: 0.5rem; }
.tier-card__price span { font-size: 0.95rem; color: hsl(var(--text-faint)); font-weight: 500; }
.tier-card__day { font-size: 0.78rem; color: hsl(var(--text-faint)); font-family: var(--font-mono); margin-top: 0.3rem; }
.tier-checklist { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.tier-checklist li { position: relative; padding-left: 1.5rem; font-size: 0.86rem; color: hsl(var(--text-dim)); }
.tier-checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem; width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: hsl(var(--accent) / 0.18); box-shadow: inset 0 0 0 1px hsl(var(--accent) / 0.4);
}
.tier-checklist li::after {
  content: ""; position: absolute; left: 0.24rem; top: 0.58rem; width: 0.42rem; height: 0.26rem;
  border-left: 1.6px solid hsl(var(--accent-bright)); border-bottom: 1.6px solid hsl(var(--accent-bright)); transform: rotate(-45deg);
}
.pricing-guarantee, .pricing-scarcity {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem; text-align: center; max-width: 32rem;
  margin: 0 auto 0.85rem; font-size: 0.88rem; color: hsl(var(--text-dim));
}
.pricing-guarantee svg, .pricing-scarcity svg { flex-shrink: 0; color: hsl(var(--accent-bright)); }
.bundle-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  max-width: 68rem; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 1.75rem 2rem; border-radius: var(--r-lg);
  border: 1px solid hsl(var(--violet) / 0.35); background: linear-gradient(120deg, hsl(var(--violet) / 0.1), hsl(var(--accent) / 0.08));
}
.bundle-card h3 { margin: 0.4rem 0 0.3rem; font-size: 1.15rem; }
.bundle-card p { margin: 0; font-size: 0.9rem; color: hsl(var(--text-dim)); }

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; max-width: 26rem; }
  .tier-card--highlight { transform: none; order: -1; }
  .bundle-card { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__list { max-width: 42rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { border: 1px solid hsl(var(--border)); border-radius: var(--r-md); overflow: hidden; background: hsl(var(--surface) / 0.6); }
.faq-item__trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; text-align: left; font-weight: 500; gap: 1rem; }
.faq-item__trigger:active { transform: scale(0.98); }
.faq-item__trigger i { width: 9px; height: 9px; border-right: 1.5px solid hsl(var(--text-faint)); border-bottom: 1.5px solid hsl(var(--text-faint)); transform: rotate(45deg); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item.is-open .faq-item__trigger i { transform: rotate(225deg); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.faq-item__panel > div { overflow: hidden; min-height: 0; }
.faq-item__panel > div > p { padding: 0 1.3rem 1.2rem; margin: 0; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__inner { max-width: 40rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.contact__form { width: 100%; text-align: left; margin-top: 1.5rem; padding: 2rem; border-radius: var(--r-xl); background: hsl(var(--surface) / 0.7); border: 1px solid hsl(var(--border)); backdrop-filter: blur(12px); transition: opacity 0.3s var(--ease); }
.contact__form.is-submitting { opacity: 0.5; pointer-events: none; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin-bottom: 1.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.78rem; color: hsl(var(--text-faint)); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: var(--r-sm); border: 1px solid hsl(var(--border-strong));
  background: hsl(var(--bg-soft)); color: hsl(var(--text)); font-family: inherit; font-size: 0.92rem;
  transition: border-color var(--dur-1);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: hsl(var(--accent-bright)); }
.field textarea { min-height: 100px; resize: vertical; }
.form-status { margin-top: 1rem; font-size: 0.85rem; min-height: 1.2em; color: hsl(var(--text-faint)); opacity: 0; transition: opacity 0.3s var(--ease); }
.form-status.is-success { color: hsl(var(--accent-bright)); opacity: 1; }
.contact__direct { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; font-size: 0.85rem; color: hsl(var(--text-faint)); }
.contact__direct a:hover { color: hsl(var(--accent-bright)); }

/* =========================================================
   DEMO FLOW (interactive demo request)
   ========================================================= */
.demo-flow { min-height: calc(100svh - 4rem); display: flex; align-items: center; }
.demo-flow__inner { width: 100%; max-width: 46rem; margin-inline: auto; }
.demo-flow__topbar { margin-bottom: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
.demo-flow__topbar-row { display: flex; align-items: center; gap: 1.25rem; }
.demo-flow__back { display: flex; align-items: center; gap: 0.4rem; color: hsl(var(--text-faint)); font-size: 0.85rem; flex-shrink: 0; transition: color var(--dur-1), transform var(--dur-1); }
.demo-flow__back:hover { color: hsl(var(--text)); transform: translateX(-2px); }
.demo-flow__progress { flex: 1; height: 4px; border-radius: var(--r-full); background: hsl(var(--border)); overflow: hidden; }
.demo-flow__progress-bar { display: block; position: relative; height: 100%; width: 0%; background: linear-gradient(90deg, hsl(var(--accent-deep)), hsl(var(--accent-bright))); border-radius: inherit; transition: width 0.45s var(--ease); overflow: hidden; }
.demo-flow__progress-bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, hsl(0 0% 100% / 0.6) 50%, transparent 70%);
  background-size: 220% 100%; animation: demoProgressShine 2.4s ease-in-out infinite;
}
@keyframes demoProgressShine { 0% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.demo-flow__step-label { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.78rem; color: hsl(var(--text-faint)); white-space: nowrap; }
.demo-flow__meta { margin-top: 0.9rem; display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: hsl(var(--text-faint)); }
.demo-flow__meta strong { color: hsl(var(--accent-bright)); font-weight: 600; }

.demo-step__hype {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.85rem; border-radius: var(--r-full);
  background: hsl(var(--accent) / 0.12); color: hsl(var(--accent-bright)); font-size: 0.78rem; font-weight: 600;
  margin-bottom: 0.9rem; opacity: 0; animation: demoHypeIn 0.45s var(--ease) forwards; animation-delay: 0.05s;
}
@keyframes demoHypeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.demo-flow__stage { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.demo-step { animation: demoStepIn 0.5s var(--ease); }
.demo-step.is-leaving { animation: demoStepOut 0.22s var(--ease) forwards; }
.demo-step--back { animation: demoStepInBack 0.5s var(--ease); }
.demo-step.is-leaving-back { animation: demoStepOutBack 0.22s var(--ease) forwards; }
@keyframes demoStepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes demoStepOut { to { opacity: 0; transform: translateX(-20px); } }
@keyframes demoStepInBack { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes demoStepOutBack { to { opacity: 0; transform: translateX(20px); } }

.demo-style-flash {
  position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 1;
  clip-path: circle(0% at var(--fx, 50%) var(--fy, 50%));
  transition: clip-path 0.5s var(--ease);
}
.demo-style-flash.is-growing { clip-path: circle(140% at var(--fx, 50%) var(--fy, 50%)); }
.demo-style-flash.is-fading { opacity: 0; transition: opacity 0.4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .demo-style-flash { display: none; } }
.demo-step__title { font-size: clamp(1.65rem, 1.35rem + 1.3vw, 2.4rem); max-width: 32rem; color: hsl(var(--text)); }
.demo-step__sub { color: hsl(var(--text-dim)); margin-top: 0.65rem; max-width: 30rem; }

.demo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.demo-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1.75rem 1rem; border-radius: var(--r-lg); border: 1px solid hsl(var(--border-strong)); background: hsl(var(--surface) / 0.7);
  backdrop-filter: blur(8px); text-align: center; transition: transform var(--dur-1) var(--ease), border-color var(--dur-1), background var(--dur-1);
  opacity: 0; animation: demoCardIn 0.4s var(--ease) forwards;
}
.demo-card:active { transform: translateY(-2px) scale(0.98); }
.demo-card:focus-visible { border-color: hsl(var(--accent) / 0.5); background: hsl(var(--surface-2)); }
.demo-card__icon {
  width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  background: linear-gradient(135deg, hsl(var(--accent) / 0.16), hsl(var(--accent-bright) / 0.2)); color: hsl(var(--accent-bright));
  transition: transform var(--dur-2) var(--ease), border-radius var(--dur-2) var(--ease);
}
.demo-card__label { font-weight: 600; font-size: 0.95rem; color: hsl(var(--text)); }
.demo-card.is-selected { border-color: hsl(var(--accent)); background: hsl(var(--accent) / 0.12); }
.demo-card.is-selected .demo-card__icon { border-radius: 50%; transform: scale(1.06) rotate(-4deg); }
.demo-card__check { position: absolute; top: 0.6rem; right: 0.6rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: hsl(var(--accent)); color: #04120d; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.5); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.demo-card.is-selected .demo-card__check { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .demo-card:hover { transform: translateY(-4px) scale(1.02); border-color: hsl(var(--accent) / 0.5); background: hsl(var(--surface-2)); }
  .demo-card:hover .demo-card__icon { transform: rotate(-8deg) scale(1.1); border-radius: 50% 50% 60% 40% / 55% 45% 55% 45%; }
}

.demo-card--1 .demo-card__icon { background: linear-gradient(135deg, hsl(var(--violet) / 0.18), hsl(var(--violet) / 0.28)); color: hsl(var(--violet)); }
.demo-card--2 .demo-card__icon { background: linear-gradient(135deg, hsl(var(--amber) / 0.18), hsl(var(--amber) / 0.28)); color: hsl(var(--amber)); }
.demo-card--3 .demo-card__icon { background: linear-gradient(135deg, hsl(210 75% 62% / 0.18), hsl(210 75% 68% / 0.26)); color: hsl(210 80% 68%); }
.demo-card--4 .demo-card__icon { background: linear-gradient(135deg, hsl(var(--accent-deep) / 0.3), hsl(var(--accent) / 0.22)); color: hsl(var(--accent)); }

@keyframes demoCardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.demo-style-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.1rem; margin-top: 2.25rem; }
.demo-style-card {
  border-radius: var(--r-lg); border: 1px solid hsl(var(--border-strong)); overflow: hidden; text-align: left;
  transition: transform var(--dur-1) var(--ease), border-color var(--dur-1); background: hsl(var(--surface) / 0.7);
  opacity: 0; animation: demoCardIn 0.4s var(--ease) forwards;
}
.demo-style-card:active { transform: scale(0.98); }
.demo-style-card:focus-visible { border-color: hsl(var(--accent) / 0.5); }
.demo-style-card.is-selected { border-color: hsl(var(--accent)); }
@media (hover: hover) and (pointer: fine) {
  .demo-style-card:hover { transform: translateY(-4px); border-color: hsl(var(--accent) / 0.5); }
}
.demo-style-card__preview { height: 6.5rem; position: relative; padding: 0.65rem 0.85rem; display: flex; flex-direction: column; gap: 0.5rem; }
.demo-style-card__label { padding: 0.85rem 1rem; font-weight: 600; font-size: 0.9rem; color: hsl(var(--text)); }

.dsc__nav { display: flex; gap: 4px; flex-shrink: 0; }
.dsc__nav span { width: 5px; height: 5px; border-radius: 50%; }
.dsc__bar { display: block; height: 7px; border-radius: 3px; }
.dsc__bar--1 { width: 78%; }
.dsc__bar--2 { width: 52%; }
.dsc__btn { display: block; width: 34px; height: 12px; margin-top: auto; border-radius: 3px; }

.demo-style-card__preview--modern { background: linear-gradient(150deg, #0a0a0a, #1c1c1c); }
.demo-style-card__preview--modern .dsc__nav span { background: hsl(0 0% 100% / 0.35); }
.demo-style-card__preview--modern .dsc__bar--1 { background: hsl(0 0% 100% / 0.92); width: 70%; }
.demo-style-card__preview--modern .dsc__bar--2 { background: hsl(0 0% 100% / 0.4); }
.demo-style-card__preview--modern .dsc__btn { background: hsl(var(--accent-bright)); border-radius: 3px; }

.demo-style-card__preview--luxe { background: linear-gradient(150deg, #17140d, #2a2013); }
.demo-style-card__preview--luxe .dsc__nav span { background: #d4af6a; opacity: 0.5; }
.demo-style-card__preview--luxe .dsc__bar--1 { background: #d4af6a; width: 60%; }
.demo-style-card__preview--luxe .dsc__bar--2 { background: hsl(0 0% 100% / 0.3); width: 40%; }
.demo-style-card__preview--luxe .dsc__btn { background: transparent; border: 1px solid #d4af6a; width: 38px; }

.demo-style-card__preview--minimalistisch { background: #f7f6f3; gap: 0.65rem; }
.demo-style-card__preview--minimalistisch .dsc__nav span { background: #cfcdc6; }
.demo-style-card__preview--minimalistisch .dsc__bar--1 { background: #1a1a1a; width: 55%; height: 6px; }
.demo-style-card__preview--minimalistisch .dsc__bar--2 { background: #cfcdc6; width: 30%; height: 4px; }
.demo-style-card__preview--minimalistisch .dsc__btn { background: transparent; border-bottom: 1px solid #1a1a1a; width: 30px; height: 8px; border-radius: 0; }

.demo-style-card__preview--zakelijk { background: linear-gradient(150deg, #0d1b2a, #1b2f47); }
.demo-style-card__preview--zakelijk .dsc__nav span { background: hsl(0 0% 100% / 0.4); border-radius: 2px; }
.demo-style-card__preview--zakelijk .dsc__bar--1 { background: hsl(0 0% 100% / 0.85); width: 65%; }
.demo-style-card__preview--zakelijk .dsc__bar--2 { background: hsl(0 0% 100% / 0.35); }
.demo-style-card__preview--zakelijk .dsc__btn { background: transparent; border: 1px solid hsl(0 0% 100% / 0.6); border-radius: 2px; }

.demo-style-card__preview--speels { background: linear-gradient(150deg, hsl(var(--accent-deep) / 0.85), hsl(var(--accent-bright) / 0.75)); }
.demo-style-card__preview--speels .dsc__nav span { background: #fff; border-radius: 50%; }
.demo-style-card__preview--speels .dsc__bar--1 { background: #fff; width: 68%; border-radius: 6px; }
.demo-style-card__preview--speels .dsc__bar--2 { background: hsl(0 0% 100% / 0.55); width: 45%; border-radius: 6px; }
.demo-style-card__preview--speels .dsc__btn { background: #fff; border-radius: 999px; }

.demo-input-group { margin-top: 2.25rem; max-width: 26rem; }
.demo-input-group + .demo-input-group { margin-top: 1.1rem; }
.demo-input-group label { display: block; font-size: 0.85rem; color: hsl(var(--text-dim)); margin-bottom: 0.5rem; }
.demo-input, .demo-textarea { width: 100%; padding: 1rem 1.25rem; border-radius: var(--r-md); border: 1px solid hsl(var(--border-strong)); background: hsl(var(--surface-2)); color: hsl(var(--text)); font-size: 1.05rem; font-family: inherit; }
.demo-input:focus, .demo-textarea:focus { outline: 2px solid hsl(var(--accent-bright)); outline-offset: 2px; }
.demo-textarea { min-height: 7rem; resize: vertical; font-size: 0.98rem; }

.demo-continue { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.demo-continue .btn[disabled] { opacity: 0.35; pointer-events: none; }
.demo-skip { font-size: 0.85rem; color: hsl(var(--text-faint)); text-decoration: underline; text-decoration-color: hsl(var(--border-strong)); text-underline-offset: 3px; transition: color var(--dur-1); background: none; border: none; cursor: pointer; font-family: inherit; }
.demo-skip:hover { color: hsl(var(--text)); }

.demo-trust-note { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.8rem; color: hsl(var(--text-faint)); max-width: 26rem; }
.demo-trust-note svg { flex-shrink: 0; color: hsl(var(--accent-bright)); }

.demo-end__intro { max-width: 30rem; }
.demo-end__summary { margin-top: 2.25rem; max-width: 28rem; }
.demo-end__cta { margin-top: 1.75rem; max-width: 26rem; }
.demo-end__cta .btn { width: 100%; height: 3.75rem; font-size: 1.02rem; }

.sami-chat-summary { margin-top: 0.4rem; border: 1px solid hsl(var(--border)); border-radius: var(--r-md); padding: 0.85rem 1rem; background: hsl(var(--surface) / 0.7); }
.sami-chat-summary__row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; padding-block: 0.3rem; border-bottom: 1px solid hsl(var(--border)); }
.sami-chat-summary__row:last-child { border-bottom: none; }
.sami-chat-summary__row span { color: hsl(var(--text-faint)); flex-shrink: 0; }
.sami-chat-summary__row strong { text-align: right; font-weight: 600; color: hsl(var(--text)); }

.demo-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 800; overflow: hidden; }
.demo-confetti span { position: absolute; top: -12px; width: 8px; height: 14px; opacity: 0.9; animation: demoConfettiFall linear forwards; border-radius: 2px; }
@keyframes demoConfettiFall { to { transform: translateY(100vh) rotate(540deg); opacity: 0; } }

.demo-mini-confetti {
  position: fixed; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; z-index: 700;
  animation: demoMiniPop ease-out forwards;
}
@keyframes demoMiniPop {
  0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.4) rotate(220deg); opacity: 0; }
}

@media (max-width: 640px) {
  .demo-cards { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; }
  .demo-style-cards { grid-template-columns: repeat(2, 1fr); }
  .demo-card { padding: 1.25rem 0.75rem; }
}

@media (prefers-reduced-motion: reduce) { .demo-step, .demo-confetti span, .demo-mini-confetti, .demo-flow__progress-bar::after { animation: none; } }

/* =========================================================
   LEGAL PAGES (privacy, terms)
   ========================================================= */
.legal-hero { max-width: 40rem; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center; position: relative; }
.legal-hero h1 { margin-bottom: 1rem; }
.legal-hero p { max-width: 30rem; margin-inline: auto; }
.legal-meta { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: hsl(var(--text-faint)); }
.legal-meta span:not(:last-child)::after { content: "\2022"; margin-left: 0.6rem; color: hsl(var(--border-strong)); }

.legal-layout { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(2rem, 5vw, 4rem); max-width: 64rem; margin-inline: auto; align-items: start; }
.legal-toc { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 0.15rem; }
.legal-toc a {
  position: relative; padding: 0.55rem 0 0.55rem 1rem; font-size: 0.86rem; color: hsl(var(--text-faint));
  border-left: 1px solid hsl(var(--border)); transition: color var(--dur-1), border-color var(--dur-1);
}
.legal-toc a::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: hsl(var(--accent-bright));
  transform: scaleY(0); transform-origin: top; transition: transform var(--dur-2) var(--ease);
}
.legal-toc a:hover { color: hsl(var(--text)); }
.legal-toc a.is-active { color: hsl(var(--text)); font-weight: 600; }
.legal-toc a.is-active::before { transform: scaleY(1); }

.legal-content { display: flex; flex-direction: column; gap: 2.75rem; max-width: 38rem; }
.legal-block { scroll-margin-top: 6rem; padding-top: 0.5rem; border-top: 1px solid hsl(var(--border)); }
.legal-content > .legal-block:first-child { border-top: none; padding-top: 0; }
.legal-block h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.legal-block p { color: hsl(var(--text-dim)); }
.legal-block a { color: hsl(var(--accent-bright)); transition: color var(--dur-1); }
.legal-block a:hover { color: hsl(var(--text)); }

@media (max-width: 800px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 0.5rem; padding-bottom: 0.5rem; margin-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .legal-toc a { flex-shrink: 0; border-left: none; border-bottom: 2px solid hsl(var(--border)); padding: 0.5rem 0.2rem; white-space: nowrap; }
  .legal-toc a::before { left: 0; right: 0; top: auto; bottom: -2px; width: auto; height: 2px; transform: scaleX(0); }
  .legal-toc a.is-active::before { transform: scaleX(1); }
}

/* =========================================================
   SERVICE PAGES (dedicated dienst-landingspaginas)
   ========================================================= */
.service-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; max-width: 76rem; margin-inline: auto; }
.service-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.service-hero__content h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); max-width: 22ch; }
.service-hero__lead { font-size: 1.1rem; max-width: 32rem; }
.service-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.service-hero__visual { max-width: 26rem; margin-inline: auto; width: 100%; }
.service-hero__visual .wa-mock { margin-inline: auto; }

.service-intro { max-width: 42rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; display: flex; flex-direction: column; gap: 1rem; align-items: center; }

.service-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; max-width: 68rem; margin-inline: auto; }
.service-feature { padding: 1.6rem; border-radius: var(--r-lg); border: 1px solid hsl(var(--border)); background: hsl(var(--surface) / 0.6); }
.service-feature__icon { width: 2.75rem; height: 2.75rem; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, hsl(var(--accent) / 0.14), hsl(var(--accent-bright) / 0.18)); color: hsl(var(--accent-bright)); margin-bottom: 1rem; }
.service-feature h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.service-feature p { font-size: 0.88rem; margin: 0; }
.service-feature__price { display: block; margin-top: 0.85rem; font-family: var(--font-mono); font-size: 0.8rem; color: hsl(var(--accent-bright)); }
.service-feature__more { display: inline-block; margin-top: 0.5rem; font-size: 0.8rem; font-weight: 600; color: hsl(var(--accent-bright)); }
a.service-feature { display: block; text-decoration: none; color: inherit; transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
a.service-feature:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  a.service-feature:hover { border-color: hsl(var(--accent-bright) / 0.5); background: hsl(var(--surface-2) / 0.7); }
}

.service-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 46rem; margin-inline: auto; }
.service-price { max-width: 22rem; margin: 0 auto clamp(2rem, 4vw, 2.5rem); }
.service-cross-link { text-align: center; margin-top: 1.5rem; font-size: 0.88rem; color: hsl(var(--text-faint)); }
.service-cross-link a { color: hsl(var(--accent-bright)); }
.service-cross-link a:hover { color: hsl(var(--text)); }

.price-card__link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.9rem; font-size: 0.8rem; font-weight: 600; color: hsl(var(--accent-bright)); transition: gap var(--dur-1); }
.price-card__link:hover { gap: 0.5rem; }

@media (max-width: 900px) {
  .service-hero { grid-template-columns: 1fr; text-align: center; }
  .service-hero__content { align-items: center; }
  .service-hero__actions { justify-content: center; }
  .service-proof { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER + WA FLOAT
   ========================================================= */
.foot { border-top: 1px solid hsl(var(--border)); padding: clamp(2.5rem, 5vw, 3.5rem) var(--edge) 2rem; position: relative; z-index: 1; }
.foot__grid { max-width: 80rem; margin: 0 auto clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot__brand { display: flex; flex-direction: column; gap: 1rem; max-width: 22rem; }
.foot__logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; color: hsl(var(--text)); }
.foot__logo img { display: block; height: 26px; width: auto; }
.foot__brand p { font-size: 0.85rem; margin: 0; }
.foot__socials { display: flex; gap: 0.6rem; }
.foot__socials a { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid hsl(var(--border-strong)); color: hsl(var(--text-dim)); transition: border-color 0.2s, color 0.2s; }
.foot__socials a:hover { border-color: hsl(var(--accent-bright) / 0.6); color: hsl(var(--accent-bright)); }
.foot h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: hsl(var(--text)); margin-bottom: 1rem; }
.foot nav ul, .foot__contact { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.85rem; }
.foot nav a, .foot__contact a { color: hsl(var(--text-faint)); transition: color 0.2s; }
.foot nav a:hover, .foot__contact a:hover { color: hsl(var(--accent-bright)); }
.foot__contact li { display: flex; align-items: center; gap: 0.5rem; color: hsl(var(--text-faint)); font-size: 0.85rem; }
.foot__contact a { display: flex; align-items: center; gap: 0.5rem; }
.foot__inner { max-width: 80rem; margin-inline: auto; padding-top: 1.5rem; border-top: 1px solid hsl(var(--border)); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.8rem; color: hsl(var(--text-faint)); }
.foot__inner a:hover { color: hsl(var(--accent-bright)); }
.foot__links { display: flex; gap: 1.25rem; }
@media (max-width: 700px) {
  .foot__grid { grid-template-columns: 1fr; }
}

.wa-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #04120d; isolation: isolate;
  background: linear-gradient(135deg, hsl(var(--accent-deep)), hsl(var(--accent-bright)));
  box-shadow: 0 14px 30px -12px hsl(var(--accent) / 0.7), 0 2px 10px hsl(0 0% 0% / 0.35);
  transition: transform var(--dur-1) var(--ease-soft), box-shadow var(--dur-1);
}
.wa-float__icon { width: 28px; height: 28px; }
.wa-float:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.08); box-shadow: 0 18px 38px -12px hsl(var(--accent) / 0.8), 0 2px 10px hsl(0 0% 0% / 0.4); }
}

/* =========================================================
   AI CHAT WIDGET
   ========================================================= */
.chat-float {
  position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 41; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #04120d; isolation: isolate;
  background: linear-gradient(135deg, hsl(var(--violet)), hsl(var(--accent-bright)));
  box-shadow: 0 14px 30px -12px hsl(var(--accent-bright) / 0.65), 0 2px 10px hsl(0 0% 0% / 0.35);
  transition: transform var(--dur-1) var(--ease-soft), box-shadow var(--dur-1), background var(--dur-1);
}
.chat-float__icon-open { width: 30px; height: 30px; }
.chat-float:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .chat-float:hover { transform: scale(1.08); box-shadow: 0 18px 38px -12px hsl(var(--accent-bright) / 0.75), 0 2px 10px hsl(0 0% 0% / 0.4); }
}
.chat-float__icon-close { display: none; position: absolute; color: #04120d; }
.chat-widget.is-open .chat-float { background: hsl(var(--accent-bright)); }
.chat-widget.is-open .chat-float__icon-open { display: none; }
.chat-widget.is-open .chat-float__icon-close { display: block; }
.chat-widget.is-open .chat-float__badge { display: none; }

.chat-float__badge {
  position: absolute; top: -3px; right: -3px; width: 19px; height: 19px; border-radius: 50%;
  background: hsl(4 80% 58%); color: #fff; font-size: 0.62rem; font-weight: 700; font-family: var(--font-mono);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px hsl(var(--bg));
}

.chat-tip {
  position: fixed; bottom: calc(1.5rem + 58px + 0.7rem); left: 1.5rem; z-index: 41; max-width: 230px;
  display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0.85rem 0.75rem 1rem;
  background: hsl(var(--surface-2)); border: 1px solid hsl(var(--border-strong)); border-radius: var(--r-lg);
  font-size: 0.84rem; color: hsl(var(--text)); box-shadow: 0 20px 45px -20px hsl(0 0% 0% / 0.65); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.95); transform-origin: bottom left;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.chat-tip.is-shown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-tip span { flex: 1; }
.chat-tip__close {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: hsl(var(--text-faint)); font-size: 1rem; line-height: 1; transition: background var(--dur-1), color var(--dur-1);
}
@media (hover: hover) and (pointer: fine) {
  .chat-tip__close:hover { background: hsl(var(--surface)); color: hsl(var(--text)); }
}

.chat-panel {
  position: fixed; bottom: calc(1.5rem + 58px + 0.8rem); left: 1.5rem; z-index: 41;
  width: min(380px, calc(100vw - 2rem)); height: min(560px, calc(100vh - 10rem));
  display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden;
  background: hsl(var(--surface) / 0.98); border: 1px solid hsl(var(--border-strong));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 70px -25px hsl(0 0% 0% / 0.75);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px) scale(0.96); transform-origin: bottom left;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.chat-widget.is-open .chat-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }

.chat-panel__header { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.1rem; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--bg-soft)); flex-shrink: 0; }
.chat-panel__title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.chat-panel__close { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: hsl(var(--text-dim)); transition: background var(--dur-1), transform var(--dur-1) var(--ease-soft); }
.chat-panel__close:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) {
  .chat-panel__close:hover { background: hsl(var(--surface-2)); color: hsl(var(--text)); }
}

.chat-panel__messages { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.chat-msg { max-width: 85%; padding: 0.6rem 0.85rem; border-radius: var(--r-md); font-size: 0.86rem; line-height: 1.5; word-wrap: break-word; }
.chat-msg--bot { align-self: flex-start; background: hsl(var(--surface-2)); color: hsl(var(--text)); border-bottom-left-radius: 0.25rem; }
.chat-msg--user { align-self: flex-end; background: hsl(var(--accent)); color: hsl(var(--bg)); border-bottom-right-radius: 0.25rem; }
.chat-msg--error { align-self: flex-start; background: hsl(0 70% 50% / 0.14); border: 1px solid hsl(0 70% 50% / 0.3); color: hsl(var(--text)); border-bottom-left-radius: 0.25rem; }
.chat-msg a { color: inherit; text-decoration: underline; }

.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 0.7rem 0.9rem; background: hsl(var(--surface-2)); border-radius: var(--r-md); border-bottom-left-radius: 0.25rem; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--text-faint)); animation: chatTyping 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTyping { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chat-panel__suggestions { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1.1rem 0.8rem; flex-shrink: 0; }
.chat-panel__suggestions button { font-size: 0.76rem; padding: 0.4rem 0.7rem; border-radius: var(--r-full); border: 1px solid hsl(var(--border-strong)); color: hsl(var(--text-dim)); transition: border-color var(--dur-1), color var(--dur-1), transform var(--dur-1) var(--ease-soft); }
.chat-panel__suggestions button:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .chat-panel__suggestions button:hover { border-color: hsl(var(--accent-bright) / 0.6); color: hsl(var(--text)); }
}

.chat-panel__form { display: flex; gap: 0.5rem; padding: 0.8rem; border-top: 1px solid hsl(var(--border)); flex-shrink: 0; }
.chat-panel__form input { flex: 1; background: hsl(var(--bg-soft)); border: 1px solid hsl(var(--border)); border-radius: var(--r-full); padding: 0.6rem 1rem; font-size: 0.85rem; color: hsl(var(--text)); transition: border-color var(--dur-1); }
.chat-panel__form input:focus { outline: none; border-color: hsl(var(--accent-bright) / 0.6); }
.chat-panel__send { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: hsl(var(--accent)); color: hsl(var(--bg)); flex-shrink: 0; transition: transform var(--dur-1) var(--ease-soft), opacity var(--dur-1); }
.chat-panel__send:active { transform: scale(0.9); }
.chat-panel__send:disabled { opacity: 0.4; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .chat-panel__send:hover { transform: scale(1.08); }
}

@media (max-width: 480px) {
  .chat-panel { width: 100vw; height: 100dvh; bottom: 0; left: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-panel { transition: opacity 0.15s linear, visibility 0.15s; transform: none !important; }
  .chat-typing span { animation: none; opacity: 0.7; }
  .chat-float:hover, .chat-panel__close:hover, .chat-panel__send:hover, .chat-panel__suggestions button:hover { transform: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .about { grid-template-columns: 1fr; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__stats { grid-template-columns: repeat(2, 1fr); }
  .constellation { aspect-ratio: 620/1000; }
  .node-card { width: clamp(130px, 40vw, 170px); padding: 0.85rem 0.9rem; }
  /* desktop --x/--y are tuned for the wide layout; pull the side columns
     inward so cards stay inside the viewport on the narrow portrait one */
  .node-card[data-node="automation"], .node-card[data-node="video"] { --x: 26% !important; }
  .node-card[data-node="webshop"], .node-card[data-node="branding"] { --x: 74% !important; }
  .node-card[data-node="website"] { --y: 10% !important; }
  .node-card[data-node="avatar"] { --y: 90% !important; }
}

@media (max-width: 640px) {
  .proof__stats { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .nav__status { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .text-shine, .hero__scroll-track i, .marquee__track, .mini-shard, .wa-mock__typing i, .nav__status-dot::before { animation: none !important; }
  .demo-card, .demo-style-card { animation: none !important; opacity: 1 !important; }
  .node-card:hover, .node-card.is-active, .node-card:focus-visible { transform: translate(-50%, -50%) !important; }
  .browser-card:hover .browser-card__viewport video,
  .demo-card:hover,
  .demo-style-card:hover,
  .wa-float:hover,
  .video-modal__close:hover { transform: none !important; }
}
