:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --ink: #1b2434;
  --ink-muted: #3d4557;
  --ink-soft: #7d8aa0;
  --border: #e7ecf4;
  --border-strong: #dce3ef;
  --primary: #317bff;
  --primary-hover: #2265e8;
  --primary-soft: #edf3ff;
  --accent: #1aa06a;
  --accent-soft: #e8f7ef;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 10px 26px rgba(24, 44, 86, 0.08);
  --shadow-lg: 0 22px 50px rgba(16, 24, 40, 0.11);
  --container: 1180px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 12px;
  color: var(--ink-soft);
}

.nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.5vw, 20px);
  min-width: 0;
}

.nav-desktop a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-actions .btn {
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  font-size: 14.5px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-lg {
  height: 48px;
  padding: 0 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
  height: 46px;
  padding: 0 18px;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px var(--primary-shadow, rgba(37, 99, 235, 0.22));
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
}

.btn-ghost:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

/* Burger & Mobile nav */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  padding-bottom: 18px;
  gap: 4px;
}

.mobile-nav-inner > a {
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
}

/* Hero */
.hero {
  padding: 54px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.1vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--ink-muted);
}

.hero-pills li {
  position: relative;
  padding-left: 18px;
}

.hero-pills li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero Mock Window */
.window-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.window-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.window-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.kpi-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi-label {
  font-size: 11.5px;
  color: var(--ink-soft);
}

.kpi-val {
  font-size: 15px;
  font-weight: 700;
}

.kpi-sub {
  font-size: 11.5px;
  color: var(--ink-soft);
}

.kpi-ok {
  color: var(--accent);
  font-weight: 600;
}

.kpi-warn {
  color: var(--warn);
  font-weight: 600;
}

.mini-orders {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.mini-order-head,
.mini-order-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 86px 78px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.mini-order-head {
  background: var(--bg);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}

.mini-order-row {
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.mini-order-row:last-child {
  border-bottom: 0;
}

.mini-order-row strong {
  display: block;
  font-size: 13.5px;
}

.mini-order-row small {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mono {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-muted);
}

.price {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status-work {
  background: var(--primary-soft);
  color: var(--primary);
}

.status-ready {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-wait {
  background: var(--warn-soft);
  color: var(--warn);
}

.window-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* Screenshot frames & Lightbox */
.shot-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 14px 0 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.showcase-mock .shot-frame {
  margin-top: 0;
  box-shadow: var(--shadow-md);
}

.shot-frame:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.shot-img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.lightbox {
  border: 0;
  padding: 16px;
  background: transparent;
  max-width: min(1180px, 96vw);
  max-height: 94vh;
  width: 100%;
  margin: auto;
}

.lightbox::backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.lightbox-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.lightbox-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.lightbox-close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lightbox-body {
  padding: 12px;
  background: var(--bg);
  max-height: 80vh;
  overflow: auto;
}

.lightbox-body img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
}

.chip-primary {
  background: var(--primary-soft);
  border-color: #bfdbfe;
  color: var(--primary);
}

.chip-ai {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #6d28d9;
}

/* Sections */
.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.feature-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.feature-wide h3 {
  margin-top: 2px;
}

.icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  display: grid;
  place-items: center;
}
.icon-box.ico-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
  color: #2563eb;
}
.icon-box.ico-emerald {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
  color: #059669;
}
.icon-box.ico-violet {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-color: #ddd6fe;
  color: #7c3aed;
}
.icon-box.ico-amber {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
  color: #d97706;
}
.icon-box.ico-rose {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: #fecdd3;
  color: #e11d48;
}
.icon-box.ico-indigo {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-color: #c7d2fe;
  color: #4f46e5;
}
.icon-box.ico-teal {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border-color: #99f6e4;
  color: #0d9488;
}

/* Tabs showcase */
.tabs-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--ink);
}

.tab-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.showcase-info h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.showcase-info p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mock-fields,
.mock-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-fields > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
}

.mock-fields span {
  color: var(--ink-soft);
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13.5px;
}

.mock-row small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
}

.mock-balances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mock-balances > div {
  padding: 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-balances span {
  font-size: 12px;
  color: var(--ink-soft);
}

.mock-balances strong {
  font-size: 16px;
}

.mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.chat-q {
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
}

.chat-a {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid #bfdbfe;
  color: var(--ink);
}

/* Onboarding steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}

.step-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.step-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-grid .price-card {
  padding: 20px 18px;
}

.mod-calc-details {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}
.mod-calc-summary-toggle {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
  text-decoration: none;
}
.mod-calc-summary-toggle::-webkit-details-marker { display: none; }
.mod-calc-summary-toggle::after {
  content: "+";
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.mod-calc-details[open] .mod-calc-summary-toggle::after { content: "−"; }
.mod-calc-details .mod-calc-card {
  margin-top: 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.price-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.price-head p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.price-tag strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-tag span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.price-card .check-list {
  margin-bottom: auto;
}

/* FAQ */
.faq-wrap {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 20px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* CTA Band */
.cta-band {
  padding-top: 12px;
  padding-bottom: 72px;
}

.cta-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-box h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.8vw, 30px);
}

.cta-box p {
  margin: 0;
  color: #cbd5e1;
}

.cta-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.cta-login-link {
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.25);
}

.cta-login-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 0 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(300px, 1.45fr) minmax(190px, 0.9fr);
  gap: 36px;
  align-items: start;
  font-size: 13.5px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.footer-desc {
  margin: 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-contacts a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-contacts a:hover {
  color: var(--primary);
}

.footer-col-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-links-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-2col a,
.footer-links-col a {
  color: var(--ink-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.14s ease;
}

.footer-links-2col a:hover,
.footer-links-col a:hover {
  color: var(--primary);
}

.footer-copy {
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.footer-copy a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.footer-meta {
  color: var(--ink-soft);
  text-align: right;
}

.footer-meta a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 36px 0 84px;
  }
  .footer-links-2col {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .footer-meta {
    text-align: left;
  }
}

/* Motion, Scroll Progress, Floating Badges & Calculator */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.08s linear;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  inset: -120px -10% auto;
  height: 460px;
  background:
    radial-gradient(480px 260px at 18% 35%, rgba(37, 99, 235, 0.14), transparent 72%),
    radial-gradient(440px 260px at 82% 45%, rgba(15, 157, 99, 0.11), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  animation: floatGlow 11s ease-in-out infinite alternate;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-preview {
  position: relative;
}

.float-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  backdrop-filter: blur(8px);
  animation: floatBob 5.4s ease-in-out infinite;
}

.float-badge-top {
  top: -14px;
  right: 18px;
}

.float-badge-bottom {
  bottom: -14px;
  left: 18px;
  animation-delay: -2.4s;
  color: var(--primary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(15, 157, 99, 0.45);
  animation: pulseRing 2.2s infinite;
}

.nav-desktop a.is-current {
  color: var(--primary);
}

.card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-md);
}

.feature-card .icon-box {
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.feature-card:hover .icon-box {
  transform: scale(1.07);
  background: var(--primary);
  color: #fff;
}

.tab-panel.is-active {
  animation: panelReveal 0.28s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Calculator */
.calc-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.calc-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calc-label-row label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.calc-badge {
  min-width: 54px;
  text-align: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.calc-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-alt);
  outline: none;
  cursor: pointer;
}

.calc-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.38);
  transition: transform 0.14s ease;
}

.calc-control input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.calc-control input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.38);
  cursor: pointer;
}

.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.calc-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.calc-results {
  display: grid;
  gap: 12px;
}

.calc-metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calc-metric span {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.calc-metric strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.calc-metric small {
  font-size: 12px;
  color: var(--ink-muted);
}

.calc-metric-accent {
  background: var(--accent-soft);
  border-color: #a7f3d0;
}

.calc-metric-accent strong {
  color: var(--accent);
}

@keyframes floatGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(12px, -10px, 0) scale(1.04); }
}

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

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(15, 157, 99, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(15, 157, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 157, 99, 0); }
}

@keyframes panelReveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero-grid,
  .showcase-grid,
  .calc-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .float-badge {
    display: none;
  }

  .features-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }

  .header-inner {
    height: 62px;
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .header-actions .btn-primary {
    padding: 0 10px;
    font-size: 12.5px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 14.5px;
  }

  .hero {
    padding: 28px 0 40px;
  }

  .section {
    padding: 48px 0;
  }

  .calc-card {
    padding: 18px;
  }

  .features-grid,
  .steps-grid,
  .pricing-grid,
  .window-kpis,
  .mock-balances {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-wide {
    flex-direction: column;
    gap: 10px;
  }

  .mini-order-head {
    display: none;
  }

  .mini-order-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
  }

  .mini-order-row .mono {
    grid-column: 1 / 2;
  }

  .mini-order-row > div {
    grid-column: 1 / -1;
  }

  .mock-fields > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .cta-box {
    padding: 24px 20px;
  }
}

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


/* ==========================================================================
   Отраслевые пресеты и живой превью CRM (в стиле public/styles.css)
   ========================================================================== */
.niche-picker {
  margin: 0 0 22px;
}
.niche-picker-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.niche-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px 7px 8px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.14s ease, background-color 0.14s ease, color 0.14s ease, transform 0.12s ease, box-shadow 0.14s ease;
}
.niche-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.niche-pill.is-active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-hover);
  box-shadow: 0 6px 14px rgba(49, 123, 255, 0.16);
}
.niche-pill-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface-alt, #f8fafc);
  color: var(--primary);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.niche-pill-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}
.niche-pill:hover .niche-pill-ico {
  transform: scale(1.06);
}
.niche-pill[data-preset-pick="repair"] .niche-pill-ico {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
  color: #2563eb;
}
.niche-pill[data-preset-pick="auto"] .niche-pill-ico {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
  color: #d97706;
}
.niche-pill[data-preset-pick="retail"] .niche-pill-ico {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
  color: #059669;
}
.niche-pill[data-preset-pick="salon"] .niche-pill-ico {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: #fecdd3;
  color: #e11d48;
}
.niche-pill[data-preset-pick="atelier"] .niche-pill-ico {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-color: #ddd6fe;
  color: #7c3aed;
}
.niche-pill[data-preset-pick="custom"] .niche-pill-ico {
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  border-color: #a5f3fc;
  color: #0891b2;
}
.niche-pill.is-active .niche-pill-ico {
  background: linear-gradient(135deg, #317bff 0%, #1d4ed8 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(49, 123, 255, 0.28);
}
.kicker-ico {
  display: inline-flex;
  align-items: center;
  vertical-align: -2px;
  margin-right: 5px;
}

/* Живое окно превью CRM в стиле тёмного сайдбара #171b22 -> #12161c */
.crm-mock {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  background: var(--bg);
  min-height: 332px;
}
.crm-mock-side {
  background: linear-gradient(180deg, #171b22 0%, #12161c 100%);
  color: #ffffff;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.crm-mock-brand {
  padding: 2px 6px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.crm-mock-brand strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  line-height: 1.25;
}
.crm-mock-brand span {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}
.crm-mock-nav {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.crm-mock-nav.is-active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}
.crm-mock-cnt {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
.crm-mock-foot {
  margin-top: auto;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}
.crm-mock-foot b {
  display: block;
  color: #ffffff;
  font-size: 10.5px;
  margin-bottom: 2px;
}
.crm-mock-main {
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.crm-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.crm-mock-head strong {
  font-size: 13.5px;
  color: var(--ink);
}
.crm-mock-cta {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.crm-mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.crm-mock-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 9px;
}
.crm-mock-kpi span {
  display: block;
  font-size: 10px;
  color: var(--ink-soft);
}
.crm-mock-kpi b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
}
.crm-mock-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
}
.crm-mock-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
}
.crm-mock-row:last-child {
  border-bottom: 0;
}
.crm-mock-row b {
  display: block;
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crm-mock-row small {
  display: block;
  font-size: 10.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crm-mock-sum {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.crm-mock-note {
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--primary-soft);
  border: 1px solid #d5e5ff;
  font-size: 11px;
  color: #1d4ed8;
  line-height: 1.38;
}
.win-mode-seg {
  display: inline-flex;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}
.win-mode-btn {
  border: 0;
  background: transparent;
  padding: 3px 8px;
  border-radius: 6px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.win-mode-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .niche-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .niche-pill {
    font-size: 12px;
    padding: 6px 8px 6px 7px;
    gap: 7px;
    min-width: 0;
  }
  .niche-pill span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .crm-mock {
    grid-template-columns: minmax(0, 1fr);
  }
  .crm-mock-side {
    display: none;
  }
  .crm-mock-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .brand-text span {
    display: none;
  }
}
@media (max-width: 375px) {
  .header-actions .btn-primary {
    padding: 0 8px;
    font-size: 12px;
  }
}

.mod-landing-banner {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-color: #c7dcff;
  background: linear-gradient(135deg, #ffffff 0%, #edf3ff 100%);
}
.mod-landing-banner h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.25;
}
.mod-landing-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 720px;
  line-height: 1.5;
}

/* ==========================================================================
   Full-Width Fluid Redesign + Animated Logo + Video Presentation Stage
   ========================================================================== */
body.full-fluid .section-head {
  max-width: 820px;
}
body.full-fluid .hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 3.4vw, 48px);
  padding-bottom: clamp(28px, 3.4vw, 46px);
  background: linear-gradient(155deg, #f8fbff 0%, #f1f6ff 48%, #f4fbf8 100%);
}
body.full-fluid .hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.06fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(62% 58% at 12% 18%, rgba(49, 123, 255, 0.11) 0%, transparent 65%),
    radial-gradient(52% 56% at 88% 22%, rgba(26, 160, 106, 0.10) 0%, transparent 62%),
    radial-gradient(46% 52% at 62% 92%, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
}
body.full-fluid .hero-bg-glow {
  animation: uoOrbDrift 14s ease-in-out infinite alternate;
  opacity: 0.65;
}
.hero-bg-glow-2 {
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 160, 106, 0.13) 0%, rgba(49, 123, 255, 0.06) 45%, transparent 72%);
  filter: blur(42px);
  pointer-events: none;
  animation: uoOrbDrift2 18s ease-in-out infinite alternate;
}

/* Аккуратный интерактивный Bento-коллаж в Hero */
.hero-collage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.hc-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 16px;
  box-shadow: 0 12px 32px rgba(20, 38, 76, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.hc-card:hover {
  transform: translateY(-2px);
  border-color: #c8dcff;
  box-shadow: 0 16px 38px rgba(20, 38, 76, 0.11);
}
.hc-main-card {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
}
.hc-main-card.is-switching {
  animation: uoMockSwap 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hc-dark-head {
  background: linear-gradient(90deg, #171b22 0%, #1d2534 100%);
  color: #ffffff;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hc-head-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  min-width: 0;
}
.hc-head-left strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-head-cta {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.hc-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 0;
}
.hc-kpi {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}
.hc-kpi span { display: block; font-size: 10.5px; color: var(--ink-soft); }
.hc-kpi b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); margin-top: 1px; font-variant-numeric: tabular-nums; }
.hc-rows {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
}
.hc-row b { display: block; font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-row small { display: block; font-size: 11px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-row-sum { font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 14px 13px;
}
.hc-chips .chip { font-size: 11.5px; padding: 4px 9px; }

.hc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hc-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.hc-pill-ok {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.hc-pill-ai {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3efff;
  color: #6d28d9;
}
.hc-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.hc-rev-nums {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.hc-rev-nums small { display: block; font-size: 11px; color: var(--ink-soft); }
.hc-rev-nums b { display: block; font-size: 20px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.hc-rev-nums b.is-green { color: var(--accent); }
.hc-stack-bar {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  background: var(--surface-alt);
}
.hc-bar-srv { width: 61%; background: linear-gradient(90deg, #317bff, #5b9bff); }
.hc-bar-pos { width: 39%; background: linear-gradient(90deg, #1aa06a, #34c78d); }
.hc-mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.hc-mini-pills span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--ink-muted);
}

/* Мини-коллаж из двух наложенных скриншотов внутри карточки */
.hc-mini-stack {
  position: relative;
  height: 128px;
  margin: 2px 0;
}
.hc-mini-shot {
  position: absolute;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.12);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease;
}
.hc-mini-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.hc-shot-back {
  top: 0;
  right: 0;
  width: 74%;
  height: 96px;
  transform: rotate(2.2deg);
  opacity: 0.92;
}
.hc-shot-front {
  bottom: 0;
  left: 0;
  width: 78%;
  height: 104px;
  transform: rotate(-1.4deg);
  z-index: 2;
}
.hc-shots-card:hover .hc-shot-back {
  transform: rotate(4deg) translate(3px, -3px);
}
.hc-shots-card:hover .hc-shot-front {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 14px 28px rgba(49, 123, 255, 0.2);
}
.hc-shot-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(23, 27, 34, 0.86);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
}
.hc-note {
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.38;
  margin-top: auto;
}
@media (max-width: 640px) {
  .hero-collage { grid-template-columns: minmax(0, 1fr); }
  .hc-main-card { grid-column: auto; }
  .hc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Фирменный анимированный логотип Учёт Онлайн */
.uo-logo-mark {
  background: transparent !important;
  box-shadow: 0 8px 20px rgba(49, 123, 255, 0.28) !important;
  overflow: visible;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.uo-logo-sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.uo-brand:hover .uo-logo-mark {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 26px rgba(49, 123, 255, 0.36) !important;
}
.uo-logo-svg .uo-bar {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: uoBarPulse 3.6s ease-in-out infinite;
}
.uo-logo-svg .uo-b1 { animation-delay: 0s; }
.uo-logo-svg .uo-b2 { animation-delay: 0.25s; }
.uo-logo-svg .uo-b3 { animation-delay: 0.5s; }
.uo-logo-svg .uo-online-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: uoDotPulse 2.4s ease-in-out infinite;
}
.uo-footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* Блик (sheen) на главных кнопках */
.btn-sheen {
  position: relative;
  overflow: hidden;
}
.btn-sheen::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 75%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: uoBtnSheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

/* Анимация живого превью и парящих бейджей */
.hero-preview .float-badge-top { animation: uoFloatY 5.5s ease-in-out infinite; }
.hero-preview .float-badge-bottom { animation: uoFloatY 6.4s ease-in-out infinite reverse; }
.crm-mock[hidden],
.shot-frame[hidden] {
  display: none !important;
}
.crm-mock.is-switching { animation: uoMockSwap 0.32s cubic-bezier(0.22, 1, 0.36, 1); }

/* Полоса счётчиков на всю ширину */
.hero-metrics-strip {
  margin-top: clamp(28px, 3.6vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.hm-item {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: baseline;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hm-item:hover {
  transform: translateY(-3px);
  border-color: #c5d9ff;
  box-shadow: var(--shadow-md);
}
.hm-item strong {
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hm-item span {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Растягивающиеся full-width сетки на больших экранах */
@media (min-width: 1440px) {
  body.full-fluid .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body.full-fluid .feature-wide {
    grid-column: span 2;
  }
}
@media (min-width: 1100px) {
  body.full-fluid .showcase-grid {
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.55fr);
    gap: clamp(24px, 3vw, 48px);
  }
}

/* ==========================================================================
   Hero Command (фирменная тёмная карточка: сплит-композиция + живая консоль)
   ========================================================================== */
.hero-command {
  padding: 18px 0 38px;
  background: var(--bg);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-md) + 12px);
  padding: clamp(26px, 3.2vw, 44px) clamp(22px, 3vw, 42px) clamp(22px, 2.4vw, 32px);
  background: radial-gradient(circle at 84% 14%, var(--primary-hero-glow, rgba(49, 123, 255, 0.22)) 0%, transparent 56%),
    linear-gradient(155deg, #0c1322 0%, #121c31 54%, #0f212b 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 68px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.hero-shell-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(76px);
  opacity: 0.44;
}
.hero-glow-a {
  width: 440px;
  height: 360px;
  top: -140px;
  right: -80px;
  background: var(--primary);
}
.hero-glow-b {
  width: 380px;
  height: 320px;
  left: -120px;
  bottom: -140px;
  background: var(--accent);
  opacity: 0.24;
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

.hero-headline-wrap {
  position: relative;
  z-index: 2;
  text-align: left;
  min-width: 0;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.01em;
}
.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
  flex-shrink: 0;
  animation: uoDotPulse 2.4s ease-in-out infinite;
}

.hero-headline-wrap h1 {
  margin: 0 0 16px;
  font-size: clamp(29px, 3.3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: #ffffff;
}
.hero-accent-grad {
  background: linear-gradient(95deg, #7cb4ff 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-headline-wrap .hero-lead {
  margin: 0 0 24px;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.56;
  color: rgba(226, 232, 240, 0.84);
}

.hero-headline-wrap .hero-cta {
  justify-content: flex-start;
  margin-bottom: 26px;
}

.btn-hero-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hero-proof-item strong {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.hero-proof-item span {
  font-size: 12.5px;
  line-height: 1.38;
  color: rgba(203, 213, 225, 0.78);
}

/* Правая колонка: интерактивная консоль CRM */
.hero-console {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 13px;
  border-radius: calc(var(--radius-md) + 6px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(4, 9, 20, 0.36);
  backdrop-filter: blur(12px);
}

.hero-console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-console-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.hc-tab {
  border: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.76);
  padding: 6px 11px;
  border-radius: 7px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.hc-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.hc-tab.is-active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.hero-console-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-tour-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.hero-tour-toggle:hover {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(96, 165, 250, 0.5);
  color: #ffffff;
}
.hero-tour-toggle.is-playing {
  border-color: rgba(96, 165, 250, 0.42);
}

.hero-console-preset {
  font-size: 11.5px;
  font-weight: 700;
  color: #6ee7b7;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  white-space: nowrap;
}

.hero-video-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b1220;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.hvf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(10, 16, 30, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hvf-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hvf-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  opacity: 0.85;
}
.hvf-dots span:nth-child(2) { background: #f59e0b; }
.hvf-dots span:nth-child(3) { background: #22c55e; }
.hvf-url {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: rgba(203, 213, 225, 0.82);
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.hvf-url strong {
  color: #60a5fa;
  font-weight: 700;
}
.hvf-lock { font-size: 10px; opacity: 0.8; }
.hvf-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.32);
  color: #fecaca;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.hvf-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.85);
  animation: hvfLivePulse 1.5s ease-in-out infinite;
}
@keyframes hvfLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-console-viewport {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 1360 / 820;
  cursor: pointer;
  text-align: left;
}
.hero-console-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: 35% 30%;
}
.hero-console-viewport .hero-shot-main.is-kenburns {
  animation: heroKenBurns 5s ease-out both;
}
.hero-console.is-tour-paused .hero-shot-main.is-kenburns,
.hero-console.is-tour-paused .htp-seg.is-active .htp-fill {
  animation-play-state: paused;
}
.hero-shot-next {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}
.hero-shot-next.is-visible {
  opacity: 1;
}
.hero-console-viewport:hover .hero-shot-main {
  transform: scale(1.022);
}
.hero-console-viewport img.is-swapping {
  opacity: 0.35;
}

@keyframes heroKenBurns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.06) translate3d(-1.1%, -0.8%, 0); }
}

.hero-tour-hotspot {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1), top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hth-dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.65);
}
.hth-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(96, 165, 250, 0.85);
  animation: hthPulse 1.8s ease-out infinite;
}
.hth-label {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(96, 165, 250, 0.55);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.4);
  backdrop-filter: blur(6px);
}
@keyframes hthPulse {
  0% { transform: scale(0.8); opacity: 0.95; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hero-vid-cursor {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  transform: translate(-4px, -4px);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1), top 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 4px 10px rgba(2, 6, 23, 0.55));
}
.hero-vid-cursor .hvc-ripple {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #60a5fa;
  opacity: 0;
}
.hero-vid-cursor.is-clicking .hvc-ripple {
  animation: hvcClickRipple 0.75s ease-out 0.45s both;
}
@keyframes hvcClickRipple {
  0% { transform: scale(0.4); opacity: 0.95; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hero-vid-callout {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: min(76%, 430px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 13px;
  border-radius: 11px;
  background: rgba(10, 16, 30, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.hvc-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #60a5fa;
}
.hvc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.hvc-desc {
  font-size: 11.5px;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.3;
}

.hero-vid-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  background: rgba(7, 11, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hvc-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.hvc-btn:hover {
  background: rgba(37, 99, 235, 0.35);
  border-color: rgba(96, 165, 250, 0.55);
  color: #ffffff;
}
.hvc-btn.hvc-play.is-playing {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(96, 165, 250, 0.5);
  color: #ffffff;
}
.hvc-time {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(203, 213, 225, 0.82);
  white-space: nowrap;
}

.hero-tour-progress {
  flex: 1 1 auto;
  min-width: 80px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}
.htp-seg {
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.htp-seg:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scaleY(1.3);
}
.htp-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #34d399);
}
.htp-seg.is-done .htp-fill {
  width: 100%;
}
.htp-seg.is-active .htp-fill {
  animation: heroTourFill 5s linear forwards;
}
@keyframes heroTourFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.hero-zoom-chip {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(12, 19, 34, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: background 0.16s ease, border-color 0.16s ease;
}
@media (max-width: 640px) {
  .hvf-live { display: none; }
  .hero-vid-callout { max-width: calc(100% - 24px); padding: 7px 10px; }
  .hvc-title { font-size: 12px; }
  .hvc-desc { display: none; }
  .hero-zoom-chip { top: 8px; right: 8px; padding: 4px 8px; font-size: 11px; }
  .hero-tour-hotspot, .hero-vid-cursor { display: none; }
  .hvc-time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-console-viewport .hero-shot-main.is-kenburns { animation: none; }
  .hth-dot::after { animation: none; }
  .htp-seg.is-active .htp-fill { animation: none; width: 100%; }
}
.hero-console-viewport:hover .hero-zoom-chip {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hcb-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.hcb-block small {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(148, 163, 184, 0.85);
}
.hcb-block strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #f1f5f9;
}
.hcb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hcb-chips span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(49, 123, 255, 0.18);
  border: 1px solid rgba(124, 180, 255, 0.3);
  color: #dbeafe;
  white-space: nowrap;
}

/* Нижняя панель выбора 6 отраслей внутри Hero */
.hero-niche-dock {
  position: relative;
  z-index: 2;
  margin-top: clamp(22px, 2.8vw, 32px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-niche-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-niche-dock .niche-picker-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  text-align: left;
}
.hero-preset-hint {
  margin: 0;
  font-size: 12.5px;
  color: rgba(203, 213, 225, 0.82);
  line-height: 1.4;
}

.hero-dock-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.hero-niche-dock .niche-pill {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #e2e8f0;
  padding: 9px 10px;
  border-radius: 11px;
  justify-content: flex-start;
  box-shadow: none;
}
.hero-niche-dock .niche-pill:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}
.hero-niche-dock .niche-pill[data-preset-pick] .niche-pill-ico {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #93c5fd;
  box-shadow: none;
}
.hero-niche-dock .niche-pill[data-preset-pick="auto"] .niche-pill-ico { color: #fbbf24; background: rgba(251, 191, 36, 0.14); border-color: rgba(251, 191, 36, 0.28); }
.hero-niche-dock .niche-pill[data-preset-pick="retail"] .niche-pill-ico { color: #34d399; background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.28); }
.hero-niche-dock .niche-pill[data-preset-pick="salon"] .niche-pill-ico { color: #fb7185; background: rgba(251, 113, 133, 0.14); border-color: rgba(251, 113, 133, 0.28); }
.hero-niche-dock .niche-pill[data-preset-pick="atelier"] .niche-pill-ico { color: #c4b5fd; background: rgba(167, 139, 250, 0.14); border-color: rgba(167, 139, 250, 0.28); }
.hero-niche-dock .niche-pill[data-preset-pick="custom"] .niche-pill-ico { color: #22d3ee; background: rgba(34, 211, 238, 0.14); border-color: rgba(34, 211, 238, 0.28); }
.hero-niche-dock .niche-pill.is-active {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.38);
}
.hero-niche-dock .niche-pill.is-active .niche-pill-ico {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: none;
}

/* ==========================================================================
   Секция «Работайте где угодно» (3 карточки)
   ========================================================================== */
.anywhere-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.anywhere-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.anywhere-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.anywhere-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}
.anywhere-badge.is-green {
  background: var(--accent-soft);
  color: var(--accent);
}
.anywhere-badge.is-violet {
  background: #f5f3ff;
  color: #6d28d9;
}
.anywhere-card h3 {
  margin: 4px 0 0;
  font-size: 19px;
  line-height: 1.25;
}
.anywhere-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}
.anywhere-card .check-list {
  margin-top: auto;
  padding-top: 6px;
}

/* ==========================================================================
   Секция «Редактор шаблона» + Интерактивная песочница
   ========================================================================== */
.tpl-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}
.tpl-editor-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.tpl-editor-copy p {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-size: 15.5px;
}
.tpl-playground {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tpl-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tpl-ctrl-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}
.tpl-swatches {
  display: inline-flex;
  gap: 6px;
}
.tpl-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--sw, #317bff);
  box-shadow: 0 0 0 1px var(--border-strong);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.tpl-swatch.is-active {
  transform: scale(1.12);
  box-shadow: 0 0 0 2px var(--sw, #317bff);
}
.tpl-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
}
.tpl-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--ink);
}
.tpl-mock {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  min-height: 210px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.tpl-mock.is-dark {
  background: #12161c;
  border-color: #27303f;
  color: #e7eaf0;
}
.tpl-mock-side {
  background: #141923;
  color: #cbd5e1;
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tpl-mock-brand {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  padding: 0 6px;
}
.tpl-mock-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tpl-mock-nav span {
  font-size: 11.5px;
  padding: 5px 8px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
}
.tpl-mock-nav span[hidden] {
  display: none;
}
.tpl-mock-nav span.is-on {
  background: var(--tpl-accent, #317bff);
  color: #ffffff;
  font-weight: 600;
}
.tpl-mock-main {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.tpl-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.tpl-mock-head strong {
  font-size: 13px;
}
.tpl-mock-btn {
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--tpl-accent, #317bff);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.tpl-mock-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tpl-mock-kpi {
  padding: 8px 10px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid var(--border);
}
.tpl-mock.is-dark .tpl-mock-kpi {
  background: #1a212b;
  border-color: #293242;
}
.tpl-mock-kpi small {
  display: block;
  font-size: 10.5px;
  color: var(--ink-soft);
}
.tpl-mock-kpi b {
  font-size: 14px;
  color: var(--tpl-accent, #317bff);
}
.tpl-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 12px;
}
.tpl-mock.is-dark .tpl-mock-row {
  background: #1a212b;
  border-color: #293242;
}
.tpl-mock-row em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ==========================================================================
   Секция «Интеграции с привычными сервисами»
   ========================================================================== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.int-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.int-card h3 {
  margin: 4px 0 0;
  font-size: 18px;
}
.int-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}
.int-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.int-pills span {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--ink);
}

/* ==========================================================================
   Компактный FAQ
   ========================================================================== */
.faq-compact-sec {
  padding: 52px 0;
}
.faq-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}
.faq-compact-sec .faq-wrap {
  max-width: var(--container);
}
.faq-grid-compact .faq-item {
  padding: 0 16px;
}
.faq-grid-compact .faq-item summary {
  padding: 13px 26px 13px 0;
  font-size: 14.5px;
  line-height: 1.35;
}
.faq-grid-compact .faq-item p {
  margin: 0 0 13px;
  font-size: 13.5px;
  line-height: 1.45;
}

@media (max-width: 1020px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .hero-dock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .anywhere-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tpl-editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .integrations-grid,
  .faq-grid-compact {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .hero-command {
    padding: 10px 0 26px;
  }
  .hero-shell {
    border-radius: 20px;
    padding: 20px 16px 18px;
  }
  .hero-kicker-pill {
    font-size: 11.5px;
    padding: 5px 10px;
    max-width: 100%;
  }
  .hero-headline-wrap h1 {
    font-size: 25px;
  }
  .hero-headline-wrap .hero-lead {
    font-size: 14.5px;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-proof-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .hero-dock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-console {
    padding: 10px;
  }
  .hero-console-tabs {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px;
  }
  .hero-console-tabs::-webkit-scrollbar { display: none; }
  .hc-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: center;
    padding: 5px 10px;
    font-size: 11.5px;
  }
  .section {
    padding: 38px 0;
  }
  .site-footer {
    padding-bottom: 78px;
  }
  .tpl-mock {
    grid-template-columns: minmax(0, 1fr);
  }
  .tpl-mock-side {
    display: none;
  }
}

/* Интерактивная видео-презентация вверху страницы */
.video-tour-section {
  background: linear-gradient(180deg, #131822 0%, #0f141d 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(44px, 5vw, 72px) 0;
}
.video-tour-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.video-tour-head .section-kicker { color: #7cb1ff; }
.video-tour-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.025em;
  color: #ffffff;
}
.video-tour-head p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}
.video-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.75fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.video-screen-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0f16;
  aspect-ratio: 1360 / 820;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.video-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: opacity 0.35s ease;
}
.video-stage-img.is-playing {
  animation: uoKenBurns 9.2s ease-in-out infinite alternate;
}
.video-stage-img.is-fading {
  opacity: 0.25;
}
.video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 15, 22, 0.52) 0%, transparent 24%, transparent 66%, rgba(11, 15, 22, 0.9) 100%);
}
.video-top-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
}
.video-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 22, 28, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
}
.video-zoom-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 22, 28, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 9px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.video-zoom-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.video-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.v-callout {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(23, 27, 34, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(49, 123, 255, 0.6);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: uoCalloutPop 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.v-callout-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1aa06a;
  box-shadow: 0 0 0 4px rgba(26, 160, 106, 0.28);
  flex-shrink: 0;
}
.video-caption-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.video-caption-bar strong {
  font-size: clamp(15px, 1.35vw, 19px);
  color: #ffffff;
  letter-spacing: -0.01em;
}
.video-caption-bar span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.84);
  max-width: 780px;
}
.video-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.video-play-btn,
.video-speed-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  height: 34px;
  min-width: 38px;
  padding: 0 10px;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.video-play-btn:hover,
.video-speed-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.video-timeline {
  position: relative;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  overflow: hidden;
}
.video-timeline-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #317bff 0%, #1aa06a 100%);
  border-radius: 999px;
  transition: width 0.12s linear;
}
.video-timeline-marks {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}
.video-timeline-marks span {
  border-right: 2px solid rgba(15, 20, 29, 0.75);
}
.video-timeline-marks span:last-child { border-right: 0; }
.video-timer {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.video-chapters {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.vch-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.15s ease;
}
.vch-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 177, 255, 0.45);
  transform: translateX(3px);
}
.vch-item.is-active {
  background: rgba(49, 123, 255, 0.18);
  border-color: #317bff;
}
.vch-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #93c0ff;
}
.vch-item.is-active .vch-num {
  background: #317bff;
  color: #ffffff;
}
.vch-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vch-body b { font-size: 13.5px; color: #ffffff; }
.vch-body small { font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.vch-time { font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.55); }
.vch-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}
.vch-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #317bff, #1aa06a);
}

/* Keyframes */
@keyframes uoOrbDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(40px, 24px, 0) scale(1.08); }
}
@keyframes uoOrbDrift2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-45px, -28px, 0) scale(1.1); }
}
@keyframes uoBarPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.84); }
}
@keyframes uoDotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}
@keyframes uoBtnSheen {
  0%, 62% { left: -130%; }
  100% { left: 150%; }
}
@keyframes uoFloatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes uoMockSwap {
  0% { opacity: 0.45; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes uoKenBurns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.055) translate3d(-1.2%, -0.8%, 0); }
}
@keyframes uoCalloutPop {
  0% { opacity: 0; transform: translateY(10px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  body.full-fluid .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-metrics-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-stage { grid-template-columns: minmax(0, 1fr); }
  .video-chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-metrics-strip { grid-template-columns: minmax(0, 1fr); }
  .video-chapters { grid-template-columns: minmax(0, 1fr); }
  .v-callout { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Редактор шаблона лендинга (виден только владельцу платформы)
   ========================================================================== */
body.le-editing [data-le-key] {
  outline: 1px dashed rgba(49, 123, 255, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text;
  transition: outline-color 0.14s ease, background-color 0.14s ease;
}
body.le-editing [data-le-key]:hover,
body.le-editing [data-le-key]:focus {
  outline: 2px solid var(--primary);
  background-color: rgba(49, 123, 255, 0.06);
}
.le-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #171b22;
  color: #ffffff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
  transition: transform 0.16s ease, background 0.16s ease;
}
.le-fab:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.le-drawer {
  position: fixed;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: 348px;
  max-width: calc(100vw - 28px);
  z-index: 1250;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
}
.le-drawer[hidden], .le-fab[hidden] { display: none !important; }
.le-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.le-kicker {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.le-head strong { font-size: 15.5px; font-weight: 700; }
.le-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 15px;
}
.le-close:hover { color: var(--ink); background: var(--surface-alt); }
.le-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 12px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.le-tab {
  border: 0;
  background: transparent;
  padding: 7px 6px;
  border-radius: 8px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}
.le-tab.is-active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.le-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.le-label, .le-field span {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 5px;
}
.le-field { display: flex; flex-direction: column; }
.le-field input[type="range"] { width: 100%; accent-color: var(--primary); cursor: pointer; }
.le-field input[type="color"] {
  width: 100%; height: 34px; padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer;
}
.le-field select {
  height: 36px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 8px; font: inherit; font-size: 13px; color: var(--ink); background: #fff;
}
.le-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.le-swatches { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.le-swatch {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border-strong); cursor: pointer;
}
.le-swatch.is-active { transform: scale(1.12); box-shadow: 0 0 0 2px var(--ink); }
.le-color-input { width: 32px; height: 26px; padding: 1px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.le-scope-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
.le-scope-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.le-scope-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  background: #ffffff;
  border: 1px solid var(--border);
}
.le-scope-badge.is-custom {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: transparent;
}
.le-scope-reset {
  border: 0;
  background: transparent;
  padding: 2px 4px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: #dc2626;
  cursor: pointer;
}
.le-scope-reset:hover { text-decoration: underline; }
.le-scope-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
}
.le-scope-link:hover { text-decoration: underline; }
.le-scope-note {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-muted);
  background: #ffffff;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  padding: 7px 9px;
}
.le-pages-summary {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.le-page-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.le-page-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.le-page-chip:hover { border-color: var(--primary); color: var(--primary); }
.le-page-chip.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}
.le-page-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
}
.le-divider {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.le-hint {
  font-size: 12.5px; color: var(--ink-muted); line-height: 1.45;
  padding: 9px 11px; border-radius: 9px; background: var(--surface-alt); border: 1px solid var(--border);
}
.le-sec-list { display: flex; flex-direction: column; gap: 6px; }
.le-sec-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; border-radius: 9px; border: 1px solid var(--border); background: #fff;
}
.le-sec-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; cursor: pointer; min-width: 0; }
.le-sec-arrows { display: flex; gap: 4px; flex-shrink: 0; }
.le-arr-btn {
  width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--surface-alt); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700;
}
.le-arr-btn:disabled { opacity: 0.35; cursor: default; }
.le-stat-box { font-size: 13px; color: var(--ink); padding: 8px 11px; border-radius: 8px; border: 1px solid var(--border); }
.le-actions-col { display: flex; flex-direction: column; gap: 8px; }
.le-upload-lbl { text-align: center; display: block; cursor: pointer; }
.le-foot {
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.le-foot-r { display: flex; gap: 6px; }
.le-btn-primary, .le-btn-ghost, .le-btn-danger {
  height: 34px; padding: 0 12px; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.le-btn-primary { border: 0; background: var(--primary); color: #fff; }
.le-btn-ghost { border: 1px solid var(--border-strong); background: #fff; color: var(--ink); line-height: 32px; }
.le-btn-danger { border: 1px solid #fecaca; background: #fff; color: #dc2626; }
.le-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 16px);
  z-index: 1300;
  padding: 10px 16px;
  border-radius: 10px;
  background: #171b22;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.le-toast.is-err { background: #dc2626; }
.le-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Живое демо в 1 клик, переключатель Месяц/Год, Калькулятор модулей и Виджет связи
   ========================================================================== */
.btn-hero-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.48);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.14);
  backdrop-filter: blur(8px);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn-hero-demo:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #6ee7b7;
  transform: translateY(-1px);
  color: #ffffff;
}
.btn-hero-demo svg {
  color: #34d399;
}

.billing-switch-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-alt, #eef3fa);
  border: 1px solid var(--border-strong, #d5dfee);
}
.billing-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted, #526077);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.billing-btn.is-active {
  background: #ffffff;
  color: var(--ink, #101828);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}
.billing-save-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
}
.price-tag {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.price-val-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.price-val-row strong,
.price-old {
  white-space: nowrap;
}
.price-old {
  font-size: 16px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}

.mod-calc-card {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  border-color: #c7dcff;
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
}
.mod-calc-left h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
}
.mod-calc-lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.48;
}
.mod-calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mod-toggle-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid var(--border-strong, #d7e1ef);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.mod-toggle-item:hover {
  border-color: #93b8ff;
}
.mod-toggle-item.is-checked {
  background: #eff5ff;
  border-color: var(--primary, #2563eb);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.09);
}
.mod-toggle-item input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--primary, #2563eb);
  flex-shrink: 0;
  cursor: pointer;
}
.mod-toggle-item span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.mod-toggle-item b {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mod-toggle-item small {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary, #2563eb);
  white-space: nowrap;
}

.mod-calc-summary {
  background: #ffffff;
  border: 1px solid #d5e3fb;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 26px rgba(20, 40, 90, 0.06);
}
.mod-sum-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary, #2563eb);
}
.mod-sum-price {
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.mod-sum-price strong {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mod-sum-price span {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 600;
}
.mod-sum-compare {
  margin-top: 5px;
  font-size: 12.5px;
  color: #047857;
  font-weight: 600;
}
.mod-sum-tip {
  padding: 9px 11px;
  border-radius: 9px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12px;
  line-height: 1.4;
}
.mod-sum-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Плавающий виджет быстрой связи */
.lead-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
body:has(.le-fab) .lead-widget {
  bottom: 74px;
}
.lead-fab {
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.lead-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.42);
}
.lead-pop {
  width: min(350px, calc(100vw - 28px));
  background: #ffffff;
  border: 1px solid var(--border-strong, #d5dfee);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22);
}
.lead-pop[hidden] {
  display: none;
}
.lead-pop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.lead-pop-head strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.lead-pop-head span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.38;
  margin-top: 3px;
}
.lead-pop-close {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--ink-muted);
  cursor: pointer;
  flex-shrink: 0;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lead-hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong, #cfd9e8);
  border-radius: 9px;
  padding: 9px 11px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: #ffffff;
  resize: none;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
}
.lead-msg {
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: 8px;
  line-height: 1.38;
}
.lead-msg.is-ok { background: #ecfdf5; color: #065f46; }
.lead-msg.is-err { background: #fef2f2; color: #b91c1c; }
.lead-pop-foot {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.lead-pop-foot a {
  color: var(--primary, #2563eb);
  text-decoration: none;
}
.lead-pop-foot a:hover {
  text-decoration: none;
}
a, a:hover, a:focus, button, .btn, .btn:hover {
  text-decoration: none;
}

@media (max-width: 860px) {
  .mod-calc-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .mod-calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lead-fab span {
    display: none;
  }
  .lead-fab {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }
  .lead-form input,
  .lead-form textarea {
    font-size: 16px;
  }
}

/* ==========================================================================
   Блок кейсов внедрения и полоса доверия
   ========================================================================== */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.proof-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
}
.proof-niche {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 4px 10px;
}
.proof-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
}
.proof-ba {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.48;
}
.proof-before {
  padding: 9px 11px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
}
.proof-after {
  padding: 9px 11px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.proof-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}
.proof-foot span { color: var(--ink-muted); }
.proof-foot strong { color: #047857; font-weight: 800; white-space: nowrap; }
.trust-bar {
  margin-top: 20px;
  padding: 13px 18px;
  border-radius: 14px;
  background: #f8fafd;
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-bar a {
  color: var(--primary);
  font-weight: 700;
}
@media (max-width: 960px) {
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Отдельный блок «Контакты» */
.contacts-sec {
  padding: 36px 0;
}
.contacts-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.contacts-copy h2 {
  margin: 4px 0 8px;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.2;
}
.contacts-copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.contacts-grid {
  display: grid;
  gap: 12px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafd;
  border: 1px solid var(--border);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.15s ease;
}
.contact-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}
.contact-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-item small {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}
.contact-item strong {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-ico.ico-blue { background: #eff6ff; color: #2563eb; }
.contact-ico.ico-emerald { background: #ecfdf5; color: #059669; }
.contact-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f8fafd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.contact-icon-btn.is-mail {
  color: #4f46e5;
  background: #eef2ff;
  border-color: #c7d2fe;
}
.contact-icon-btn.is-mail:hover {
  background: #e0e7ff;
  border-color: #818cf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.16);
}
.contact-icon-btn.is-wa {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.contact-icon-btn.is-wa:hover {
  background: #dcfce7;
  border-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.16);
}
.contact-icon-btn.is-tg {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}
.contact-icon-btn.is-tg:hover {
  background: #dbeafe;
  border-color: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}
@media (max-width: 860px) {
  .contacts-card { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
}

/* Плавающая кнопка «Наверх» */
.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 940;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong, #cbd5e1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--ink, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.scroll-top-btn:hover {
  background: var(--primary, #2563eb);
  border-color: var(--primary, #2563eb);
  color: #ffffff;
}
body:has(.le-fab) .scroll-top-btn {
  bottom: 130px;
}
@media (max-width: 600px) {
  .scroll-top-btn {
    right: 20px;
    bottom: 76px;
    width: 42px;
    height: 42px;
  }
}

/* Защита контраста на страницах без .hero-shell и совместимость .hero-top/.hero-kicker/.btn-demo */
.hero-command .hero-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.hero-shell .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
}
.hero-shell .btn-demo {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.hero-shell .btn-demo:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}
.hero-command:not(:has(.hero-shell)) .hero-headline-wrap h1 {
  color: var(--ink, #0f172a);
}
.hero-command:not(:has(.hero-shell)) .hero-headline-wrap .hero-lead {
  color: var(--muted, #475569);
}
@media (max-width: 1020px) {
  .hero-command .hero-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* Пункт меню и отдельная секция продаж «Учёт Офлайн» (UchetOffline) */
.nav-desktop a.nav-offline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 1.5px solid rgba(37, 99, 235, 0.28);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-desktop a.nav-offline-link svg {
  color: var(--primary);
  opacity: 0.85;
  flex-shrink: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-desktop a.nav-offline-link:hover,
.nav-desktop a.nav-offline-link.is-current {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-desktop a.nav-offline-link:hover svg {
  opacity: 1;
  transform: translateY(-1px);
}
@media (max-width: 1120px) {
  .nav-desktop { display: none; }
  .burger { display: inline-flex; }
}

.uo-offline-sec {
  padding-top: 24px;
}
.uo-off-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(24px, 3.6vw, 44px);
  background:
    radial-gradient(620px 360px at 8% 12%, rgba(59, 130, 246, 0.22), transparent 62%),
    radial-gradient(520px 340px at 94% 88%, rgba(16, 185, 129, 0.18), transparent 62%),
    linear-gradient(145deg, #0b1220 0%, #111c33 58%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.24);
  color: #f1f5f9;
}
.uo-off-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
}
.uo-off-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.34);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.uo-off-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}
.uo-off-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
  color: #ffffff;
}
.uo-off-copy h2 span {
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uo-off-lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.58;
  color: #cbd5e1;
}
.uo-off-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.uo-off-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: #e2e8f0;
}
.uo-off-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #34d399;
  font-weight: 800;
}
.uo-off-list code,
.uo-off-steps code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #93c5fd;
  font-family: Consolas, monospace;
  font-size: 12.5px;
}
.uo-off-steps {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.uo-off-step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
}
.uo-off-step b {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #93c5fd;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.uo-off-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.uo-off-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.uo-off-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.uo-off-card.is-featured {
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.24), rgba(15, 23, 42, 0.82));
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
}
.uo-off-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}
.uo-off-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  margin-bottom: 6px;
}
.uo-off-tag.is-life {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}
.uo-off-card-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #ffffff;
}
.uo-off-card-head p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #94a3b8;
}
.uo-off-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.uo-off-price strong {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.uo-off-price span {
  font-size: 12.5px;
  color: #94a3b8;
}
.uo-off-checks {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #dbeafe;
}
.uo-off-checks li {
  position: relative;
  padding-left: 18px;
  line-height: 1.38;
}
.uo-off-checks li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: #34d399;
  font-weight: 800;
}
.uo-off-card .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.uo-off-card .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1020px) {
  .uo-off-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .uo-off-plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .uo-off-shell {
    border-radius: 18px;
    padding: 20px 16px;
  }
}

/* Баннер скидки при переходе из другой CRM */
.switch-crm-banner {
  margin: 24px 0 6px;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #13223e 56%, #0d2b2b 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 44px -26px rgba(15, 23, 42, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.switch-crm-copy {
  max-width: 680px;
}
.switch-crm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.switch-crm-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.22;
  color: #ffffff;
}
.switch-crm-copy p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #cbd5e1;
}
.switch-crm-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #a7f3d0;
}
.switch-crm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 240px;
}
.switch-crm-actions .btn {
  width: 100%;
  justify-content: center;
}
@media (max-width: 900px) {
  .switch-crm-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
    gap: 18px;
  }
  .switch-crm-actions {
    min-width: 0;
  }
}

/* Современная сетка быстрых ссылок и загрузки в первом экране (.hero-shell) */
.hero-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}
.hero-headline-wrap .hero-cta {
  margin-bottom: 16px;
}
.hq-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f8fafc;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  min-width: 0;
}
.hq-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.105);
  border-color: rgba(147, 197, 253, 0.42);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
  color: #ffffff;
}
.hq-chip.is-dl {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14) 0%, rgba(37, 99, 235, 0.12) 100%);
  border-color: rgba(56, 189, 248, 0.28);
}
.hq-chip.is-dl:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(37, 99, 235, 0.20) 100%);
  border-color: rgba(125, 211, 252, 0.55);
}
.hq-chip.is-promo {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(5, 150, 105, 0.10) 100%);
  border-color: rgba(52, 211, 153, 0.28);
}
.hq-chip.is-promo:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.18) 100%);
  border-color: rgba(110, 231, 183, 0.55);
}
.hq-ico {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hq-ico.is-blue { background: rgba(59, 130, 246, 0.20); color: #93c5fd; border: 1px solid rgba(147, 197, 253, 0.24); }
.hq-ico.is-indigo { background: rgba(99, 102, 241, 0.22); color: #c7d2fe; border: 1px solid rgba(165, 180, 252, 0.24); }
.hq-ico.is-sky { background: rgba(14, 165, 233, 0.22); color: #7dd3fc; border: 1px solid rgba(125, 211, 252, 0.26); }
.hq-ico.is-emerald { background: rgba(16, 185, 129, 0.22); color: #6ee7b7; border: 1px solid rgba(110, 231, 183, 0.26); }
.hq-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1 1 auto;
}
.hq-body strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hq-body small {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.25;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hq-chip.is-promo .hq-body strong { color: #d1fae5; }
.hq-chip.is-promo .hq-body small { color: #6ee7b7; opacity: 0.9; }
.hq-chip.is-dl .hq-body strong { color: #e0f2fe; }
.hq-chip.is-dl .hq-body small { color: #7dd3fc; opacity: 0.92; }
.hq-arrow {
  flex: 0 0 auto;
  color: rgba(203, 213, 225, 0.65);
  transition: transform 0.16s ease, color 0.16s ease;
}
.hq-chip:hover .hq-arrow {
  transform: translateX(2px);
  color: #ffffff;
}
@media (max-width: 640px) {
  .hero-quick-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   Блок «Локальная ПК-версия без интернета + синхронизация с облаком»
   ========================================================================== */
.desktop-sync-card {
  margin-top: 22px;
  border-radius: 22px;
  padding: clamp(22px, 3.2vw, 34px);
  background:
    radial-gradient(520px 260px at 4% 0%, rgba(37, 99, 235, 0.08), transparent 65%),
    radial-gradient(480px 260px at 96% 100%, rgba(16, 185, 129, 0.08), transparent 65%),
    #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}
.desktop-sync-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}
.desktop-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.desktop-sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.desktop-sync-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.desktop-sync-copy p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.desktop-sync-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}
.desktop-sync-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}
.desktop-sync-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.desktop-sync-note a:hover {
  text-decoration: underline;
}
.desktop-sync-flow {
  display: grid;
  gap: 12px;
}
.ds-step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.ds-step:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.06);
}
.ds-step-ico {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
.ds-step-ico.is-amber {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}
.ds-step-ico.is-green {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}
.ds-step-body strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.ds-step-body span {
  display: block;
  font-size: 13px;
  line-height: 1.48;
  color: var(--ink-muted);
}
@media (max-width: 920px) {
  .desktop-sync-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Мобильная полировка сайта (≤768px / ≤640px / ≤380px)
   ========================================================================== */
@media (max-width: 768px) {
  .tabs-wrap {
    padding: 14px;
    border-radius: 16px;
  }
  .tablist {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding: 0 2px 6px;
    margin: 0 -2px 14px;
  }
  .tablist::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 13px;
    font-size: 13px;
    border-radius: 10px;
  }
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .showcase-mock {
    order: -1;
  }
  .showcase-info h3 {
    font-size: 18.5px;
    line-height: 1.24;
  }
  .showcase-info p {
    font-size: 14.5px;
    margin-bottom: 12px;
  }
  .shot-zoom-hint {
    font-size: 11px;
    padding: 5px 9px;
    right: 8px;
    bottom: 8px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 14px;
  }
  .header-inner {
    height: 58px;
    gap: 6px;
  }
  .brand {
    gap: 8px;
    flex-shrink: 0;
  }
  .brand-mark,
  .brand-mark svg {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .brand-text strong {
    font-size: 14px;
    white-space: nowrap;
  }
  .brand-text span {
    display: none;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-primary {
    height: 34px;
    padding: 0 11px;
    font-size: 12px;
    border-radius: 8px;
  }
  .burger {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  /* Быстрые карточки в Hero: без обрезания подписей многоточием */
  .hq-chip {
    padding: 11px 12px;
    gap: 10px;
  }
  .hq-body small {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.32;
  }

  /* Компактные карточки преимуществ в Hero */
  .hero-proof-strip {
    gap: 8px;
    padding-top: 14px;
  }
  .hero-proof-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.14);
  }
  .hero-proof-item strong {
    font-size: 15px;
    margin-bottom: 2px;
  }
  .hero-proof-item span {
    font-size: 12.5px;
    line-height: 1.35;
  }

  /* Интерактивная видеопрезентация: подпись выносим под скриншот, чтобы не перекрывать интерфейс */
  .hero-console {
    padding: 10px;
    border-radius: 16px;
  }
  .hero-console-top {
    gap: 6px;
    margin-bottom: 8px;
  }
  .hero-console-tabs {
    padding: 3px 6px 3px 3px;
    scroll-padding-inline: 8px;
  }
  .hc-tab {
    padding: 6px 10px;
    font-size: 12px;
  }
  .hero-console-viewport {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
  }
  .hero-console-viewport img.hero-shot-main {
    height: auto;
    aspect-ratio: 1360 / 820;
  }
  .hero-console-viewport .hero-shot-next {
    height: auto;
    aspect-ratio: 1360 / 820;
    bottom: auto;
  }
  .hero-vid-callout {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: #0f172a;
    padding: 8px 11px;
    box-shadow: none;
    backdrop-filter: none;
  }
  .hero-vid-callout .hvc-badge {
    font-size: 10px;
  }
  .hero-vid-callout .hvc-title {
    font-size: 12.5px;
  }
  .hero-vid-callout .hvc-desc {
    font-size: 11.5px;
    display: block;
    color: #94a3b8;
    margin-top: 2px;
    line-height: 1.32;
  }
  .hero-zoom-chip {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 11px;
    gap: 4px;
  }

  /* Блок локальной ПК-версии с синхронизацией */
  .desktop-sync-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .desktop-sync-badge {
    font-size: 11.5px;
    padding: 4px 10px;
    white-space: normal;
  }
  .desktop-sync-copy h3 {
    font-size: 20px;
  }
  .desktop-sync-copy p {
    font-size: 14px;
  }
  .desktop-sync-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .desktop-sync-actions .btn {
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13.5px;
    white-space: normal;
    text-align: center;
  }
  .ds-step {
    padding: 12px;
    gap: 10px;
  }

  /* Плавающие кнопки «Наверх» и чат: компактнее и дальше от контента */
  .lead-fab {
    right: 12px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
  }
  .scroll-top-btn {
    right: 15px;
    bottom: 66px;
    width: 38px;
    height: 38px;
  }
  body:has(.le-fab) .scroll-top-btn {
    bottom: 114px;
  }
  .section-head h2 {
    font-size: 23px;
    line-height: 1.2;
  }
  .section-head p {
    font-size: 14.5px;
  }
}

@media (max-width: 380px) {
  .brand-text strong {
    font-size: 13.5px;
  }
  .header-actions .btn-primary {
    padding: 0 9px;
    font-size: 11.5px;
  }
  .hero-headline-wrap h1 {
    font-size: 23px;
  }
}

/* Живые песочницы + фильтр возможностей */
.sb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.sb-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sb-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.sb-card-head h3 {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.25;
}
.sb-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}
.sb-badge-ok {
  background: var(--accent-soft);
  color: var(--accent);
}
.sb-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sb-pill {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: .15s;
}
.sb-pill.is-active, .sb-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.sb-input-wrap textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13.5px;
  background: var(--surface-alt);
  color: var(--ink);
}
.sb-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sb-hint {
  font-size: 12px;
  color: var(--ink-soft);
}
.sb-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sb-res-cell {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
}
.sb-res-cell.is-miss {
  background: var(--warn-soft);
  border-color: #fcd34d;
}
.sb-res-cell span {
  font-size: 11px;
  color: var(--ink-soft);
}
.sb-res-cell b {
  font-size: 13px;
  color: var(--ink);
}
.sb-res-cell.is-miss b {
  color: #b45309;
  font-weight: 600;
}
.sb-kiosk-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 13px;
}
.sb-canvas-wrap {
  position: relative;
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
#sbSignCanvas {
  display: block;
  width: 100%;
  height: 145px;
  cursor: crosshair;
  touch-action: none;
}
.sb-canvas-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-soft);
  pointer-events: none;
}
.sb-canvas-wrap.has-ink .sb-canvas-placeholder {
  display: none;
}
.sb-sign-preview {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid #86efac;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: #166534;
}
.sb-sign-preview img {
  height: 36px;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 2px 6px;
}
.sb-sbp-box {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-alt);
}
.sb-sbp-info {
  font-size: 13px;
  display: grid;
  gap: 6px;
}
.sb-sbp-info p {
  margin: 0;
  color: var(--ink-muted);
}
.sb-rate-box {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-alt);
  text-align: center;
  display: grid;
  gap: 10px;
}
.sb-rate-title {
  font-weight: 700;
  font-size: 14px;
}
.sb-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.sb-stars button {
  border: 1px solid var(--border-strong);
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 20px;
  color: #cbd5e1;
  cursor: pointer;
}
.sb-stars button.is-lit {
  color: #f59e0b;
  border-color: #fbbf24;
  background: #fffbeb;
}
.sb-rate-msg {
  font-size: 12.5px;
  color: var(--ink-muted);
}
.feat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.feat-tab {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.feat-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.feature-card.is-hidden {
  display: none;
}
@media (max-width: 880px) {
  .sb-grid {
    grid-template-columns: 1fr;
  }
  .sb-result-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================================
   CRM UNIFIED DESIGN SYSTEM LAYER (public/styles.css parity)
   Единые цвета, карточки, таблицы, иконки и тёмные блоки в стиле CRM
   ============================================================================ */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --sidebar-bg: #171b22;
  --ink: #1b2434;
  --ink-muted: #3d4557;
  --ink-soft: #7d8aa0;
  --border: #e7ecf4;
  --border-strong: #dce3ef;
  --primary: #317bff;
  --primary-hover: #2265e8;
  --primary-soft: #edf3ff;
  --accent: #1aa06a;
  --accent-soft: #e8f7ef;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 10px 26px rgba(24, 44, 86, 0.07);
}

.crm-ico-xs {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
}

/* Единые спокойные карточки как .panel / .table-card в CRM */
.card,
.sb-card,
.int-card,
.feature-card,
.proof-card,
.price-card,
.mod-calc-card,
.tpl-playground {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.035);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.int-card:hover,
.feature-card:hover,
.proof-card:hover,
.price-card:hover {
  border-color: #cbd8ee;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.price-card-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 14px 32px rgba(49, 123, 255, 0.12);
}

/* Единая 3-цветная система иконок CRM (синий / зелёный / янтарный) */
.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid transparent;
}
.icon-box.ico-blue,
.icon-box.ico-indigo,
.icon-box.ico-violet,
.icon-box.ico-teal {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: #dce9ff;
}
.icon-box.ico-emerald {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #c8efdd;
}
.icon-box.ico-amber,
.icon-box.ico-rose {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: #fde68a;
}

/* Тёмные акценты приведены к фирменному угольному сайдбару CRM (#171b22) */
.hero-shell {
  background:
    radial-gradient(640px 360px at 85% 0%, rgba(49, 123, 255, 0.18), transparent 65%),
    radial-gradient(520px 300px at 10% 100%, rgba(26, 160, 106, 0.10), transparent 65%),
    #171b22;
  border: 1px solid #262c35;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22);
}
.hero-shell-glow { opacity: 0.32; }
.uo-off-shell,
.switch-crm-banner {
  background:
    radial-gradient(540px 280px at 90% 0%, rgba(49, 123, 255, 0.18), transparent 65%),
    #171b22;
  border: 1px solid #262c35;
  border-radius: 18px;
}

/* Унифицированные пилюли, кнопки и вкладки */
.section-kicker {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #dce9ff;
  font-weight: 700;
}
.feat-tab.is-active,
.sb-pill.is-active,
.billing-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.int-pills span {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  border-radius: 7px;
  font-weight: 600;
}

/* Новые чистые CRM-блоки (#tg-ai-calc, #compare-crm, #android-app) */
.crm-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.crm-panel-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.crm-panel-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.crm-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.crm-pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #dce9ff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.crm-pill-tag.is-ok {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #c8efdd;
}
.crm-compact-list {
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.crm-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.crm-calc-sliders {
  display: grid;
  gap: 14px;
  font-size: 14px;
}
.crm-slider-field { display: block; }
.crm-slider-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  color: var(--ink-muted);
}
.crm-slider-row b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.crm-slider-field input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}
.crm-calc-result {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid #d4e4ff;
}
.crm-calc-cap { font-size: 13px; color: var(--ink-muted); }
.crm-calc-val {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin: 4px 0;
  font-variant-numeric: tabular-nums;
}
.crm-calc-sub { font-size: 12.5px; color: var(--ink-muted); }

/* Таблица сравнения в стиле CRM .table-card */
.crm-table-card {
  overflow-x: auto;
  padding: 0;
}
.crm-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.crm-compare-table thead th {
  padding: 13px 14px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.crm-compare-table thead th.is-us {
  background: var(--primary-soft);
  color: var(--primary);
}
.crm-compare-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-muted);
}
.crm-compare-table tbody td b { color: var(--ink); font-weight: 600; }
.crm-compare-table tbody td.is-us {
  background: rgba(232, 247, 239, 0.55);
  color: var(--accent);
  font-weight: 700;
}
.crm-compare-table tbody tr:last-child td { border-bottom: none; }
.crm-compare-table tbody tr:hover td { background: #f9fbfe; }
.crm-compare-table tbody tr:hover td.is-us { background: var(--accent-soft); }

/* Баннер скачивания Android APK в стиле CRM */
.crm-apk-banner {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 65%);
  border-color: #d4e4ff;
}
.crm-apk-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}
.crm-apk-copy b {
  display: block;
  font-size: 16.5px;
  color: var(--ink);
}
.crm-apk-copy > div > div {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.proof-card .crm-card-top { margin-bottom: 12px; }
.proof-card .proof-niche { margin-bottom: 0; }

.plat-tabs { margin-bottom: 18px; }
.crm-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.crm-case-card {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.crm-case-card h3 { margin: 4px 0 6px; font-size: 17px; }
.crm-case-card p { margin: 0; font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }
.crm-case-stat {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.crm-case-stat b { color: var(--accent); font-size: 16px; font-weight: 800; }
.crm-case-stat span { font-size: 12px; color: var(--ink-soft); }
@media (max-width: 960px) {
  .crm-cases-grid { grid-template-columns: 1fr; }
}
