/* ===== Дизайн-токены — тёмный premium SaaS ===== */
:root {
  --bg: #0a0f1c;              /* тёмный navy */
  --bg-2: #0e1426;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --surface-solid: #121a2c;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  --accent: #3b82f6;          /* синий — доверие: ссылки, иконки, акценты */
  --accent-light: #60a5fa;
  --accent-dark: #2563eb;
  --accent-2: #38bdf8;        /* sky — партнёр в градиентах */
  --accent-3: #818cf8;        /* indigo — мягкий акцент в меше */
  --accent-glow: rgba(59, 130, 246, .45);

  --cta: #ff7a18;             /* оранжевый CTA-«маяк» (контраст к синему) */
  --cta-2: #ff9e42;
  --cta-dark: #e85d04;
  --cta-glow: rgba(255, 122, 24, .45);

  --ink: #e9eef2;
  --ink-soft: #9aa7b3;
  --ink-dim: #67737f;

  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.55);
  --glow: 0 0 40px var(--accent-glow);

  --radius: 18px;
  --radius-sm: 11px;
  --maxw: 1160px;
  --font-display: "Geologica", system-ui, sans-serif;
  --font-text: "Golos Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(50rem 40rem at 82% -8%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(46rem 40rem at 8% 6%, rgba(59,130,246,.18), transparent 58%),
    radial-gradient(40rem 36rem at 60% 110%, rgba(167,139,250,.12), transparent 60%);
  background-attachment: fixed;
}
/* тонкая техно-сетка поверх фона */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 { font-family: var(--font-display); color: #fff; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-light); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(110deg, #fff 10%, var(--accent-light) 50%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== Кнопки ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  padding: 13px 26px; border-radius: 99px; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .2s, border-color .2s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #d8500a, #ef6a10); color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.4); box-shadow: 0 10px 30px var(--cta-glow); }
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, #e2560a, #fb7414); transform: translateY(-2px); box-shadow: 0 16px 46px rgba(255,122,24,.6); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 15, .6);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(8, 11, 15, .82); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark { font-family: var(--font-display); font-weight: 700; font-size: 1.38rem; letter-spacing: .04em; white-space: nowrap; }
.brand-mark .bm-a { background: linear-gradient(120deg, var(--accent-2), var(--accent-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-mark .bm-b { color: #fff; }
.brand-sub { font-size: .72rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .1em; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink-soft); font-weight: 500; font-size: .98rem; position: relative; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: right .22s ease; }
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav ul a:hover::after, .site-nav ul a.active::after { right: 0; }
.nav-cta { padding: 10px 20px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ===== Переключатель языка (details-dropdown, без JS) ===== */
.lang-switcher { position: relative; }
.lang-switcher > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 12px; border-radius: 99px;
  border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink-soft); font: 600 .84rem var(--font-display);
  backdrop-filter: blur(8px);
  transition: border-color .18s, color .18s, background .18s;
}
.lang-switcher > summary::-webkit-details-marker { display: none; }
.lang-switcher > summary:hover { color: #fff; border-color: var(--accent); background: var(--surface-2); }
.lang-switcher[open] > summary { color: #fff; border-color: var(--accent); }
.lang-switcher .chev { opacity: .7; transition: transform .2s; }
.lang-switcher[open] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  min-width: 264px; z-index: 60;
  list-style: none; margin: 0; padding: 6px;
  background: var(--surface-solid); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  animation: lang-in .16s ease;
}
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu li { list-style: none; }
.lang-region {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 8px;
  color: var(--ink-soft); font-size: .94rem;
}
a.lang-region { transition: background .15s, color .15s; }
a.lang-region:hover { color: #fff; background: rgba(59, 130, 246, .10); }
a.lang-region.is-active { color: #fff; background: rgba(59, 130, 246, .14); }
.lang-flag { flex: none; font-size: 1.15rem; line-height: 1; }
.lang-country { font-family: var(--font-display); font-weight: 600; }
.lang-langs { display: inline-flex; gap: 6px; margin-inline-start: auto; }
.lang-lang {
  font: 600 .8rem var(--font-display); padding: 3px 9px; border-radius: 99px;
  border: 1px solid var(--line); color: var(--ink-soft);
  transition: background .15s, color .15s, border-color .15s;
}
.lang-lang:hover { color: #fff; border-color: var(--accent); background: rgba(59, 130, 246, .10); }
.lang-lang.is-active { color: #fff; border-color: var(--accent); background: rgba(59, 130, 246, .16); }

/* ===== Секции ===== */
section { padding: 96px 0; }
.section-tight { padding: 60px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px; box-shadow: 0 0 8px var(--accent-glow); }
.section-head { max-width: 760px; margin: 0 auto 62px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { font-size: 1.14rem; }
.lead { font-size: 1.22rem; color: var(--ink-soft); }

/* ===== Hero ===== */
.hero { padding: 110px 0 86px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 32px; max-width: 33ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-note {
  font-size: .96rem; color: var(--ink); display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line-strong); padding: 9px 18px; border-radius: 99px; backdrop-filter: blur(8px);
}
.hero-note b { color: var(--accent-light); }

/* Превью «пульта оператора» */
.console {
  background: #070b09; border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(59,130,246,.14); overflow: hidden; position: relative;
}
.console::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 90px rgba(0,0,0,.6); border-radius: inherit; }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2b3a35; display: inline-block; }
.console-bar .clock { margin-left: auto; font: 600 .78rem var(--font-display); color: var(--accent); letter-spacing: .05em; text-shadow: 0 0 10px var(--accent-glow); }
.console-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
.tile { aspect-ratio: 16/10; border-radius: 8px; position: relative; overflow: hidden; background: #0c1512; }
.tile::before { content: ""; position: absolute; inset: 0; background:
    linear-gradient(135deg, rgba(59,130,246,.35), rgba(8,18,14,.92)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px); }
.tile .cam { position: absolute; top: 6px; left: 7px; font: 600 8.5px var(--font-display); color: rgba(255,255,255,.6); z-index: 2; letter-spacing: .04em; }
.tile.rec .dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ff5a4d; z-index: 2; animation: pulse 1.8s infinite; }
.tile .scan { position: absolute; left: 0; right: 0; height: 22%; background: linear-gradient(transparent, rgba(96,165,250,.22), transparent); z-index: 1; animation: scan 4.2s linear infinite; }
.tile.alert { outline: 2px solid var(--accent-2); outline-offset: -2px; }
.tile .bbox { position: absolute; z-index: 3; border: 1.5px solid var(--accent-2); border-radius: 3px; width: 34%; height: 46%; top: 26%; left: 30%; box-shadow: 0 0 0 999px rgba(0,0,0,.18) inset, 0 0 12px rgba(56,189,248,.6); animation: float 3s ease-in-out infinite; }
.tile .bbox::after { content: "опасность"; position: absolute; top: -15px; left: -2px; background: var(--accent-2); color: #04121a; font: 600 7.5px var(--font-display); padding: 1px 5px; border-radius: 3px; white-space: nowrap; }
.console-timeline { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.03); border-top: 1px solid var(--line); }
.console-timeline .track { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(59,130,246,.35) 0 70%, rgba(255,255,255,.08) 70% 100%); position: relative; overflow: hidden; }
.console-timeline .track::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent-2); left: 70%; box-shadow: 0 0 10px var(--accent-2); }
.console-timeline .t { font: 600 .68rem var(--font-display); color: var(--ink-dim); }
.console-badge {
  position: absolute; right: -16px; bottom: 40px; z-index: 5;
  background: rgba(17,23,30,.85); border: 1px solid var(--line-strong); border-radius: 13px; padding: 12px 15px;
  box-shadow: var(--shadow-lg); display: flex; gap: 11px; align-items: center; max-width: 240px; backdrop-filter: blur(14px);
  animation: float 4s ease-in-out infinite;
}
.console-badge .pin { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, rgba(56,189,248,.25), rgba(56,189,248,.08)); color: var(--accent-2); display: grid; place-items: center; flex: none; }
.console-badge b { font-family: var(--font-display); font-size: .92rem; display: block; color: #fff; }
.console-badge span { font-size: .78rem; color: var(--ink-soft); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,77,.55); } 70% { box-shadow: 0 0 0 7px rgba(255,90,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,77,0); } }
@keyframes scan { 0% { top: -25%; } 100% { top: 105%; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== Карточки / сетки ===== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); backdrop-filter: blur(10px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s, background .22s; overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 50% -10%, rgba(59,130,246,.12), transparent 70%); opacity: 0; transition: opacity .3s; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; box-shadow: 0 0 12px var(--accent-glow); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), 0 0 50px rgba(59,130,246,.1); border-color: var(--line-strong); background: var(--surface-2); }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(56,189,248,.1)); color: var(--accent-light); display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--line); transition: transform .25s; position: relative; z-index: 1; }
.card:hover .ico { transform: scale(1.08) rotate(-3deg); }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; position: relative; z-index: 1; }
.card p { margin: 0; font-size: .99rem; position: relative; z-index: 1; }
.card-more { display: inline-block; margin-top: 14px; position: relative; z-index: 1; font-family: var(--font-display); font-weight: 500; font-size: .92rem; }
:target { scroll-margin-top: 92px; }

/* ===== Полоса статистики ===== */
.stats { position: relative; background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(56,189,248,.08)); border: 1px solid var(--line-strong); color: #fff; border-radius: var(--radius); padding: 48px; overflow: hidden; box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.stats::before { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.3), transparent 70%); }
.stats::after { content: ""; position: absolute; left: -40px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.28), transparent 70%); }
.stats .grid-4 { gap: 16px; position: relative; z-index: 1; }
.stat { text-align: center; }
.stat b { font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; display: block; line-height: 1; background: linear-gradient(120deg, #fff, var(--accent-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: var(--ink-soft); font-size: .96rem; }

/* ===== Альтернативный фон ===== */
.bg-alt { background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); border-block: 1px solid var(--line); }

/* ===== Список с галочками ===== */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); }
.checks li::before { content: "✓"; flex: none; width: 25px; height: 25px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a1020; font-weight: 700; display: grid; place-items: center; font-size: .82rem; box-shadow: 0 4px 14px rgba(59,130,246,.35); }

/* ===== Сплит ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ===== Тарифы ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); backdrop-filter: blur(10px); transition: transform .22s, box-shadow .22s, border-color .22s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.plan.featured { border-color: rgba(59,130,246,.5); box-shadow: var(--shadow-lg), 0 0 50px rgba(59,130,246,.15); position: relative; transform: scale(1.03); background: linear-gradient(180deg, rgba(59,130,246,.08), var(--surface)); }
.plan.featured:hover { transform: scale(1.03) translateY(-5px); }
.plan.featured::before { content: "Популярный"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a1020; font: 600 .76rem var(--font-display); padding: 6px 16px; border-radius: 99px; letter-spacing: .03em; box-shadow: 0 8px 22px rgba(59,130,246,.45); }
.plan h3 { font-size: 1.36rem; }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: #fff; margin: 10px 0 4px; }
.plan .price small { font-size: .95rem; font-weight: 400; color: var(--ink-soft); }
.plan .plan-desc { color: var(--ink-soft); font-size: .96rem; margin-bottom: 22px; }
.plan .checks { margin-bottom: 28px; flex: 1; }
.plan .btn { width: 100%; justify-content: center; }

/* ===== CTA-блок ===== */
.cta-band { position: relative; background: linear-gradient(135deg, rgba(59,130,246,.16), rgba(56,189,248,.12)); border: 1px solid var(--line-strong); color: #fff; border-radius: var(--radius); padding: 64px; text-align: center; overflow: hidden; box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(32rem 32rem at 12% -10%, rgba(59,130,246,.28), transparent 60%),
  radial-gradient(30rem 30rem at 92% 120%, rgba(56,189,248,.24), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ink-soft); max-width: 58ch; margin: 0 auto 30px; }

/* ===== Бегущая строка сценариев ===== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tag-pill { font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 10px 20px; white-space: nowrap; backdrop-filter: blur(8px); }
.tag-pill span { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Кластер: интерактивная демонстрация ===== */
.cluster-demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.cluster-demo-head { text-align: center; margin-bottom: 22px; }
.cluster-demo-head h2 { margin-bottom: .25em; }
.cluster-controls { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.cluster-controls .btn { font-size: .94rem; padding: 11px 20px; }
.cluster-stage { display: flex; gap: 16px; align-items: stretch; }
.cnode {
  flex: 1 1 0; min-width: 0; position: relative; overflow: hidden;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  transition: border-color .35s, background .35s, opacity .35s;
}
.cnode-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.cnode-name { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: .98rem; }
.cnode-state { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cnode-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.cnode-meta { font-size: .78rem; color: var(--ink-dim); margin-bottom: 14px; }
.cnode-cams { display: flex; flex-wrap: wrap; gap: 7px; min-height: 44px; align-content: flex-start; }
.ccam { display: inline-flex; align-items: center; gap: 4px; font: 600 .72rem var(--font-display); color: var(--accent-light); background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.28); border-radius: 8px; padding: 4px 7px; will-change: transform; }
.ccam svg { width: 12px; height: 12px; }
.cnode.down { border-color: rgba(255,90,77,.45); background: rgba(255,90,77,.06); }
.cnode.down .cnode-state { color: #ff8a80; }
.cnode.down .cnode-state::before { background: #ff5a4d; box-shadow: 0 0 10px rgba(255,90,77,.7); }
.cnode.down::after {
  content: "ОФЛАЙН"; position: absolute; inset: 0; display: grid; place-items: center;
  font: 700 1.1rem var(--font-display); letter-spacing: .15em; color: rgba(255,138,128,.5);
  background: repeating-linear-gradient(45deg, rgba(255,90,77,.04) 0 10px, transparent 10px 20px);
}
.cluster-status { text-align: center; margin: 22px 0 0; color: var(--ink-soft); font-size: 1.02rem; }
.cluster-status b { color: var(--accent-light); font-family: var(--font-display); }

/* ===== Кластер: слой обмена данными между нодами ===== */
.cluster-stage-wrap { position: relative; }
.sync-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: visible; }
.sync-packet { position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow), 0 0 4px #fff inset; will-change: transform, opacity; }
.cnode.syncing { border-color: rgba(59,130,246,.45); }

/* ===== Кластер: схема обмена состоянием ===== */
.sync-viz { display: grid; place-items: center; }
.sync-viz svg { width: 100%; max-width: 320px; height: auto; overflow: visible; }
.sync-line { stroke-dasharray: 5 7; stroke-linecap: round; opacity: .55; animation: syncDash 1.1s linear infinite; }
.sync-net circle { fill: rgba(59,130,246,.14); stroke: var(--accent); stroke-width: 1.6; }
.sync-net .ping { fill: none; stroke: var(--accent); transform-origin: center; transform-box: fill-box; animation: syncPing 2.4s ease-out infinite; }
.sync-net g:nth-child(2) .ping { animation-delay: .8s; }
.sync-net g:nth-child(3) .ping { animation-delay: 1.6s; }
@keyframes syncDash { to { stroke-dashoffset: -24; } }
@keyframes syncPing { 0% { transform: scale(1); opacity: .8; } 70%,100% { transform: scale(2.1); opacity: 0; } }

/* ===== Загрузки ===== */
.dl-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.dl-panel { display: flex; flex-direction: column; padding: 28px; }
.dl-panel-head { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; margin-bottom: 20px; }
.dl-panel-head .ico { width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(56,189,248,.1)); color: var(--accent-light); display: grid; place-items: center; border: 1px solid var(--line); }
.dl-panel-head .ico svg { width: 25px; height: 25px; }
.dl-panel-head p { font-size: .86rem; margin: 2px 0 0; }
.dl-step { width: 26px; height: 26px; border-radius: 50%; background: rgba(59,130,246,.14); border: 1px solid rgba(59,130,246,.4); color: var(--accent-light); font: 700 .85rem var(--font-display); display: grid; place-items: center; }
.dl-os-list { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.dl-os-row {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); transition: border-color .18s, background .18s, transform .18s;
}
.dl-os-row:hover { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.5); color: #fff; transform: translateY(-1px); }
.dl-os-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; color: #fff; }
.dl-os-ic svg { width: 26px; height: 26px; }
.dl-os-label { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.dl-os-label b { font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.dl-os-label span { font-size: .8rem; color: var(--ink-soft); }
.dl-os-dl { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #d8500a, #ef6a10); color: #fff; font-weight: 700; box-shadow: 0 6px 16px var(--cta-glow); }
.dl-os-soon { opacity: .65; }
.dl-os-soon:hover { background: rgba(255,255,255,.04); border-color: var(--line-strong); color: var(--ink-soft); transform: none; }
.dl-os-badge { flex: none; font: 600 .68rem var(--font-display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-dim); border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; }
.dl-plus { display: grid; place-items: center; font: 300 2rem var(--font-display); color: var(--ink-dim); }
@media (max-width: 820px) {
  .dl-split { grid-template-columns: 1fr; }
  .dl-plus { padding: 4px 0; }
}

/* ===== Page hero (внутренние страницы) ===== */
.page-hero { padding: 92px 0 34px; text-align: center; }
.page-hero .lead { max-width: 62ch; margin-inline: auto; }

/* ===== Шаги внедрения ===== */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px 28px 88px; position: relative; box-shadow: var(--shadow); backdrop-filter: blur(10px); transition: transform .2s, box-shadow .2s, border-color .2s; }
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 28px; top: 28px; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a1020; font: 700 1.18rem var(--font-display); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(59,130,246,.4); }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; }

/* ===== Сворачиваемый блок «для ИТ» ===== */
details.tech { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 20px; margin-top: 16px; }
details.tech summary { cursor: pointer; font-family: var(--font-display); font-weight: 500; color: var(--accent); padding: 14px 0; list-style: none; }
details.tech summary::-webkit-details-marker { display: none; }
details.tech summary::before { content: "＋ "; }
details.tech[open] summary::before { content: "－ "; }
details.tech .tech-body { padding-bottom: 16px; }
details.tech .tech-body p { color: var(--ink-soft); }
details.tech code { background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 5px; font-size: .9em; border: 1px solid var(--line); color: var(--accent-light); }

/* ===== Форма ===== */
.form { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--font-text); font-size: 1rem; padding: 12px 14px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(0,0,0,.25); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.form-note { font-size: .85rem; color: var(--ink-soft); }

/* ===== Реквизиты ===== */
.reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 8px 32px; }
.req { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.req:nth-child(odd) { padding-right: 28px; }
.req:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.req.req-wide { grid-column: 1 / -1; padding-left: 0; padding-right: 0; border-left: 0; }
.req span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); }
.req b { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.req a { color: var(--accent-light); }
@media (max-width: 640px) {
  .reqs { grid-template-columns: 1fr; padding: 8px 22px; }
  .req:nth-child(even) { padding-left: 0; border-left: 0; }
  .req:nth-child(odd) { padding-right: 0; }
}

/* ===== Footer ===== */
/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; background: rgba(255,255,255,.015); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding: 56px 0 36px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand-mark { font-size: 1.45rem; }
.footer-brand p { margin: 12px 0 0; font-size: .92rem; color: var(--ink-soft); }
.footer-col-title { font-family: var(--font-display); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dim); margin-bottom: 16px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; align-content: start; }
.footer-nav a { color: var(--ink-soft); font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-contacts a { color: var(--ink-soft); font-size: .95rem; }
.footer-contacts a:hover { color: var(--accent-light); }
.footer-bottom { padding: 22px 0 30px; border-top: 1px solid var(--line); }
.footer-bottom span { font-size: .82rem; color: var(--ink-dim); }
@media (max-width: 640px) {
  .footer-inner { gap: 30px; padding: 44px 0 30px; }
  .footer-nav { gap: 12px 24px; }
}

/* ===== Появление при скролле ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tile .scan, .tile.rec .dot, .console-badge, .tile .bbox, .marquee-track,
  .sync-line, .sync-net .ping { animation: none !important; }
  .ccam { transition: none !important; }
  .sync-layer { display: none; }
}

/* ===== Утилиты ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-soft); }

/* ===== Адаптив ===== */
@media (max-width: 920px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-5px); }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,11,15,.96); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
    transform: translateY(-140%); transition: transform .25s ease; box-shadow: var(--shadow-lg); backdrop-filter: blur(16px);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 0; }
  .site-nav ul a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; }
  .console-badge { right: 8px; }
}
@media (max-width: 640px) {
  section { padding: 66px 0; }
  .grid-3, .grid-4, .pricing-grid, .grid-2, .form-row { grid-template-columns: 1fr; }
  .cta-band, .stats { padding: 40px 24px; }
  .console-badge { display: none; }
  .cluster-stage { flex-wrap: wrap; }
  .cnode { flex: 1 1 calc(50% - 8px); }
  .cluster-demo { padding: 22px; }
}
