/* ============================================================
   НЬЮ-ССТ — конверсионные компоненты (лендинги)
   Дополняет base.css (стиль ВЫШКА Cloud: dark glass, cyan→violet).
   Только новые классы — base.css не переопределяется.
   ============================================================ */

/* ---------------- 1. Hero ---------------- */
.hero {
  padding-top: 96px;
  padding-bottom: 72px;
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__copy { min-width: 0; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__panel {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow-card), var(--glow-violet);
  transition: border-color .22s, box-shadow .22s;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 260px at 8% -10%, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(460px 300px at 105% 110%, rgba(139, 92, 255, 0.11), transparent 60%);
}
.hero__panel:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: var(--shadow-card), var(--glow-violet), var(--glow-cyan);
}
.hero__panel > * { position: relative; z-index: 1; }

/* Список продуктов внутри hero-панели: строки «иконка + подпись» */
.hero__panel ul { list-style: none; display: grid; }
.hero__panel li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14.5px;
  color: var(--text-dim);
}
.hero__panel li:last-child { border-bottom: none; padding-bottom: 2px; }
.hero__panel li > span:first-child,
.hero__panel li > i:first-child {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-style: normal;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(139, 92, 255, 0.14));
  border: 1px solid rgba(0, 229, 255, 0.18);
}
.hero__panel li b { color: var(--text); font-weight: 600; }
/* .v-checks внутри панели: обычный чек-лист, без 36px-слота иконки */
.hero__panel .v-checks li {
  align-items: flex-start;
  padding: 9px 2px;
  border-bottom: none;
  font-size: 14.5px;
}
.hero__panel .v-checks li > span:first-child {
  display: block;
  place-items: initial;
  width: auto;
  height: auto;
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  font-size: inherit;
  text-align: left;
}
/* grid-колонки не должны раздуваться длинным контентом */
.hero__inner > * { min-width: 0; }
.hero__panel li small {
  display: block;
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.4;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

/* ---------------- 2. Stats ---------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.stat { min-width: 0; }
.stat__value {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---------------- 3. Pricing ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}
.price-card__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.price-card__desc {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 6px;
  min-height: 42px;
}
.price-card__amount {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.price-card__period {
  font-size: 13px;
  color: var(--text-dim);
}
.price-card__features {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
}
.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text-dim);
}
.price-card__features li::before {
  content: "✓";
  flex: none;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cyan);
  margin-top: 1px;
}
.price-card .v-btn { margin-top: auto; }

/* Featured: градиентный бордер + бейдж */
.price-card--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad-accent) border-box;
  box-shadow: var(--shadow-card), var(--glow-violet);
}
@media (min-width: 861px) {
  .price-card--featured { transform: scale(1.02); }
  .price-card--featured:hover { transform: translateY(-4px) scale(1.02); }
}
.price-card__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------------- 4. Steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.step {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color .22s, box-shadow .22s;
}
.step:hover {
  border-color: rgba(0, 229, 255, 0.28);
  box-shadow: var(--glow-cyan);
}
.step__num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- 5. FAQ ---------------- */
.faq { max-width: 800px; }
.faq__item {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__item.is-open { border-color: rgba(0, 229, 255, 0.28); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.45;
}
.faq__q::after {
  content: "+";
  flex: none;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dim);
  transition: transform .2s, color .2s;
}
.faq__item.is-open .faq__q::after {
  transform: rotate(45deg);
  color: var(--cyan);
}
.faq__a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  font-size: 14.5px;
  color: var(--text-dim);
}
.faq__item.is-open .faq__a {
  max-height: 420px;
  padding: 0 22px 18px;
}

/* ---------------- 6. Logo row ---------------- */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  transition: color .18s, border-color .18s, background .18s;
}
.logo-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------------- 7. Split + мокапы ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--rev .split__copy { order: 2; } /* на десктопе текст справа */
.split__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.split__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(380px 240px at 6% 2%, rgba(0, 229, 255, 0.13), transparent 60%),
    radial-gradient(420px 280px at 100% 102%, rgba(139, 92, 255, 0.14), transparent 62%);
}
.split__media > * { position: relative; z-index: 1; }

/* Базовые CSS-мокапы внутри .split__media */
.mock {
  padding: 24px;
  display: grid;
  gap: 12px;
  place-content: center;
  height: 100%;
}
.mock-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-dim);
  max-width: 75%;
  line-height: 1.45;
}
.mock-bubble--me {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.22);
  color: var(--text);
  align-self: flex-end;
  justify-self: end;
}
.mock-avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #04121a;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}

/* ---------------- 8. Quote band ---------------- */
.quote-band {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}
.quote-band p {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.quote-band__by,
.quote-band__author,
.quote-band cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ---------------- 9. Product card ---------------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.32);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}
.product-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(139, 92, 255, 0.16));
  border: 1px solid rgba(0, 229, 255, 0.2);
}
.product-card h3,
.product-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-card p,
.product-card__text {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 8px;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}
.product-card__link::after {
  content: "→";
  display: inline-block;
  transition: transform .18s;
}
.product-card__link:hover { color: #7DF3FF; }
.product-card__link:hover::after { transform: translateX(3px); }

/* ---------------- 10. Industry card ---------------- */
.industry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.32);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}
.industry-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(139, 92, 255, 0.16));
  border: 1px solid rgba(0, 229, 255, 0.2);
}
.industry-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.industry-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.industry-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.45;
}
.industry-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.industry-card__fit {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------------- 11. Trust band ---------------- */
.trust-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}
.trust-band ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  width: 100%;
}
.trust-band > span,
.trust-band li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-dim);
}
.trust-band > span::before,
.trust-band li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* ---------------- 12. Quiz ---------------- */
.quiz {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  box-shadow: var(--shadow-card), var(--glow-violet);
}
.quiz::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 240px at 6% -8%, rgba(0, 229, 255, 0.1), transparent 60%),
    radial-gradient(460px 280px at 104% 110%, rgba(139, 92, 255, 0.11), transparent 62%);
}
.quiz > * { position: relative; z-index: 1; }
.quiz__progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 22px;
}
.quiz__progress span,
.quiz__progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-accent);
  transition: width .3s ease;
}
.quiz__step { animation: quiz-step-in .3s ease; }
@keyframes quiz-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz__step { animation: none; }
}
.quiz__q {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.quiz__opts {
  display: grid;
  gap: 10px;
}
.quiz__opt {
  text-align: left;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.quiz__opt:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.06);
}
.quiz__opt.is-sel {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

/* ---------------- 13. Sticky CTA (только мобильный) ---------------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  display: none; /* показывается только <=860px */
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  /* S3 P2: скрыта до порога скролла (класс .is-on вешает conversion.js) */
  transform: translateY(140%);
  transition: transform .3s ease;
}
.sticky-cta.is-on { transform: none; }
.sticky-cta__text,
.sticky-cta > span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.sticky-cta .v-btn {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 11px;
  flex: none;
}
@media (max-width: 860px) {
  .sticky-cta { display: flex; }
}

/* ---------------- 14. Mini form ---------------- */
.mini-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.mini-form input {
  flex: 1;
  min-width: 0;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: rgba(8, 9, 13, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.mini-form input:focus {
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}
.mini-form input::placeholder { color: var(--text-faint); }
.mini-form .v-btn { flex: none; }

/* ---------------- Утилиты ---------------- */
.u-mt-32 { margin-top: 32px; }
.u-center { text-align: center; }

/* ---------------- Адаптив ---------------- */
@media (max-width: 980px) {
  .hero { padding-top: 72px; padding-bottom: 56px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split { gap: 36px; }
}
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__copy { order: 0; } /* на мобильных — естественный порядок */
}
@media (max-width: 640px) {
  .hero { padding-top: 56px; padding-bottom: 44px; }
  .hero__panel { padding: 22px; }
  .quiz { padding: 24px 20px; }
  .quote-band { padding: 28px 24px; }
  .quote-band p { font-size: 18px; }
  .price-card { padding: 22px; }
  .product-card,
  .industry-card { padding: 22px; }
  .sticky-cta { left: 10px; right: 10px; gap: 8px; }
  .sticky-cta__text,
  .sticky-cta > span { display: none; }
  .mini-form { flex-direction: column; }
  .mini-form .v-btn { width: 100%; }
}

/* split__media как поток контента (прайс-сетка в split): без жёсткой рамки 4:3 */
.split__media--flow {
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
}
.split__media--flow::before, .split__media--flow::after { display: none; }
.split__media--flow .pricing-grid { height: 100%; }

/* карточка цены как ссылка */
a.price-card { color: inherit; text-decoration: none; }
a.price-card:hover { color: inherit; }

/* растяжка хаб-карточки экосистемы на 2 колонки */
.product-card--wide { grid-column: span 2; }
@media (max-width: 1020px) { .product-card--wide { grid-column: span 2; } }
@media (max-width: 640px) { .product-card--wide { grid-column: span 1; } }

/* карточка с прижатой к низу ссылкой */
.v-card--flex { display: flex; flex-direction: column; height: 100%; }
.v-card--flex .card-link { margin-top: auto; padding-top: 14px; display: inline-block; }

/* запас под sticky-CTA на мобиле */
@media (max-width: 860px) { body { padding-bottom: 78px; } }

/* V5-фиксы: мокапы split на мобиле без гигантских 4:3-зазоров */
@media (max-width: 899px) {
  .split__media { aspect-ratio: auto; min-height: 220px; }
}
/* тап-норма sticky-CTA */
.sticky-cta .v-btn { padding: 12px 18px; }
@media (max-width: 640px) {
  .sticky-cta span { display: none; }
  .sticky-cta { justify-content: stretch; }
  .sticky-cta .v-btn { width: 100%; }
}
.price-card__amount .price-card__period { display: inline-block; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: 0; vertical-align: baseline; margin-left: 6px; }

/* ============================================================
   Полировка (аудит 2026-09-05) — только добавления
   ============================================================ */

/* 4. Калькулятор: чекбокс-опции и итог (задел под страницу с data-calc) */
.calc-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.calc-opt:hover { border-color: rgba(0, 229, 255, 0.4); }
.calc-opt.is-on { border-color: var(--cyan); background: var(--cyan-soft); }
.calc-opt input { accent-color: #00E5FF; width: 18px; height: 18px; margin-top: 2px; flex: none; }
.calc-total {
  font-size: 34px;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
