:root {
  --bg-top: #0B2239;
  --bg-bottom: #0A3B51;
  --card: #13293D;
  --text: #EAF2F7;
  --muted: #B9C7D3;
  --cyan: #00E0FF;
  --violet: #9A4DFF;
}

/* Удаление светлых подложек/градиентов */
.services-section,
.section-gray,
.top-gradient-transition {
  background: transparent !important;
}

/* Стили секции и контейнера */
.services-section {
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  position: relative;
}

.services-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Заголовок секции */
.services-title {
  color: var(--text);
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.services-underline {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 10px rgba(0, 224, 255, .6);
  margin: 12px 0 32px;
}

/* Сетка карточек */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Карточка услуги */
.service-card {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  padding: 28px;
  color: var(--text);
  border: 1px solid rgba(0, 224, 255, .12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  overflow: hidden;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 224, 255, .35);
  box-shadow: 0 0 0 1px rgba(154, 77, 255, .25), 0 14px 32px rgba(0, 0, 0, .45);
}

.service-card::after {
  /* тонкий внутренний неон-пояс по периметру при hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  box-shadow: 0 0 18px rgba(0, 224, 255, .25) inset;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card .bg-illustration {
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
}

/* Иконка/бейдж */
.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(0, 224, 255, .25);
  box-shadow: 0 0 12px rgba(0, 224, 255, .25);
  margin-bottom: 14px;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--cyan);
}

/* Типографика внутри карточки */
.service-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
}

.service-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0;
  color: var(--text);
}

.feature .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  margin-top: 8px;
  flex: 0 0 6px;
}

.feature b,
.metric {
  color: var(--cyan);
  font-weight: 700;
}

/* Блок с ценой */
.service-price-box {
  margin: 20px 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price-badge {
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.15), rgba(154, 77, 255, 0.15));
  border: 2px solid rgba(0, 224, 255, 0.4);
  border-radius: 12px;
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover .price-badge::before {
  left: 100%;
}

.service-card:hover .price-badge {
  border-color: rgba(0, 224, 255, 0.7);
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
  transform: scale(1.05);
}

.price-from {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--cyan);
  text-transform: uppercase;
  opacity: 0.9;
}

.price-amount {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.6);
  letter-spacing: -1px;
}

/* Кастомный блок цены для третьего пакета */
.service-price-box--custom .price-badge {
  padding: 14px 24px;
}

.price-badge--custom {
  background: linear-gradient(135deg, rgba(154, 77, 255, 0.15), rgba(0, 224, 255, 0.15));
  border-color: rgba(154, 77, 255, 0.4);
}

.service-card:hover .price-badge--custom {
  border-color: rgba(154, 77, 255, 0.7);
  box-shadow: 0 0 30px rgba(154, 77, 255, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.price-custom-text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 0 8px rgba(154, 77, 255, 0.6);
}

/* Стили для результата */
.service-result {
  margin: 16px 0;
  padding: 12px 16px;
  background: rgba(0, 224, 255, 0.05);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.service-result strong {
  color: var(--cyan);
  font-weight: 700;
}

/* Заголовок для списка преимуществ */
.service-benefits-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  margin: 16px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-subtitle {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0 16px;
  font-weight: 500;
}

/* CTA внутри карточки */
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.service-cta:hover {
  color: #fff;
  border-bottom-color: var(--cyan);
}

/* Неоновые разделители */
.services-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(0, 224, 255, .6);
}

.services-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(0, 224, 255, .6);
}

/* Адаптив */
@media (min-width: 1200px) {
  .services-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .services-wrap {
    padding: 48px 16px;
  }
  
  .services-title {
    font-size: 28px;
  }
  
  .service-card {
    padding: 22px;
  }
  
  .service-title {
    font-size: 20px;
  }
  
  .service-desc {
    font-size: 15px;
  }
}

/* Доступность и производительность */
.service-cta:focus-visible,
.service-card:focus-within {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card::after,
  .price-badge,
  .price-badge::before {
    transition: none;
  }
}

/* Бонусная секция */
.services-bonus {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 224, 255, 0.2);
}

.bonus-card {
  background: linear-gradient(135deg, rgba(154, 77, 255, 0.1), rgba(0, 224, 255, 0.1));
  border: 2px solid rgba(154, 77, 255, 0.4);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: 0 0 30px rgba(154, 77, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bonus-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(154, 77, 255, 0.15) 0%, transparent 70%);
  animation: bonusGlow 8s ease-in-out infinite;
}

@keyframes bonusGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10%, 10%); }
}

.bonus-card:hover {
  border-color: rgba(154, 77, 255, 0.7);
  box-shadow: 0 0 40px rgba(154, 77, 255, 0.5), 0 12px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.bonus-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(154, 77, 255, 0.2), rgba(0, 224, 255, 0.2));
  border: 2px solid rgba(154, 77, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(154, 77, 255, 0.4);
  position: relative;
  z-index: 1;
}

.bonus-icon i {
  font-size: 36px;
  color: var(--violet);
  filter: drop-shadow(0 0 8px rgba(154, 77, 255, 0.8));
}

.bonus-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.bonus-title {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(154, 77, 255, 0.6);
}

.bonus-description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 20px;
  font-weight: 500;
}

.bonus-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.bonus-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}

.bonus-feature i {
  color: var(--cyan);
  font-size: 18px;
  flex-shrink: 0;
}

.bonus-value {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(0, 224, 255, 0.3);
  width: fit-content;
}

.bonus-value-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.bonus-value-amount {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-decoration: line-through;
  opacity: 0.6;
}

.bonus-value-free {
  font-size: 20px;
  font-weight: 900;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.6);
}

/* Адаптив для бонусной секции */
@media (max-width: 768px) {
  .services-bonus {
    margin-top: 32px;
  }
  
  .bonus-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .bonus-icon {
    width: 64px;
    height: 64px;
  }
  
  .bonus-icon i {
    font-size: 28px;
  }
  
  .bonus-title {
    font-size: 22px;
  }
  
  .bonus-description {
    font-size: 15px;
  }
  
  .bonus-features {
    align-items: flex-start;
  }
  
  .bonus-value {
    margin: 0 auto;
  }
}
