/* =========================================================
   V2R Digital — cinematic scroll site
   Design tokens ported from the reference build
   ========================================================= */
:root {
  --background: #0a0a0b;
  --foreground: #e4e4e7;
  --muted: #71717a;
  --accent: #2f79d4;
  --accent-rgb: 47, 121, 212;
  --accent-soft: rgba(47, 121, 212, 0.14);
  --card-bg: rgba(24, 24, 27, 0.55);
  --card-border: rgba(255, 255, 255, 0.08);
  --hud-line: rgba(255, 255, 255, 0.1);
  --zinc-300: #d4d4d8;
  --zinc-400: #9f9fa9;
  --zinc-500: #71717b;
  --font-sans: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  position: relative;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
canvas { display: block; }

/* Film grain overlay */
.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- shared primitives ---------- */
.accent { color: var(--accent); }

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.85);
  flex: none;
}
.dot--lg {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--foreground);
}
.brand__logo {
  display: block;
  height: 22px;
  width: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px -8px rgba(var(--accent-rgb), 0.25);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--foreground);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); }
.btn:active { transform: translateY(1px); }
.btn--md { gap: 8px; padding: 10px 20px; background: rgba(255, 255, 255, 0.06); }
.btn--md:hover { background: rgba(255, 255, 255, 0.12); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn__arrow { transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.card-surface {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
}
.site-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.site-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--zinc-400);
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--foreground); }

/* ---------- scroll stages ---------- */
.scroll-animation {
  position: relative;
  height: 400vh;
}
.scroll-animation--bordered {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--background);
}
.sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--background);
  will-change: transform;
  transform: translateZ(0);
}
.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: contents;
  transform: translateZ(0);
}
.stage-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stage-vignette--top {
  background: radial-gradient(120% 80% at 50% 10%, transparent 30%, rgba(10, 10, 11, 0.45) 70%, rgba(10, 10, 11, 0.85) 100%);
}
.stage-vignette--bottom {
  background: radial-gradient(120% 80% at 50% 90%, transparent 30%, rgba(10, 10, 11, 0.45) 70%, rgba(10, 10, 11, 0.85) 100%);
}

/* HUD corners */
.hud {
  position: absolute;
  pointer-events: none;
  color: var(--accent);
  line-height: 0;
}
.hud--tl { left: 24px; top: 96px; }
.hud--tr { right: 24px; top: 96px; }
.hud--bl { left: 24px; bottom: 56px; }
.hud--br { right: 24px; bottom: 56px; }

/* Hero copy */
.hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0 24px 96px;
  transition: opacity 80ms linear;
}
.hero-title {
  max-width: 14ch;
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--foreground);
}
.hero-lead {
  max-width: 42ch;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.625;
  color: var(--zinc-400);
}

.hero-reveal {
  position: absolute;
  left: 24px;
  bottom: 96px;
  z-index: 10;
  display: none;
  max-width: 58%;
  flex-direction: column;
  gap: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 80ms linear;
}
.hero-reveal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}
.hero-reveal__title {
  font-family: var(--font-sans);
  font-size: clamp(4rem, 9.5vw, 9rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--foreground);
}
.hero-reveal__sub {
  max-width: 36ch;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--zinc-400);
}

/* Telemetry */
.telemetry {
  position: absolute;
  top: 80px;
  z-index: 10;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.telemetry--left { left: 24px; gap: 8px; }
.telemetry--right { right: 24px; gap: 12px; }
.telemetry__line {
  width: 32px;
  height: 1px;
  background: rgba(var(--accent-rgb), 0.6);
}
.telemetry__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--zinc-400);
}
.telemetry__value {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.telemetry__value--seq { letter-spacing: 0.28em; }

/* Bottom progress bar */
.stage-footer {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 10;
  pointer-events: none;
}
.stage-progress {
  margin: 0 24px 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.stage-progress__fill {
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--accent);
  transition: transform 80ms linear;
}
.stage-footer__row {
  margin: 0 24px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--zinc-500);
}
.stage-footer__row span { white-space: nowrap; }

/* Quote / service cards */
.card-slot {
  position: absolute;
  z-index: 20;
  display: none;
  width: 420px;
  max-width: 90vw;
  pointer-events: none;
}
.card-slot--right { right: 24px; }
.card-slot--left { left: 24px; }
.card-slot--1 { top: 22%; }
.card-slot--1b { top: 24%; }
.card-slot--2 { top: 50%; transform: translateY(-50%); }
.card-slot--3 { bottom: 96px; }

.card-stack {
  position: absolute;
  inset: auto 0 auto 0;
  z-index: 20;
  pointer-events: none;
}
.card-stack--38 { top: 38%; }
.card-stack--36 { top: 36%; }
/* Cards overlap in the same spot instead of stacking vertically — only one
   is ever opaque at a time (their show/hide ranges don't overlap), so
   stacking them in flow would push the last one below the fold. */
.card-stack .code-card {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
}

.code-card {
  padding: 0;
  overflow: hidden;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.code-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.code-card__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--card-border);
}
.code-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex: none;
}
.code-dot--r { background: #ff5f56; }
.code-dot--y { background: #ffbd2e; }
.code-dot--g { background: #27c93f; }
.code-card__file {
  margin-left: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--zinc-500);
}
.code-card__body {
  margin: 0;
  padding: 18px 20px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--zinc-300);
  overflow-x: auto;
}
.tok-comment { color: var(--zinc-500); }
.tok-tag { color: var(--accent); }
.tok-num { color: var(--zinc-300); }
.tok-kw { color: #7aa2f7; }
.tok-var { color: var(--foreground); }
.tok-op { color: var(--zinc-500); }
.tok-str { color: var(--accent); }

/* Plain-language label — the actual takeaway, spelled out so it reads
   at a glance without parsing the code above it. */
.code-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--card-border);
}
.code-card__title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.code-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  white-space: nowrap;
}

.code-card--sm { transform: translateY(16px); }
.code-card--sm.is-visible { transform: translateY(0); }
.code-card--sm .code-card__bar { padding: 9px 14px; }
.code-card--sm .code-card__file { font-size: 10px; }
.code-card--sm .code-card__body { padding: 14px 16px 16px; font-size: 11.5px; line-height: 1.65; }
.code-card--sm .code-card__footer { padding: 10px 16px 14px; }
.code-card--sm .code-card__title { font-size: 13px; }
.code-card--sm .code-card__tag { font-size: 9px; letter-spacing: 0.16em; }

/* Loader overlay */
.loader {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--background);
  padding: 0 24px;
  transition: opacity 0.35s var(--ease-out);
}
.loader.is-done { opacity: 0; pointer-events: none; }
.loader__bar {
  width: 240px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.loader__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.15s var(--ease-out);
}
.loader__text {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--zinc-500);
}

/* Cinematic stage */
.cine-copy {
  position: absolute;
  right: 24px;
  top: 112px;
  z-index: 10;
  display: flex;
  max-width: 46ch;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  text-align: right;
  pointer-events: none;
}
.cine-copy__titles {
  position: relative;
  align-self: stretch;
}
.cine-title {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--foreground);
  transition: opacity 240ms ease-out;
}
.cine-title--overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.cine-next {
  position: absolute;
  right: 24px;
  bottom: 96px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 80ms linear;
}
.cine-next .btn { pointer-events: auto; }
.cine-next__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

/* ---------- systems ---------- */
.systems {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--background);
  padding: 96px 24px 112px;
}
.systems__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.systems__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.systems__left .btn { align-self: flex-start; }
.systems__title {
  max-width: 16ch;
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--foreground);
}
.systems__lead {
  max-width: 48ch;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.625;
  color: var(--zinc-400);
}
.systems__stats {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
}
.systems__stats > .reveal { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.stat__labels { display: flex; flex-direction: column; gap: 4px; }
.stat__name {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--zinc-500);
}
.stat__sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--zinc-400);
}
.stat__value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground);
  white-space: nowrap;
}

/* ---------- shared centered section head ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.section-head__title {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--foreground);
}
.section-head__lead {
  max-width: 46ch;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--zinc-400);
}

/* ---------- brand logo chip (white card so any logo colors stay legible) ---------- */
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 9px 14px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5);
}
.logo-chip img {
  display: block;
  height: 20px;
  width: auto;
}
.logo-chip--lg img { height: 26px; }

/* ---------- solutions (our own products) ---------- */
.solutions {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--background);
  padding: 40px 24px 80px;
}
.solutions__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.solution-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-4px);
}
.solution-card__shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  background: #000;
}
.solution-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.solution-card:hover .solution-card__shot img { transform: scale(1.04); }
.solution-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}
.solution-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.solution-card__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--zinc-400);
}
.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--foreground);
}
.solution-card__link .btn__arrow { transition: transform 0.2s; }
.solution-card:hover .solution-card__link .btn__arrow { transform: translate(2px, -2px); }

/* ---------- tech stack ---------- */
.techstack {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--background);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 40px 24px 80px;
}
.techstack__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.techstack__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.tech-pill {
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--card-border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--zinc-300);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.tech-pill:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  color: var(--foreground);
  transform: translateY(-2px);
}

/* ---------- process ---------- */
.process {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--background);
  padding: 80px 24px;
}
.process__inner {
  max-width: 1400px;
  margin: 0 auto;
}
.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.process-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
}
.process-card__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.14);
}
.process-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  margin-bottom: 20px;
}
.process-card__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 10px;
}
.process-card__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--zinc-400);
}

/* ---------- product pages (Cimobi, CustomerBack, cchurch, RotateZap) ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--zinc-400);
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }
.back-link svg { transform: scaleX(-1); }

.product-hero {
  padding: 140px 24px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.product-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.product-hero__lead {
  max-width: 62ch;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--zinc-400);
}
.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-hero__shot {
  margin-top: 8px;
  overflow: hidden;
  padding: 0;
}
.product-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
}

.product-section {
  padding: 64px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.product-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.product-section:last-of-type { border-bottom: none; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature-item {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  flex: none;
}
.feature-item__title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
}
.feature-item__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--zinc-400);
}

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
}
.audience-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.audience-card__text {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--foreground);
  max-width: 62ch;
}

.tech-pill--sm {
  padding: 8px 16px;
  font-size: 11px;
}

.product-cta {
  padding: 72px 24px 96px;
  text-align: center;
}
.product-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.product-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--background);
  padding: 40px 24px 96px;
}
.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form__field label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--zinc-400);
}
.contact-form__field input,
.contact-form__field textarea {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color 0.2s, background-color 0.2s;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--zinc-500);
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.6);
  background: rgba(255, 255, 255, 0.05);
}
.contact-form__field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
}
.btn--block { width: 100%; justify-content: center; }
.contact-form__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-align: center;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-card--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}
.contact-card__arrow {
  margin-left: auto;
  align-self: center;
  flex: none;
  color: var(--zinc-500);
  transition: color 0.2s, transform 0.2s;
}
.contact-card--whatsapp:hover .contact-card__arrow {
  color: #25d366;
  transform: translate(2px, -2px);
}
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  flex: none;
}
.contact-card__icon--whatsapp {
  background: #25d366;
  color: #ffffff;
  border-radius: 999px;
}
.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--zinc-500);
}
.contact-card__body a,
.contact-card__body span:last-child {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--zinc-300);
  transition: color 0.15s;
}
.contact-card__body a:hover { color: var(--accent); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--background);
  padding: 56px 24px;
}
.site-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer__top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer__desc {
  max-width: 38ch;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.625;
  color: var(--zinc-400);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--zinc-400);
}
.footer-contact a {
  transition: color 0.15s;
  width: fit-content;
}
.footer-contact a:hover { color: var(--accent); }
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--zinc-400);
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.social-link:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.08);
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 12px;
}
.site-footer__nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.link-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.15s;
}
.link-arrow {
  margin-left: 4px;
  display: inline-block;
  vertical-align: baseline;
  opacity: 0;
  transition: opacity 0.15s;
}
.site-footer__nav a:hover .link-name { color: var(--accent); }
.site-footer__nav a:hover .link-arrow { opacity: 1; }
.link-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--zinc-500);
}
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--zinc-500);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .scroll-animation { height: 350vh; }
}
@media (max-width: 768px) {
  .scroll-animation { height: 300vh; }
}

/* Small screens: keep the HUD legible (tighter tracking, fewer labels) */
@media (max-width: 767px) {
  .telemetry__label { letter-spacing: 0.18em; font-size: 9px; }
  .telemetry__value { letter-spacing: 0.16em; }
  .telemetry--right .telemetry__label { display: none; }
  .stage-footer__row { letter-spacing: 0.18em; font-size: 9px; }
  .stage-footer__row span:nth-child(2) { display: none; }
  .cine-copy { left: 24px; right: 24px; top: 104px; max-width: none; }
  .cine-copy .hero-lead { display: none; }
  .card-stack--36 { top: 42%; }
}

@media (min-width: 768px) {
  .site-header__inner { padding: 20px 32px; }
  .site-nav { display: flex; }

  .hud--tl { left: 40px; top: 112px; }
  .hud--tr { right: 40px; top: 112px; }
  .hud--bl { left: 40px; bottom: 64px; }
  .hud--br { right: 40px; bottom: 64px; }

  .hero-copy { padding: 0 48px 112px; }
  .hero-title { font-size: 72px; }
  .hero-lead { font-size: 16px; }
  .hero-reveal { display: flex; left: 48px; bottom: 112px; }

  .telemetry { top: 96px; }
  .telemetry--left { left: 40px; }
  .telemetry--right { right: 40px; }

  .stage-progress { margin-left: 40px; margin-right: 40px; }
  .stage-footer__row { margin-left: 40px; margin-right: 40px; }

  .card-slot { display: block; }
  .card-slot--right { right: 48px; }
  .card-slot--left { left: 48px; }
  .card-slot--3 { bottom: 112px; }
  .card-stack { display: none; }

  .loader__bar { width: 320px; }

  .cine-copy { right: 48px; top: 128px; }
  .cine-title { font-size: 60px; }
  .cine-next { right: 48px; bottom: 128px; }

  .systems { padding: 128px 40px 160px; }
  .systems__inner {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 80px;
  }
  .systems__stats { margin-top: 12px; }
  .systems__title { font-size: 60px; }
  .systems__lead { font-size: 18px; }
  .stat__value { font-size: 30px; }

  .section-head { margin-bottom: 64px; }
  .section-head__title { font-size: 44px; }
  .section-head__lead { font-size: 17px; }
  .solutions { padding: 48px 40px 96px; }
  .solutions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .techstack { padding: 64px 40px 128px; }
  .process { padding: 128px 40px; }
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .contact { padding: 64px 40px 128px; }
  .contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .product-hero { padding: 160px 40px 72px; }
  .product-hero__lead { font-size: 18px; }
  .product-section { padding: 88px 40px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .audience-card__text { font-size: 20px; }

  .site-footer { padding: 64px 40px; }
  .site-footer__top { flex-direction: row; align-items: flex-start; }
  .site-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 96px; }
  .cine-title { font-size: 72px; }
  .process__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 3fr 2fr; align-items: start; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .quote-card, .loader { transition: none; }
}
