:root {
  --color-ink: #05070c;
  --color-ink-soft: #090d15;
  --color-surface: #0f1522;
  --color-surface-2: #151d2d;
  --color-line: #22304a;
  --color-porcelain: #f7f5ef;
  --color-porcelain-dim: #bdc5d4;
  --color-mist: #71809a;
  --color-gold: #f0b86e;
  --color-gold-light: #ffd9a1;
  --color-gold-deep: #a76c2f;
  --color-azure: #5b8cff;
  --color-azure-light: #91b8ff;
  --color-violet: #a77aff;
  --color-violet-light: #ccb5ff;
  --color-cyan: #36d9c4;
  --color-terminal: #74e0bc;
  --color-terminal-dim: #277e68;
  --shadow-cinema: 0 35px 100px -35px rgba(0, 0, 0, 0.95);
  --radius-xl: 28px;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-hero-in { animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.animate-pulse-soft { animation: pulse-soft 2.4s ease-in-out infinite; }

@keyframes ping-slow {
  0% { transform: scale(1); opacity: 0.55; }
  75%, 100% { transform: scale(1.9); opacity: 0; }
}
.animate-ping-slow { animation: ping-slow 2.5s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes orb-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orb-spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes scan-line {
  0% { top: -10%; }
  100% { top: 110%; }
}
@keyframes blob-float {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

html { background: var(--color-ink); scroll-padding-top: 6rem; scroll-behavior: smooth; }
body { background: var(--color-ink); color: var(--color-porcelain); position: relative; min-height: 100%; }

::selection { background: rgba(77, 140, 255, 0.28); }

.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  z-index: 1;
  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");
}

.text-balance { text-wrap: balance; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-ink); }
::-webkit-scrollbar-thumb { background: var(--color-line); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-azure); }

.glow-gold { background: radial-gradient(circle at 50% 50%, rgba(201, 166, 104, 0.16), transparent 70%); }

.glow-neon {
  background:
    radial-gradient(circle at 30% 20%, rgba(77, 140, 255, 0.22), transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(155, 107, 255, 0.2), transparent 65%);
}

.glow-neon-ring {
  box-shadow:
    0 0 0 1px rgba(77, 140, 255, 0.25),
    0 0 40px -8px rgba(77, 140, 255, 0.35),
    0 0 90px -20px rgba(155, 107, 255, 0.4);
}

.glass-panel {
  background: linear-gradient(160deg, rgba(26, 26, 31, 0.75), rgba(19, 19, 23, 0.55));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.text-neon-gradient {
  background: linear-gradient(90deg, var(--color-azure-light), var(--color-violet-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mask-fade-b { mask-image: linear-gradient(to bottom, black 60%, transparent 100%); }

/* ---------- Reveal-on-scroll (substitui Framer Motion) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-split-reveal] .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(6px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-split-reveal].is-visible .split-word { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- FAQ accordion ---------- */
[data-faq-panel] {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
[data-faq-panel] > div { overflow: hidden; min-height: 0; }

/* ---------- Tilt card ---------- */
[data-tilt] { transform-style: preserve-3d; transition: transform 0.2s ease-out; will-change: transform; }

/* ---------- Magnetic buttons ---------- */
[data-magnetic] { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block; }

/* ---------- Custom cursor ---------- */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  margin-left: -5px; margin-top: -5px;
  border-radius: 999px;
  background: var(--color-azure-light);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease-out, width 0.25s ease, height 0.25s ease, background-color 0.25s ease, margin 0.25s ease;
  mix-blend-mode: difference;
}
.custom-cursor.is-link {
  width: 44px; height: 44px;
  margin-left: -22px; margin-top: -22px;
  background: rgba(243, 241, 234, 0.9);
}
@media (hover: none), (max-width: 1023px) { .custom-cursor { display: none; } }

/* ---------- Scroll progress bar ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--color-azure), var(--color-violet));
  z-index: 9998; width: 0%;
  transition: width 0.1s linear;
}

/* ---------- 3D orb (substitui Three.js) ---------- */
.orb-3d { position: absolute; inset: 0; overflow: hidden; }
.orb-3d__core {
  position: absolute; inset: -20%;
  border-radius: 999px;
  background: conic-gradient(from 0deg, var(--orb-a, #c9a668), var(--orb-b, #4d8cff), var(--orb-a, #c9a668));
  filter: blur(6px) saturate(1.3);
  animation: orb-spin 7s linear infinite;
  opacity: 0.9;
}
.orb-3d__ring {
  position: absolute; inset: 8%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: orb-spin-reverse 11s linear infinite;
}
.orb-3d__glow {
  position: absolute; inset: -30%;
  border-radius: 999px;
  background: radial-gradient(circle, var(--orb-b, #4d8cff) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(10px);
}

/* ---------- AI workflow stepper ---------- */
.workflow-node__circle {
  position: relative;
  border-color: var(--color-line);
  background: var(--color-ink-soft);
  transition: border-color 0.5s, background-color 0.5s;
}
.workflow-node.is-done .workflow-node__circle { border-color: rgba(77, 140, 255, 0.5); background: rgba(77, 140, 255, 0.1); }
.workflow-node.is-active .workflow-node__circle { border-color: var(--color-violet); background: rgba(155, 107, 255, 0.15); }
.workflow-node.is-active .workflow-node__circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(155, 107, 255, 0.2);
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.workflow-node__icon { color: var(--color-mist); transition: color 0.5s; }
.workflow-node.is-done .workflow-node__icon { color: var(--color-azure-light); }
.workflow-node.is-active .workflow-node__icon { color: var(--color-violet-light); }
.workflow-node__label { color: var(--color-porcelain-dim); transition: color 0.5s; }
.workflow-node.is-done .workflow-node__label, .workflow-node.is-active .workflow-node__label { color: var(--color-porcelain); }
[data-workflow-connector] { transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease-in-out; background: var(--color-azure); }

.scan-line { animation: scan-line 5s linear infinite; }
.blob-float { animation: blob-float 12s ease-in-out infinite; }
.blob-float-delay { animation: blob-float 14s ease-in-out infinite 1s; }

/* ---------- Hero: anéis holográficos girando ---------- */
.hero-orbit { position: absolute; inset: -14%; z-index: 0; pointer-events: none; }
.hero-orbit__ring { position: absolute; inset: 0; border-radius: 999px; border: 1.5px solid rgba(77, 140, 255, 0.3); }
.hero-orbit__ring--dashed { border-style: dashed; border-color: rgba(155, 107, 255, 0.45); animation: orb-spin 26s linear infinite; }
.hero-orbit__ring--inner { inset: 9%; border-color: rgba(77, 140, 255, 0.38); animation: orb-spin-reverse 18s linear infinite; }
.hero-orbit__spin { position: absolute; inset: 0; }
.hero-orbit__spin--a { animation: orb-spin 26s linear infinite; }
.hero-orbit__spin--b { inset: 9%; animation: orb-spin-reverse 18s linear infinite; }
.hero-orbit__dot {
  position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 999px; background: var(--color-azure-light);
  box-shadow: 0 0 14px 4px rgba(77, 140, 255, 0.75);
}
.hero-orbit__dot--b { background: var(--color-violet-light); box-shadow: 0 0 14px 4px rgba(155, 107, 255, 0.75); }

/* ---------- HUD: linha de scan (hero e fotos) ---------- */
.scan-sweep-line {
  position: absolute; left: 0; right: 0; top: -10%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(138, 180, 255, 0.9), transparent);
  box-shadow: 0 0 14px 2px rgba(77, 140, 255, 0.5);
  animation: scan-line 4s ease-in-out infinite;
}

/* ---------- HUD: cantos de foco sobre fotos ---------- */
.hud-frame__corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgba(138, 180, 255, 0.65); opacity: 0; transition: opacity 0.5s ease; }
.group:hover .hud-frame__corner, .hud-frame__corner--always { opacity: 0.85; }
.hud-frame__corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.hud-frame__corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
.hud-frame__corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
.hud-frame__corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }

/* ---------- HUD: cards de dados flutuando sobre fotos ---------- */
@keyframes hud-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hud-card {
  position: absolute;
  z-index: 10;
  display: flex; align-items: center; gap: 8px;
  border-radius: 10px;
  border: 1px solid rgba(138, 180, 255, 0.3);
  background: rgba(14, 14, 17, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 11px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 20px -6px rgba(77, 140, 255, 0.35);
  animation: hud-float 4.5s ease-in-out infinite;
}

/* ---------- Hero: partículas de dados subindo ---------- */
@keyframes particle-rise {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-160px) scale(1); opacity: 0; }
}
.hero-rise-particle {
  position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 999px;
  background: rgba(var(--particle-color, 77, 140, 255), 0.9);
  box-shadow: 0 0 8px 2px rgba(var(--particle-color, 77, 140, 255), 0.55);
  animation: particle-rise 5s ease-in infinite;
}

/* ==================================================================
   Sistema "Terminal / Código" — linguagem visual tech do site
   ================================================================== */

/* ---------- CRT: scanlines sutis por cima de tudo ---------- */
.crt-scanlines::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.8;
}

/* ---------- Cursor de terminal piscando ---------- */
@keyframes cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.terminal-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  margin-left: 3px;
  background: var(--color-terminal);
  box-shadow: 0 0 9px 2px rgba(61, 220, 132, 0.85);
  vertical-align: -0.2em;
  animation: cursor-blink 1s step-end infinite;
}

/* ---------- Label de seção como prompt de terminal ---------- */
.terminal-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  border: 1px solid rgba(61, 220, 132, 0.3);
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.08);
  padding: 5px 12px 5px 10px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-terminal);
  text-shadow: 0 0 10px rgba(61, 220, 132, 0.5);
}
.terminal-label__prompt { color: var(--color-azure-light); opacity: 0.9; }

/* ---------- Texto "digitado" (reveal por largura) ---------- */
@keyframes terminal-type {
  from { width: 0; }
  to { width: 100%; }
}
[data-terminal-type] {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  width: 0;
}
[data-terminal-type].is-visible {
  animation: terminal-type 1.6s steps(var(--type-steps, 32), end) forwards;
}

/* ---------- Janela de terminal (chrome de card) ---------- */
.terminal-window {
  position: relative;
  border: 1px solid rgba(61, 220, 132, 0.38);
  background: linear-gradient(160deg, rgba(19, 19, 23, 0.95), rgba(14, 14, 17, 0.92));
  box-shadow: 0 0 0 1px rgba(61, 220, 132, 0.08), 0 30px 70px -25px rgba(0, 0, 0, 0.75), 0 0 40px -18px rgba(61, 220, 132, 0.35);
}
.terminal-window::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-terminal), transparent);
  opacity: 0.8;
}
.terminal-window__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(61, 220, 132, 0.18);
  background: rgba(61, 220, 132, 0.04);
  padding: 10px 14px;
}
.terminal-window__dot { width: 10px; height: 10px; border-radius: 999px; box-shadow: 0 0 6px 0 rgba(0,0,0,0.4); }
.terminal-window__dot--red { background: #ff5f57; }
.terminal-window__dot--yellow { background: #febc2e; }
.terminal-window__dot--green { background: #28c840; }
.terminal-window__path {
  margin-left: 6px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--color-terminal);
  opacity: 0.85;
}

/* ---------- Grade tipo placa de circuito, para fundos de seção ---------- */
.circuit-grid {
  background-image:
    linear-gradient(rgba(61, 220, 132, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 220, 132, 0.14) 1px, transparent 1px),
    radial-gradient(circle, rgba(61, 220, 132, 0.4) 1.5px, transparent 1.5px);
  background-size: 42px 42px, 42px 42px, 42px 42px;
}

/* ---------- Nav: colchetes de terminal ao passar o mouse ---------- */
.nav-terminal-link::before,
.nav-terminal-link::after {
  color: var(--color-terminal);
  opacity: 0;
  transition: opacity 0.2s ease, margin 0.2s ease;
}
.nav-terminal-link::before { content: "["; margin-right: 0; }
.nav-terminal-link::after { content: "]"; margin-left: 0; }
.nav-terminal-link:hover::before { opacity: 1; margin-right: 4px; }
.nav-terminal-link:hover::after { opacity: 1; margin-left: 4px; }

/* ---------- Texto com glow verde-terminal ---------- */
.text-terminal-glow {
  color: var(--color-terminal);
  text-shadow: 0 0 12px rgba(61, 220, 132, 0.45);
}

/* ==================================================================
   APEX 2026 — direção visual cinematográfica
   ================================================================== */

body {
  background:
    radial-gradient(circle at 78% -8%, rgba(91, 140, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 6% 38%, rgba(167, 122, 255, 0.09), transparent 30rem),
    var(--color-ink);
  letter-spacing: -0.01em;
}

.grain::before {
  opacity: 0.035;
  mix-blend-mode: soft-light;
}

.crt-scanlines::after {
  opacity: 0.18;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 5px);
}

#site-header > div:first-child {
  max-width: 1460px;
}

#site-header.bg-ink\/80 {
  background: rgba(5, 7, 12, 0.76);
  box-shadow: 0 18px 70px -38px rgba(0, 0, 0, 0.95);
}

#site-header img {
  filter: drop-shadow(0 8px 24px rgba(91, 140, 255, .18));
}

.nav-terminal-link {
  letter-spacing: .12em;
}

.nav-terminal-link::before,
.nav-terminal-link::after {
  color: var(--color-azure-light);
}

main > section {
  isolation: isolate;
}

main > section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 48%, rgba(145,184,255,.025) 48% 48.1%, transparent 48.1%);
}

main > section:nth-child(even) {
  background-color: var(--color-ink-soft) !important;
}

h1, h2, h3, .font-display {
  font-feature-settings: "ss01" 1, "ss02" 1;
}

h2 {
  letter-spacing: -0.045em;
}

.terminal-label {
  border-color: rgba(116, 224, 188, .22);
  border-radius: 8px;
  background: rgba(116, 224, 188, .055);
  padding: 7px 12px;
  letter-spacing: .16em;
  box-shadow: inset 0 0 18px rgba(116, 224, 188, .035);
}

.terminal-label .terminal-cursor {
  width: .38em;
}

.glass-panel {
  border-color: rgba(255,255,255,.1);
  background: linear-gradient(160deg, rgba(17,24,39,.82), rgba(7,10,17,.7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.terminal-window {
  border-color: rgba(145, 184, 255, .2);
  border-radius: var(--radius-xl) !important;
  background: linear-gradient(155deg, rgba(15,21,34,.98), rgba(7,10,17,.96));
  box-shadow: var(--shadow-cinema), inset 0 1px 0 rgba(255,255,255,.055);
}

.terminal-window::before {
  background: linear-gradient(90deg, transparent, var(--color-azure), var(--color-violet), transparent);
}

.terminal-window__bar {
  border-color: rgba(145,184,255,.12);
  background: rgba(255,255,255,.025);
}

.terminal-window__path {
  color: var(--color-mist);
}

.service-tab {
  position: relative;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.service-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(91,140,255,.12), rgba(167,122,255,.025));
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity .35s ease, transform .35s ease;
}

.service-tab.text-porcelain::before,
.service-tab:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.service-cinema {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid rgba(145,184,255,.12);
  background: #070a11;
}

.service-cinema picture,
.service-cinema img {
  display: block;
  width: 100%;
  height: 100%;
}

.service-cinema img {
  object-fit: cover;
  filter: saturate(.8) contrast(1.08) brightness(.78);
  transform: scale(1.04);
  transition: transform 6s cubic-bezier(.16,1,.3,1), filter .6s ease;
}

[data-service-panel]:not(.hidden) .service-cinema img {
  transform: scale(1.13) translate3d(1.5%, -1%, 0);
  filter: saturate(1.08) contrast(1.08) brightness(.9);
}

.service-cinema__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(5,7,12,.92)),
    linear-gradient(105deg, rgba(91,140,255,.25), transparent 42%, rgba(167,122,255,.18));
  mix-blend-mode: screen;
}

.service-cinema__scan {
  position: absolute;
  inset: -60% 0 auto;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(145,184,255,.18), transparent);
  animation: cinema-scan 4.8s linear infinite;
}

.service-cinema__interface {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  color: rgba(247,245,239,.8);
  font: 500 9px/1 "JetBrains Mono", monospace;
  letter-spacing: .16em;
}

.service-cinema__interface span:first-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 12px var(--color-cyan);
  animation: pulse-soft 1.4s ease-in-out infinite;
}

.service-cinema--feature img {
  animation: cinema-camera 12s ease-in-out infinite alternate;
}

.service-cinema--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(145,184,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(145,184,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  animation: cinema-grid 10s linear infinite;
}

.service-cinema__nodes i {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border: 1px solid var(--color-azure-light);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(91,140,255,.9);
  animation: node-ping 2.2s ease-in-out infinite;
}

.service-cinema__nodes i:nth-child(1) { left: 18%; top: 34%; }
.service-cinema__nodes i:nth-child(2) { left: 43%; top: 58%; animation-delay: -.6s; }
.service-cinema__nodes i:nth-child(3) { right: 24%; top: 25%; animation-delay: -1.1s; }
.service-cinema__nodes i:nth-child(4) { right: 12%; bottom: 28%; animation-delay: -1.6s; }

.service-cinema__meter {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 96px;
  height: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.16);
}

.service-cinema__meter span {
  display: block;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-azure-light));
  box-shadow: 0 0 12px var(--color-azure);
  animation: meter-live 3s ease-in-out infinite alternate;
}

.hero-motion-film {
  min-height: 580px;
  border-radius: var(--radius-xl) !important;
  transform: translateZ(0);
}

.hero-motion-film__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-motion-film__image {
  transform-origin: 60% 45%;
  filter: saturate(1.12) contrast(1.1) brightness(.78);
  animation: hero-camera 16s cubic-bezier(.42,0,.58,1) infinite alternate;
}

.hero-motion-film__echo {
  position: absolute;
  inset: 0;
  opacity: .24;
  background: url('../video/hero-poster-desktop.jpg') center/cover;
  mix-blend-mode: screen;
  filter: hue-rotate(48deg) saturate(1.6);
  animation: hero-echo 7s steps(1,end) infinite;
}

.hero-motion-film__beam {
  position: absolute;
  inset: -30% -60%;
  background: linear-gradient(104deg, transparent 44%, rgba(255,255,255,.14) 49%, rgba(91,140,255,.24) 51%, transparent 57%);
  transform: translateX(-28%) rotate(5deg);
  animation: beam-cross 7s ease-in-out infinite;
}

.hero-motion-film__grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: radial-gradient(circle, rgba(145,184,255,.8) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 68% 30%, black, transparent 48%);
  animation: grid-drift 14s linear infinite;
}

.hero-motion-film__reel {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.hero-motion-film__reel span {
  width: 4px;
  height: 38px;
  border-radius: 8px;
  background: rgba(247,245,239,.14);
}

.hud-card {
  border-color: rgba(145,184,255,.22);
  background: rgba(6,9,15,.68);
  border-radius: 9px;
  box-shadow: 0 16px 38px -16px rgba(0,0,0,.9), inset 0 1px rgba(255,255,255,.06);
}

.glow-neon-ring {
  box-shadow: 0 0 0 1px rgba(145,184,255,.16), 0 35px 100px -25px rgba(0,0,0,.92), 0 0 100px -45px rgba(91,140,255,.85);
}

section img {
  transition-timing-function: cubic-bezier(.16,1,.3,1) !important;
}

section .group:has(> picture) {
  box-shadow: var(--shadow-cinema);
}

footer {
  background:
    radial-gradient(circle at 15% 20%, rgba(91,140,255,.12), transparent 30rem),
    var(--color-ink-soft) !important;
}

@keyframes cinema-scan {
  from { transform: translateY(-10%); }
  to { transform: translateY(700%); }
}

@keyframes cinema-camera {
  0% { transform: scale(1.06) translate3d(-1%, 1%, 0); }
  50% { transform: scale(1.16) translate3d(2%, -2%, 0); }
  100% { transform: scale(1.1) translate3d(-2%, -1%, 0); }
}

@keyframes cinema-grid {
  to { background-position: 44px 44px; }
}

@keyframes node-ping {
  0%, 100% { transform: scale(.75); opacity: .45; }
  50% { transform: scale(1.55); opacity: 1; }
}

@keyframes meter-live {
  from { width: 26%; }
  to { width: 92%; }
}

@keyframes hero-camera {
  0% { transform: scale(1.12) translate3d(-3%, 1%, 0); }
  45% { transform: scale(1.24) translate3d(2%, -2%, 0); }
  100% { transform: scale(1.16) translate3d(-1%, -4%, 0); }
}

@keyframes hero-echo {
  0%, 88%, 100% { transform: translate(0); clip-path: inset(0); opacity: .08; }
  90% { transform: translate(9px,-2px); clip-path: inset(12% 0 62% 0); opacity: .42; }
  93% { transform: translate(-7px,2px); clip-path: inset(58% 0 18% 0); opacity: .32; }
  96% { transform: translate(4px); clip-path: inset(30% 0 42% 0); opacity: .38; }
}

@keyframes beam-cross {
  0%, 18% { transform: translateX(-40%) rotate(5deg); opacity: 0; }
  36%, 60% { opacity: 1; }
  78%, 100% { transform: translateX(38%) rotate(5deg); opacity: 0; }
}

@keyframes grid-drift {
  to { background-position: 26px 52px; }
}

@media (max-width: 1023px) {
  .hero-motion-film { min-height: 540px; }
  .service-cinema { height: 190px; }
}

@media (max-width: 639px) {
  .hero-motion-film { min-height: 560px; border-radius: 20px !important; }
  .hero-motion-film__echo { background-image: url('../video/hero-poster-mobile.jpg'); }
  .hero-motion-film__image { object-position: 50% 46%; }
  .service-cinema { height: 180px; }
  .service-cinema__interface { left: 14px; right: 14px; }
  .hud-card { transform: scale(.9); transform-origin: top left; }
}

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