/* ═══════════════════════════════════════════════════════════════
   Geniium — Landing
   Built on Geniium Design System v2
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand core */
  --base: #060B19;
  --azure: #3B93EE;
  --mid: #1C6EDD;
  --deep: #114DAD;
  --ink: #F4F7FD;

  /* Secondary accent */
  --teal: #00DBA4;
  --teal-l: #4FFFC4;
  --teal-pale: rgba(0, 219, 164, .08);

  /* Surfaces */
  --surface: #0C1428;
  --surface2: #111B35;
  --surface3: #162040;

  /* Borders */
  --border: var(--border);
  --border-m: var(--border-m);

  /* Text */
  --t1: #F4F7FD;
  --t2: var(--t2);
  --t3: var(--t3);

  /* Gradients */
  --grad: linear-gradient(135deg, #3B93EE 0%, #1456C4 100%);
  --grad-teal: linear-gradient(90deg, #00DBA4 0%, #3B93EE 100%);

  /* Type */
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadow */
  --sh-blue: 0 4px 20px rgba(59, 147, 238, .35);
  --sh-teal: 0 4px 20px rgba(0, 219, 164, .28);

  /* Tints and shadows (theme-aware) */
  --tint-1: rgba(255, 255, 255, .035);
  --tint-2: rgba(255, 255, 255, .055);
  --tint-3: rgba(255, 255, 255, .10);
  --border-hi: rgba(255, 255, 255, .25);
  --t4: rgba(244, 247, 253, .30);
  --nav-bg: rgba(6, 11, 25, .82);
  --nav-bg-solid: rgba(6, 11, 25, .94);
  --ov-bg: rgba(6, 11, 25, .84);
  --opt-bg: #1a2340;
  --sh-c1: rgba(0, 0, 0, .38);
  --sh-c2: rgba(0, 0, 0, .55);
  --logo-bar: #F4F7FD;
  --code-bg: #060B19;
  --code-fg: #E8EDF7;

  --nav-h: 60px;
}

/* ═══ LIGHT THEME ═══ */
[data-theme="light"] {
  --base: #FFFFFF;
  --ink: #0B1220;

  --surface:  #F6F9FE;
  --surface2: #FFFFFF;
  --surface3: #EDF3FC;

  --border:    rgba(11, 18, 32, .10);
  --border-m:  rgba(11, 18, 32, .16);
  --border-hi: rgba(11, 18, 32, .28);

  --t1: #0B1220;
  --t2: rgba(11, 18, 32, .70);
  --t3: rgba(11, 18, 32, .50);
  --t4: rgba(11, 18, 32, .34);

  --tint-1: rgba(11, 18, 32, .025);
  --tint-2: rgba(11, 18, 32, .045);
  --tint-3: rgba(11, 18, 32, .075);

  --nav-bg: rgba(255, 255, 255, .84);
  --nav-bg-solid: rgba(255, 255, 255, .96);
  --ov-bg: rgba(11, 18, 32, .45);
  --opt-bg: #FFFFFF;

  --sh-c1: rgba(11, 18, 32, .09);
  --sh-c2: rgba(11, 18, 32, .14);
  --sh-blue: 0 4px 18px rgba(59, 147, 238, .28);
  --sh-teal: 0 4px 18px rgba(0, 168, 126, .26);

  --logo-bar: #0B1220;
  --code-bg: #0C1428;
  --code-fg: #E8EDF7;

  /* Teal needs to darken on white to stay readable */
  --teal: #00A87E;
  --teal-l: #00C795;
  --teal-pale: rgba(0, 168, 126, .09);
}


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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

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

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

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--base); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--azure); }

::selection { background: rgba(59, 147, 238, .3); color: #fff; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ─── Wordmark ─────────────────────────────────────────────── */
.wm { font-weight: 800; letter-spacing: -.04em; color: var(--t1); line-height: 1; }
.wm .ii { color: var(--azure); }

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--border); background: var(--nav-bg-solid); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo .wm { font-size: 19px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--t2);
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: color .18s, background .18s; white-space: nowrap;
}
.nav-links a:hover { color: var(--t1); background: var(--tint-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-burger {
  display: none; width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--tint-2); border: 1px solid var(--border);
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-burger span { display: block; width: 17px; height: 2px; background: var(--t1); border-radius: 2px; transition: .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 890;
  background: var(--base); padding: 24px 28px 40px;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  overflow-y: auto; display: none;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block; font-size: 17px; font-weight: 700; color: var(--t1);
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; white-space: nowrap;
  border: none; border-radius: var(--r-md); cursor: pointer;
  transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-xl { font-size: 16px; padding: 15px 30px; border-radius: var(--r-lg); }
.btn-lg { font-size: 15px; padding: 12px 24px; }
.btn-md { font-size: 14px; padding: 10px 19px; }
.btn-sm { font-size: 13px; padding: 8px 15px; border-radius: var(--r-sm); }

.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { box-shadow: 0 6px 28px rgba(59, 147, 238, .5); transform: translateY(-1px); }

.btn-teal { background: linear-gradient(135deg, #00DBA4, #00B886); color: #041016; box-shadow: var(--sh-teal); }
.btn-teal:hover { box-shadow: 0 6px 28px rgba(0, 219, 164, .45); transform: translateY(-1px); }

.btn-ghost { background: var(--tint-1); color: var(--t1); border: 1px solid var(--border-m); }
.btn-ghost:hover { background: var(--tint-3); border-color: var(--border-hi); }

.btn-link {
  /* Используется и на <a>, и на <button> — поэтому гасим стили кнопки браузера */
  background: none; border: none; appearance: none; -webkit-appearance: none;
  font-family: var(--sans); line-height: 1.2; text-align: left;
  color: var(--azure); padding: 0; font-size: 14px;
  font-weight: 700; display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  transition: color .16s, gap .16s;
}
.btn-link:hover { color: var(--teal); gap: 8px; }
.btn-link:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 3px; }

/* ═══ SECTION PRIMITIVES ═══ */
.section { padding: 88px 0; position: relative; }
.section + .section { border-top: 1px solid var(--border); }

.eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--azure); margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--grad-teal); border-radius: 2px; }

.sec-title {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.15; margin-bottom: 12px;
}
.sec-sub { font-size: 16px; color: var(--t2); max-width: 560px; margin-bottom: 44px; }
.sec-head { margin-bottom: 44px; }
.sec-head .sec-sub { margin-bottom: 0; }

/* ═══ HERO ═══ */
.hero {
  padding: calc(var(--nav-h) + 72px) 0 84px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 55% at 22% 8%, rgba(59, 147, 238, .16) 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 88% 72%, rgba(0, 219, 164, .09) 0%, transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, var(--tint-2) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 0%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.06; margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--teal) 0%, var(--teal-l) 45%, var(--azure) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* Без этого градиент растягивается на весь блок и вторая строка обрезается */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { font-size: clamp(16px, 1.9vw, 19px); color: var(--t2); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; position: relative; z-index: 2;
}
.hero-stat { background: var(--base); padding: 20px 22px; }
.hero-stat .v {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.03em;
  line-height: 1; color: var(--teal); margin-bottom: 5px;
}
.hero-stat .l { font-size: 12.5px; color: var(--t3); line-height: 1.4; }

/* ═══ PAINS ═══ */
.pains { padding: 64px 0; }
.pain-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pain-chip {
  font-size: 14.5px; font-weight: 600; color: var(--t2);
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 100px; padding: 10px 18px;
  transition: border-color .18s, color .18s, transform .18s;
}
.pain-chip:hover { border-color: rgba(0, 219, 164, .4); color: var(--t1); transform: translateY(-2px); }

/* ═══ FORMAT CARDS ═══ */
.formats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.fcard {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.fcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity .22s;
}
.fcard:hover { border-color: var(--border-m); transform: translateY(-3px); box-shadow: 0 16px 44px var(--sh-c1); }
.fcard:hover::before { opacity: 1; }
.fcard.featured { border-color: rgba(59, 147, 238, .32); }
.fcard.featured::before { opacity: 1; }

.fcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.fcard-icon {
  width: 46px; height: 46px; border-radius: var(--r-lg); flex-shrink: 0;
  background: rgba(59, 147, 238, .1); border: 1px solid rgba(59, 147, 238, .22);
  display: flex; align-items: center; justify-content: center; color: var(--azure);
}
.fcard-num { font-family: var(--mono); font-size: 12px; color: var(--t3); letter-spacing: 1px; }
.fcard h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.fcard-tagline { font-size: 12.5px; font-weight: 700; color: var(--teal); letter-spacing: .3px; margin-bottom: 12px; }
.fcard-short { font-size: 14.5px; color: var(--t2); line-height: 1.65; margin-bottom: 20px; flex: 1; }

.fcard-meta {
  display: flex; align-items: center; gap: 18px; padding: 14px 0;
  border-top: 1px solid var(--border); margin-bottom: 16px;
}
.fcard-metric .v { font-size: 17px; font-weight: 800; color: var(--t1); line-height: 1; }
.fcard-metric .l { font-size: 11.5px; color: var(--t3); margin-top: 3px; }
.fcard-price { margin-left: auto; text-align: right; font-size: 13.5px; font-weight: 700; color: var(--azure); }

.fcard-actions { display: flex; align-items: center; gap: 14px; }
.fcard-actions .btn { flex: 1; }

.badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  border-radius: 100px; padding: 4px 10px; white-space: nowrap;
}
.badge-azure { background: rgba(59, 147, 238, .14); color: var(--azure); border: 1px solid rgba(59, 147, 238, .3); }
.badge-teal { background: rgba(0, 219, 164, .12); color: var(--teal); border: 1px solid rgba(0, 219, 164, .28); }

/* ═══ HARDWARE ═══ */
.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hw-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .22s, transform .22s;
}
.hw-card:hover { border-color: var(--border-m); transform: translateY(-3px); }
.hw-card.featured { border-color: rgba(0, 219, 164, .32); }
.hw-head { padding: 24px 24px 18px; border-bottom: 1px solid var(--border); position: relative; }
.hw-card.featured .hw-head { background: rgba(0, 219, 164, .04); }
.hw-num { font-family: var(--mono); font-size: 11.5px; color: var(--t3); margin-bottom: 10px; letter-spacing: 1px; }
.hw-head h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 3px; }
.hw-sub { font-size: 12.5px; color: var(--t3); }
.hw-for {
  position: absolute; top: 22px; right: 22px;
  font-size: 10.5px; font-weight: 700; color: var(--teal);
  background: rgba(0, 219, 164, .1); border: 1px solid rgba(0, 219, 164, .24);
  border-radius: 100px; padding: 3px 9px;
}
.hw-body { padding: 20px 24px; flex: 1; }
.hw-short { font-size: 14px; color: var(--t2); line-height: 1.6; margin-bottom: 16px; }
.hw-specs { list-style: none; }
.hw-specs li {
  font-size: 13px; color: var(--t2); line-height: 1.55;
  padding: 6px 0 6px 18px; position: relative;
}
.hw-specs li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--azure);
}
.hw-foot {
  padding: 18px 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hw-price { font-size: 15px; font-weight: 800; color: var(--t1); }
.hw-note { font-size: 11.5px; color: var(--t3); margin-top: 2px; }

/* ═══ PROCESS ═══ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; position: relative;
  transition: border-color .2s;
}
.step:hover { border-color: rgba(0, 219, 164, .3); }
.step-num {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--teal); margin-bottom: 14px; letter-spacing: 1px;
}
.step h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 7px; letter-spacing: -.01em; }
.step p { font-size: 13.5px; color: var(--t2); line-height: 1.6; margin-bottom: 14px; }
.step-meta {
  font-size: 11.5px; font-weight: 700; color: var(--t3);
  border-top: 1px solid var(--border); padding-top: 12px;
}

/* ═══ INDUSTRIES ═══ */
.ind-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.ind-chip {
  font-size: 13.5px; font-weight: 600; color: var(--t2);
  background: var(--tint-1); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 9px 15px;
}

/* ═══ MATERIALS ═══ */
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mat-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 26px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: border-color .22s, transform .22s;
}
.mat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-teal); opacity: 0; transition: opacity .22s;
}
.mat-card:hover { border-color: rgba(0, 219, 164, .3); transform: translateY(-3px); }
.mat-card:hover::before { opacity: 1; }
.mat-icon {
  width: 42px; height: 42px; border-radius: var(--r-md); margin-bottom: 16px;
  background: rgba(0, 219, 164, .1); border: 1px solid rgba(0, 219, 164, .2);
  display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.mat-card h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.mat-card p { font-size: 13.5px; color: var(--t2); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.mat-format { font-family: var(--mono); font-size: 11px; color: var(--t3); margin-bottom: 16px; }

/* ═══ ASSISTANT BANNER ═══ */
.assist-banner {
  background: linear-gradient(120deg, var(--surface2) 0%, var(--surface3) 100%);
  border: 1px solid rgba(0, 219, 164, .22); border-radius: var(--r-xl);
  padding: 40px; display: flex; align-items: center; gap: 32px;
  position: relative; overflow: hidden;
}
.assist-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 90% at 88% 50%, rgba(0, 219, 164, .12) 0%, transparent 70%);
}
.assist-text { flex: 1; position: relative; z-index: 1; }
.assist-text h3 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.assist-text p { font-size: 15px; color: var(--t2); max-width: 460px; }
.assist-banner .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ═══ FORM ═══ */
.form-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.form-side .sec-sub { margin-bottom: 28px; }
.form-trust { display: flex; flex-direction: column; gap: 14px; }
.form-trust-item { display: flex; gap: 12px; align-items: flex-start; }
.form-trust-item svg { flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.form-trust-item span { font-size: 14px; color: var(--t2); line-height: 1.55; }

.form-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-label { font-size: 11.5px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: var(--t3); }
.form-label .req { color: #FF5C5C; }
.form-input, .form-select, .form-textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--t1);
  background: var(--tint-1); border: 1px solid var(--border-m);
  border-radius: var(--r-md); padding: 12px 15px; outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--t4); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--azure); background: rgba(59, 147, 238, .05);
  box-shadow: 0 0 0 3px rgba(59, 147, 238, .14);
}
.form-input.err, .form-select.err { border-color: #FF5C5C; box-shadow: 0 0 0 3px rgba(255, 92, 92, .14); }
.form-select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F4F7FD' stroke-opacity='.5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.form-select option { background: var(--opt-bg); color: var(--t1); }
.form-textarea { resize: vertical; min-height: 92px; line-height: 1.6; }

.form-consent { margin: 4px 0 18px; }
.consent-label { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.consent-cb {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 19px; height: 19px; margin-top: 1px;
  border: 1.5px solid var(--border-hi); border-radius: 5px;
  background: var(--tint-1); cursor: pointer; position: relative;
  transition: background .18s, border-color .18s;
}
.consent-cb:checked { background: var(--grad); border-color: var(--azure); }
.consent-cb:checked::after {
  content: ''; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px; border: 2px solid #fff;
  border-top: none; border-left: none; transform: rotate(45deg);
}
.consent-cb.err { border-color: #FF5C5C; box-shadow: 0 0 0 3px rgba(255, 92, 92, .15); }
.consent-text { font-size: 13px; color: var(--t2); line-height: 1.55; }
.policy-link { color: var(--azure); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.policy-link:hover { color: var(--teal); }
.form-err-msg { display: none; font-size: 12.5px; color: #FF5C5C; margin-top: 8px; }
.form-err-msg.show { display: block; }
.form-submit { width: 100%; }

.form-success { display: none; text-align: center; padding: 36px 20px; }
.form-success.show { display: block; }
.form-success .ico {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  background: rgba(0, 219, 164, .12); border: 1px solid rgba(0, 219, 164, .3);
  display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.form-success h3 { font-size: 21px; font-weight: 800; margin-bottom: 9px; }
.form-success p { font-size: 14.5px; color: var(--t2); max-width: 340px; margin: 0 auto; }

/* ═══ FOOTER ═══ */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; padding-bottom: 44px; }
.footer-brand .wm { font-size: 21px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: var(--t2); line-height: 1.7; max-width: 300px; margin-bottom: 20px; }
.footer-contacts { display: flex; flex-direction: column; gap: 9px; }
.footer-contacts a { font-size: 14px; color: var(--t2); transition: color .16s; }
.footer-contacts a:hover { color: var(--azure); }
.footer-col-title {
  font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--t3); margin-bottom: 16px;
}
.footer-link {
  display: block; font-size: 14px; color: var(--t2);
  padding: 6px 0; transition: color .16s;
}
.footer-link:hover { color: var(--t1); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--t3); }
.footer-policy { font-size: 13px; color: var(--t2); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.footer-policy:hover { color: var(--azure); }

/* ═══ REVEAL ANIMATION ═══ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .formats-grid { grid-template-columns: 1fr; }
  .hw-grid { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: block; }
  .nav-actions .btn { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding: calc(var(--nav-h) + 44px) 0 60px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .fcard { padding: 22px; }
  .assist-banner { flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px 24px; }
  .assist-banner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-sub { margin-bottom: 32px; }
  .fcard-meta { flex-wrap: wrap; gap: 12px; }
  .fcard-price { margin-left: 0; text-align: left; width: 100%; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
  .hero-stat { padding: 16px 15px; }
  .fcard-actions { flex-direction: column; align-items: stretch; }
  .fcard-actions .btn-link { justify-content: center; padding: 8px 0; }
}

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

/* ═══════════════════════════════════════════════════════════
   THEME TOGGLE
   ═══════════════════════════════════════════════════════════ */
.theme-toggle {
  border: none; background: none; padding: 0; cursor: pointer;
  flex-shrink: 0; line-height: 0;
}
.tt-track {
  position: relative; display: flex; align-items: center;
  width: 58px; height: 30px; border-radius: 100px;
  background: var(--tint-2); border: 1px solid var(--border);
  transition: background .2s, border-color .2s;
}
.theme-toggle:hover .tt-track { border-color: var(--border-hi); }
.tt-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 2px 8px rgba(59, 147, 238, .45);
  transform: translateX(28px);          /* тёмная тема — бегунок на луне */
  transition: transform .26s cubic-bezier(.16, 1, .3, 1);
}
[data-theme="light"] .tt-thumb { transform: translateX(0); }  /* светлая — на солнце */
.tt-ic {
  position: relative; z-index: 1; flex: 1;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, opacity .2s;
}
.tt-ic-sun  { color: var(--t3); opacity: .7; }
.tt-ic-moon { color: #FFFFFF; opacity: 1; }
[data-theme="light"] .tt-ic-sun  { color: #FFFFFF; opacity: 1; }
[data-theme="light"] .tt-ic-moon { color: var(--t3); opacity: .7; }

.nav-links a.is-active { color: var(--azure); background: rgba(59, 147, 238, .10); }

/* Light-theme corrections */
[data-theme="light"] .btn-teal { color: #FFFFFF; }
[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 62% 55% at 22% 8%, rgba(59, 147, 238, .13) 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 88% 72%, rgba(0, 168, 126, .10) 0%, transparent 60%);
}
[data-theme="light"] .hero-stat { background: var(--surface2); }
[data-theme="light"] .fcard:hover,
[data-theme="light"] .hw-card:hover,
[data-theme="light"] .mat-card:hover { box-shadow: 0 14px 36px var(--sh-c1); }
[data-theme="light"] .assist-banner {
  background: linear-gradient(120deg, var(--surface) 0%, var(--surface3) 100%);
}
[data-theme="light"] .footer { background: var(--surface); }
[data-theme="light"] .chat-fab { color: #FFFFFF; }
[data-theme="light"] .chat-avatar { color: #FFFFFF; }
[data-theme="light"] .msg.user .msg-bubble { color: #FFFFFF; }

/* ═══════════════════════════════════════════════════════════
   SUB-PAGES
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 58px) 0 52px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 18% 0%, rgba(59, 147, 238, .14) 0%, transparent 62%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(0, 219, 164, .08) 0%, transparent 60%);
}
[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(ellipse 55% 60% at 18% 0%, rgba(59, 147, 238, .12) 0%, transparent 62%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(0, 168, 126, .09) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 50px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.08; margin-bottom: 16px; max-width: 780px;
}
.page-hero h1 .accent {
  background: linear-gradient(100deg, var(--teal) 0%, var(--azure) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.page-lede { font-size: clamp(15px, 1.8vw, 18px); color: var(--t2); max-width: 620px; margin-bottom: 26px; }
.page-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; }
.crumbs a { color: var(--t3); display: inline-flex; align-items: center; gap: 6px; transition: color .16s; }
.crumbs a:hover { color: var(--azure); }
.crumbs span { color: var(--t4); }

/* Prose */
.prose p { font-size: 15.5px; color: var(--t2); line-height: 1.75; margin-bottom: 14px; max-width: 68ch; }
.prose p strong { color: var(--t1); font-weight: 700; }
.prose a { color: var(--azure); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--teal); }

/* Numbered feature blocks */
.blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.block {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 26px;
  transition: border-color .2s, transform .2s;
}
.block:hover { border-color: var(--border-m); transform: translateY(-2px); }
.block-num {
  font-family: var(--mono); font-size: 12px; color: var(--teal);
  letter-spacing: 1px; margin-bottom: 12px;
}
.block h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.block-pain {
  font-size: 13px; color: var(--t3); font-style: italic;
  padding: 10px 14px; background: var(--tint-1);
  border-left: 2px solid var(--border-m); border-radius: 0 6px 6px 0; margin-bottom: 14px;
}
.block p { font-size: 14.5px; color: var(--t2); line-height: 1.65; margin-bottom: 14px; }
.block-result {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--teal);
  padding: 7px 13px; background: var(--teal-pale);
  border: 1px solid rgba(0, 219, 164, .22); border-radius: 100px;
}
[data-theme="light"] .block-result { border-color: rgba(0, 168, 126, .28); }

/* Bullet list with ticks */
.ticks { list-style: none; }
.ticks li {
  font-size: 14.5px; color: var(--t2); line-height: 1.6;
  padding: 8px 0 8px 30px; position: relative;
}
.ticks li::before {
  content: ''; position: absolute; left: 6px; top: 15px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--azure);
}
.ticks li strong { color: var(--t1); }

/* Audience cards */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  transition: border-color .2s, transform .2s;
}
.who:hover { border-color: rgba(59, 147, 238, .32); transform: translateY(-2px); }
.who-ic {
  width: 42px; height: 42px; border-radius: var(--r-md); margin-bottom: 14px;
  background: rgba(59, 147, 238, .1); border: 1px solid rgba(59, 147, 238, .2);
  display: flex; align-items: center; justify-content: center; color: var(--azure);
}
.who h4 { font-size: 16px; font-weight: 800; margin-bottom: 7px; }
.who p { font-size: 13.5px; color: var(--t2); line-height: 1.6; }
.who-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.who-tag {
  font-size: 11.5px; font-weight: 600; color: var(--t3);
  background: var(--tint-1); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 10px;
}

/* Metric grid */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
           background: var(--border); border: 1px solid var(--border);
           border-radius: var(--r-lg); overflow: hidden; }
.metric { background: var(--surface2); padding: 24px 22px; }
.metric .v {
  font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em;
  line-height: 1; color: var(--teal); margin-bottom: 7px;
}
.metric .l { font-size: 13px; color: var(--t2); line-height: 1.45; }
.metric .n { font-size: 11.5px; color: var(--t4); margin-top: 7px; }

/* Two-column comparison */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-col { border-radius: var(--r-xl); padding: 26px; border: 1px solid var(--border); }
.vs-col.bad { background: var(--tint-1); }
.vs-col.good { background: var(--surface2); border-color: rgba(0, 219, 164, .3); }
[data-theme="light"] .vs-col.good { border-color: rgba(0, 168, 126, .34); }
.vs-title { font-size: 15px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.vs-col.bad .vs-title { color: var(--t3); }
.vs-col.good .vs-title { color: var(--teal); }
.vs-list { list-style: none; }
.vs-list li {
  font-size: 14px; line-height: 1.6; padding: 9px 0 9px 24px;
  position: relative; border-bottom: 1px solid var(--border); color: var(--t2);
}
.vs-list li:last-child { border-bottom: none; }
.vs-list li::before {
  position: absolute; left: 0; top: 8px; font-size: 15px; font-weight: 700;
}
.vs-col.bad .vs-list li::before { content: '×'; color: var(--t4); }
.vs-col.good .vs-list li::before { content: '✓'; color: var(--teal); }

/* Stepper timeline */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tl-step {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; position: relative;
  transition: border-color .2s;
}
.tl-step:hover { border-color: rgba(0, 219, 164, .3); }
.tl-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-teal); opacity: 0; transition: opacity .2s;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.tl-step:hover::before { opacity: 1; }
.tl-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; color: var(--teal);
  margin-bottom: 12px; letter-spacing: 1px;
}
.tl-step h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.tl-step p { font-size: 13.5px; color: var(--t2); line-height: 1.6; margin-bottom: 14px; }
.tl-out { list-style: none; border-top: 1px solid var(--border); padding-top: 12px; }
.tl-out li {
  font-size: 12.5px; color: var(--t3); line-height: 1.5;
  padding: 4px 0 4px 15px; position: relative;
}
.tl-out li::before { content: '—'; position: absolute; left: 0; color: var(--azure); }
.tl-price {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 13.5px; font-weight: 700; color: var(--azure);
}

/* Spec table */
.spec { width: 100%; border-collapse: collapse; }
.spec th {
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--t3); padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border-m);
}
.spec td {
  font-size: 14px; color: var(--t2); padding: 14px 16px;
  border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.6;
}
.spec tr:last-child td { border-bottom: none; }
.spec td:first-child { color: var(--t1); font-weight: 700; white-space: nowrap; }
.spec-wrap {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
}
.spec-scroll { overflow-x: auto; }

/* Layered architecture diagram */
.layers { display: flex; flex-direction: column; gap: 10px; }
.layer {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 22px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .2s, transform .2s;
}
.layer:hover { border-color: rgba(59, 147, 238, .3); transform: translateX(3px); }
.layer-ic {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: rgba(59, 147, 238, .1); border: 1px solid rgba(59, 147, 238, .2);
  display: flex; align-items: center; justify-content: center; color: var(--azure);
}
.layer-txt h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.layer-txt p { font-size: 13.5px; color: var(--t2); line-height: 1.6; }

/* Upgrade highlight rows */
.upg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.upg-item {
  background: var(--surface2); border: 1px solid var(--border);
  border-left: 3px solid var(--teal); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px;
}
.upg-item h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.upg-item p { font-size: 13.5px; color: var(--t2); line-height: 1.6; }

/* Info callout */
.callout {
  background: rgba(59, 147, 238, .06); border: 1px solid rgba(59, 147, 238, .2);
  border-radius: var(--r-lg); padding: 22px 26px;
}
.callout.teal { background: var(--teal-pale); border-color: rgba(0, 219, 164, .25); }
[data-theme="light"] .callout.teal { border-color: rgba(0, 168, 126, .3); }
.callout-t {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--azure); margin-bottom: 9px;
}
.callout.teal .callout-t { color: var(--teal); }
.callout p { font-size: 14.5px; color: var(--t2); line-height: 1.7; margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-row { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface2); }
.faq-head {
  padding: 16px 20px; font-size: 15px; font-weight: 700; color: var(--t1);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: background .16s;
}
.faq-head:hover { background: var(--tint-1); }
.faq-head .chev { color: var(--t3); transition: transform .22s; flex-shrink: 0; }
.faq-row.open .faq-head .chev { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .28s cubic-bezier(.16, 1, .3, 1); }
.faq-row.open .faq-body { max-height: 460px; }
.faq-inner { padding: 0 20px 18px; font-size: 14.5px; color: var(--t2); line-height: 1.7; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--surface2) 0%, var(--surface3) 100%);
  border: 1px solid rgba(59, 147, 238, .22); border-radius: var(--r-xl);
  padding: 40px; display: flex; align-items: center; gap: 32px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 90% at 88% 50%, rgba(59, 147, 238, .12) 0%, transparent 70%);
}
.cta-band-txt { flex: 1; position: relative; z-index: 1; }
.cta-band h3 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.cta-band p { font-size: 15px; color: var(--t2); max-width: 520px; }
.cta-band .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .blocks, .upg, .vs { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .tl { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .who-grid, .metrics, .tl { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--nav-h) + 36px) 0 40px; }
  .page-hero-cta { flex-direction: column; }
  .page-hero-cta .btn { width: 100%; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px 24px; }
  .cta-band .btn { width: 100%; }
  .block, .vs-col { padding: 22px; }
  .nav-actions .nav-cta { display: none; }
  .theme-toggle { width: 36px; height: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   NAV CARDS — переходы на подстраницы
   ═══════════════════════════════════════════════════════════ */
.navcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.navcard {
  position: relative; display: flex; flex-direction: column;
  min-height: 260px; padding: 30px 30px 26px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  text-decoration: none; isolation: isolate;
  transition: border-color .28s, transform .28s, box-shadow .28s;
}
.navcard::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(ellipse 70% 90% at 85% 15%, rgba(59, 147, 238, .16) 0%, transparent 68%);
  transition: opacity .3s;
}
.navcard::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .34s cubic-bezier(.16, 1, .3, 1);
}
.navcard:hover { border-color: var(--border-m); transform: translateY(-4px); box-shadow: 0 20px 48px var(--sh-c1); }
.navcard:hover::before { opacity: 1; }
.navcard:hover::after { transform: scaleX(1); }
.navcard.teal::after { background: var(--grad-teal); }
.navcard.teal::before {
  background: radial-gradient(ellipse 70% 90% at 85% 15%, rgba(0, 219, 164, .14) 0%, transparent 68%);
}
[data-theme="light"] .navcard.teal::before {
  background: radial-gradient(ellipse 70% 90% at 85% 15%, rgba(0, 168, 126, .12) 0%, transparent 68%);
}

.navcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.navcard-ic {
  width: 50px; height: 50px; border-radius: var(--r-lg); flex-shrink: 0;
  background: rgba(59, 147, 238, .1); border: 1px solid rgba(59, 147, 238, .22);
  display: flex; align-items: center; justify-content: center; color: var(--azure);
  transition: background .28s, border-color .28s, transform .28s;
}
.navcard:hover .navcard-ic { transform: scale(1.06); background: rgba(59, 147, 238, .16); }
.navcard.teal .navcard-ic {
  background: var(--teal-pale); border-color: rgba(0, 219, 164, .26); color: var(--teal);
}
.navcard.teal:hover .navcard-ic { background: rgba(0, 219, 164, .16); }
.navcard-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--t4);
}

.navcard h3 {
  font-size: clamp(20px, 2.3vw, 25px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.2; color: var(--t1); margin-bottom: 10px;
}
.navcard p { font-size: 14.5px; color: var(--t2); line-height: 1.65; margin-bottom: 20px; max-width: 46ch; }

.navcard-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.navcard-tag {
  font-size: 11.5px; font-weight: 600; color: var(--t3);
  background: var(--tint-1); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 11px; white-space: nowrap;
}

.navcard-go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 700; color: var(--azure);
  transition: gap .24s, color .24s;
}
.navcard.teal .navcard-go { color: var(--teal); }
.navcard:hover .navcard-go { gap: 15px; }
.navcard-go svg { transition: transform .24s; }

@media (max-width: 900px) {
  .navcards { grid-template-columns: 1fr; gap: 16px; }
  .navcard { min-height: 0; padding: 26px 24px 24px; }
}

/* ═══ Полировка подстраниц ═══ */
.metric { transition: background .2s; position: relative; }
.metric::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--grad-teal); opacity: 0; transition: opacity .22s;
}
.metric:hover { background: var(--surface3); }
.metric:hover::after { opacity: 1; }

.block { position: relative; }
.block-num {
  display: inline-flex; align-items: center; gap: 8px;
}
.block-num::after {
  content: ''; width: 26px; height: 1px; background: var(--border-m);
}
.block:hover .block-num::after { background: var(--teal); }

.layer { position: relative; }
.tl-step { display: flex; flex-direction: column; }
.tl-step .tl-price { margin-top: auto; }

.sec-head { max-width: 720px; }
.section + .section { border-top: 1px solid var(--border); }
.page-hero + .section { border-top: none; }

/* ═══════════════════════════════════════════════════════════
   HERO — двухколоночная сетка с визуалом
   ═══════════════════════════════════════════════════════════ */
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 48px; align-items: center; margin-bottom: 52px;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: none; }
.hero-copy .hero-sub { margin-bottom: 30px; }

/* ─── Триада доверия под кнопками ─── */
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.ht-item { display: flex; align-items: flex-start; gap: 11px; }
.ht-ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: rgba(59, 147, 238, .1); border: 1px solid rgba(59, 147, 238, .2);
  display: flex; align-items: center; justify-content: center; color: var(--azure);
}
.ht-item span:last-child { font-size: 12.5px; color: var(--t3); line-height: 1.45; }
.ht-item b { display: block; font-size: 13.5px; font-weight: 700; color: var(--t1); margin-bottom: 1px; }

/* ─── Визуал ─── */
.hero-visual { position: relative; min-width: 0; }

.hv-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-m);
  box-shadow: 0 26px 70px var(--sh-c2);
  transform: translateZ(0);
}
.hv-frame img { width: 100%; height: auto; display: block; }

/* В тёмной теме светлый офис пришлось бы вырезать — вместо этого
   притемняем и подкрашиваем картинку в фирменный синий. */
[data-theme="dark"] .hv-frame img {
  filter: brightness(.62) contrast(1.08) saturate(1.15) hue-rotate(-6deg);
}
[data-theme="dark"] .hv-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 11, 25, .34) 0%, transparent 30%, rgba(6, 11, 25, .52) 100%),
    radial-gradient(ellipse 60% 60% at 50% 45%, rgba(59, 147, 238, .18) 0%, transparent 70%);
  mix-blend-mode: normal;
}
[data-theme="dark"] .hv-frame {
  box-shadow: 0 26px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(59, 147, 238, .16),
              0 0 70px rgba(59, 147, 238, .14);
}
[data-theme="light"] .hv-frame {
  border-color: rgba(11, 18, 32, .08);
  box-shadow: 0 20px 54px rgba(11, 18, 32, .13);
}

/* Блик, медленно проходящий по картинке */
.hv-sheen {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .16) 48%, transparent 58%);
  transform: translateX(-120%);
  animation: hvSheen 7.5s ease-in-out infinite;
}
@keyframes hvSheen {
  0%, 62% { transform: translateX(-120%); }
  84%, 100% { transform: translateX(120%); }
}

/* Тонкая сканирующая линия — «система работает» */
.hv-scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 0; z-index: 3;
  pointer-events: none; opacity: .65;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: hvScan 6s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes hvScan {
  0%, 100% { top: 4%;  opacity: 0; }
  12%      { opacity: .7; }
  88%      { opacity: .7; }
  99%      { top: 96%; opacity: 0; }
}

/* Пульсирующие узлы — попадают на «шары» с иконками */
.hv-node {
  position: absolute; width: 10px; height: 10px; border-radius: 50%; z-index: 4;
  background: var(--teal); pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0, 219, 164, .55);
  animation: hvPulse 3.4s ease-out infinite;
}
[data-theme="light"] .hv-node { background: var(--azure); box-shadow: 0 0 0 0 rgba(59, 147, 238, .5); }
.hv-node.n1 { top: 17%; left: 46%; animation-delay: 0s; }
.hv-node.n2 { top: 22%; left: 24%; animation-delay: .5s; }
.hv-node.n3 { top: 23%; left: 71%; animation-delay: 1s; }
.hv-node.n4 { top: 41%; left: 15%; animation-delay: 1.5s; }
.hv-node.n5 { top: 40%; left: 79%; animation-delay: 2s; }
.hv-node.n6 { top: 62%; left: 27%; animation-delay: 2.5s; }
@keyframes hvPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 219, 164, .5);  transform: scale(1); }
  70%  { box-shadow: 0 0 0 16px rgba(0, 219, 164, 0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 rgba(0, 219, 164, 0);   transform: scale(1); }
}

/* Плавающие чипы поверх кадра */
.hv-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: 100px; white-space: nowrap;
  background: var(--surface2); border: 1px solid var(--border-m);
  box-shadow: 0 12px 32px var(--sh-c1);
  font-size: 13px; font-weight: 600; color: var(--t2);
  backdrop-filter: blur(8px);
}
.hv-chip b, .hvc-val { color: var(--t1); font-weight: 800; }
.hv-chip-1 { top: 12%; left: -18px; animation: hvFloat 6s ease-in-out infinite; }
.hv-chip-2 {
  bottom: 12%; right: -14px; gap: 10px;
  animation: hvFloat 7.5s ease-in-out infinite reverse;
}
.hvc-val {
  font-size: 17px; font-weight: 800; color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.hvc-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  animation: hvBlink 1.8s ease-in-out infinite;
}
@keyframes hvFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
@keyframes hvBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 219, 164, .5); }
  50%      { opacity: .45; box-shadow: 0 0 0 7px rgba(0, 219, 164, 0); }
}

/* ─── Оживление остальной страницы ─── */
.hero-stat .v { font-variant-numeric: tabular-nums; }

.pain-chip { animation: chipIn .5s cubic-bezier(.16, 1, .3, 1) backwards; }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }

.fcard-icon, .mat-icon, .who-ic, .layer-ic {
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1), background .25s, border-color .25s;
}
.fcard:hover .fcard-icon,
.mat-card:hover .mat-icon,
.who:hover .who-ic,
.layer:hover .layer-ic { transform: scale(1.09) rotate(-4deg); }

/* Живой пульс у бейджа «Популярное» */
.fcard.featured .badge-azure { animation: hvBadge 3.6s ease-in-out infinite; }
@keyframes hvBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 147, 238, .35); }
  50%      { box-shadow: 0 0 0 8px rgba(59, 147, 238, 0); }
}

/* Тонкая градиентная нить над секцией статистики */
.hero-stats { position: relative; }
.hero-stats::before {
  content: ''; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--azure), var(--teal), transparent);
  opacity: .55;
}

/* ─── Адаптив ─── */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy h1 { max-width: 100%; }
  .hv-chip-1 { left: 8px; }
  .hv-chip-2 { right: 8px; }
}
@media (max-width: 720px) {
  .hero-grid { gap: 30px; margin-bottom: 36px; }
  .hero-trust { gap: 12px; flex-direction: column; }
  .hv-frame { border-radius: 16px; }
  .hv-chip { font-size: 12px; padding: 9px 13px; }
  .hv-chip-1 { top: 8px; left: 8px; }
  .hv-chip-2 { bottom: 8px; right: 8px; }
  .hvc-val { font-size: 15px; }
  .hv-node { width: 8px; height: 8px; }
}
@media (max-width: 420px) {
  .hv-chip-2 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-sheen, .hv-scan, .hv-node, .hv-chip, .hvc-dot,
  .pain-chip, .fcard.featured .badge-azure { animation: none !important; }
  .hv-sheen, .hv-scan { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   ИЛЛЮСТРАЦИЯ ИИ-ПОМОЩНИКА
   ═══════════════════════════════════════════════════════════ */
.assist-banner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 40px; align-items: center; padding: 44px;
}
.assist-text .btn { margin-top: 26px; }

.assist-visual { position: relative; min-width: 0; }
.av-svg { position: relative; z-index: 1; }
.av-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Орбиты */
.av-orbit { fill: none; stroke: var(--border-m); stroke-width: 1; stroke-dasharray: 3 7; }
.av-orbit.o1 { animation: avSpin 34s linear infinite; transform-origin: 210px 150px; }
.av-orbit.o2 { animation: avSpin 52s linear infinite reverse; transform-origin: 210px 150px; }
@keyframes avSpin { to { transform: rotate(360deg); } }

/* Свечение сделано на CSS: SVG-градиенты в разных движках ведут себя по-разному */
.av-glow {
  position: absolute; left: 50%; top: 50%; width: 62%; padding-bottom: 62%;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 219, 164, .30) 0%, rgba(0, 219, 164, 0) 70%);
  animation: avBreathe 5s ease-in-out infinite;
}
[data-theme="light"] .av-glow {
  background: radial-gradient(circle, rgba(0, 168, 126, .22) 0%, rgba(0, 168, 126, 0) 70%);
}
@keyframes avBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(.9);  opacity: .7; }
  50%      { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

/* Связи и импульсы */
.av-links path { stroke: var(--border-m); stroke-width: 1.2; fill: none; }
.av-pulse { fill: var(--teal); }

/* Ядро */
.av-core-bg   { fill: var(--surface); }
.av-core-ring { fill: none; stroke: #00DBA4; stroke-width: 2.4;
                animation: avRing 3.6s ease-in-out infinite; transform-origin: 210px 150px; }
@keyframes avRing {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.045); }
}
.av-core-mark path { fill: #3B93EE; animation: avSparkle 3.6s ease-in-out infinite; transform-origin: 210px 150px; }
@keyframes avSparkle {
  0%, 100% { opacity: .9;  transform: scale(1) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.12) rotate(8deg); }
}

/* Источники вокруг ядра */
.av-node circle {
  fill: var(--surface2); stroke: var(--border-m); stroke-width: 1;
}
.av-node text {
  fill: var(--t2); font-family: var(--sans); font-size: 11px; font-weight: 700;
  text-anchor: middle; dominant-baseline: middle;
}
.av-node { animation: avNodeFloat 6s ease-in-out infinite; }
.av-node.n2 { animation-delay: .8s; }
.av-node.n3 { animation-delay: 1.6s; }
.av-node.n4 { animation-delay: 2.4s; }
.av-node.n5 { animation-delay: 3.2s; }
@keyframes avNodeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.av-node.n5 circle { stroke: var(--teal); }
.av-node.n5 text   { fill: var(--teal); }

/* Реплики диалога */
.av-bubble {
  position: absolute; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  padding: 9px 14px; border-radius: 14px;
  background: var(--surface2); border: 1px solid var(--border-m);
  box-shadow: 0 10px 26px var(--sh-c1); color: var(--t2);
}
.av-bubble-q {
  top: 2%; right: -6px; border-bottom-right-radius: 4px;
  animation: avFloat 6.5s ease-in-out infinite;
}
.av-bubble-a {
  bottom: 4%; left: -14px; border-bottom-left-radius: 4px;
  display: flex; align-items: center; gap: 9px;
  color: var(--t1); border-color: rgba(0, 219, 164, .32);
  animation: avFloat 7.5s ease-in-out infinite reverse;
}
[data-theme="light"] .av-bubble-a { border-color: rgba(0, 168, 126, .34); }
@keyframes avFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.av-typing { display: inline-flex; gap: 3px; }
.av-typing i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
  animation: avType 1.4s ease-in-out infinite;
}
.av-typing i:nth-child(2) { animation-delay: .18s; }
.av-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes avType {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-3px); }
}

@media (max-width: 900px) {
  .assist-banner { grid-template-columns: 1fr; gap: 30px; padding: 30px 24px; }
  .assist-visual { max-width: 340px; margin: 0 auto; }
  .av-bubble-q { right: 0; }
  .av-bubble-a { left: 0; }
}
@media (max-width: 480px) {
  .av-bubble { font-size: 11.5px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .av-orbit, .av-glow, .av-core-ring, .av-core-mark path,
  .av-node, .av-bubble, .av-typing i { animation: none !important; }
  .av-pulses { display: none; }
}

[data-theme="light"] .av-core-ring { stroke: #00A87E; }
[data-theme="light"] .av-core-mark path { fill: #1C6EDD; }
