:root {
  --bg: #08080a;
  --bg-2: #0f0f13;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f2f2f5;
  --muted: #a3a6b0;
  --accent: #c9cdd6;
  --accent-2: #f4f5f7;
  --accent-3: #e5e4e2;
  --gradient: linear-gradient(90deg, #6e7686, #f8f9fb 28%, #aab0bd 50%, #eef0f4 70%, #6e7686);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1180px, 92%); margin: 0 auto; }
.container--narrow { width: min(820px, 92%); }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

/* ---------- Background layers ---------- */
#neural-bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}

.noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  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'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__logo {
  width: 92px; height: 92px;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(199, 202, 209, 0.3));
}
@keyframes logoFloat { 50% { transform: translateY(-10px); } }
.preloader__bar {
  width: min(280px, 60vw); height: 3px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.1); overflow: hidden;
}
.preloader__fill { width: 0%; height: 100%; background: var(--gradient); transition: width 0.3s ease; }
@keyframes pulse { 50% { opacity: 0.55; } }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999;
  border-radius: 50%; translate: -50% -50%;
}
.cursor {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(199, 202, 209, 0.8);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent-2); }
.cursor.is-hover { width: 64px; height: 64px; background: rgba(199, 202, 209, 0.12); border-color: var(--accent-2); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.header.scrolled {
  background: rgba(5, 5, 16, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.nav__logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav__logo img { display: block; transition: transform 0.4s var(--ease); }
.nav__logo:hover img { transform: rotate(90deg); }
.nav__logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: 0.05em; color: var(--text);
}
.nav__logo-text i {
  font-style: normal;
  background: var(--gradient); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__menu { display: flex; align-items: center; gap: 34px; list-style: none; margin-left: auto; }
.nav__menu a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: color 0.25s;
  position: relative;
}
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gradient); transition: width 0.3s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__menu a:hover { color: var(--text); }
.nav__cta {
  color: #101114 !important;
  background: var(--gradient);
  padding: 10px 22px; border-radius: 100px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s !important;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(199, 202, 209, 0.45); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; transition: 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; padding: 140px 0 80px;
}
.hero__inner { position: relative; z-index: 2; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; pointer-events: none;
}
.hero__glow--1 { width: 520px; height: 520px; background: var(--accent); top: -10%; left: -8%; animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--2 { width: 460px; height: 460px; background: var(--accent-3); bottom: -15%; right: -6%; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.14em;
  border: 1px solid var(--border); border-radius: 100px; padding: 10px 20px;
  background: var(--surface); backdrop-filter: blur(8px);
  margin-bottom: 30px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e5e4e2;
  box-shadow: 0 0 0 0 rgba(229, 228, 226, 0.7);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(229, 228, 226, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 228, 226, 0); } }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.2vw, 4.6rem);
  font-weight: 900; line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.gradient-text {
  background: var(--gradient);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.typed-wrap { color: var(--accent-2); }
.caret {
  display: inline-block; width: 4px; height: 0.95em;
  background: var(--accent-2); margin-left: 6px; vertical-align: -0.12em;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__subtitle { max-width: 620px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); margin-bottom: 42px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 70px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 16px 32px; border-radius: 100px; text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
  border: 0; cursor: pointer; position: relative; overflow: hidden;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--lg { padding: 19px 40px; font-size: 1.05rem; }
.btn--primary { color: #101114; font-weight: 800; background: var(--gradient); background-size: 200% 100%; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 12px 40px rgba(199, 202, 209, 0.5); transform: translateY(-3px); }
.btn--ghost { color: var(--text); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 900px;
}
.stat { border-left: 2px solid rgba(199, 202, 209, 0.4); padding-left: 18px; }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

.hero__scroll { position: absolute; bottom: 34px; left: 50%; translate: -50% 0; }
.hero__mouse {
  display: block; width: 26px; height: 42px;
  border: 2px solid var(--muted); border-radius: 14px; position: relative;
}
.hero__mouse::after {
  content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0;
  width: 4px; height: 8px; border-radius: 4px; background: var(--accent-2);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.marquee__track {
  display: flex; align-items: center; gap: 42px; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--muted); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.08em;
}
.marquee__track i { color: var(--accent); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section__head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section__tag {
  font-family: var(--font-mono); color: var(--accent-2); font-size: 0.85rem;
  margin-bottom: 16px; letter-spacing: 0.05em;
}
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.7rem); line-height: 1.2;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(199, 202, 209, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: rgba(199, 202, 209, 0.55); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.service-card__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(199, 202, 209, 0.2), rgba(199, 202, 209, 0.12));
  border: 1px solid rgba(199, 202, 209, 0.35);
  color: var(--accent-2); margin-bottom: 24px;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.08); }
.service-card__icon svg { width: 32px; height: 32px; }
.service-card__num {
  position: absolute; top: 24px; right: 26px;
  font-family: var(--font-mono); color: rgba(255, 255, 255, 0.14); font-size: 1rem;
}
.service-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 12px;
}
.service-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.service-card__tags li {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-2);
  border: 1px solid rgba(199, 202, 209, 0.3); border-radius: 100px; padding: 4px 12px;
  background: rgba(199, 202, 209, 0.06);
}
.service-card--cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px;
  background: linear-gradient(135deg, rgba(199, 202, 209, 0.16), rgba(229, 228, 226, 0.1));
  border-color: rgba(199, 202, 209, 0.45);
}
.service-card--cta p { margin-bottom: 8px; }

/* ---------- Cases ---------- */
.cases__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case-card__tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(199, 202, 209, 0.35); border-radius: 100px; padding: 5px 13px;
  background: rgba(199, 202, 209, 0.07);
  margin-bottom: 18px;
}
.case-card__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border);
}
.case-card__metric b {
  display: block;
  font-family: var(--font-display); font-weight: 800; font-size: 1.12rem;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.case-card__metric span { font-size: 0.72rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 3px; }
.service-card.case-card { display: flex; flex-direction: column; }
.service-card.case-card p { flex-shrink: 0; }

/* ---------- Showreel ---------- */
.showreel__player {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 640px; margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(199, 202, 209, 0.15), 0 0 90px rgba(199, 202, 209, 0.18);
  background: radial-gradient(ellipse at center, #101114 0%, #08090b 70%);
}
.showreel__player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.showreel__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.showreel__player.playing .showreel__fallback,
.showreel__player.playing .showreel__play,
.showreel__player.playing .showreel__hint { opacity: 0; pointer-events: none; }

.showreel__orbits { position: relative; width: 300px; height: 300px; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(199, 202, 209, 0.4); }
.orbit--1 { animation: spin 10s linear infinite; }
.orbit--2 { inset: 40px; border-color: rgba(199, 202, 209, 0.4); animation: spin 7s linear infinite reverse; }
.orbit--3 { inset: 80px; border-color: rgba(229, 228, 226, 0.4); animation: spin 12s linear infinite; }
.orbit::after {
  content: ""; position: absolute; top: -5px; left: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2);
}
.orbit--2::after { background: var(--accent-3); box-shadow: 0 0 14px var(--accent-3); }
.orbit--3::after { background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.orbit__core {
  position: absolute; inset: 118px; border-radius: 50%;
  background: var(--gradient); filter: blur(2px);
  animation: corePulse 3s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes corePulse { 50% { transform: scale(1.18); filter: blur(6px); } }

.showreel__play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s, opacity 0.4s;
}
.showreel__play svg { width: 36px; height: 36px; margin-left: 4px; }
.showreel__play:hover { transform: scale(1.1); background: rgba(199, 202, 209, 0.35); }
.showreel__play::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(199, 202, 209, 0.5);
  animation: ping 2s ease-out infinite;
}
.showreel__hint {
  position: absolute; bottom: 24px; left: 28px;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: opacity 0.4s;
}

/* ---------- Avatars ---------- */
.avatars__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center;
}
.avatars__text { color: var(--muted); margin: 22px 0 28px; }
.avatars__list { list-style: none; margin-bottom: 38px; display: grid; gap: 14px; }
.avatars__list li {
  padding: 14px 18px; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); color: var(--muted); font-size: 0.95rem;
}
.avatars__list strong { color: var(--text); }

.avatar-frame {
  position: relative; aspect-ratio: 4 / 5; max-width: 420px; margin: 0 auto;
  border-radius: 28px; border: 1px solid rgba(199, 202, 209, 0.4);
  background: linear-gradient(160deg, #14151a 0%, #0b0b0d 60%);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 70px rgba(199, 202, 209, 0.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  padding: 40px;
}
.avatar-frame__scan {
  position: absolute; left: 0; right: 0; height: 120px; top: -120px;
  background: linear-gradient(to bottom, transparent, rgba(199, 202, 209, 0.12), transparent);
  animation: scan 3.4s ease-in-out infinite;
}
@keyframes scan { 60%, 100% { top: 110%; } }
.avatar-frame__head {
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #262931, #131419 70%);
  border: 2px solid rgba(199, 202, 209, 0.5);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 0 50px rgba(199, 202, 209, 0.35), inset 0 0 30px rgba(199, 202, 209, 0.12);
}
.avatar-face { display: grid; gap: 22px; justify-items: center; }
.avatar-face__eyes { display: flex; gap: 26px; }
.avatar-face__eyes span {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2);
  animation: blinkEyes 4.2s infinite;
}
@keyframes blinkEyes { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
.avatar-face__mouth {
  width: 44px; height: 10px; border-radius: 10px;
  background: var(--accent-3); box-shadow: 0 0 12px var(--accent-3);
  transition: height 0.12s ease;
}
.avatar-frame__wave {
  display: flex; align-items: center; gap: 5px; height: 48px;
}
.avatar-frame__wave span {
  width: 5px; border-radius: 5px; background: var(--gradient);
  height: 8px;
}
.avatar-frame__hud {
  position: absolute; top: 18px; left: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 5px;
  font-family: var(--font-mono); font-size: 0.66rem; color: rgba(154, 160, 195, 0.9);
  letter-spacing: 0.06em;
}
.hud-line--live { color: #e5e4e2; animation: pulse 1.6s ease-in-out infinite; }

/* ---------- Process ---------- */
.process__timeline {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.process-step {
  position: relative; padding: 34px 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s;
  backdrop-filter: blur(8px);
}
.process-step:hover { transform: translateY(-8px); border-color: rgba(199, 202, 209, 0.5); }
.process-step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 16px;
}
.process-step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); overflow: hidden;
  transition: border-color 0.3s;
  backdrop-filter: blur(8px);
}
.faq-item[open] { border-color: rgba(199, 202, 209, 0.55); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; font-weight: 700; font-size: 1.02rem;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-2); }
.faq-item__icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); position: relative;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  background: var(--text); border-radius: 2px;
}
.faq-item__icon::before { width: 12px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 12px; transition: opacity 0.25s; }
.faq-item[open] .faq-item__icon { transform: rotate(180deg); background: rgba(199, 202, 209, 0.2); }
.faq-item[open] .faq-item__icon::after { opacity: 0; }
.faq-item__body { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { text-align: center; overflow: hidden; }
.contact__glow {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 202, 209, 0.22), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.contact__inner { position: relative; }
.contact__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.7rem, 4.5vw, 3rem); line-height: 1.2; margin-bottom: 22px;
}
.contact__text { color: var(--muted); max-width: 520px; margin: 0 auto 42px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }

/* ---------- Focus visible ---------- */
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 100%; height: 3px;
  background: var(--gradient);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed; right: 26px; bottom: 26px; z-index: 150;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 100px;
  background: var(--gradient); background-size: 200% 100%;
  color: #101114; font-weight: 800; font-size: 0.95rem; text-decoration: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(199, 202, 209, 0.25);
  opacity: 0; transform: translateY(24px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.floating-cta svg { width: 20px; height: 20px; }
.floating-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.floating-cta:hover { background-position: 100% 0; }
@media (max-width: 720px) {
  .floating-cta span { display: none; }
  .floating-cta { padding: 16px; border-radius: 50%; right: 18px; bottom: 18px; }
}

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(80px, 10vw, 140px); }
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  border: 1px solid rgba(199, 202, 209, 0.35);
  background: linear-gradient(120deg, rgba(199, 202, 209, 0.12), rgba(199, 202, 209, 0.03) 60%);
  backdrop-filter: blur(10px);
}
.cta-band__text { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }
.cta-band__text strong { color: var(--text); }

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 202, 209, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.testimonial-card__stars {
  color: var(--accent-2); letter-spacing: 4px; font-size: 0.95rem;
  text-shadow: 0 0 12px rgba(229, 228, 226, 0.5);
}
.testimonial-card blockquote {
  color: var(--text); font-size: 0.98rem; line-height: 1.6; flex-grow: 1;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial-card__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #d7dae0, #9ea3b0);
  color: #101114; font-weight: 800; font-size: 0.9rem;
}
.testimonial-card figcaption b { display: block; font-size: 0.95rem; }
.testimonial-card figcaption i { font-style: normal; color: var(--muted); font-size: 0.82rem; }

/* ---------- Cases (note) + About ---------- */
.cases__note { max-width: 640px; margin: -40px auto 56px; text-align: center; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.about-card__num { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--muted); }
.about-card__num b { color: var(--text); font-weight: 600; }

/* ---------- Guarantees ---------- */
.guarantees__grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.guarantee {
  padding: 30px 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.guarantee:hover { transform: translateY(-6px); border-color: rgba(199, 202, 209, 0.5); }
.guarantee svg {
  width: 44px; height: 44px; color: var(--accent-2); margin-bottom: 18px;
  filter: drop-shadow(0 0 10px rgba(229, 228, 226, 0.35));
}
.guarantee h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.guarantee p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Lead form ---------- */
.lead-form {
  display: grid; gap: 14px;
  margin: 0 auto 30px; max-width: 560px; text-align: left;
}
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted); }
.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: rgba(199, 202, 209, 0.6);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(199, 202, 209, 0.12);
}
.lead-form button { justify-content: center; justify-self: center; }
.lead-form__note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.lead-form__note.success { color: #e5e4e2; }

/* ---------- n8n chat theme (активируется после подключения chatWebhook) ---------- */
:root {
  --chat--color-primary: #c9cdd6;
  --chat--color-secondary: #9ea3b0;
  --chat--color-light: #f4f5f7;
  --chat--color-dark: #101114;
  --chat--window--width: 400px;
  --chat--window--height: 600px;
  --chat--header--background: #0f0f13;
  --chat--header--color: #f2f2f5;
  --chat--message--bot--background: #14151a;
  --chat--message--bot--color: #f2f2f5;
  --chat--message--user--background: #c9cdd6;
  --chat--message--user--color: #101114;
  --chat--toggle--background: #c9cdd6;
  --chat--toggle--color: #101114;
  --chat--toggle--hover--background: #f4f5f7;
  --chat--textarea--height: 56px;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 36px 0; background: rgba(255, 255, 255, 0.015); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand-text b {
  font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.05em; display: block;
}
.footer__brand-text b i {
  font-style: normal;
  background: var(--gradient); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__brand-text span { color: var(--muted); font-size: 0.78rem; font-family: var(--font-mono); letter-spacing: 0.04em; }
.footer__legal { color: var(--muted); font-size: 0.88rem; }
.footer__links { display: flex; gap: 26px; list-style: none; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.25s; }
.footer__links a:hover { color: var(--accent-2); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.services__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.24s; }
.cases__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.cases__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.cases__grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.cases__grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.cases__grid .reveal:nth-child(6) { transition-delay: 0.24s; }
.testimonials__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.guarantees__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.guarantees__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.guarantees__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.process__timeline .reveal:nth-child(2) { transition-delay: 0.1s; }
.process__timeline .reveal:nth-child(3) { transition-delay: 0.2s; }
.process__timeline .reveal:nth-child(4) { transition-delay: 0.3s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .services__grid, .cases__grid, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .process__timeline, .guarantees__grid { grid-template-columns: repeat(2, 1fr); }
  .avatars__inner { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 1024px) {
  .nav__menu {
    position: fixed; inset: 0; top: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(5, 5, 16, 0.97); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
    height: 100svh;
  }
  .nav__menu.open { opacity: 1; visibility: visible; z-index: 99; }
  .nav__menu a { font-size: 1.3rem; }
  .nav__burger { display: block; z-index: 101; }
  .nav__burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__burger.active span:nth-child(2) { opacity: 0; }
  .nav__burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 720px) {

  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .services__grid, .cases__grid, .testimonials__grid, .guarantees__grid, .process__timeline { grid-template-columns: 1fr; }
  .lead-form__row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .hero { padding-top: 120px; }
  .showreel__play { width: 72px; height: 72px; }
  .showreel__play svg { width: 26px; height: 26px; }
}
