/* Open Axis — Control Center Design System */

:root {
  --bg-deep: #0a0c10;
  --bg-surface: #0d1117;
  --bg-elevated: #13171f;
  --bg-panel: rgba(22, 27, 34, 0.6);
  --accent: #ef4444;
  --accent-dim: rgba(239, 68, 68, 0.5);
  --accent-glow: rgba(239, 68, 68, 0.25);
  --accent-secondary: #b91c1c;
  --accent-secondary-dim: rgba(185, 28, 28, 0.4);
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(239, 68, 68, 0.35);
  --border-panel: rgba(239, 68, 68, 0.12);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --section-pad: clamp(3rem, 8vw, 5rem);
  --container: min(1120px, 92vw);
  --radius: 8px;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.25s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.page-wrap { position: relative; }

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: grid-pulse 8s var(--ease-out) infinite;
}
@keyframes grid-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.bg-glow--hero {
  width: 80vmin;
  height: 80vmin;
  top: -20vmin;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}
.bg-glow--mid {
  width: 60vmin;
  height: 60vmin;
  top: 55%;
  left: 20%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(185, 28, 28, 0.15) 0%, transparent 70%);
  animation: glow-breathe 8s var(--ease-out) infinite 1s;
}
.bg-glow--cta {
  width: 70vmin;
  height: 70vmin;
  bottom: -10vmin;
  right: -10vmin;
  left: auto;
  top: auto;
  transform: none;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  animation: glow-breathe-cta 7s var(--ease-out) infinite 0.5s;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.05); }
}
.bg-glow--hero { animation: glow-breathe-hero 6s var(--ease-out) infinite; }
@keyframes glow-breathe-hero {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.55; transform: translateX(-50%) scale(1.05); }
}
@keyframes glow-breathe-cta {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.45; }
}

.bg-orbit {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border: 1px solid var(--border-panel);
  border-radius: 50%;
  opacity: 0.5;
}
.bg-orbit--1 {
  width: 100vmax;
  height: 100vmax;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-pulse 8s var(--ease-out) infinite;
}
.bg-orbit--2 {
  width: 80vmax;
  height: 80vmax;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-pulse 12s var(--ease-out) infinite reverse;
}
@keyframes orbit-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.02); }
}

.bg-scan {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  animation: scan-move 4s linear infinite;
}
@keyframes scan-move {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.bg-float {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-float__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(239, 68, 68, 0.15), transparent 70%);
  filter: blur(40px);
  animation: float-orb 20s var(--ease-out) infinite;
}
.bg-float__orb--1 { width: 280px; height: 280px; top: 10%; left: 10%; animation-duration: 18s; }
.bg-float__orb--2 { width: 200px; height: 200px; top: 60%; right: 15%; animation-delay: -5s; animation-duration: 22s; }
.bg-float__orb--3 { width: 160px; height: 160px; bottom: 20%; left: 25%; animation-delay: -10s; animation-duration: 25s; }
.bg-float__orb--4 { width: 120px; height: 120px; top: 30%; right: 30%; background: radial-gradient(circle at 30% 30%, rgba(185, 28, 28, 0.12), transparent 70%); animation-delay: -3s; animation-duration: 20s; }
.bg-float__orb--5 { width: 180px; height: 180px; bottom: 40%; left: 50%; animation-delay: -7s; animation-duration: 24s; }
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(30px, -40px) scale(1.05); opacity: 0.8; }
  50% { transform: translate(-20px, 20px) scale(0.95); opacity: 0.5; }
  75% { transform: translate(20px, 30px) scale(1.02); opacity: 0.7; }
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, var(--border-panel) 0%, transparent 100%);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Hero dust particles — плавающие пылинки */
.hero-dust {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-dust__particle {
  position: absolute;
  border-radius: 50%;
  animation: hero-dust-float 28s linear infinite;
  opacity: 0;
}
.hero-dust__particle--w {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}
.hero-dust__particle--r {
  width: 4px;
  height: 4px;
  background: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.35);
}
.hero-dust__particle:nth-child(1)  { left: 88%; top: 12%; animation-delay: 0s; animation-duration: 26s; }
.hero-dust__particle:nth-child(2)  { left: 72%; top: 8%;  animation-delay: -4s; animation-duration: 30s; }
.hero-dust__particle:nth-child(3)  { left: 95%; top: 25%; animation-delay: -8s; animation-duration: 24s; }
.hero-dust__particle:nth-child(4)  { left: 82%; top: 5%;  animation-delay: -12s; animation-duration: 32s; }
.hero-dust__particle:nth-child(5)  { left: 65%; top: 18%; animation-delay: -2s; animation-duration: 28s; }
.hero-dust__particle:nth-child(6)  { left: 78%; top: 22%; animation-delay: -16s; animation-duration: 25s; }
.hero-dust__particle:nth-child(7)  { left: 92%; top: 15%; animation-delay: -6s; animation-duration: 29s; }
.hero-dust__particle:nth-child(8)  { left: 70%; top: 28%; animation-delay: -10s; animation-duration: 27s; }
.hero-dust__particle:nth-child(9)  { left: 85%; top: 3%;  animation-delay: -14s; animation-duration: 31s; }
.hero-dust__particle:nth-child(10) { left: 90%; top: 20%; animation-delay: -3s; animation-duration: 26s; }
.hero-dust__particle:nth-child(11) { left: 75%; top: 14%; animation-delay: -7s; animation-duration: 30s; }
.hero-dust__particle:nth-child(12) { left: 80%; top: 10%; animation-delay: -11s; animation-duration: 24s; }
.hero-dust__particle:nth-child(13) { left: 68%; top: 6%;  animation-delay: -15s; animation-duration: 28s; }
@keyframes hero-dust-float {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  8% {
    opacity: 0.6;
  }
  92% {
    opacity: 0.5;
  }
  100% {
    transform: translate(-110vw, 95vh);
    opacity: 0;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo:hover { color: var(--text-primary); text-decoration: none; }
.logo__icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: 4px;
  box-shadow: 0 0 12px var(--accent-glow), 0 0 24px rgba(239, 68, 68, 0.15);
  transition: box-shadow var(--duration);
}
.logo:hover .logo__icon {
  box-shadow: 0 0 16px var(--accent-glow), 0 0 32px rgba(239, 68, 68, 0.2);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color var(--duration) var(--ease-out);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.3s var(--ease-out);
}
.nav a:hover { color: var(--text-primary); text-decoration: none; }
.nav a:hover::after { width: 100%; }
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}
.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--duration), opacity var(--duration);
}
@media (max-width: 900px) {
  .header__inner { flex-wrap: wrap; }
  .header .nav {
    display: none;
    width: 100%;
    order: 10;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg) 0;
    gap: var(--space-sm);
    border-top: 1px solid var(--border-subtle);
  }
  .header.is-open .nav { display: flex; }
  .header .header__cta { display: none; }
  .header.is-open .header__cta {
    display: inline-flex;
    width: 100%;
    order: 11;
    justify-content: center;
  }
  .header__burger { display: flex; }
  .header.is-open .header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .header__burger span:nth-child(2) { opacity: 0; }
  .header.is-open .header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Кабинет клиента — второстепенная кнопка в хедере */
.header__portal-btn { opacity: 0.55; font-size: 0.8125rem; }
.header__portal-btn:hover { opacity: 1; }
@media (max-width: 900px) {
  .header .header__portal-btn { display: none; }
  .header.is-open .header__portal-btn {
    display: inline-flex;
    width: 100%;
    order: 12;
    justify-content: center;
  }
}

/* Кнопки — единый pill-стиль (овальные), красный акцент, анимации */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.5rem;
  min-height: 2.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primary — красный градиент, как в hero (форма, главные CTA) */
.btn--primary {
  background: linear-gradient(180deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  color: #fff;
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 28px rgba(239, 68, 68, 0.25),
    0 0 56px rgba(239, 68, 68, 0.1);
}
.btn--primary:hover {
  color: #fff;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 36px rgba(239, 68, 68, 0.4),
    0 0 72px rgba(239, 68, 68, 0.18);
  transform: translateY(-3px);
}

/* Outline — тёмная «таблетка» с красной обводкой при hover */
.btn--outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-panel);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.04);
}
.btn--outline:hover {
  border-color: var(--border-accent);
  background: rgba(239, 68, 68, 0.06);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.12), 0 0 0 1px rgba(239, 68, 68, 0.15);
  text-decoration: none;
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.5rem 1.125rem; min-height: 2.25rem; font-size: 0.875rem; }
.btn--full { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  transform: scale(var(--hero-scale, 1));
  opacity: var(--hero-opacity, 1);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.hero__tag {
  display: inline-block;
  margin: 0 0 var(--space-lg);
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-panel);
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.06);
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hero__title-line1,
.hero__title-line2 {
  display: block;
}
.hero__title-line2 {
  margin-top: 0.12em;
}
.hero__sub {
  font-size: 1.125rem;
  color: #c9d1d9;
  margin-bottom: var(--space-xl);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

/* Hero CTA buttons — pill style, red accent, primary vs secondary */
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0.875rem 1.75rem;
  min-height: 3.25rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
    color 0.35s var(--ease-out), transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  white-space: nowrap;
}
.hero__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hero__btn-sparkle {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.hero__btn-text {
  color: inherit;
}

/* Primary: по умолчанию — красный градиент и свечение; при hover — усиление */
.hero__btn--primary {
  background: linear-gradient(180deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  color: #fff;
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 32px rgba(239, 68, 68, 0.3),
    0 0 64px rgba(239, 68, 68, 0.15);
  text-decoration: none;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.hero__btn--primary .hero__btn-sparkle {
  color: #fff;
}
.hero__btn--primary:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 48px rgba(239, 68, 68, 0.45),
    0 0 96px rgba(239, 68, 68, 0.25),
    0 0 140px rgba(239, 68, 68, 0.12);
}
.hero__btn--primary:hover .hero__btn-sparkle {
  transform: scale(1.12);
}

/* Secondary: тёмная кнопка с красной обводкой */
.hero__btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-panel);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.04);
}
.hero__btn--secondary:hover {
  background: rgba(239, 68, 68, 0.06);
  color: var(--text-primary);
  border-color: var(--border-accent);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.15), 0 0 0 1px rgba(239, 68, 68, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}
.hero__trust {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}
.hero__indicators {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(239, 68, 68, 0.4);
  animation: pulse-dot 2s var(--ease-out) infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Block sections */
.block {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}
.block--alt { background: linear-gradient(180deg, rgba(13, 17, 23, 0.5) 0%, transparent 50%); }

/* Wrapper with background image (problem + value) */
.block-wrap {
  position: relative;
  z-index: 1;
}
.block-wrap--bg {
  background-image: url("../images/background1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.block-wrap--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0.82) 0%,
    rgba(10, 12, 16, 0.74) 50%,
    rgba(10, 12, 16, 0.82) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.block-wrap--bg .block { z-index: 1; }

/* Horizontal stripe dividers */
.section-stripe {
  position: relative;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-panel) 15%, var(--accent) 50%, var(--border-panel) 85%, transparent 100%);
  opacity: 0.7;
}
.section-stripe--top,
.section-stripe--bottom {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(239, 68, 68, 0.15) 20%, var(--border-accent) 50%, rgba(239, 68, 68, 0.15) 80%, transparent 100%);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.08);
}
.section-stripe--mid {
  margin: 0 auto;
  max-width: var(--container);
  width: calc(100% - var(--space-lg) * 2);
  background: linear-gradient(90deg, transparent, var(--border-panel) 20%, var(--border-accent) 50%, var(--border-panel) 80%, transparent);
}
.block__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}
.block__title--center { text-align: center; }
.block__sub {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 56ch;
}
.block__sub--center { margin-left: auto; margin-right: auto; text-align: center; }
.block__bridge, .block__line {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: var(--space-xl);
  text-align: center;
}
.block__bridge strong, .block__line strong { color: var(--accent); }
.block__accent {
  color: var(--accent);
  font-weight: 600;
  text-shadow: 0 0 24px var(--accent-glow);
}
.block__bridge-wrap {
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-lg);
  background: rgba(22, 27, 34, 0.4);
  text-align: center;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.06);
}
.block__bridge-wrap .block__bridge { margin-top: 0; color: var(--text-primary); }
.block__title-wrap {
  position: relative;
  margin-bottom: var(--space-xl);
}
.block__sub--process {
  font-size: 1.0625rem;
  max-width: 52ch;
}
.block__footnote {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-xl);
}
.block__footnote--cases {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.block__footnote--cases .block__accent {
  font-weight: 700;
  color: var(--accent);
}

/* Global axis — тонкая линия по центру от перегородки (hero) до блока CTA, с точками в центре каждого блока */
main { position: relative; }
.axis-wrap {
  position: relative;
}
.axis-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(239, 68, 68, 0.04) 5%,
    rgba(239, 68, 68, 0.12) 25%,
    rgba(239, 68, 68, 0.18) 50%,
    rgba(239, 68, 68, 0.12) 75%,
    rgba(239, 68, 68, 0.04) 95%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.06);
}
.axis-node {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
  z-index: 2;
  pointer-events: none;
}

/* Infographics */
.block--value { position: relative; }
.infographic {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.infographic--dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--space-md);
}
.infographic--dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  opacity: 0.7;
}
.infographic--dots-problem span:nth-child(1) { opacity: 0.5; }
.infographic--dots-problem span:nth-child(2) { opacity: 0.85; }
.infographic--dots-problem span:nth-child(3) { opacity: 0.5; }
.block--process { position: relative; }
.infographic--flow {
  left: 0;
  right: 0;
  top: 50%;
  height: 80px;
  transform: translateY(-50%);
  opacity: 0.35;
}
.infographic--flow .infographic__svg { width: 100%; height: 100%; }
.infographic--flow .infographic__path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.2s var(--ease-out);
}
.infographic--flow.is-visible .infographic__path { stroke-dashoffset: 0; }
.infographic__flow-dot {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  filter: drop-shadow(0 0 6px var(--accent-glow));
}
.infographic--flow.is-visible .infographic__flow-dot {
  opacity: 1;
  transform: scale(1);
}
.infographic--flow.is-visible .infographic__flow-dot:nth-child(2) { transition-delay: 0.15s; }
.infographic--flow.is-visible .infographic__flow-dot:nth-child(3) { transition-delay: 0.3s; }
.infographic--flow.is-visible .infographic__flow-dot:nth-child(4) { transition-delay: 0.45s; }
.infographic--flow.is-visible .infographic__flow-dot:nth-child(5) { transition-delay: 0.6s; }

/* Panels */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--duration), box-shadow var(--duration), transform 0.3s var(--ease-out);
  position: relative;
}
.panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(239,68,68,0.08), transparent 40%, transparent 60%, rgba(185,28,28,0.06));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration);
}
.panel:hover {
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.08), inset 0 1px 0 rgba(255,255,255,0.03);
  transform: translateY(-2px);
}
.panel:hover::before { opacity: 1; }

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-md);
  max-width: 560px;
}
.pain-list .panel {
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.0625rem;
  color: var(--text-secondary);
}
.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.value-list__item {
  padding: var(--space-xl);
  font-size: 1rem;
  text-align: center;
}
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.why-list__item {
  padding: var(--space-lg) var(--space-xl);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}
.why-list__item strong { font-weight: 600; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.block--services-three .services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}
.block--services-three .service-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}
.block--services-three .service-card__title {
  min-height: 3.5em;
  font-size: 1.125rem;
  font-weight: 600;
}
.block--services-three .service-card__title-main {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}
.block--services-three .service-card__title-sub {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.block--services-three .service-card__bullets {
  font-size: 0.875rem;
}
.block__sub--services {
  margin-top: calc(-1 * var(--space-md));
  margin-bottom: var(--space-lg);
}
.service-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--accent-dim), var(--accent-secondary-dim));
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.2);
}
.service-card__icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  border: 1px solid var(--border-panel);
  pointer-events: none;
}
.service-card:hover .service-card__icon { box-shadow: 0 0 32px rgba(239, 68, 68, 0.3); }
.service-card__icon--plan {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}
.service-card__icon--plan::after {
  content: '';
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 18px;
  margin: -9px 0 0 -7px;
  border: 2px solid rgba(239, 68, 68, 0.6);
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-sizing: border-box;
}
.service-card__icon--code { clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%); }
.service-card__icon--support {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.service-card__icon--support::after {
  content: '';
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid rgba(239, 68, 68, 0.6);
  border-radius: 50%;
  box-sizing: border-box;
  border-top-color: transparent;
}
.service-card__title { font-size: 1.25rem; margin-bottom: var(--space-md); }
.service-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.service-card__bullets li {
  padding: var(--space-xs) 0;
  padding-left: 1.25rem;
  position: relative;
}
.service-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.service-card__result { margin-bottom: var(--space-lg); font-size: 0.9375rem; color: var(--text-primary); }
.service-card .btn { margin-top: auto; align-self: flex-start; }

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.process-step {
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}
.process-step__num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px var(--accent-glow);
}
.process-step__title { font-size: 1rem; margin-bottom: var(--space-xs); }
.process-step__name { display: block; }
.process-step__duration {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}
.process-step p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }

.automate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.automate-grid--stagger .automate-card { transform: translateY(0); }
.automate-grid--stagger .automate-card:hover { transform: translateY(-2px); }
.automate-card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}
.automate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), var(--accent), var(--accent-dim), transparent);
  opacity: 0.5;
  transition: opacity var(--duration);
}
.automate-card:hover::before { opacity: 0.9; }
.automate-card__label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  text-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}
.automate-card p { margin: 0; font-size: 0.875rem; color: var(--text-secondary); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.case-card { padding: var(--space-xl); }
.case-card__flow {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.case-card__flow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: var(--space-sm);
  background: linear-gradient(90deg, var(--accent-dim), transparent);
  border-radius: 1px;
}

.open-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.open-list__item {
  padding: var(--space-lg) var(--space-xl);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-align: center;
}
.open-list--markers .open-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  text-align: left;
}
.open-list__marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.4em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.cta-block { padding-bottom: var(--section-pad); }
.cta-form {
  max-width: 480px;
  margin: var(--space-xl) auto 0;
  padding: var(--space-2xl);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.06), inset 0 1px 0 rgba(255,255,255,0.04);
}
.cta-form__row { margin-bottom: var(--space-lg); }
.cta-form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}
.cta-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color var(--duration);
}
.cta-form__input::placeholder { color: var(--text-muted); }
.cta-form__input:focus {
  outline: none;
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.cta-form button[type="submit"] { margin-top: var(--space-md); }
.cta-form__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  text-align: center;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--space-xl);
}
.faq-item {
  padding: 0;
  margin-bottom: var(--space-md);
}
.faq-item__q {
  margin: 0;
}
.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration);
}
.faq-item__trigger:hover { color: var(--accent); }
.faq-item__trigger::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 4px;
  transition: transform 0.35s var(--ease-out);
}
.faq-item.is-open .faq-item__trigger::after {
  transform: rotate(-135deg);
  margin-bottom: -4px;
}
.faq-item__a {
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item__a-inner {
  display: block;
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer .logo__text { font-size: 1rem; }
.footer__tagline { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.footer__link { font-size: 0.9375rem; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: perspective(800px) rotateX(8deg) translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0) translateY(0);
}
.reveal .panel,
.reveal .service-card,
.reveal .process-step,
.reveal .automate-card,
.reveal .case-card,
.reveal .open-list__item,
.reveal .why-list__item,
.reveal .faq-item {
  opacity: 0;
  transform: perspective(600px) rotateX(6deg) translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), border-color var(--duration), box-shadow var(--duration);
}
.reveal.is-visible .panel,
.reveal.is-visible .service-card,
.reveal.is-visible .process-step,
.reveal.is-visible .automate-card,
.reveal.is-visible .case-card,
.reveal.is-visible .open-list__item,
.reveal.is-visible .why-list__item,
.reveal.is-visible .faq-item {
  opacity: 1;
  transform: perspective(600px) rotateX(0) translateY(0);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .hero__btn { width: 100%; }
  .process-steps { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2rem; padding-bottom: 3rem; }
}
