/* ===== iziline — цветовая схема: тёмный фон, циан + янтарный акцент ===== */
:root {
  --bg: #0a0d14;
  --bg-elevated: #111827;
  --surface: #1a1f2e;
  --border: rgba(34, 211, 238, 0.15);
  --primary: #22d3ee;
  --primary-dim: #06b6d4;
  --accent: #f59e0b;
  --accent-dim: #d97706;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --white: #f8fafc;
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Outfit', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 60px rgba(34, 211, 238, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Шумовая текстура для глубины */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Плавающие градиентные орбы */
.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: float 18s ease-in-out infinite;
}
.gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  bottom: 20%;
  left: -100px;
  animation: float 22s ease-in-out infinite reverse;
}
.gradient-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  bottom: -100px;
  right: 20%;
  animation: float 15s ease-in-out infinite 2s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  background: rgba(10, 13, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover {
  color: var(--primary);
}
.logo__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  vertical-align: middle;
}
.logo:hover .logo__img {
  opacity: 0.9;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.nav a:hover {
  color: var(--primary);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}
body.no-scroll { overflow: hidden; }

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 64px;
  position: relative;
}
.hero__content {
  text-align: center;
}
.hero__badge {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.06);
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title-line {
  display: block;
}
.hero__title-line--accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  /* Фиксируем высоту с запасом, чтобы смена даже очень длинного слова в баннере не смещала страницу вверх/вниз */
  min-height: 7em;
}
.hero__visual {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
/* Hero: бегущая строка */
.hero__marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  opacity: 0.7;
}
.hero__marquee-inner {
  display: flex;
  gap: 48px;
  width: max-content;
  justify-content: center;
  margin: 0 auto;
}
.hero__marquee-inner span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Hero: цикл слов в подзаголовке — плавный выезд/въезд */
/* Ширина по текущему слову; контент прижат к низу — в одну линию с текстом */
.hero__cycle-wrap {
  display: inline-flex;
  align-items: flex-end;
  height: 1.35em;
  min-width: 1ch; /* избегаем схлопывания при смене слова */
  overflow: hidden;
  vertical-align: baseline;
  text-align: left;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
}
.hero__cycle {
  display: inline-block;
  will-change: transform;
  line-height: 1.2;
}
/* Уезжает вверх и исчезает */
.hero__cycle.hero__cycle--out {
  animation: heroCycleOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes heroCycleOut {
  to {
    transform: translateY(-110%);
    opacity: 0;
  }
}
/* Появляется снизу */
.hero__cycle.hero__cycle--in {
  animation: heroCycleIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes heroCycleIn {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hero: псевдо-браузер (визуал) */
.hero__visual {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  padding-bottom: 80px;
}
.hero__browser {
  width: 100%;
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  animation: browserFloat 6s ease-in-out infinite;
}
@keyframes browserFloat {
  0%, 100% { transform: translateY(0) perspective(400px) rotateX(2deg); }
  50% { transform: translateY(-8px) perspective(400px) rotateX(-1deg); }
}
.hero__browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.hero__browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.hero__browser-dot:nth-child(1) { background: rgba(248, 113, 113, 0.6); }
.hero__browser-dot:nth-child(2) { background: rgba(251, 191, 36, 0.6); }
.hero__browser-dot:nth-child(3) { background: rgba(74, 222, 128, 0.6); }
.hero__browser-logo {
  height: 20px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  margin-left: 8px;
}
.hero__browser-url {
  flex: 1;
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.hero__browser-body {
  position: relative;
  height: 220px;
  padding: 24px;
}
.hero__browser-grid {
  position: absolute;
  inset: 24px;
  background:
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    linear-gradient(var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  border-radius: var(--radius);
}
.hero__browser-card {
  position: absolute;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  animation: cardPulse 3s ease-in-out infinite;
}
.hero__browser-card--1 { width: 120px; height: 60px; top: 40px; left: 40px; animation-delay: 0s; }
.hero__browser-card--2 { width: 100px; height: 50px; top: 50px; right: 60px; animation-delay: 0.5s; }
.hero__browser-card--3 { width: 80px; height: 45px; bottom: 50px; left: 80px; animation-delay: 1s; }
@keyframes cardPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}
.hero__browser-line {
  position: absolute;
  left: 40px;
  bottom: 80px;
  height: 6px;
  width: 180px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 3px;
  opacity: 0.5;
  animation: lineShine 2s ease-in-out infinite;
}
.hero__browser-line--short {
  width: 100px;
  bottom: 60px;
  animation-delay: 0.5s;
}
@keyframes lineShine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Классы для анимации появления (управляются JS) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }
.reveal:nth-child(7) { transition-delay: 0.35s; }
.reveal:nth-child(8) { transition-delay: 0.4s; }
.reveal:nth-child(9) { transition-delay: 0.45s; }

/* ----- Кнопка ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn {
  position: relative;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
}
.btn--full {
  width: 100%;
}
.btn--primary {
  color: var(--bg);
}

/* ----- Секции ----- */
.section {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}
.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}
.section__lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ----- Статистика ----- */
.stats {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stats__value {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.stats__num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stats__suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.stats__label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----- Тарифы ----- */
.section--tariffs {
  position: relative;
  overflow: hidden;
}
.section--tariffs .container {
  max-width: 1320px;
}
.tariffs__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(34, 211, 238, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(26, 31, 46, 0.35) 50%, transparent 100%);
  pointer-events: none;
}
.tariffs__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.tariffs__lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.tariffs__tabs {
  display: flex;
  width: fit-content;
  gap: 6px;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 26px;
  z-index: 1;
}
.tariffs__tab {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.tariffs__tab:hover {
  color: var(--white);
}
.tariffs__tab--active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: var(--bg);
}
.tariffs__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--accent);
  font-size: 0.72rem;
}
.tariffs__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.tariff-card {
  --tier-dots: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 18px;
  background: rgba(26, 31, 46, 0.65);
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.tariff-card__top {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}
.tariff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3), 0 0 36px rgba(34, 211, 238, 0.1);
}
.tariff-card--popular {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 36px rgba(34, 211, 238, 0.16);
}
.tariff-card--free { --tier-dots: 1; }
.tariff-card--base { --tier-dots: 2; }
.tariff-card--standard { --tier-dots: 3; }
.tariff-card--pro { --tier-dots: 4; }
.tariff-card--enterprise { --tier-dots: 5; }
.tariff-card__badge {
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  border-radius: 999px;
  padding: 6px 10px;
}
.tariff-card__name {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}
.tariff-card__desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  min-height: 56px;
}
.tariff-card__price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  min-height: 42px;
}
.tariff-card__price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.tariff-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
  min-height: 116px;
}
.tariff-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.tariff-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.45);
}
.tariff-card__btn {
  margin-top: auto;
  width: 100%;
  min-height: 42px;
  font-size: 0.9rem;
}
.tariff-card__includes {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  min-height: 230px;
  overflow: visible;
}
.tariff-card__includes-title {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
  font-weight: 600;
}
.tariff-card__includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.tariff-card__includes-list li {
  position: relative;
  padding: 2px 0 2px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.tariff-card__includes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.8);
}
.tariff-note {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.64rem;
  line-height: 1.2;
  font-weight: 600;
  color: #e6f7ff;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}
.tariff-card--enterprise .tariff-card__includes-list li::before {
  background: rgba(168, 85, 247, 0.95);
}
.tariff-card--enterprise .tariff-note {
  background: linear-gradient(135deg, #a855f7, #9333ea);
}
.tariff-card__select-wrap {
  margin-bottom: 14px;
  min-height: 72px;
}
.tariff-card__select-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.tariff-card__select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(10, 13, 20, 0.7);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tariff-card__select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
.tariff-card--free .tariff-card__btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #06120b;
}

/* ----- Подписка BitrixGPT + Маркетплейс ----- */
.section--gpt-sub {
  position: relative;
  overflow: hidden;
}
.section--gpt-sub .container {
  max-width: 1320px;
}
.section--gpt-sub::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(34, 211, 238, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(26, 31, 46, 0.3) 50%, transparent 100%);
  pointer-events: none;
}
.gpt-sub__title {
  text-align: center;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.gpt-sub__lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.gpt-sub__tabs {
  width: fit-content;
  margin: 0 auto 26px;
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(8, 14, 26, 0.85);
  position: relative;
  z-index: 1;
}
.gpt-sub__tab {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.gpt-sub__tab--active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: var(--bg);
}
.gpt-sub__discount {
  margin-left: 6px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--accent);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 0.7rem;
}
.gpt-sub__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.gpt-card {
  background: rgba(26, 31, 46, 0.65);
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 18px;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.gpt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26), 0 0 30px rgba(34, 211, 238, 0.1);
}
.gpt-card__for {
  margin: 0 0 2px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.gpt-card__name {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: var(--white);
}
.gpt-card__metric {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}
.gpt-card__old {
  margin: 10px 0 2px;
  min-height: 1em;
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
}
.gpt-card__price {
  margin: 0 0 2px;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.gpt-card__period,
.gpt-card__note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.gpt-card__btn {
  margin-top: auto;
  min-height: 50px;
  width: 100%;
}
.gpt-card__select {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(10, 13, 20, 0.7);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
}

/* ----- Подписка BitrixGPT для коробки (темный блок, референс) ----- */
.section--gpt-boxed {
  position: relative;
  overflow: hidden;
}
.section--gpt-boxed::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(34, 211, 238, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(26, 31, 46, 0.3) 50%, transparent 100%);
  pointer-events: none;
}
.section--gpt-boxed .container {
  max-width: 1320px;
}
.gpt-boxed__icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d9bf0 0%, #0ea5e9 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.gpt-boxed__title {
  text-align: center;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}
.gpt-boxed__lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.gpt-boxed__lead a {
  color: var(--primary);
  text-decoration: none;
}
.gpt-boxed__tabs {
  width: fit-content;
  margin: 0 auto 28px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(17, 24, 39, 0.7);
  position: relative;
  z-index: 1;
}
.gpt-boxed__tab {
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.gpt-boxed__tab--active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: var(--bg);
}
.gpt-boxed__discount {
  margin-left: 6px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--accent);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 0.7rem;
}
.gpt-boxed__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.gpt-boxed-card {
  background: rgba(26, 31, 46, 0.65);
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 18px;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  min-height: calc(100% + 50px);
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.gpt-boxed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26), 0 0 30px rgba(34, 211, 238, 0.1);
}
.gpt-boxed-card__for {
  margin: 0 0 2px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.gpt-boxed-card__name {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: var(--white);
}
.gpt-boxed-card__users,
.gpt-boxed-card__disk {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}
.gpt-boxed-card__old {
  margin: 10px 0 2px;
  min-height: 1em;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.gpt-boxed-card__old span {
  text-decoration: line-through;
}
.gpt-boxed-card__old em {
  font-style: normal;
  margin-left: 6px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--accent);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 0.7rem;
}
.gpt-boxed-card__price {
  margin: 0 0 2px;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.gpt-boxed-card__note,
.gpt-boxed-card__subnote {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.gpt-boxed-card__demo {
  margin: 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  align-self: flex-start;
}
.gpt-boxed-card__select {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(10, 13, 20, 0.7);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
}
.gpt-boxed-card__btn {
  margin-top: auto;
  min-height: 50px;
  width: 100%;
}
.gpt-boxed-card--accent .gpt-boxed-card__btn {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  color: #fff;
}

/* ----- Коробочная версия Битрикс24 ----- */
.section--box24 {
  position: relative;
  overflow: hidden;
}
.section--box24 .container {
  max-width: 1320px;
}
.box24__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(34, 211, 238, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(26, 31, 46, 0.3) 50%, transparent 100%);
  pointer-events: none;
}
.box24__title {
  max-width: 720px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.box24__extras {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.box24__extras-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}
.box24__chips {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(17, 24, 39, 0.7);
}
.box24__chip {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.box24__chip:hover {
  color: var(--white);
}
.box24__chip--active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: var(--bg);
}
.box24__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.box24-card {
  background: rgba(26, 31, 46, 0.65);
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 18px;
  padding: 24px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.box24-card__top {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}
.box24-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3), 0 0 36px rgba(34, 211, 238, 0.1);
}
.box24-card__name {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.1rem;
}
.box24-card__parts {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
.box24-card__parts li {
  position: relative;
  padding-left: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.box24-card__parts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.8);
}
.box24-card__metric {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}
.box24-card__price {
  margin: 8px 0 8px;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--white);
  font-weight: 700;
}
.box24-card__note {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.box24-card__demo {
  margin-top: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
  align-self: flex-start;
}
.box24-card__btn {
  margin-top: auto;
  width: 100%;
}
.box24-card__includes {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
}
.box24-card__includes-title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
  font-weight: 600;
}
.box24-card__select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(10, 13, 20, 0.7);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* ----- Этапы работы ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.step:hover {
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-2px);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  border-radius: 50%;
  margin-bottom: 16px;
}
.step__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.step__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----- Слайдер технологий (бегущая строка) ----- */
.tech-slider {
  overflow: hidden;
  margin-top: 24px;
}
.tech-slider__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: techScroll 30s linear infinite;
}
.tech-slider__item {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
}
@keyframes techScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- Клиенты: слайдеры ----- */
.clients__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin: 32px 0 20px;
  text-align: center;
}
.section--clients-b2b .clients__subtitle { margin-top: 48px; }
.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.slider {
  flex: 1;
  min-width: 0; /* чтобы flex-элемент сжимался и overflow не ломал отображение */
  overflow: hidden;
}
/* Без gap: сдвиг ровно на одну карточку (20% трека = 100% видимой области) */
.slider__track {
  display: flex;
  gap: 0;
  transition: transform 0.4s var(--transition);
  will-change: transform;
  width: 500%;
  transform: translateX(calc(-20% * var(--slide-index, 0)));
}
.client-card {
  flex: 0 0 20%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.client-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: var(--shadow-glow);
}
.client-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: var(--bg);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.client-card__name {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.client-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
  flex: 1;
  margin-bottom: 16px;
}
.client-card__desc--clamp {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.client-card__more {
  margin-top: auto;
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}
.client-card__more:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
}
.client-card__more.hidden {
  display: none;
}
.slider-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}
.slider-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(34, 211, 238, 0.08);
}
.slider-btn::before {
  content: '';
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.slider-btn--next::before {
  transform: rotate(-135deg);
  margin-left: -4px;
}
.slider-btn--prev::before {
  transform: rotate(45deg);
  margin-right: -4px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ----- Отзывы (слайдер) ----- */
.testimonials-slider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
}
.testimonials-slider__inner {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
/* Без gap: сдвиг ровно на один отзыв (33.333% трека = 100% видимой области) */
.testimonials-slider__track {
  display: flex;
  gap: 0;
  transition: transform 0.4s var(--transition);
  will-change: transform;
  width: 300%;
  transform: translateX(calc(-33.333% * var(--slide-index, 0)));
}
.testimonial {
  flex: 0 0 33.333%;
  min-width: 0;
  box-sizing: border-box;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0;
  border-left: 4px solid var(--primary);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.testimonial__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.testimonial__author {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

/* Карточки услуг */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card:hover::before {
  transform: scaleX(1);
}
.card__icon {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 16px;
}
.card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}
.card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* О нас */
.section__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.about__text {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 560px;
}
.about__text strong {
  color: var(--accent);
}
.about__list {
  list-style: none;
  margin-top: 24px;
}
.about__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
}
.about__badge {
  text-align: center;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 200px;
}
.about__years {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.about__label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ----- Мы эксперты своего дела (футуристичный блок) ----- */
.section--experts {
  position: relative;
  overflow: hidden;
}
.experts__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(26, 31, 46, 0.6) 40%, transparent 100%);
  pointer-events: none;
}
.experts__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.experts__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}
.experts__lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.experts__tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  padding: 0 0.35em;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.12);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.experts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.experts__card {
  position: relative;
  padding: 28px 24px;
  background: rgba(26, 31, 46, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.experts__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), transparent 40%, transparent 60%, rgba(245, 158, 11, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.experts__card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(34, 211, 238, 0.12);
}
.experts__card:hover::before {
  opacity: 1;
}
.experts__rank {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.experts__card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: var(--bg);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.35);
}
.experts__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.experts__card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ----- Поддержка (футуристичный блок) ----- */
.section--support {
  position: relative;
  overflow: hidden;
}
.support__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(34, 211, 238, 0.06) 0%, transparent 55%);
  pointer-events: none;
}
.support__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.1);
}
.support__lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.support__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.support__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  background: rgba(26, 31, 46, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  position: relative;
}
.support__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.3), transparent 50%, rgba(245, 158, 11, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.support__card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 36px rgba(34, 211, 238, 0.1);
}
.support__card:hover::before {
  opacity: 1;
}
.support__card:hover .support__link-text {
  color: var(--primary);
  transform: translateX(4px);
}
.support__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: var(--bg);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.35);
  letter-spacing: 0.02em;
  transition: box-shadow var(--transition), transform var(--transition);
}
.support__card:hover .support__num {
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.45);
  transform: scale(1.05);
}
.support__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.3;
}
.support__card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}
.support__link-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
}

/* Форма и контакты */
.section--contact {
  padding-bottom: 80px;
}
.contact__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 32px;
  margin-bottom: 40px;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.contact__link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.contact__link:hover {
  color: var(--accent);
}
.contact__text {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
.form {
  max-width: 480px;
  margin: 0 auto;
}
.form__row {
  margin-bottom: 24px;
}
.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form__input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.form__textarea {
  resize: vertical;
  min-height: 120px;
}
.form__hint {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 1.4em;
}
.form__hint.success { color: var(--primary); }
.form__hint.error { color: #f87171; }

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__logo {
  height: 32px;
  max-width: 140px;
  opacity: 0.9;
}
.footer .logo {
  color: var(--text-muted);
  font-size: 1.25rem;
}
.about__logo {
  display: inline-block;
  vertical-align: middle;
  height: 1.2em;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-left: 0.15em;
  /* поднимаем логотип к визуальному центру строки заголовка */
  transform: translateY(-0.2em);
}
.footer__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer__link {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__link:hover {
  color: var(--primary);
}

/* ----- Страница тарифов 1С-Битрикс CMS ----- */
.cms-page .hero {
  min-height: auto;
  padding: 110px 0 40px;
}
.cms-hero {
  padding-top: 34px;
  padding-bottom: 20px;
}
.cms-hero__title {
  margin: 0 auto 14px;
  max-width: 920px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--white);
}
.cms-hero__lead {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  color: var(--text-muted);
}
.cms-tariffs {
  padding-top: 26px;
}
.cms-tariffs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cms-tariff-card {
  background: rgba(26, 31, 46, 0.65);
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 18px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cms-tariff-card__label {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.cms-tariff-card__name {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--white);
}
.cms-tariff-card__price {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.cms-tariff-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.cms-tariff-card__list li {
  position: relative;
  padding-left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}
.cms-tariff-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.8);
}
.cms-tariff-card__btn {
  margin-top: auto;
  width: 100%;
}
.cms-tariff-card--popular {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.16), 0 16px 38px rgba(0, 0, 0, 0.28);
}
.cms-tariff-card--enterprise .cms-tariff-card__price {
  font-size: 1.55rem;
}
.cms-compare {
  padding-top: 24px;
}
.cms-compare .container {
  max-width: 1600px;
}
.cms-compare__table-wrap {
  overflow: visible;
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 14px;
  background: rgba(13, 18, 29, 0.55);
}
.cms-compare__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1500px;
  table-layout: fixed;
}
.cms-compare__table th,
.cms-compare__table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.1);
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  vertical-align: middle;
}
.cms-compare__table th {
  color: var(--white);
  font-weight: 600;
  background: rgba(14, 21, 35, 0.96);
  vertical-align: top;
  min-width: 120px;
  position: sticky;
  top: 64px;
  z-index: 40;
  box-shadow: 0 2px 0 rgba(34, 211, 238, 0.14);
}
.cms-compare__table tbody tr:last-child td {
  border-bottom: none;
}
.cms-compare__feat-col,
.cms-compare__table td:first-child {
  min-width: 220px;
  text-align: left;
  color: var(--text);
}
.cms-compare__plan {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cms-compare__price {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.cms-compare__action {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.cms-compare__action:hover {
  background: rgba(34, 211, 238, 0.12);
}
.cms-compare__subaction {
  display: block;
  text-decoration: none;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 500;
}
.cms-compare__subaction:hover {
  text-decoration: underline;
}
.cms-compare__head-popular {
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.35);
}
.cms-compare__chip {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #c4b5fd;
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.cms-compare__group td {
  text-align: left !important;
  color: var(--white);
  font-weight: 700;
  background: rgba(15, 24, 40, 0.95);
  border-right: none;
}
.cms-compare__table td.yes {
  color: #a3e635;
  font-weight: 700;
}
.cms-compare__table td.no {
  color: #64748b;
}
.cms-compare__note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ===== Адаптив под все устройства ===== */

/* Планшеты и узкие десктопы (до 1024px) */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .tariffs__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gpt-sub__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gpt-boxed__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .box24__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section__grid {
    gap: 32px;
  }
  .about__badge {
    padding: 36px 32px;
    min-width: 160px;
  }
  .about__years {
    font-size: 3rem;
  }
  .experts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cms-tariffs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Планшеты и большие телефоны (до 768px) */
@media (max-width: 768px) {
  /* В мобильной версии показываем только лого, навигацию скрываем */
  .header {
    display: block;
    padding: 12px 0;
  }
  .header__inner {
    justify-content: center;
  }
  .nav {
    display: none;
  }
  .burger {
    display: none;
  }
  /* Слайдер клиентов: карточка не обрезается по краям экрана */
  .slider-wrapper {
    padding: 0 4px;
  }
  .slider {
    padding: 0 8px;
  }
  .client-card {
    border-radius: 18px;
  }
  .header {
    padding: 14px 0;
  }
  .logo {
    font-size: 1.25rem;
  }
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero__badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    margin-bottom: 16px;
  }
  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    margin-bottom: 16px;
  }
  .hero__lead {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }
  .hero__visual {
    margin-top: 32px;
    padding-bottom: 80px;
  }
  .hero__browser {
    max-width: 100%;
  }
  .hero__browser-body {
    height: 180px;
    padding: 16px;
  }
  .hero__browser-url {
    font-size: 0.65rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero__browser-card--1 { width: 90px; height: 48px; top: 32px; left: 24px; }
  .hero__browser-card--2 { width: 70px; height: 40px; top: 40px; right: 24px; }
  .hero__browser-card--3 { width: 60px; height: 36px; bottom: 36px; left: 48px; }
  .hero__browser-line { width: 120px; left: 24px; bottom: 60px; }
  .hero__browser-line--short { width: 70px; bottom: 44px; }
  .hero__marquee {
    padding: 12px 0;
  }
  .hero__marquee-inner {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero__marquee-inner span {
    font-size: 0.8rem;
  }
  .stats {
    padding: 36px 0;
  }
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stats__num {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  .section {
    padding: 56px 0;
  }
  .section__title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }
  .section__lead {
    margin-bottom: 24px;
    font-size: 0.95rem;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .gpt-sub__grid {
    grid-template-columns: 1fr;
  }
  .gpt-boxed__grid {
    grid-template-columns: 1fr;
  }
  .cms-hero__title {
    font-size: clamp(1.8rem, 7vw, 2.35rem);
  }
  .cms-tariffs__grid {
    grid-template-columns: 1fr;
  }
  .cms-compare__table-wrap {
    overflow-x: auto;
    overflow-y: visible;
  }
  .cms-compare__table th {
    top: 0;
  }
  .gpt-boxed__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
  .gpt-boxed-card__name {
    font-size: 1.55rem;
  }
  .gpt-boxed-card__users {
    font-size: 1.45rem;
  }
  .gpt-boxed-card__old {
    font-size: 1.1rem;
  }
  .gpt-boxed-card__price {
    font-size: 2.15rem;
  }
  .gpt-boxed-card__note,
  .gpt-boxed-card__demo,
  .gpt-boxed-card__select {
    font-size: 1rem;
  }
  .box24__extras {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .box24__chips {
    margin: 0 auto;
  }
  .box24__grid {
    grid-template-columns: 1fr;
  }
  .tariffs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tariffs__tabs {
    margin-bottom: 22px;
  }
  .tariff-card {
    padding: 22px 16px;
  }
  .card {
    padding: 24px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .step {
    padding: 20px 16px;
  }
  .step__num {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .tech-slider__item {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
  .clients__subtitle {
    font-size: 1.1rem;
    margin: 24px 0 16px;
  }
  .section--clients-b2b .clients__subtitle {
    margin-top: 36px;
  }
  .slider-wrapper {
    position: relative;
    justify-content: center;
    gap: 0;
    margin-top: 16px;
  }
  .slider {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 100%;
  }
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
  }
  .slider-btn--prev {
    left: 4px;
  }
  .slider-btn--next {
    right: 4px;
  }
  .client-card {
    flex: 0 0 20%;
    padding: 24px 20px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .slider__track {
    width: 500%;
    transform: translateX(calc(-20% * var(--slide-index, 0)));
  }
  .testimonials-slider {
    flex-direction: row;
    gap: 12px;
    margin-top: 24px;
    max-width: 100%;
    min-width: 0;
  }
  .testimonials-slider__inner {
    min-width: 0;
  }
  .experts__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .experts__card {
    padding: 24px 20px;
  }
  .support__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .support__card {
    padding: 24px 20px;
  }
  /* один отзыв на экран: 33.333% трека = 100% видимой области */
  .testimonial {
    flex: 0 0 33.333%;
    padding: 24px 20px;
  }
  .testimonial__text {
    font-size: 0.95rem;
  }
  .section__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .about__text {
    max-width: none;
  }
  .about__list {
    text-align: left;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .about__badge {
    margin: 0 auto;
    padding: 32px 28px;
  }
  .form {
    max-width: 100%;
  }
  .form__input,
  .form__textarea {
    padding: 12px 16px;
    font-size: 16px; /* убирает зум на iOS при фокусе */
  }
  .btn {
    padding: 14px 28px;
    min-height: 48px; /* удобная зона нажатия на тач */
  }
  .footer {
    padding: 24px 0;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Телефоны (до 480px) */
@media (max-width: 480px) {
  .hero {
    padding: 88px 0 48px;
  }
  .hero__title {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }
  .hero__visual {
    margin-top: 24px;
    padding-bottom: 60px;
  }
  .hero__browser-body {
    height: 140px;
    padding: 12px;
  }
  .hero__browser-card--1 { width: 70px; height: 36px; top: 24px; left: 16px; }
  .hero__browser-card--2 { width: 55px; height: 30px; top: 28px; right: 16px; }
  .hero__browser-card--3 { width: 50px; height: 28px; bottom: 28px; left: 32px; }
  .hero__browser-line { width: 80px; bottom: 48px; left: 16px; }
  .hero__browser-line--short { width: 50px; bottom: 34px; }
  .section {
    padding: 48px 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
  }
  .slider-dots {
    margin-top: 16px;
  }
  .tariffs__grid {
    grid-template-columns: 1fr;
  }
  .tariffs__tabs {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .tariffs__tab {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    padding: 9px 8px;
  }
  .experts__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .experts__card {
    padding: 22px 20px;
  }
  .support__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .support__card {
    padding: 22px 20px;
  }
  /* На очень узких экранах карточки можно делать ещё немного выше */
  .client-card {
    min-height: 150px;
  }
  .section--contact {
    padding-bottom: 64px;
  }
}

/* Маленькие телефоны (до 360px) */
@media (max-width: 360px) {
  .hero__marquee-inner {
    gap: 16px;
  }
  .hero__marquee-inner span {
    font-size: 0.75rem;
  }
  .card__icon {
    font-size: 1.5rem;
  }
  .step__num {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* Безрезкая анимация для пользователей с настройкой «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  .gradient-orb,
  .hero__browser,
  .hero__browser-card,
  .hero__browser-line,
  .tech-slider__track {
    animation: none;
  }
  .reveal {
    transition-duration: 0.01ms;
  }
}

/* Безопасные зоны для устройств с вырезами (notch) */
@supports (padding: max(0px)) {
  .header {
    padding-top: max(20px, env(safe-area-inset-top));
  }
  .container {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  @media (max-width: 480px) {
    .container {
      padding-left: max(16px, env(safe-area-inset-left));
      padding-right: max(16px, env(safe-area-inset-right));
    }
  }
  .footer {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
}
