/* Палитра ЛК: color-palette-override.css */
:root {
  --primary-color: #2d80c2;
  --primary-dark: #1f5a8a;
  --primary-light: #4a9bd4;
  --accent-color: #b26914;
  --accent-light: #d18b3a;
  --info-color: #0f8893;
  --text-color: #182e3d;
  --text-muted: #565f67;
  --bg-color: #eef2f7;
  --surface: #ffffff;
  --hero-bg: #0c1520;
  --hero-surface: #121f2e;
  --border-color: rgba(24, 46, 61, 0.1);
  --border-glow: rgba(45, 128, 194, 0.35);
  --success-color: #728322;
  --border-radius: 14px;
  --border-radius-lg: 22px;
  --shadow: 0 4px 24px rgba(15, 35, 55, 0.06);
  --shadow-lg: 0 24px 64px rgba(45, 128, 194, 0.18);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Manrope", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-behavior: smooth конфликтует с Lenis — якоря крутит Lenis (anchors) */
html { scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* Header — glass */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 16px 0;
  transition: padding var(--transition);
}
.site-header.is-scrolled { padding-top: 8px; }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.is-scrolled .site-header__inner {
  box-shadow: 0 8px 32px rgba(15, 35, 55, 0.1);
  background: rgba(255, 255, 255, 0.95);
}
.logo img { height: 38px; width: auto; }
.nav {
  display: none;
  gap: 32px;
  margin-left: auto;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav a:hover { color: var(--primary-color); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
@media (min-width: 992px) {
  .nav { display: flex; }
  .header-actions { margin-left: 0; }
}
.menu-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  font-size: 18px;
}
@media (min-width: 992px) { .menu-toggle { display: none; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(45, 128, 194, 0.4);
}
.btn--primary:hover { box-shadow: 0 12px 36px rgba(45, 128, 194, 0.5); }
.btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.hero:not(.hero--light) .btn--outline {
  background: transparent;
  border-color: rgba(45, 128, 194, 0.4);
  color: #e8f4fc;
}
.hero:not(.hero--light) .btn--outline:hover {
  background: rgba(45, 128, 194, 0.15);
  border-color: var(--primary-light);
}
.hero.hero--light .btn--outline {
  background: #fff;
  border: 1px solid rgba(24, 46, 61, 0.14);
  color: var(--text-color);
  box-shadow: 0 8px 28px rgba(15, 35, 55, 0.08);
}
.hero.hero--light .btn--outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #fff;
}
.section .btn--outline,
.price-card .btn--outline {
  border-color: var(--border-color);
  color: var(--text-color);
  background: var(--surface);
}
.price-card .btn--outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn--accent {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: #fff;
  box-shadow: 0 8px 28px rgba(178, 105, 20, 0.35);
}
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* Hero — премиум-лендинг (ореолы, шум, витрина без UI плеера, в духе huly.io) */
.hero.hero--premium {
  position: relative;
  padding: clamp(40px, 7vw, 72px) 0 clamp(64px, 10vw, 104px);
  overflow: clip;
}
.hero.hero--premium:not(.hero--light) {
  background: #070d14;
  color: #e8f0f6;
}
.hero.hero--light.hero--premium {
  background: linear-gradient(180deg, #fafbfd 0%, #f4f6f9 55%, #eef2f7 100%);
  color: var(--text-color);
}
.hero.hero--premium .hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero.hero--premium .hero__bokeh {
  position: absolute;
  inset: -22%;
  background:
    radial-gradient(circle at 14% 28%, rgba(56, 189, 248, 0.2) 0%, transparent 44%),
    radial-gradient(circle at 90% 16%, rgba(34, 211, 238, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 72% 88%, rgba(59, 130, 246, 0.1) 0%, transparent 42%);
  animation: hero-bokeh-shift 22s ease-in-out infinite alternate;
}
@keyframes hero-bokeh-shift {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-2%, 1.5%) scale(1.04); opacity: 0.88; }
}
.hero.hero--premium .hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.5;
  animation: hero-aurora-float 20s ease-in-out infinite alternate;
}
.hero.hero--premium .hero__aurora--a {
  width: min(72vw, 540px);
  height: min(72vw, 540px);
  top: -14%;
  left: -10%;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(45, 128, 194, 0.5),
    rgba(15, 136, 147, 0.22),
    rgba(94, 234, 212, 0.28),
    rgba(59, 130, 246, 0.35),
    rgba(45, 128, 194, 0.5)
  );
}
.hero.hero--premium .hero__aurora--b {
  width: min(58vw, 420px);
  height: min(58vw, 420px);
  bottom: -20%;
  right: -8%;
  background: conic-gradient(
    from 32deg at 50% 50%,
    rgba(59, 130, 246, 0.4),
    rgba(20, 184, 166, 0.25),
    rgba(45, 128, 194, 0.18),
    rgba(125, 211, 252, 0.3),
    rgba(59, 130, 246, 0.4)
  );
  animation-delay: -8s;
  animation-duration: 24s;
}
@keyframes hero-aurora-float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(2.5%, 3.5%) rotate(10deg); }
}
.hero.hero--premium .hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 92% 58% at 50% -8%, rgba(45, 128, 194, 0.26), transparent 58%),
    radial-gradient(ellipse 48% 42% at 100% 28%, rgba(15, 136, 147, 0.16), transparent 52%),
    linear-gradient(180deg, #070d14 0%, #0a1522 48%, #0d1a2a 100%);
  animation: hero-mesh-breathe 16s ease-in-out infinite alternate;
}
@keyframes hero-mesh-breathe {
  0% { opacity: 1; filter: saturate(1); }
  100% { opacity: 0.9; filter: saturate(1.14); }
}
.hero.hero--premium .hero__gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(130, 200, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 200, 255, 0.038) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 38%, black 0%, transparent 74%);
}
.hero.hero--premium .hero__spot {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 130%;
  height: 85%;
  transform: translate(-50%, -42%);
  background: radial-gradient(ellipse closest-side, rgba(45, 128, 194, 0.07), transparent 68%);
}
.hero.hero--premium .hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 88% 78% at 50% 48%, transparent 0%, rgba(3, 7, 12, 0.62) 100%);
}
.hero.hero--premium .hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1fr 1.02fr; gap: clamp(48px, 5vw, 72px); align-items: center; }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(45, 128, 194, 0.15);
  border: 1px solid rgba(74, 155, 212, 0.35);
  color: #a8d4f0;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.badge--premium {
  margin-bottom: clamp(18px, 3vw, 28px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero--premium:not(.hero--light) .badge--premium {
  background: rgba(15, 45, 72, 0.45);
  border-color: rgba(94, 200, 255, 0.28);
  color: #a8d4f0;
}
.hero.hero--light .badge--premium {
  background: rgba(45, 128, 194, 0.1);
  border-color: rgba(45, 128, 194, 0.22);
  color: var(--primary-dark);
}
.hero--premium h1 {
  font-size: clamp(2.35rem, 5.8vw, 3.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: clamp(16px, 2.5vw, 24px);
}
.hero--premium:not(.hero--light) h1 span {
  background: linear-gradient(115deg, #9bdcff 0%, #5eb6ea 38%, #5eead4 72%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero.hero--light h1 {
  color: var(--text-color);
  text-align: center;
  max-width: 18ch;
  margin-inline: auto;
}
.hero.hero--light h1 span {
  display: block;
  margin-top: 0.08em;
  color: var(--primary-dark);
}
.hero__lead--premium {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  max-width: 34rem;
  margin-bottom: 16px;
}
.hero--premium:not(.hero--light) .hero__lead--premium {
  color: rgba(232, 244, 252, 0.72);
}
.hero.hero--light .hero__lead--premium {
  color: var(--text-muted);
  text-align: center;
  max-width: 44ch;
  margin-inline: auto;
}
.hero--premium:not(.hero--light) .hero__lead--accent {
  margin-bottom: 12px;
  color: #d4efff;
  max-width: 34rem;
}
.hero.hero--light .hero__lead--accent {
  color: var(--text-color);
  text-align: center;
}
.hero__registry {
  font-size: 14px;
  margin-bottom: 28px;
}
.hero--premium:not(.hero--light) .hero__registry {
  color: rgba(168, 212, 240, 0.88);
}
.hero.hero--light .hero__registry {
  color: var(--text-muted);
  text-align: center;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: 1fr; }
}
.hero__stat {
  padding: 16px 18px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.hero__stat span { font-size: 12px; color: rgba(232, 240, 246, 0.55); }
.hero__stats--premium {
  gap: clamp(10px, 1.5vw, 14px);
}
.hero--premium:not(.hero--light) .hero__stat {
  background: rgba(8, 18, 30, 0.45);
  border-color: rgba(120, 190, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.hero--premium:not(.hero--light) .hero__stat:hover {
  border-color: rgba(94, 200, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(45, 128, 194, 0.12), 0 20px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.hero.hero--light .hero__stat {
  background: #fff;
  border-color: rgba(24, 46, 61, 0.1);
  box-shadow: 0 8px 30px rgba(15, 35, 55, 0.06);
  backdrop-filter: none;
}
.hero.hero--light .hero__stat strong {
  color: var(--text-color);
}
.hero.hero--light .hero__stat span {
  color: var(--text-muted);
}
.hero.hero--light .hero__actions {
  justify-content: center;
}
.hero.hero--light .hero__stats--premium {
  max-width: 640px;
  margin-inline: auto;
}

/* Витрина: видео как зацикленная гифка — без контролов */
.hero-media {
  min-width: 0;
  perspective: 1200px;
}
.hero-showcase {
  position: relative;
  transform-style: preserve-3d;
}
.hero-showcase__halo {
  position: absolute;
  inset: -14%;
  border-radius: 28px;
  background: radial-gradient(ellipse 55% 45% at 50% 85%, rgba(45, 128, 194, 0.45), transparent 62%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(94, 234, 212, 0.12), transparent 55%);
  filter: blur(28px);
  opacity: 0.75;
  z-index: 0;
  pointer-events: none;
}
.hero-showcase__shell {
  position: relative;
  z-index: 1;
  border-radius: calc(var(--border-radius-lg) + 2px);
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(160, 220, 255, 0.45) 0%,
    rgba(45, 128, 194, 0.15) 35%,
    rgba(15, 136, 147, 0.25) 65%,
    rgba(120, 200, 255, 0.35) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(45, 128, 194, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero-showcase__glint {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 42%,
    transparent 46%
  );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: soft-light;
}
.hero-showcase__viewport {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #0a121c 0%, #060a10 100%);
}
.hero-showcase__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #0a121c;
}
.hero-showcase__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-showcase__video {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.hero-showcase__video.is-ready {
  opacity: 1;
}
.hero-showcase__video::-webkit-media-controls,
.hero-showcase__video::-webkit-media-controls-enclosure,
.hero-showcase__video::-webkit-media-controls-panel,
.hero-showcase__video::-webkit-media-controls-play-button,
.hero-showcase__video::-webkit-media-controls-start-playback-button {
  display: none !important;
}
.hero-showcase__caption {
  margin: 0;
  margin-top: 14px;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(200, 228, 248, 0.78);
  text-align: center;
}
.hero-showcase__tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8ecff;
  background: rgba(45, 128, 194, 0.25);
  border: 1px solid rgba(120, 200, 255, 0.22);
  vertical-align: middle;
}
.hero-showcase__dash { font-weight: 400; opacity: 0.85; }
.hero-showcase__caption a {
  color: #93d9ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(147, 217, 255, 0.45);
}
.hero-showcase__caption a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}
.hero-showcase__playhint {
  display: block;
  margin: 10px auto 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(120, 200, 255, 0.28);
  background: rgba(8, 20, 36, 0.6);
  color: #c8e8fc;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hero-showcase__playhint:hover {
  background: rgba(45, 128, 194, 0.25);
  border-color: rgba(160, 220, 255, 0.45);
}

.trust-strip--premium {
  position: relative;
  z-index: 1;
  margin-top: -40px;
  padding-bottom: 28px;
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.trust-pill {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}
.trust-strip--premium .trust-strip__inner {
  padding: 4px;
  border-radius: 999px;
  background: rgba(8, 16, 26, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(120, 190, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}
.trust-pill--premium {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(140, 200, 255, 0.14);
  color: rgba(230, 242, 252, 0.88);
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.trust-pill--premium:hover {
  transform: translateY(-2px);
  border-color: rgba(160, 220, 255, 0.35);
  background: rgba(45, 128, 194, 0.2);
}
.editor-mock {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(74, 155, 212, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(45, 128, 194, 0.2);
  background: var(--hero-surface);
}
.editor-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #1a2838;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.editor-mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #3d4f63; }
.editor-mock__dot:nth-child(1) { background: #f87171; }
.editor-mock__dot:nth-child(2) { background: #fbbf24; }
.editor-mock__dot:nth-child(3) { background: #4ade80; }
.editor-mock__body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 300px;
}
.editor-mock__sidebar {
  background: #152232;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.editor-mock__tool {
  height: 36px;
  border-radius: 10px;
  background: rgba(45, 128, 194, 0.12);
}
.editor-mock__tool--active {
  background: linear-gradient(135deg, var(--primary-color), var(--info-color));
  box-shadow: 0 4px 16px rgba(45, 128, 194, 0.5);
}
.editor-mock__canvas {
  position: relative;
  padding: 28px;
  background:
    linear-gradient(rgba(45, 128, 194, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 128, 194, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  background-color: #0e1824;
}
.flow-node {
  position: absolute;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--primary-light);
  background: rgba(15, 30, 45, 0.9);
  color: #e8f4fc;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.flow-node--1 { top: 24px; left: 20px; }
.flow-node--2 { top: 100px; left: 130px; border-color: var(--info-color); }
.flow-node--3 { top: 180px; left: 40px; border-color: var(--accent-light); }
.flow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--info-color));
  opacity: 0.7;
}
.flow-line--1 { top: 48px; left: 95px; width: 50px; transform: rotate(32deg); }
.flow-line--2 { top: 128px; left: 85px; width: 55px; transform: rotate(-22deg); }

/* Sections — сцены с фоновым свечением */
.section { padding: 88px 0; }
.section--alt { background: var(--surface); }
.section-scene {
  position: relative;
  overflow: hidden;
}
.section-scene__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.section-scene__orb {
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  animation: section-orb-drift 18s ease-in-out infinite alternate;
}
.section-scene--glow-left .section-scene__orb {
  left: -18%;
  top: 12%;
  background: radial-gradient(circle, rgba(45, 128, 194, 0.35) 0%, transparent 68%);
}
.section-scene--glow-right .section-scene__orb {
  right: -16%;
  top: 8%;
  background: radial-gradient(circle, rgba(15, 136, 147, 0.28) 0%, transparent 68%);
}
.section-scene--glow-center .section-scene__orb {
  left: 50%;
  top: -8%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(94, 200, 255, 0.22) 0%, transparent 70%);
}
@keyframes section-orb-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(2%, 3%) scale(1.06); opacity: 0.65; }
}
.section-scene--glow-center .section-scene__orb {
  animation-name: section-orb-drift-center;
}
@keyframes section-orb-drift-center {
  0% { transform: translateX(-50%) translate(0, 0) scale(1); }
  100% { transform: translateX(-50%) translate(1%, 4%) scale(1.05); }
}
.section-scene__inner {
  position: relative;
  z-index: 1;
}
.section-scene .section__head h2 {
  letter-spacing: -0.025em;
}
.cta--scene {
  position: relative;
  overflow: hidden;
}
.cta--scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--surface); }
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section__head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.section__head p { color: var(--text-muted); font-size: 1.05rem; }

/* Ladder */
.ladder {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) { .ladder { grid-template-columns: repeat(3, 1fr); } }
.ladder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--border-radius-lg);
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ladder-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-glow);
}
.ladder-card--featured {
  background: linear-gradient(165deg, #fff 0%, #f0f7fd 100%);
  border: 1px solid rgba(45, 128, 194, 0.45);
  box-shadow: var(--shadow-lg);
}
.ladder-card--featured::before {
  content: "Флагман";
  position: absolute;
  top: -11px;
  right: 20px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary-color), var(--info-color));
  color: #fff;
}
.ladder-card__step {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.ladder-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.ladder-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; flex: 1; }
.ladder-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.ladder-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--primary-light);
}
.ladder-card .btn { margin-top: 20px; width: 100%; }
.grafboard-note {
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: var(--border-radius);
  background: rgba(15, 136, 147, 0.08);
  border: 1px solid rgba(15, 136, 147, 0.2);
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.grafboard-note a { color: var(--primary-color); font-weight: 600; }

/* Features */
.features {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: 28px 24px;
  border-radius: var(--border-radius);
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  transition: transform var(--transition), box-shadow var(--transition);
}
.section--alt .feature { background: var(--surface); }
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(45, 128, 194, 0.15), rgba(15, 136, 147, 0.12));
  border: 1px solid rgba(45, 128, 194, 0.2);
}
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-muted); }

/* Pricing */
.pricing {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--border-radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-color);
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.price-card--featured {
  border: 1px solid rgba(45, 128, 194, 0.5);
  background: linear-gradient(165deg, #fff 0%, #eef6fc 100%);
  box-shadow: var(--shadow-lg);
}
.price-card__ribbon {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary-color), var(--info-color));
  color: #fff;
}
.price-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--info-color);
  margin-bottom: 12px;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.price-card__price {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.price-card__price span {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}
.price-card__price small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.price-card__list {
  flex: 1;
  margin-bottom: 24px;
}
.price-card__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}
.price-card__list strong { color: var(--text-color); font-weight: 600; }
.price-card .btn { width: 100%; }
.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* Press */
.press-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }
.press-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--border-radius);
  background: var(--surface);
  border: 1px solid var(--border-color);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-height: 140px;
}
.section--alt .press-card { background: var(--bg-color); }
.press-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-glow);
}
.press-card time {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
}
.press-card h3 {
  font-size: 15px;
  line-height: 1.4;
  flex: 1;
}
.press-card__source {
  font-size: 13px;
  font-weight: 600;
  color: var(--info-color);
}

/* Compare */
.compare {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 2px solid var(--primary-color);
  aspect-ratio: 16/10;
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(45, 128, 194, 0.12);
  user-select: none;
  background: #0a1218;
}
.compare__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.compare__layer--old {
  z-index: 1;
  background: linear-gradient(165deg, #c5d0dc 0%, #8fa3b8 100%);
}
.compare__layer--new {
  z-index: 2;
}
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #0a1218;
  z-index: 2;
}
.compare__img--loading {
  opacity: 0;
  pointer-events: none;
}
.compare__img--ready {
  opacity: 1;
}
.compare__label {
  position: absolute;
  bottom: 20px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  z-index: 5;
}
.compare__label--old { left: 20px; background: rgba(30, 41, 59, 0.85); }
.compare__label--new { right: 20px; background: var(--primary-color); }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 10;
  cursor: ew-resize;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.compare__handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}

/* Compare: CSS-макет редактора (пока нет PNG в /assets/img/) */
.compare-mock {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
}
.compare-mock--mvp {
  background: linear-gradient(180deg, #e8edf2 0%, #d4dde8 100%);
}
.compare-mock--pro {
  background: linear-gradient(180deg, #e8f4fc 0%, #d6ebfa 50%, #c5e3f7 100%);
}
.compare-mock__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(24, 46, 61, 0.08);
  flex-shrink: 0;
}
.compare-mock--pro .compare-mock__toolbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(45, 128, 194, 0.15);
}
.compare-mock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(24, 46, 61, 0.2);
}
.compare-mock--pro .compare-mock__dot:nth-child(1) { background: #e57373; }
.compare-mock--pro .compare-mock__dot:nth-child(2) { background: #ffb74d; }
.compare-mock--pro .compare-mock__dot:nth-child(3) { background: #81c784; }
.compare-mock__toolbar-title {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.01em;
}
.compare-mock__toolbar-pill {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--primary-color);
}
.compare-mock__ribbon {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(24, 46, 61, 0.06);
  flex-shrink: 0;
}
.compare-mock--pro .compare-mock__ribbon {
  background: rgba(255, 255, 255, 0.6);
}
.compare-mock__tool {
  width: 28px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(24, 46, 61, 0.1);
  box-shadow: 0 1px 3px rgba(24, 46, 61, 0.06);
}
.compare-mock__tool--wide {
  width: 44px;
}
.compare-mock__tool--on {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(45, 128, 194, 0.2);
}
.compare-mock__canvas {
  position: relative;
  flex: 1;
  margin: 12px 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(24, 46, 61, 0.12);
  min-height: 120px;
}
.compare-mock--pro .compare-mock__canvas {
  background: rgba(255, 255, 255, 0.82);
  border-style: solid;
  border-color: rgba(45, 128, 194, 0.22);
}
.compare-mock__shape {
  position: absolute;
  border-radius: 8px;
  background: rgba(45, 128, 194, 0.35);
  border: 2px solid rgba(45, 128, 194, 0.55);
}
.compare-mock__shape--a {
  top: 18%;
  left: 12%;
  width: 28%;
  height: 22%;
}
.compare-mock__shape--b {
  top: 42%;
  left: 38%;
  width: 24%;
  height: 20%;
  border-radius: 50%;
  background: rgba(178, 105, 20, 0.25);
  border-color: rgba(178, 105, 20, 0.5);
}
.compare-mock__shape--c {
  top: 22%;
  right: 14%;
  width: 22%;
  height: 28%;
}
.compare-mock__shape--d {
  bottom: 18%;
  left: 22%;
  width: 36%;
  height: 16%;
  border-radius: 4px;
}
.compare-mock__shape--pro {
  background: rgba(45, 128, 194, 0.45);
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(45, 128, 194, 0.2);
}
.compare-mock__connector {
  position: absolute;
  top: 38%;
  left: 36%;
  width: 22%;
  height: 3px;
  background: rgba(24, 46, 61, 0.25);
  transform: rotate(12deg);
}
.compare-mock__connector--pro {
  width: 28%;
  background: var(--primary-color);
  box-shadow: 0 0 8px rgba(45, 128, 194, 0.35);
}
.compare-mock__lane {
  position: absolute;
  bottom: 12%;
  left: 8%;
  right: 8%;
  height: 28%;
  border-radius: 6px;
  border: 2px dashed rgba(15, 136, 147, 0.35);
  background: rgba(15, 136, 147, 0.06);
}

/* Cases */
.cases {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) { .cases { grid-template-columns: repeat(2, 1fr); } }
.case {
  padding: 24px;
  border-radius: var(--border-radius);
  background: var(--surface);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.case:hover { transform: translateX(4px); }
.case h3 { font-size: 1.05rem; margin-bottom: 8px; }
.case p { font-size: 14px; color: var(--text-muted); }

/* Accordion */
.accordion { max-width: 760px; margin: 0 auto; }
.accordion-item {
  margin-bottom: 10px;
  border-radius: var(--border-radius);
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: border-color var(--transition);
}
.section--alt .accordion-item { background: var(--surface); }
.accordion-item.is-open {
  border-color: rgba(45, 128, 194, 0.35);
  box-shadow: var(--shadow);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: none;
  background: transparent;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--text-color);
}
.accordion-trigger::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(45, 128, 194, 0.12);
  color: var(--primary-color);
  font-size: 18px;
  transition: transform var(--transition), background var(--transition);
}
.accordion-item.is-open .accordion-trigger::after {
  transform: rotate(45deg);
  background: var(--primary-color);
  color: #fff;
}
.accordion-panel { overflow: hidden; transition: max-height 0.35s ease; }
.accordion-panel__inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* CTA */
.cta {
  margin: 0 16px 80px;
  padding: 56px 32px;
  border-radius: var(--border-radius-lg);
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(45, 128, 194, 0.4), transparent),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 45%, var(--info-color) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta__inner { position: relative; max-width: 560px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }
.cta__trial {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.75;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f1a26 0%, #0a1219 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer-grid h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
}
.footer-grid a:hover { opacity: 1; color: var(--primary-light); }
.footer-logo { margin-bottom: 16px; }
.footer-about { font-size: 14px; opacity: 0.65; max-width: 260px; line-height: 1.5; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  opacity: 0.55;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 21, 32, 0.65);
  backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(440px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  padding: 32px 28px;
  z-index: 201;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--bg-color);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.modal h3 { margin-bottom: 22px; font-size: 1.2rem; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-color);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 128, 194, 0.15);
}
.form-politics { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.form-politics a { color: var(--primary-color); text-decoration: underline; }
.form-status { margin-top: 12px; font-size: 14px; }
.form-status--ok { color: var(--success-color); }
.form-status--err { color: #ce5130; }
.form-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #ce5130;
}
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.footer-address {
  font-size: 14px;
  opacity: 0.65;
  line-height: 1.5;
  margin-top: 4px;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--surface);
  padding: 24px;
  z-index: 99;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-nav.is-open { transform: translateX(0); }
@media (min-width: 992px) { .mobile-nav { display: none; } }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
