/* ============================================================
   UZapise Landing — кастомные стили
   То, что не покрывает Tailwind и что специфично для проекта
   ============================================================ */

/* ---------- Базовое ---------- */
html, body {
  background: #0A0F1C;
}

/* Плавный скролл */
html { scroll-behavior: smooth; }

/* Кастомный скроллбар (в тон) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0A0F1C; }
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: #2FB574; }

/* Выделение текста */
::selection {
  background: rgba(47, 181, 116, 0.35);
  color: #F1F5F9;
}

/* ============================================================
   ФОНОВАЯ ДЕКОРАЦИЯ: свечения + сетка
   ============================================================ */

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Тонкая сетка (технологичный паттерн) */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 181, 116, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 181, 116, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Светящиеся размытые шары */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform;
}

.glow-green {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #2FB574 0%, transparent 70%);
  top: -150px; left: -150px;
  animation: float-1 25s ease-in-out infinite;
}

.glow-blue {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #5FB8E8 0%, transparent 70%);
  top: 20%; right: -250px;
  animation: float-2 30s ease-in-out infinite;
  opacity: 0.4;
}

.glow-green-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #2FB574 0%, transparent 70%);
  bottom: -100px; left: 30%;
  animation: float-3 28s ease-in-out infinite;
  opacity: 0.35;
}

/* Медленные плавные движения */
@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-100px, 80px) scale(1.05); }
}
@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, -80px) scale(1.15); }
}

/* ============================================================
   ГРАДИЕНТНЫЕ ТЕКСТЫ И КНОПКИ (утилиты на будущее)
   ============================================================ */

.text-gradient {
  background: linear-gradient(90deg, #2FB574 0%, #5FB8E8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: #0A0F1C;
  background: linear-gradient(135deg, #2FB574 0%, #5FB8E8 100%);
  box-shadow: 0 0 0 rgba(47,181,116,0);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(47,181,116,.35), 0 0 60px rgba(95,184,232,.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: #F1F5F9;
  border: 1px solid #1E293B;
  background: rgba(255,255,255,0.02);
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover {
  border-color: #2FB574;
  background: rgba(47,181,116,0.05);
}

/* Карточки */
.card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid #1E293B;
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,181,116,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 40px rgba(47,181,116,0.15);
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */

/* «Стеклянный» эффект при скролле */
#nav.scrolled {
  background: rgba(10, 15, 28, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #1E293B;
  padding-top: 0;
  padding-bottom: 0;
}
#nav.scrolled > div:first-child {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* ============================================================
   HERO: КОМПОЗИЦИЯ (НОУТБУК + ТЕЛЕФОН)
   ============================================================ */

.hero-showcase {
  position: relative;
}

/* ---------- МАКЕТ НОУТБУКА ---------- */
.hero-laptop {
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
}

@keyframes laptop-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Лёгкий 3D-наклон + парение */
@keyframes laptop-float {
  0%, 100% {
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-10px);
  }
}

/* ---------- МАКЕТ ТЕЛЕФОНА ---------- */

.phone-mockup {
  position: relative;
  width: 300px;
  max-width: 82vw;
  aspect-ratio: 9 / 19.5;
  border-radius: 2.75rem;
  padding: 10px;
  background: #0F1629;
  border: 1px solid rgba(47, 181, 116, 0.25);
  box-shadow:
    0 0 60px rgba(47, 181, 116, 0.25),
    0 0 100px rgba(95, 184, 232, 0.15),
    0 30px 80px rgba(0, 0, 0, 0.6);
  animation: phone-float 6s ease-in-out infinite;
  z-index: 2;
}

/* «Динамик» сверху */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0A0F1C;
  border-radius: 20px;
  z-index: 3;
}

.phone-mockup img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2.25rem;
  background: #0F1629;
}

/* Свечение позади телефона */
.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(47, 181, 116, 0.35) 0%, transparent 65%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

/* Медленное парение */
@keyframes phone-float {
  0%, 100% { transform: translateY(0)    rotate(-1deg); }
  50%      { transform: translateY(-6px) rotate(1deg); }
}

/* Мобильный: телефон чуть крупнее, т.к. ноутбука нет */
@media (max-width: 1023px) {
  .hero-showcase .phone-mockup {
    width: 300px !important;
    background: linear-gradient(145deg, #2FB574 0%, #5FB8E8 100%);
    border: none;
  }
}

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================ */

/* Начальные состояния (GSAP оживит) */
.hero-text > * {
  opacity: 0;
  transform: translateY(20px);
}
.hero-phone {
  opacity: 0;
  transform: translateY(30px);
}

/* ============================================================
   ОБЩИЕ ЭЛЕМЕНТЫ СЕКЦИЙ
   ============================================================ */

/* Маленький «глазок» над заголовком секции */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2FB574;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 181, 116, 0.3);
  background: rgba(47, 181, 116, 0.06);
}

/* ============================================================
   СЕКЦИЯ «БЫЛО → СТАЛО»
   ============================================================ */

.compare-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid #1E293B;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.compare-card:hover {
  transform: translateY(-4px);
}

/* Карточка «Было» — приглушённый красноватый оттенок */
.compare-bad {
  border-color: rgba(239, 68, 68, 0.15);
}
.compare-bad:hover {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 40px rgba(239, 68, 68, 0.1);
}
.compare-bad .compare-list li i {
  color: #F87171;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.compare-bad .compare-list li span {
  color: #94A3B8;
}

/* Карточка «Стало» — акцентная, зелёная */
.compare-good {
  border-color: rgba(47, 181, 116, 0.35);
  background:
    linear-gradient(180deg, rgba(47, 181, 116, 0.06) 0%, rgba(17, 24, 39, 0.6) 100%);
  box-shadow: 0 0 60px rgba(47, 181, 116, 0.08);
}
.compare-good:hover {
  border-color: rgba(47, 181, 116, 0.6);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 60px rgba(47, 181, 116, 0.18);
}
.compare-good .compare-list li i {
  color: #0A0F1C;
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
  border: none;
}
.compare-good .compare-list li span {
  color: #F1F5F9;
}

/* Шапка карточки */
.compare-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.7);
}

.compare-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.compare-icon-bad {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.compare-icon-good {
  background: linear-gradient(135deg, rgba(47, 181, 116, 0.2), rgba(95, 184, 232, 0.2));
  color: #2FB574;
  border: 1px solid rgba(47, 181, 116, 0.35);
  box-shadow: 0 0 24px rgba(47, 181, 116, 0.25);
}

.compare-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94A3B8;
}
.compare-label-good {
  color: #2FB574;
}
.compare-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #F1F5F9;
  margin-top: 0.15rem;
}

/* Список пунктов */
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.compare-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.94rem;
  line-height: 1.5;
}
.compare-list li i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* Бейдж VS по центру между карточками */
.vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #0A0F1C;
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
  box-shadow:
    0 0 0 6px #0A0F1C,
    0 0 40px rgba(47, 181, 116, 0.55),
    0 0 80px rgba(95, 184, 232, 0.35);
  z-index: 3;
  animation: vs-pulse 3s ease-in-out infinite;
}

@keyframes vs-pulse {
  0%, 100% { box-shadow: 0 0 0 6px #0A0F1C, 0 0 40px rgba(47,181,116,.5), 0 0 80px rgba(95,184,232,.3); }
  50%      { box-shadow: 0 0 0 6px #0A0F1C, 0 0 60px rgba(47,181,116,.7), 0 0 120px rgba(95,184,232,.5); }
}

/* ============================================================
   ANIMATION REVEAL (используется во всех секциях)
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* ============================================================
   СЕКЦИЯ «ВОЗМОЖНОСТИ» (и «Один салон — везде»)
   ============================================================ */

.feature-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid #1E293B;
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
  overflow: hidden;
}

/* Тонкая градиентная подсветка сверху при hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2FB574, #5FB8E8, transparent);
  opacity: 0;
  transition: opacity .35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 181, 116, 0.35);
  background: rgba(17, 24, 39, 0.85);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(47, 181, 116, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

/* Иконка — квадрат с градиентом */
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: #F1F5F9;
  background: linear-gradient(135deg, rgba(47, 181, 116, 0.18), rgba(95, 184, 232, 0.18));
  border: 1px solid rgba(47, 181, 116, 0.3);
  box-shadow: 0 0 24px rgba(47, 181, 116, 0.15) inset;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
  border-color: rgba(47, 181, 116, 0.6);
  box-shadow:
    0 0 30px rgba(47, 181, 116, 0.35),
    0 0 60px rgba(95, 184, 232, 0.2);
}

.feature-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #F1F5F9;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  color: #94A3B8;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Инлайн-код в описаниях карточек (uzapise.by/s/ваш-салон) */
.feature-desc code {
  font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border-radius: 0.35em;
  background: rgba(47, 181, 116, 0.1);
  border: 1px solid rgba(47, 181, 116, 0.2);
  word-break: break-word;
}

/* ============================================================
   СЕКЦИЯ «КАК ЭТО РАБОТАЕТ»
   ============================================================ */

.steps-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Соединительная линия (desktop) */
.steps-line {
  display: none;
  position: absolute;
  top: 62px;
  left: 16%;
  right: 16%;
  height: 2px;
  background-image: linear-gradient(90deg,
    rgba(47, 181, 116, 0) 0%,
    rgba(47, 181, 116, 0.5) 20%,
    rgba(95, 184, 232, 0.5) 80%,
    rgba(95, 184, 232, 0) 100%);
  z-index: 0;
}
/* Точки поверх линии */
.steps-line::before,
.steps-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2FB574;
  box-shadow: 0 0 12px #2FB574;
}
.steps-line::before { left: 33%; }
.steps-line::after  { right: 33%; background: #5FB8E8; box-shadow: 0 0 12px #5FB8E8; }

/* Карточка шага */
.step-card {
  position: relative;
  padding: 2.5rem 1.75rem 1.75rem;
  border-radius: 1.5rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid #1E293B;
  text-align: center;
  z-index: 1;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 181, 116, 0.35);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(47, 181, 116, 0.12);
}

/* Большая цифра */
.step-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #0A0F1C;
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow:
    0 0 0 6px #0A0F1C,
    0 0 30px rgba(47, 181, 116, 0.5);
}

/* Иконка шага */
.step-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #F1F5F9;
  background: linear-gradient(135deg, rgba(47, 181, 116, 0.15), rgba(95, 184, 232, 0.15));
  border: 1px solid rgba(47, 181, 116, 0.3);
  box-shadow:
    0 0 30px rgba(47, 181, 116, 0.15) inset,
    0 0 40px rgba(47, 181, 116, 0.15);
  transition: transform .4s ease, box-shadow .4s ease;
}
.step-card:hover .step-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow:
    0 0 40px rgba(47, 181, 116, 0.4),
    0 0 80px rgba(95, 184, 232, 0.25);
}

.step-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #F1F5F9;
  margin-bottom: 0.6rem;
}
.step-desc {
  color: #94A3B8;
  font-size: 0.94rem;
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto;
}
.step-desc b {
  color: #F1F5F9;
  font-weight: 600;
}

/* ============================================================
   CTA-БЛОК ПОД ШАГАМИ
   ============================================================ */

.how-cta {
  margin-top: 4rem;
}

.how-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 181, 116, 0.18), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(95, 184, 232, 0.18), transparent 55%),
    rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(47, 181, 116, 0.3);
  box-shadow: 0 0 80px rgba(47, 181, 116, 0.08);
}

.how-cta-text p {
  margin-top: 0.4rem;
}

/* Десктопная раскладка CTA */
@media (min-width: 768px) {
  .how-cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 2.5rem 3rem;
  }
}

/* Десктоп: три шага в ряд + видимая линия */
@media (min-width: 1024px) {
  .steps-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .steps-line {
    display: block;
  }
}

/* ============================================================
   СЕКЦИЯ «ТАРИФЫ»
   ============================================================ */

/* ---------- Переключатель периодов ---------- */
.period-switch {
  display: inline-flex;
  padding: 6px;
  gap: 4px;
  margin: 0 auto 3rem;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid #1E293B;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  flex-wrap: wrap;
  justify-content: center;
}

.period-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .25s, background .25s, box-shadow .25s;
}
.period-btn:hover { color: #F1F5F9; }

.period-btn.active {
  color: #0A0F1C;
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
  box-shadow: 0 0 30px rgba(47, 181, 116, 0.4);
}

.period-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(47, 181, 116, 0.2);
  color: #2FB574;
  border: 1px solid rgba(47, 181, 116, 0.4);
}
.period-btn.active .period-badge {
  background: rgba(10, 15, 28, 0.3);
  color: #0A0F1C;
  border-color: rgba(10, 15, 28, 0.25);
}

/* ---------- Сетка тарифов ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ---------- Карточка тарифа ---------- */
.tariff-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: 1.5rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid #1E293B;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.tariff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 181, 116, 0.35);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(47, 181, 116, 0.12);
}

/* Акцентная карточка «Стандарт» */
.tariff-featured {
  border-color: rgba(47, 181, 116, 0.55);
  background:
    linear-gradient(180deg, rgba(47, 181, 116, 0.08) 0%, rgba(17, 24, 39, 0.7) 100%);
  box-shadow:
    0 0 0 1px rgba(47, 181, 116, 0.2),
    0 0 80px rgba(47, 181, 116, 0.15);
  transform: scale(1.02);
}
.tariff-featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(47, 181, 116, 0.4),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(47, 181, 116, 0.25);
}

/* Бейдж «Хит выбора» */
.tariff-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A0F1C;
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
  border-radius: 999px;
  box-shadow:
    0 0 0 5px #0A0F1C,
    0 0 30px rgba(47, 181, 116, 0.6);
  white-space: nowrap;
}

/* Шапка тарифа */
.tariff-head { margin-bottom: 1.25rem; }

.tariff-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: #F1F5F9;
}
.tariff-tagline {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 0.25rem;
}

/* Блок цены */
.tariff-price {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.7);
  min-height: 96px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.price-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #F1F5F9;
}
.tariff-featured .price-num {
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-cur {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 500;
}

.price-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #94A3B8;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.price-old {
  text-decoration: line-through;
  color: #64748B;
  font-size: 0.78rem;
}

/* Кнопка тарифа */
.tariff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #F1F5F9;
  border: 1px solid #334155;
  background: rgba(255, 255, 255, 0.03);
  transition: all .25s ease;
  margin-bottom: 1.5rem;
  text-align: center;
}
.tariff-btn:hover {
  border-color: #2FB574;
  background: rgba(47, 181, 116, 0.08);
  color: #F1F5F9;
}

.tariff-btn-primary {
  color: #0A0F1C;
  border: none;
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
}
.tariff-btn-primary:hover {
  color: #0A0F1C;
  background: linear-gradient(135deg, #3BC885, #6FC4EE);
  box-shadow: 0 12px 40px rgba(47, 181, 116, 0.35);
}

/* Список фич */
.tariff-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.tariff-features li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #F1F5F9;
}
.tariff-features li i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 0.15rem;
  background: rgba(47, 181, 116, 0.15);
  color: #2FB574;
  border: 1px solid rgba(47, 181, 116, 0.3);
}

/* Неактивные фичи — зачёркнуто и с крестиком */
.tariff-features li.off {
  color: #64748B;
  text-decoration: line-through;
  text-decoration-color: rgba(100, 116, 139, 0.5);
}
.tariff-features li.off i {
  background: rgba(100, 116, 139, 0.15);
  color: #64748B;
  border-color: rgba(100, 116, 139, 0.25);
  text-decoration: none;
}
.tariff-features li.off span {
  text-decoration: line-through;
  text-decoration-color: rgba(100, 116, 139, 0.5);
}

/* ---------- Адаптивность ---------- */
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   СЕКЦИЯ «FAQ»
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 1rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid #1E293B;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.faq-item:hover {
  border-color: rgba(47, 181, 116, 0.3);
}

.faq-item.open {
  border-color: rgba(47, 181, 116, 0.5);
  background: rgba(17, 24, 39, 0.85);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(47, 181, 116, 0.1);
}

/* Кнопка вопроса */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #F1F5F9;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color .25s;
}

.faq-item.open .faq-q {
  color: #2FB574;
}

/* Иконка-плюс */
.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #1E293B;
  transition: transform .3s ease, color .3s ease, background .3s ease, border-color .3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #0A0F1C;
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(47, 181, 116, 0.5);
}

/* Тело ответа */
.faq-a-inner {
  padding: 0 1.35rem 1.35rem;
  color: #94A3B8;
  font-size: 0.94rem;
  line-height: 1.65;
}
.faq-a-inner b {
  color: #F1F5F9;
  font-weight: 600;
}

/* ============================================================
   ФИНАЛЬНЫЙ CTA-БЛОК
   ============================================================ */

.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(47, 181, 116, 0.18), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(95, 184, 232, 0.18), transparent 60%),
    rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(47, 181, 116, 0.3);
  box-shadow:
    0 0 100px rgba(47, 181, 116, 0.1) inset,
    0 30px 80px rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* Свечения внутри CTA */
.final-cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.final-cta-glow-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2FB574 0%, transparent 70%);
  top: -150px; left: -100px;
  opacity: 0.35;
  animation: float-1 22s ease-in-out infinite;
}
.final-cta-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #5FB8E8 0%, transparent 70%);
  bottom: -150px; right: -100px;
  opacity: 0.3;
  animation: float-2 26s ease-in-out infinite;
}

.final-cta-content {
  position: relative;
  z-index: 2;
}

.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2FB574;
  background: rgba(47, 181, 116, 0.08);
  border: 1px solid rgba(47, 181, 116, 0.35);
  border-radius: 999px;
}

/* ============================================================
   ФУТЕР
   ============================================================ */

.footer {
  position: relative;
  z-index: 10;
  margin-top: 4rem;
  padding: 4rem 0 2rem;
  background: rgba(10, 15, 28, 0.85);
  border-top: 1px solid #1E293B;
  backdrop-filter: blur(12px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.7);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-col-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F1F5F9;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: color .25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col a:hover {
  color: #2FB574;
}
.footer-col a i {
  font-size: 0.9rem;
}

/* Юр. блок */
.footer-legal {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(30, 41, 59, 0.7);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #F1F5F9;
}
.footer-legal p { margin: 0; }
.footer-legal p + p { margin-top: 0.3rem; }
.footer-legal .text-muted { color: #64748B; }

/* Нижняя строка */
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #64748B;
  text-align: center;
}

/* ---------- Адаптивность футера ---------- */
@media (min-width: 640px) {
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    align-items: flex-start;
  }
}


/* ============================================================
   DEMO-БАННЕР (под блоком «Возможности»)
   ============================================================ */

.demo-banner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(47, 181, 116, 0.08) 0%, rgba(95, 184, 232, 0.08) 100%),
    rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(47, 181, 116, 0.3);
  position: relative;
  overflow: hidden;
  transition: border-color .35s ease, box-shadow .35s ease;
}

/* Тонкая градиентная подсветка сверху */
.demo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2FB574, #5FB8E8, transparent);
  opacity: 0.6;
}

.demo-banner:hover {
  border-color: rgba(47, 181, 116, 0.55);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(47, 181, 116, 0.15);
}

/* Иконка «глаз» */
.demo-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #2FB574;
  background: rgba(47, 181, 116, 0.12);
  border: 1px solid rgba(47, 181, 116, 0.3);
  flex-shrink: 0;
}

.demo-banner-text {
  flex: 1;
  min-width: 0;
}

/* «Живой пример» + пульсирующая точка */
.demo-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2FB574;
  margin-bottom: 0.5rem;
}

.demo-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2FB574;
  box-shadow: 0 0 12px #2FB574;
  animation: demo-dot-pulse 2s ease-in-out infinite;
}

@keyframes demo-dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.demo-banner-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #F1F5F9;
  margin-bottom: 0.35rem;
}

.demo-banner-desc {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.demo-banner-btn {
  flex-shrink: 0;
  align-self: flex-start;
}

/* Десктоп: горизонтальная раскладка */
@media (min-width: 768px) {
  .demo-banner {
    flex-direction: row;
    align-items: center;
    padding: 2rem 2.5rem;
    gap: 1.75rem;
  }
  .demo-banner-title {
    font-size: 1.25rem;
  }
  .demo-banner-btn {
    align-self: center;
  }
}


/* ============================================================
   КНОПКА «Наверх» (используется на всех страницах)
   ============================================================ */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #0A0F1C;
  background: linear-gradient(135deg, #2FB574, #5FB8E8);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(47, 181, 116, 0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 40;
  border: none;
}
.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover {
  transform: translateY(-3px);
}

/* На мобильных — чуть меньше и ближе к краю */
@media (max-width: 640px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}