/* =========================================================
   TXNK — основной стиль (палитра txnk.pro)
   Мягкий градиент голубой → лавандовый → белый,
   glassmorphism-карточки, акценты blue-600 / blue-800.
   ========================================================= */

:root {
  --bg-1: #BFDBFE;           /* blue-200 */
  --bg-2: #E9D5FF;           /* purple-200 */
  --bg-3: #FFFFFF;
  --ink: #1F2937;            /* основной текст (gray-800) */
  --paper: #FFFFFF;
  --head: #1E40AF;           /* blue-800 — заголовки */
  --gray: #4B5563;           /* gray-600 */
  --hairline: rgba(30, 64, 175, 0.14);

  /* эти двое используются inline-SVG-иконками */
  --cobalt: #2563EB;
  --yellow: #8B5CF6;

  --blue: #2563EB;           /* blue-600 */
  --violet: #8B5CF6;         /* violet-500 */
  --fuchsia: #C026D3;        /* fuchsia-600 */
  --grad: linear-gradient(120deg, #2563EB 0%, #7C3AED 55%, #C026D3 100%);
  --grad-soft: linear-gradient(120deg, #60A5FA, #A78BFA 55%, #F0ABFC);
  --grad-deep: linear-gradient(120deg, #1E40AF 20%, #4338CA 60%, #7C3AED);
  /* «бархатный» переливающийся градиент для тени заголовков */
  --grad-velvet: linear-gradient(115deg,
    #1E3A8A 0%, #4338CA 18%, #7C3AED 38%,
    #A21CAF 56%, #C026D3 70%, #DB2777 82%, #2563EB 100%);

  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(30, 64, 175, 0.10);
  --glass-shadow-hover: 0 18px 48px rgba(30, 64, 175, 0.18);

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Archivo", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;

  --radius: 24px;
  --radius-sm: 14px;

  --container: 1240px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 42%, #FBE8FF 68%, var(--bg-3) 100%) fixed;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* мягкие цветовые пятна на фоне */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 55vw; height: 55vw;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
  pointer-events: none;
}
body::before { background: #93C5FD; top: -18vw; right: -15vw; }
body::after { background: #DDD6FE; bottom: -22vw; left: -18vw; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: #2563EB; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-align: center;
  user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28); }
.btn-primary:hover { box-shadow: 0 12px 34px rgba(37, 99, 235, 0.4); }
.btn-ghost {
  background: var(--glass);
  color: var(--head);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.8); box-shadow: var(--glass-shadow); }
.btn-ink { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28); }
.btn-ink:hover { box-shadow: 0 12px 34px rgba(37, 99, 235, 0.4); }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow-sq { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); flex: none; }
.eyebrow-sq--yellow, .eyebrow-sq--ink { background: var(--grad); }
.eyebrow--light { color: #BFDBFE; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(30, 64, 175, 0.12); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: var(--head);
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray);
  position: relative;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--head); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(12px);
}
.lang-btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
  color: var(--gray);
  transition: color 0.15s ease;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--glass-border); }
/* заблюренный флаг языка: всегда виден на 28%, активный — на 100% */
.lang-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  filter: blur(6px) saturate(1.25);
  opacity: 0.28;
  transition: opacity 0.2s ease;
}
.lang-btn[data-lang="ro"]::before {
  background: linear-gradient(90deg, #002B7F 0 38%, #FCD116 38% 62%, #CE1126 62% 100%);
}
.lang-btn[data-lang="en"]::before {
  filter: blur(3.5px) saturate(1.25);
  background:
    linear-gradient(90deg,  transparent 47%, #C8102E 47% 53%, transparent 53%),
    linear-gradient(0deg,   transparent 47%, #C8102E 47% 53%, transparent 53%),
    linear-gradient(90deg,  transparent 44%, #FAFAFA 44% 56%, transparent 56%),
    linear-gradient(0deg,   transparent 44%, #FAFAFA 44% 56%, transparent 56%),
    linear-gradient(45deg,  transparent 48%, #C8102E 48% 52%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, #C8102E 48% 52%, transparent 52%),
    #012169;
}
.lang-btn[data-lang="ua"]::before {
  background: linear-gradient(180deg, #0057B7 0 52%, #FFD700 52% 100%);
}
.lang-btn:hover { color: var(--head); }
.lang-btn:hover::before { opacity: 0.55; }
.lang-btn.is-active {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.lang-btn.is-active::before { opacity: 1; }

.btn-header { padding: 12px 22px; font-size: 0.85rem; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--head); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: linear-gradient(135deg, #DBEAFE, #F3E8FF);
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.menu-open .mobile-nav { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--head);
  padding: 10px 0;
  border-bottom: 1px solid rgba(30, 64, 175, 0.15);
}
.mobile-nav a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 30px;
  width: 100%;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #1E1B4B;
  margin: 10px 0 28px;
}
.hero-line { display: block; }
/* «маркерная» плашка на слове-выгоде (вариант 10) */
.hl {
  position: relative;
  display: inline-block;
  background: none;
  color: #fff;
  padding: 0.02em 0.18em;
  z-index: 0;
}
.hl::before {
  content: "";
  position: absolute;
  inset: 0.04em -0.08em -0.02em -0.08em;
  background: linear-gradient(100deg, #F59E0B, #F97316 60%, #EF4444 120%);
  border-radius: 0.14em;
  transform: rotate(-1.6deg) skewX(-4deg);
  z-index: -1;
  box-shadow: 0 8px 26px rgba(249, 115, 22, 0.35);
}
/* кинетическое слово: site → landing → magazin */
.hero-title .rotator {
  display: inline-grid;
  justify-items: start;
  overflow: hidden;
  line-height: 1.05;
  height: 1.05em;
  vertical-align: bottom;
}
.hero-title .rotator > span {
  grid-area: 1 / 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(70%);
  animation: wordRoll 9s ease-in-out infinite;
}
.hero-title .rotator > span:nth-child(2) { animation-delay: 3s; }
.hero-title .rotator > span:nth-child(3) { animation-delay: 6s; }
@keyframes wordRoll {
  0%        { opacity: 0; transform: translateY(70%); }
  5%, 29%   { opacity: 1; transform: translateY(0); }
  34%, 100% { opacity: 0; transform: translateY(-70%); }
}
.hero-sub { max-width: 520px; font-size: 1.1rem; color: var(--gray); margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--head);
  background: var(--glass);
  backdrop-filter: blur(10px);
}

/* Гигантская «3» */
.hero-three { position: relative; display: flex; justify-content: center; align-items: center; min-height: 320px; }
/* вращающееся пунктирное кольцо за цифрой */
/* точечная сетка в углу */
.hero-three::after {
  content: "";
  position: absolute;
  right: 4%; bottom: 2%;
  width: 150px; height: 130px;
  background-image: radial-gradient(rgba(30, 64, 175, 0.30) 2px, transparent 2px);
  background-size: 18px 18px;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.hero-three-inner { position: relative; z-index: 1; will-change: transform; width: min(100%, 470px); }

/* ---- Hero: голографический 3D-стек сайта ---- */
.holo {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  --tiltX: 0deg;
  --tiltY: 0deg;
}
.holo-scene {
  position: relative;
  width: 300px;
  height: 210px;
  transform-style: preserve-3d;
  transform: rotateX(calc(56deg + var(--tiltX))) rotateZ(-38deg) rotateY(var(--tiltY));
  transition: transform 0.3s ease-out;
}
/* ---- сторителлинг: 12s = три «дня» по 4s ----
   Ziua 1 (0–33%): только каркас-сетка (проектирование)
   Ziua 2 (33–66%): появляется слой кода (разработка)
   Ziua 3 (66–100%): собирается интерфейс, клик, тост, «Publicat» */
.holo-layer {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  transform: translateZ(var(--z));
  animation: layerBob 6s ease-in-out infinite;
}
@keyframes layerBob {
  0%, 100% { transform: translateZ(var(--z)); }
  50% { transform: translateZ(calc(var(--z) + 16px)); }
}
@keyframes phaseCode {
  0%, 31% { opacity: 0; }
  38%, 94% { opacity: 1; }
  99%, 100% { opacity: 0; }
}
@keyframes phaseUi {
  0%, 64% { opacity: 0; }
  71%, 94% { opacity: 1; }
  99%, 100% { opacity: 0; }
}

/* нижний слой — каркасная сетка.
   Рисунок сетки живёт во внутреннем .hg-draw и «прочерчивается»
   маской-шторкой (день 1). Тень остаётся на самом слое (маска
   на элементе срезала бы box-shadow) и проявляется синхронно. */
.holo-grid {
  box-shadow: 0 26px 55px rgba(30, 64, 175, 0.28);
  animation: layerBob 6s ease-in-out infinite, gridShadow 12s linear infinite;
}
.hg-draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Сетка — ОДИН путь из подпутей: штрих stroke-dashoffset
   «пробегает» их по очереди, линия за линией.
   Пауза 0.6s (hero успевает проявиться) → черчение ~2.2s. */
/* Каждая линия — отдельный <line> со своим окном в 12s-цикле:
   рисуются строго по очереди (dash-паттерн на подпутях в Chrome
   перезапускается, поэтому один общий path не годится). */
.hgd-lines line { stroke: rgba(37, 99, 235, 0.30); stroke-width: 1; }
.hgd-lines line:nth-child(1) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL1 12s linear infinite; }
@keyframes hgdL1 { 0%, 8.00% { stroke-dashoffset: 210; } 9.35%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(2) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL2 12s linear infinite; }
@keyframes hgdL2 { 0%, 8.68% { stroke-dashoffset: 210; } 10.03%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(3) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL3 12s linear infinite; }
@keyframes hgdL3 { 0%, 9.36% { stroke-dashoffset: 210; } 10.71%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(4) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL4 12s linear infinite; }
@keyframes hgdL4 { 0%, 10.04% { stroke-dashoffset: 210; } 11.39%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(5) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL5 12s linear infinite; }
@keyframes hgdL5 { 0%, 10.72% { stroke-dashoffset: 210; } 12.07%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(6) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL6 12s linear infinite; }
@keyframes hgdL6 { 0%, 11.40% { stroke-dashoffset: 210; } 12.75%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(7) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL7 12s linear infinite; }
@keyframes hgdL7 { 0%, 12.08% { stroke-dashoffset: 210; } 13.43%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(8) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL8 12s linear infinite; }
@keyframes hgdL8 { 0%, 12.76% { stroke-dashoffset: 210; } 14.11%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(9) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL9 12s linear infinite; }
@keyframes hgdL9 { 0%, 13.44% { stroke-dashoffset: 210; } 14.79%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(10) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL10 12s linear infinite; }
@keyframes hgdL10 { 0%, 14.12% { stroke-dashoffset: 210; } 15.47%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(11) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL11 12s linear infinite; }
@keyframes hgdL11 { 0%, 14.80% { stroke-dashoffset: 210; } 16.15%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(12) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL12 12s linear infinite; }
@keyframes hgdL12 { 0%, 15.48% { stroke-dashoffset: 210; } 16.83%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(13) { stroke-dasharray: 210; stroke-dashoffset: 210; animation: hgdL13 12s linear infinite; }
@keyframes hgdL13 { 0%, 16.16% { stroke-dashoffset: 210; } 17.51%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(14) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL14 12s linear infinite; }
@keyframes hgdL14 { 0%, 18.00% { stroke-dashoffset: 300; } 19.60%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(15) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL15 12s linear infinite; }
@keyframes hgdL15 { 0%, 18.82% { stroke-dashoffset: 300; } 20.42%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(16) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL16 12s linear infinite; }
@keyframes hgdL16 { 0%, 19.64% { stroke-dashoffset: 300; } 21.24%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(17) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL17 12s linear infinite; }
@keyframes hgdL17 { 0%, 20.46% { stroke-dashoffset: 300; } 22.06%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(18) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL18 12s linear infinite; }
@keyframes hgdL18 { 0%, 21.28% { stroke-dashoffset: 300; } 22.88%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(19) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL19 12s linear infinite; }
@keyframes hgdL19 { 0%, 22.10% { stroke-dashoffset: 300; } 23.70%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(20) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL20 12s linear infinite; }
@keyframes hgdL20 { 0%, 22.92% { stroke-dashoffset: 300; } 24.52%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(21) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL21 12s linear infinite; }
@keyframes hgdL21 { 0%, 23.74% { stroke-dashoffset: 300; } 25.34%, 100% { stroke-dashoffset: 0; } }
.hgd-lines line:nth-child(22) { stroke-dasharray: 300; stroke-dashoffset: 300; animation: hgdL22 12s linear infinite; }
@keyframes hgdL22 { 0%, 24.56% { stroke-dashoffset: 300; } 26.16%, 100% { stroke-dashoffset: 0; } }
/* пунктирная рамка «обводится» — маска-трассер бежит по периметру */
.hgd-frame {
  stroke: rgba(37, 99, 235, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
}
.hgd-tracer {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: hgdTrace 12s linear infinite;
}
@keyframes hgdTrace {
  0%, 5% { stroke-dashoffset: 1; }
  9%, 100% { stroke-dashoffset: 0; }
}
/* угловые узлы «вспыхивают», когда чертёж готов */
.hgd-node {
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.9));
  animation: hgdNode 12s ease infinite;
}
@keyframes hgdNode {
  0%, 25% { opacity: 0; transform: scale(0); }
  28%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes gridShadow {
  0%, 5% { box-shadow: 0 26px 55px rgba(30, 64, 175, 0); opacity: 1; }
  22% { box-shadow: 0 26px 55px rgba(30, 64, 175, 0.28); }
  97% { box-shadow: 0 26px 55px rgba(30, 64, 175, 0.28); opacity: 1; }
  100% { box-shadow: 0 26px 55px rgba(30, 64, 175, 0.28); opacity: 0; }
}

/* средний слой — код */
.holo-code {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.92), rgba(76, 29, 149, 0.92));
  border: 1px solid rgba(147, 197, 253, 0.35);
  box-shadow: 0 26px 55px rgba(30, 64, 175, 0.32);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  animation: layerBob 6s ease-in-out infinite, phaseCode 12s ease-in-out infinite;
  animation-delay: 0.3s, 0s;
}
.hc-line { height: 9px; border-radius: 5px; background: rgba(191, 219, 254, 0.4); }
.hc-grad { background: var(--grad-soft); }
.hc-caret {
  width: 11px; height: 9px;
  background: #F0ABFC;
  animation: caretBlink 1s steps(2) infinite;
}
@keyframes caretBlink {
  50% { opacity: 0; }
}

/* верхний слой — интерфейс */
.holo-ui {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid #fff;
  box-shadow: 0 26px 60px rgba(30, 64, 175, 0.32);
  animation: layerBob 6s ease-in-out infinite, phaseUi 12s ease-in-out infinite;
  animation-delay: 0.6s, 0s;
}
.holo-ui > span { position: absolute; }
.hu-bar { top: 11px; left: 13px; display: flex; gap: 5px; }
.hu-bar i { width: 8px; height: 8px; border-radius: 50%; }
.hu-bar i:nth-child(1) { background: #2563EB; }
.hu-bar i:nth-child(2) { background: #7C3AED; }
.hu-bar i:nth-child(3) { background: #C026D3; }
.hu-line { border-radius: 6px; }
.hu-lg { top: 40px; left: 14px; width: 50%; height: 12px; background: var(--grad-deep); }
.hu-sm { top: 60px; left: 14px; width: 36%; height: 7px; background: #C7D2FE; }
.hu-btn { top: 80px; left: 14px; width: 66px; height: 17px; border-radius: 999px; background: var(--grad); }
.hu-img { top: 36px; right: 13px; width: 33%; height: 62px; border-radius: 10px; background: var(--grad-soft); }
.hu-card {
  bottom: 14px;
  width: 28.5%;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(30, 64, 175, 0.12);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.14);
  overflow: hidden;
}
.hu-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.hu-c1 { left: 4.5%; }
.hu-c2 { left: 35.7%; }
.hu-c3 { left: 67%; }

/* сканирующий луч, проходящий сквозь стек */
.holo-scan {
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  border: 1.5px solid rgba(96, 165, 250, 0.65);
  background: rgba(96, 165, 250, 0.10);
  box-shadow: 0 0 34px rgba(96, 165, 250, 0.45), inset 0 0 22px rgba(96, 165, 250, 0.25);
  animation: scanRise 4s ease-in-out infinite; /* раз на «день» */
}
@keyframes scanRise {
  0% { transform: translateZ(-16px); opacity: 0; }
  14% { opacity: 1; }
  58% { transform: translateZ(138px); opacity: 1; }
  74%, 100% { transform: translateZ(155px); opacity: 0; }
}

/* «пол»-тень под голограммой */
.holo-floor {
  position: absolute;
  bottom: 46px;
  width: 300px;
  height: 74px;
  background: radial-gradient(ellipse, rgba(30, 64, 175, 0.38), transparent 65%);
  filter: blur(10px);
  animation: floorPulse 6s ease-in-out infinite;
}
@keyframes floorPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 0.55; }
}

/* орбитальные кольца с точками */
.holo-ring {
  position: absolute;
  border: 1.5px dashed rgba(124, 58, 237, 0.35);
  border-radius: 50%;
}
.hr-1 { width: 330px; height: 330px; animation: ringSpin 26s linear infinite; }
.hr-2 { width: 440px; height: 440px; border-color: rgba(37, 99, 235, 0.28); animation: ringSpin 42s linear infinite reverse; }
.holo-ring::before {
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.8);
}

/* парящие тех-чипы */
.holo-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--head);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.20);
  animation: chipBob 5.5s ease-in-out infinite;
}
.hch-1 { top: 7%; left: 3%; }
.hch-2 { top: 15%; right: 1%; animation-delay: 1.2s; }
.hch-3 { bottom: 15%; left: 0; animation-delay: 2s; }
.hch-4 {
  bottom: 5%; right: 5%;
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
  animation-delay: 0.6s;
  display: inline-grid;
  justify-items: center;
}
/* бейдж дня: Ziua 1 → 2 → 3, синхронно с фазами слоёв */
.hch-4 .day {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  animation: dayCycle 12s ease-in-out infinite;
}
.hch-4 .day:nth-child(2) { animation-delay: 4s; }
.hch-4 .day:nth-child(3) { animation-delay: 8s; }
@keyframes dayCycle {
  0% { opacity: 0; transform: translateY(7px); }
  4%, 29% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-7px); }
}
/* значок «Publicat» — появляется в конце третьего дня */
.hch-live {
  top: 34%; right: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  animation: livePop 12s ease infinite;
}
.hch-live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
}
@keyframes livePop {
  0%, 81% { opacity: 0; transform: translateY(10px) scale(0.9); }
  85%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  99%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- Анимированный фон страницы ---- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.bg-orbs span:nth-child(1) {
  width: 44vw; height: 44vw;
  left: 55%; top: -14%;
  background: #93C5FD;
  opacity: 0.5;
  animation: bgDrift1 26s ease-in-out infinite alternate;
}
.bg-orbs span:nth-child(2) {
  width: 36vw; height: 36vw;
  left: -12%; top: 34%;
  background: #C4B5FD;
  opacity: 0.45;
  animation: bgDrift2 32s ease-in-out infinite alternate;
}
.bg-orbs span:nth-child(3) {
  width: 30vw; height: 30vw;
  left: 36%; bottom: -16%;
  background: #F0ABFC;
  opacity: 0.4;
  animation: bgDrift3 38s ease-in-out infinite alternate;
}
@keyframes bgDrift1 { to { transform: translate(-10vw, 10vh) scale(1.15); } }
@keyframes bgDrift2 { to { transform: translate(9vw, -8vh) scale(1.12); } }
@keyframes bgDrift3 { to { transform: translate(-7vw, -10vh) scale(1.2); } }
/* лёгкий дрейф базовых пятен фона */
body::before { animation: bgDrift2 30s ease-in-out infinite alternate; }
body::after { animation: bgDrift1 36s ease-in-out infinite alternate; }

/* метки → мягкие светящиеся точки */
.crop-mark { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 16px rgba(37, 99, 235, 0.7); opacity: 0.7; }
.crop-mark::before, .crop-mark::after { content: none; }
.crop-tl { top: 6px; left: 6px; }
.crop-br { bottom: 6px; right: 6px; background: var(--violet); box-shadow: 0 0 16px rgba(139, 92, 246, 0.7); }

.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
}
.scroll-arrow { display: inline-block; animation: arrowNudge 1.6s ease-in-out infinite; }
@keyframes arrowNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.hero-anim { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--d) * 0.1s); }
.is-loaded .hero-anim { opacity: 1; transform: translateY(0); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track { display: flex; width: max-content; animation: marqueeMove 52s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 22px;
  white-space: nowrap;
  background: var(--grad-deep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee-group i { color: var(--violet); font-style: normal; font-size: 1.1rem; }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Секции ---------- */
.section { padding: 110px 0; }
.section--flush { padding-bottom: 90px; }
.section-head { margin-bottom: 54px; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #1E1B4B;
  position: relative;
  padding-bottom: 20px;
}
/* графическое подчёркивание заголовка секции */
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 74px; height: 5px;
  border-radius: 5px;
  background: var(--grad);
}
.section-sub { margin-top: 14px; color: var(--gray); max-width: 560px; }

/* светлые секции-«полосы» — чёткое отделение от фона */
#pricing, #faq {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

/* тёмные секции — «плиты» со скруглением, тенью и точечной сеткой */
.section--ink, .section--cobalt {
  position: relative;
  overflow: hidden;
  width: min(1392px, calc(100% - 32px));
  margin: 56px auto;
  border-radius: 44px;
}
.section--ink::before, .section--cobalt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.section--ink {
  background: linear-gradient(135deg, #1E40AF, #4338CA 55%, #6D28D9);
  color: #fff;
  box-shadow: 0 30px 80px rgba(30, 64, 175, 0.30);
}
.section--cobalt {
  background: linear-gradient(135deg, #2563EB, #7C3AED 60%, #A21CAF);
  color: #fff;
  box-shadow: 0 30px 80px rgba(109, 40, 217, 0.30);
}
.section--ink .section-title,
.section--cobalt .section-title {
  color: #fff;
}
.section--ink .section-title::after,
.section--cobalt .section-title::after {
  background: linear-gradient(120deg, #93C5FD, #DDD6FE 55%, #F0ABFC);
}
.section--yellow {
  position: relative;
  overflow: hidden;
  width: min(1392px, calc(100% - 32px));
  margin: 56px auto 72px;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 30px 80px rgba(30, 64, 175, 0.14);
}
.section--yellow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 64, 175, 0.10) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  box-shadow: var(--glass-shadow);
  padding: 34px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* градиентная планка сверху карточки */
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--grad);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); }
.service-ico {
  width: 68px; height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #DBEAFE, #EDE9FE 55%, #FAE8FF);
  color: var(--head);
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #1E1B4B;
  margin-bottom: 10px;
}
.service-card p { color: var(--gray); font-size: 0.95rem; }

.service-card--soon { background: rgba(255, 255, 255, 0.3); border-style: dashed; box-shadow: none; }
.service-card--soon::before { opacity: 0.3; }
.service-card--soon .service-ico, .service-card--soon h3 { opacity: 0.55; }
.soon-badge {
  position: absolute;
  top: -14px; right: 16px;
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* ---------- Why / stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
}
.stat { padding: 34px 26px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 6vw, 5.5rem);
  line-height: 1;
  background: linear-gradient(120deg, #BFDBFE, #E9D5FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* единица измерения при цифре: мельче, тем же градиентом (клип на .stat-num) */
.stat-unit {
  font-size: 0.38em;
  font-weight: 800;
  margin-left: 0.16em;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.stat-label { display: block; margin-top: 10px; font-size: 0.92rem; color: #C7D2FE; }

.why-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-point h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-top: 16px;
  position: relative;
}
.why-point h3::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(120deg, #93C5FD, #DDD6FE);
}
.why-point p { color: #C7D2FE; font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: var(--glass-shadow);
  padding: 36px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* кнопка прижата к низу — карточки одной высоты на десктопе */
.price-card > .btn { margin-top: auto; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); }
.price-card--featured {
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) padding-box,
              var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.25);
}
.popular-badge {
  position: absolute;
  top: -16px; right: 22px;
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.price-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  text-transform: uppercase;
  color: #1E1B4B;
}
.price-tag { color: var(--gray); font-size: 0.92rem; margin: 4px 0 22px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.price-main {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-alt { font-family: var(--font-mono); font-size: 1rem; color: var(--gray); }
/* маленький префикс «de la / from / від» внутри цены */
.price-pre {
  font-size: 0.44em;
  font-weight: 700;
  letter-spacing: 0;
  margin-right: 0.35em;
}
.price-plus {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 10px;
}
.price-features { margin-bottom: 28px; flex-grow: 1; }
.price-features li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--hairline);
}
.price-features li::before {
  content: "+";
  position: absolute;
  left: 0; top: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--blue);
}
/* «все тарифы включают» — чипсы-преимущества под сеткой */
.pricing-includes {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}
.includes-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.includes-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.includes-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--head);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.10);
}
.includes-list li::before {
  content: "✓";
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--blue);
}

/* мелкие условия — тихий fine print по центру, без панели */
.pricing-terms {
  margin: 26px auto 0;
  max-width: 760px;
  text-align: center;
}
.pricing-terms p { color: var(--gray); font-size: 0.88rem; }
.pricing-terms p + p { margin-top: 6px; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.process-step {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 30px 26px 34px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
/* стрелка-связка между этапами */
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  z-index: 1;
}
.process-step:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18); }
.step-day {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
  color: #fff;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.process-step p { font-size: 0.95rem; color: #DBEAFE; }

/* ---------- Portfolio ---------- */
.drag-hint {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  white-space: nowrap;
  padding-bottom: 8px;
}
.portfolio-track {
  overflow-x: auto;
  cursor: grab;
  scroll-snap-type: x proximity;
  /* без scroll-padding снап при загрузке прижимает первую карточку
     к краю вьюпорта, игнорируя padding у .portfolio-inner */
  scroll-padding-left: 26px;
  scrollbar-width: none;
  /* запас под тень карточек (overflow-x: auto клипает и вертикаль);
     отрицательный margin компенсирует запас в потоке */
  padding: 20px 0 90px;
  margin: -10px 0 -60px;
}
.portfolio-track::-webkit-scrollbar { display: none; }
.portfolio-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.portfolio-inner {
  display: flex;
  gap: 26px;
  width: max-content;
  /* отступ от краёв = зазору между карточками */
  padding: 0 26px;
}
.work-card {
  flex: none;
  width: 380px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--glass-shadow);
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); }
.work-preview {
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  aspect-ratio: 400 / 260;
  container-type: size; /* даёт единицы cqh для hover-прокрутки */
}
.work-preview svg,
.work-preview img { display: block; width: 100%; height: auto; transition: transform 0.35s ease; }
.work-card:hover .work-preview svg { transform: scale(1.04); }
/* полностраничный скрин: при ховере медленно едет вниз,
   при уходе курсора плавно возвращается (transition отматывает
   с текущей точки) */
.work-preview .full-shot {
  transition: transform 2.5s ease;
  will-change: transform;
}
.work-card:hover .work-preview .full-shot {
  transform: translateY(calc(-100% + 100cqh));
  transition: transform 11s ease-in-out;
}
@supports not (width: 100cqw) {
  .work-card:hover .work-preview .full-shot { transform: translateY(calc(-100% + 247px)); }
}
.work-meta { padding: 20px 22px 24px; }
.work-meta h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #1E1B4B;
}
.work-meta p { color: var(--gray); font-size: 0.88rem; margin: 4px 0 14px; }
.work-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.work-card:hover .work-link { border-color: var(--blue); }

.work-card--cta { background: var(--grad); border: none; display: flex; align-items: center; }
.work-cta-inner { padding: 36px 30px; text-align: left; color: #fff; }
.work-cta-plus {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 12px;
}
.work-cta-inner h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #fff;
}
.work-cta-inner p { font-size: 0.95rem; margin-bottom: 22px; opacity: 0.92; }
.work-card--cta .btn { background: #fff; color: var(--head); box-shadow: none; }
.work-card--cta .btn:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-transform: uppercase;
  color: var(--head);
  padding: 24px 4px;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--blue); }
.faq-x { position: relative; width: 18px; height: 18px; flex: none; }
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-x::before { width: 100%; height: 2px; top: 8px; }
.faq-x::after { height: 100%; width: 2px; left: 8px; }
.faq-item.is-open .faq-x::after { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 4px 26px; color: var(--gray); max-width: 720px; }

/* ---------- Форма ---------- */
.order-form { position: relative; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--head);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  appearance: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(75, 85, 99, 0.55); }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231E40AF' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-sm);
  color: #B91C1C;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.form-note { margin-top: 16px; font-size: 0.85rem; color: var(--gray); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--blue); }

.form-success {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow-hover);
  padding: 50px 40px;
  text-align: center;
}
.success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--grad);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.35);
  margin-bottom: 20px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: #1E1B4B;
  margin-bottom: 8px;
}
.form-success p { color: var(--gray); }
.form-success.is-shown { animation: successPop 0.4s ease; }
@keyframes successPop {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(160deg, #172554 15%, #312E81 65%, #4C1D95);
  color: #E0E7FF;
  padding: 70px 0 30px;
}
/* градиентная линия-разделитель над футером */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
}
/* точечная сетка убрана: в правом углу теперь колонка реквизитов */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #93C5FD, #DDD6FE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.footer-brand p { color: #A5B4FC; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93C5FD;
  margin-bottom: 16px;
}
.footer-col a { display: block; padding: 5px 0; color: #C7D2FE; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
/* колонка юридических реквизитов */
.footer-col--legal span {
  display: block;
  padding: 5px 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #A5B4FC;
}
/* строка реквизитов на privacy-странице (там нет колонок) */
.footer-legal {
  margin: 22px 0 4px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #818CF8;
}
.footer-legal a { color: #A5B4FC; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 0.85rem;
  color: #818CF8;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 200;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(30, 64, 175, 0.25);
  padding: 22px;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.is-shown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner p { font-size: 0.9rem; margin-bottom: 16px; color: var(--gray); }
.cookie-banner a { text-decoration: underline; text-underline-offset: 3px; color: var(--blue); }
.cookie-actions { display: flex; gap: 12px; }

/* ---------- FAB ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 190; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fab-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37, 99, 235, 0.45); }
.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fab.is-open .fab-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab-link {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--head);
  text-align: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.fab-link:hover { box-shadow: var(--glass-shadow); transform: translateY(-2px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.services-grid .reveal:nth-child(2), .pricing-grid .reveal:nth-child(2), .process-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3), .pricing-grid .reveal:nth-child(3), .process-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Privacy page ---------- */
.privacy-main { padding: calc(var(--header-h) + 70px) 0 100px; }
.privacy-updated { font-family: var(--font-mono); font-size: 0.85rem; color: var(--gray); margin: 14px 0 44px; }
.privacy-section { margin-bottom: 36px; max-width: 760px; }
.privacy-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #1E1B4B;
  padding-top: 14px;
  position: relative;
  margin-bottom: 10px;
}
.privacy-section h2::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.privacy-section p { color: var(--gray); }
.privacy-back { display: inline-block; margin-top: 20px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Адаптивность ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.25); }
  .stat:nth-child(3) { border-left: none; }
  .main-nav { display: none; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-three { order: -1; min-height: 0; margin: 10px 0 26px; }
  .hero-three::after { display: none; }
  .hero-three-inner { margin: 0 auto; }
  .hero-scroll { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -26px;
    transform: translateX(-50%);
  }
  .why-points { grid-template-columns: 1fr; gap: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .btn-header { display: none; }
  .burger { display: flex; }
  .section { padding: 80px 0; }
  .section--ink, .section--cobalt, .section--yellow {
    width: calc(100% - 20px);
    border-radius: 28px;
    margin: 36px auto;
  }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.25); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .work-card { width: min(320px, 82vw); }
  .b-cursor { display: none; }
  .b-hero { grid-template-columns: 1fr; }
  .b-img { height: 72px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .fab { right: 12px; bottom: 86px; }
  .fab-label { display: none; }
  .fab-toggle { padding: 14px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-anim, .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  /* кинетическое слово — статично показываем первое */
  .hero-title .rotator > span { animation: none; opacity: 0; transform: none; }
  .hero-title .rotator > span:first-child { opacity: 1; }
  /* hover-прокрутка портфолио отключена */
  .work-card:hover .work-preview .full-shot { transform: none; }
  /* голограмма — статичное состояние */
  .holo-layer { animation: none !important; }
  .holo-scan, .hc-caret { display: none; }
  .bg-orbs span { animation: none !important; }
}

/* =========================================================
   V2: глубокие тени под всеми элементами
   ========================================================= */
:root {
  --glass-shadow: 0 14px 40px rgba(30, 64, 175, 0.16);
  --glass-shadow-hover: 0 26px 64px rgba(30, 64, 175, 0.24);
}
.site-header.is-scrolled { box-shadow: 0 14px 44px rgba(30, 64, 175, 0.18); }
.lang-switch { box-shadow: 0 6px 18px rgba(30, 64, 175, 0.10); }
.btn-ghost { box-shadow: 0 8px 22px rgba(30, 64, 175, 0.12); }
.btn-ghost:hover { box-shadow: 0 16px 38px rgba(30, 64, 175, 0.18); }
.hero-tags li { box-shadow: 0 8px 20px rgba(30, 64, 175, 0.10); }
.marquee { box-shadow: 0 16px 36px rgba(30, 64, 175, 0.10); }
.eyebrow-sq { box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35); }
.service-ico { box-shadow: 0 8px 20px rgba(30, 64, 175, 0.14); }
.soon-badge, .popular-badge { box-shadow: 0 10px 26px rgba(124, 58, 237, 0.35); }
.stats-grid { box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22); }
.process-step { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16); }
.work-card--cta { box-shadow: 0 18px 46px rgba(124, 58, 237, 0.38); }
.form-field input,
.form-field select,
.form-field textarea { box-shadow: 0 8px 22px rgba(30, 64, 175, 0.08); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 12px 30px rgba(30, 64, 175, 0.14); }
.fab-link { box-shadow: 0 10px 26px rgba(30, 64, 175, 0.16); }
.footer-logo { filter: drop-shadow(0 10px 24px rgba(147, 197, 253, 0.25)); }

/* FAQ: раскрытый вопрос — карточка с тенью */
.faq-q { padding: 24px 18px; border-radius: 14px; }
.faq-a p { padding: 0 18px 26px; }
.faq-item { border-radius: 14px; transition: background 0.25s ease, box-shadow 0.25s ease; }
.faq-item.is-open { background: rgba(255, 255, 255, 0.75); box-shadow: 0 18px 44px rgba(30, 64, 175, 0.14); }

/* Голограмма на мобильных */
@media (max-width: 900px) {
  .holo { height: 350px; }
  .holo-scene { transform: rotateX(calc(56deg + var(--tiltX))) rotateZ(-38deg) rotateY(var(--tiltY)) scale(0.82); }
  .hr-1 { width: 270px; height: 270px; }
  .hr-2 { width: 350px; height: 350px; }
  .hch-1 { left: 0; }
  .hch-2 { right: 0; }
}
@media (max-width: 560px) {
  .holo { height: 320px; }
  .holo-scene { transform: rotateX(56deg) rotateZ(-38deg) scale(0.72); }
  .holo-chip { font-size: 0.65rem; padding: 6px 11px; }
}

/* =========================================================
   V2: детализация голограммы в hero
   ========================================================= */

/* рамка-«видоискатель» вокруг голограммы */
.holo-corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 2.5px solid rgba(37, 99, 235, 0.5);
  animation: cornerPulse 3s ease-in-out infinite;
}
.hcor-tl { top: 4%; left: 7%; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.hcor-tr { top: 4%; right: 7%; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; animation-delay: 0.4s; }
.hcor-bl { bottom: 4%; left: 7%; border-right: none; border-top: none; border-radius: 0 0 0 8px; animation-delay: 0.8s; }
.hcor-br { bottom: 4%; right: 7%; border-left: none; border-top: none; border-radius: 0 0 8px 0; animation-delay: 1.2s; }
@keyframes cornerPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* угловые узлы сетки теперь — svg-кружки .hgd-node внутри .hg-draw */

/* слой кода: колонка «номеров строк» и подсветка синтаксиса */
.holo-code { padding-left: 28px; }
.holo-code::before {
  content: "";
  position: absolute;
  left: 10px; top: 18px; bottom: 18px;
  width: 4px;
  background: repeating-linear-gradient(180deg, rgba(147, 197, 253, 0.55) 0 6px, transparent 6px 20px);
  border-radius: 2px;
}
.hc-row { display: flex; gap: 6px; width: 100%; }
.hc-tok { height: 9px; border-radius: 5px; }
.t-b { background: #60A5FA; }
.t-v { background: #A78BFA; }
.t-p { background: #F0ABFC; }
.t-l { background: rgba(191, 219, 254, 0.38); }

/* частицы данных, поднимающиеся сквозь стек */
.holo-dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #93C5FD;
  box-shadow: 0 0 10px #60A5FA;
  opacity: 0;
  animation: dotRise 3.4s linear infinite;
  animation-delay: var(--pd);
}
@keyframes dotRise {
  0% { opacity: 0; transform: translate3d(var(--px), var(--py), 6px); }
  15% { opacity: 0.9; }
  70% { opacity: 0.7; }
  100% { opacity: 0; transform: translate3d(var(--px), var(--py), 132px); }
}

/* интерфейсный слой: навигация, аватар, блик, контент карточек */
.hu-nav { top: 14px; right: 32px; display: flex; gap: 6px; }
.hu-nav i { width: 15px; height: 5px; border-radius: 3px; background: #C7D2FE; }
.hu-ava { top: 10px; right: 12px; width: 13px; height: 13px; border-radius: 50%; background: var(--grad); box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4); }
.hu-img { overflow: hidden; }
.hu-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.65) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: huShine 12s linear infinite;
}
@keyframes huShine {
  0%, 72% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}
.hu-card::after {
  content: "";
  position: absolute;
  left: 7px; bottom: 8px;
  width: 62%; height: 4px;
  border-radius: 2px;
  background: #DBEAFE;
}

/* кнопка «пульсирует» при клике курсора */
.hu-btn { animation: btnPulse 12s ease-out infinite; }
@keyframes btnPulse {
  0%, 79% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
  81% { box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.35); }
  86% { box-shadow: 0 0 0 11px rgba(124, 58, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

/* курсор, «работающий» с интерфейсом */
.hu-cursor {
  width: 13px; height: 13px;
  background: #1E3A8A;
  clip-path: polygon(0 0, 100% 38%, 55% 55%, 38% 100%);
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 3px 6px rgba(30, 58, 138, 0.5));
  opacity: 0;
  z-index: 3;
  animation: uiCursor 12s ease-in-out infinite;
}
@keyframes uiCursor {
  0%, 70% { transform: translate(240px, 34px); opacity: 0; }
  73% { opacity: 1; }
  78% { transform: translate(72px, 88px); opacity: 1; }
  80% { transform: translate(72px, 88px) scale(0.72); }
  82% { transform: translate(72px, 88px) scale(1); }
  88% { transform: translate(160px, 158px); opacity: 1; }
  93%, 100% { transform: translate(245px, 190px); opacity: 0; }
}

/* всплывающее уведомление после «клика» */
.hu-toast {
  top: 8px; right: 8px;
  width: 45%; height: 21px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.20);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  opacity: 0;
  z-index: 2;
  animation: toastPop 12s ease infinite;
}
.hu-toast i { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }
.hu-toast b { flex: 1; height: 4px; border-radius: 2px; background: #DBEAFE; }
@keyframes toastPop {
  0%, 82% { opacity: 0; transform: translateY(-8px); }
  85%, 95% { opacity: 1; transform: none; }
  99%, 100% { opacity: 0; }
}

/* статика при reduced-motion: полный стек + финальные бейджи */
@media (prefers-reduced-motion: reduce) {
  .holo-dot, .hu-cursor, .hu-toast { display: none; }
  .hu-img::after { animation: none !important; }
  .hch-4 .day { animation: none; }
  .hch-4 .day:nth-child(3) { opacity: 1; transform: none; }
  .hch-live { animation: none; opacity: 1; transform: none; }
}
