/* ============ CampAIgn — общие стили (тёмная тема) ============ */

:root {
  --orange: #ff5a1f;
  --orange-dark: #e64a12;
  --orange-soft: rgba(255, 90, 31, 0.14);
  --dark: #0f1218;
  --bg: #0b0e14;
  --bg-soft: #10141c;
  --card: #141924;
  --line: #222937;
  --ink: #f2f4f8;
  --gray: #97a1b2;
  --teal: #2ba8b5;
  --radius: 20px;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  --font: "Manrope", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Типографика ---------- */

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-top: 12px;
  font-size: 17px;
}

.accent { color: var(--orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(255, 90, 31, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 90, 31, 0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 90, 31, 0.45);
}

.btn-ghost {
  border-color: #2b3342;
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--gray); transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--dark);
}

.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }

/* ---------- Хедер ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 74px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo .logo-mark { height: 34px; width: 34px; border-radius: 9px; }
.logo .wordmark { font-size: 21px; }

.nav {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.nav a.active {
  color: var(--orange);
  background: var(--orange-soft);
}

.header-cta { margin-left: auto; }
.header-cta .btn { padding: 11px 22px; font-size: 14.5px; }

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Фоновая сетка / свечения ---------- */

.grid-bg {
  position: relative;
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 40%, transparent 100%);
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- Hero главной ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 75% 30%, rgba(255, 90, 31, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 50% at 15% 80%, rgba(43, 168, 181, 0.08), transparent 60%),
    linear-gradient(180deg, #0d1017 0%, var(--bg) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
  padding: 56px 0 0;
  position: relative;
  z-index: 1;
}

.hero-text { padding-bottom: 72px; }

.hero-text h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  margin: 22px 0 18px;
}

.hero-text p {
  font-size: 18px;
  color: var(--gray);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  align-self: end;
}

.hero-visual img.girl {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  margin-inline: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.hero-visual .glow-1 { width: 380px; height: 380px; background: var(--orange); top: 10%; right: 0; opacity: 0.28; }
.hero-visual .glow-2 { width: 300px; height: 300px; background: var(--teal); bottom: 0; left: -40px; opacity: 0.2; }

/* плавающие чипы у героя */
.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 25, 36, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #2a3140;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.chip svg { width: 16px; height: 16px; flex: none; }

.chip-1 { top: 14%; left: -4%; animation-delay: 0s; }
.chip-2 { top: 38%; right: -2%; animation-delay: 1.2s; }
.chip-3 { bottom: 22%; left: -8%; animation-delay: 2.1s; }
.chip-4 { bottom: 8%; right: 4%; animation-delay: 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Marquee ---------- */

.marquee {
  background: #080a0f;
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.75;
}

.marquee-track span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Секции ---------- */

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Карточки направлений ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.16), transparent 70%);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 90, 31, 0.5);
}

.service-card:hover::after { transform: scale(1.4); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 90, 31, 0.25);
  display: grid;
  place-items: center;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 22px; }

.service-card p { color: var(--gray); font-size: 15.5px; }

.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

.badge {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--gray);
}

.service-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #2a3140;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s;
}

.service-arrow svg { width: 16px; height: 16px; stroke: var(--ink); transition: stroke 0.25s; }

.service-card:hover .service-arrow { background: var(--orange); border-color: var(--orange); }
.service-card:hover .service-arrow svg { stroke: #fff; }

/* ---------- Преимущества ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #2e3646; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 90, 31, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: 14.5px; }

/* ---------- Блок стартапов ---------- */

.startup {
  position: relative;
  background: linear-gradient(135deg, #171d2b 0%, var(--dark) 60%);
  border: 1px solid #262e3e;
  color: #fff;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.startup::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.startup .glow-1 { width: 420px; height: 420px; background: var(--orange); top: -160px; right: -120px; opacity: 0.3; }

.startup-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.startup h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 18px 0 16px; }

.startup > .startup-inner p.lead { color: rgba(255, 255, 255, 0.7); font-size: 17px; max-width: 480px; }

.startup-points { margin-top: 28px; display: grid; gap: 14px; }

.startup-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 16px;
}

.startup-points .pt-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 90, 31, 0.18);
  border: 1px solid rgba(255, 90, 31, 0.4);
  display: grid;
  place-items: center;
}

.startup-points .pt-icon svg { width: 18px; height: 18px; }

/* декоративная ракета-график */
.startup-visual { position: relative; display: grid; place-items: center; }
.startup-visual svg { width: 100%; max-width: 380px; height: auto; }

/* ---------- Цифры ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 36px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.stat-num {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.stat-label { color: var(--gray); font-weight: 600; font-size: 14.5px; margin-top: 6px; }

/* ---------- Процесс ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  display: inline-block;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 90, 31, 0.25);
  border-radius: 10px;
  padding: 6px 12px;
  margin-bottom: 18px;
}

.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 14.5px; }

.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  background: #0d1017;
  border-top: 1px solid var(--line);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta .glow-1 { width: 500px; height: 500px; background: var(--orange); top: -220px; left: 50%; transform: translateX(-50%); opacity: 0.25; }

.cta h2 { font-size: clamp(30px, 4.4vw, 52px); position: relative; }
.cta p { color: rgba(255, 255, 255, 0.6); margin: 16px auto 36px; max-width: 440px; position: relative; }
.cta .btn { position: relative; }

/* ---------- Футер ---------- */

.footer {
  background: #080a0f;
  color: #fff;
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.wordmark {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
}

.wordmark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.wordmark .ai {
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  padding: 0 9px 2px;
  line-height: 1.25;
}

.logo .wordmark .ai { border-radius: 8px; padding: 0 7px 2px; }

.footer-tagline { color: rgba(255, 255, 255, 0.5); font-size: 14.5px; margin-top: 14px; max-width: 260px; }

.footer-nav { display: grid; gap: 10px; }
.footer-nav-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.footer-nav a { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--orange); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13.5px;
}

/* ---------- Страницы направлений ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(255, 90, 31, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(43, 168, 181, 0.08), transparent 60%),
    linear-gradient(180deg, #0d1017 0%, var(--bg) 100%);
  padding: 80px 0;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 22px 0 18px; }
.page-hero .lead { font-size: 18px; color: var(--gray); max-width: 460px; margin-bottom: 32px; }

.page-hero .glow-1 { width: 400px; height: 400px; background: var(--orange); top: -140px; right: -80px; opacity: 0.2; }
.page-hero .glow-2 { width: 300px; height: 300px; background: var(--teal); bottom: -120px; left: -80px; opacity: 0.15; }

.page-visual { position: relative; display: grid; place-items: center; }

/* мокап-карточка */
.mockup {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid #262e3e;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #10141c;
}

.mockup-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3140;
}

.mockup-bar i:first-child { background: var(--orange); }

.mockup-body { padding: 22px; }

/* мокап поиска (контекст) */
.search-input {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 90, 31, 0.06);
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.2);
}

.search-input svg { width: 18px; height: 18px; flex: none; }

.search-input .caret {
  width: 2px;
  height: 18px;
  background: var(--orange);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.ad-result {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.ad-result.hot { border-color: rgba(255, 90, 31, 0.55); background: rgba(255, 90, 31, 0.08); }

.ad-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.ad-title { font-weight: 700; font-size: 15.5px; }
.ad-desc { color: var(--gray); font-size: 13.5px; margin-top: 4px; }

.skeleton { height: 12px; border-radius: 6px; background: #1c2230; margin-top: 10px; }
.skeleton.w60 { width: 60%; }
.skeleton.w80 { width: 80%; }

/* мокап аудиторий (таргет) */
.audience-rings {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 90, 31, 0.5);
}

.ring-1 { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.ring-2 { width: 72%; height: 72%; border-color: rgba(43, 168, 181, 0.55); animation: spin 30s linear infinite reverse; }
.ring-3 { width: 44%; height: 44%; }

@keyframes spin { to { transform: rotate(360deg); } }

.ring-center {
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(255, 90, 31, 0.4);
}

.ring-center svg { width: 44%; height: 44%; }

.avatar {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid #2a3140;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 22px;
  animation: float 5s ease-in-out infinite;
}

.avatar.a1 { top: 4%; left: 44%; }
.avatar.a2 { top: 28%; right: 2%; animation-delay: 1s; }
.avatar.a3 { bottom: 12%; right: 14%; animation-delay: 2s; }
.avatar.a4 { bottom: 22%; left: 4%; animation-delay: 0.5s; }
.avatar.a5 { top: 20%; left: 10%; animation-delay: 1.6s; }

/* мокап видео */
.video-mockup { position: relative; }

.video-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 90, 31, 0.4), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(43, 168, 181, 0.4), transparent 55%),
    #05070b;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px rgba(255, 90, 31, 0.25);
  animation: pulse 2.2s ease-out infinite;
}

.play-btn svg { width: 26px; height: 26px; margin-left: 4px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.4); }
  70% { box-shadow: 0 0 0 22px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

.video-progress {
  margin-top: 16px;
  height: 6px;
  border-radius: 3px;
  background: #1c2230;
  overflow: hidden;
}

.video-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--orange);
  animation: progress 6s linear infinite;
}

@keyframes progress { from { width: 0; } to { width: 100%; } }

.video-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--gray); }

/* мокап чата (ИИ-агент) */
.chat-body { display: flex; flex-direction: column; gap: 12px; min-height: 320px; padding: 22px; }

.msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.msg.show { opacity: 1; transform: translateY(0); }

.msg.user {
  align-self: flex-end;
  background: #1d2432;
  color: var(--ink);
  border-bottom-right-radius: 4px;
}

.msg.bot {
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.3);
}

.msg.typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
}

.msg.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  animation: bounce 1s ease-in-out infinite;
}

.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce { 50% { transform: translateY(-5px); } }

.chat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 14.5px;
}

.chat-label .status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
}

.chat-label .ai-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(255, 90, 31, 0.3);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ---------- Общие блоки страниц направлений ---------- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.benefits-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.platform-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 15.5px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.platform-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(255,90,31,0.5); }

.platform-pill svg { width: 20px; height: 20px; }

/* ---------- Reveal-анимации ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .ring-1, .ring-2, .chip, .avatar, .play-btn, .video-progress i { animation: none; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
  .nav a { padding: 9px 10px; font-size: 13.5px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-cta { display: none; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: #0d1017;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    margin: 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }

  .nav.open { transform: none; opacity: 1; visibility: visible; }

  .nav a { font-size: 16px; padding: 13px 14px; border-radius: 12px; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-text { padding-bottom: 0; text-align: center; }
  .hero-text p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 36px; }
  .chip-1 { left: 0; }
  .chip-3 { left: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .startup-inner { grid-template-columns: 1fr; }
  .startup-visual { order: -1; }
  .startup-visual svg { max-width: 280px; }

  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }

  .footer-top { flex-direction: column; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .features-grid, .stats-grid, .steps, .benefits-grid, .benefits-grid.cols-3 { grid-template-columns: 1fr; }
  .chip { display: none; }
  .service-card { padding: 28px; }
}
