/* ========== ULTRA PREMIUM GLOBAL STYLES ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

:root {
  /* Color System - Stripe-inspired */
  --primary: #635BFF;
  --primary-dark: #4A42D6;
  --primary-glow: rgba(99, 91, 255, 0.4);
  --secondary: #00D4FF;
  --accent: #FF5E7C;
  --success: #00D26A;
  --warning: #FFB800;
  
  /* Dark Theme - NordVPN quality */
  --bg-primary: #05050B;
  --bg-secondary: #0A0A12;
  --bg-elevated: #0F0F18;
  --bg-glass: rgba(15, 15, 24, 0.7);
  --border-glow: rgba(99, 91, 255, 0.2);
  --border-glow-hover: rgba(99, 91, 255, 0.5);
  
  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B0;
  --text-tertiary: #6B6B7F;
  
  /* Effects */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 91, 255, 0.3);
  --glass-blur: blur(12px);
  
  /* Animations */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Glassmorphism Base */
.glass {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(99, 91, 255, 0.15);
  border-radius: 24px;
}

/* Premium Button System */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 91, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 91, 255, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(99, 91, 255, 0.4);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(99, 91, 255, 0.05);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

/* Premium Card */
.card-premium {
  background: linear-gradient(135deg, rgba(15, 15, 24, 0.9) 0%, rgba(10, 10, 18, 0.95) 100%);
  border: 1px solid rgba(99, 91, 255, 0.15);
  border-radius: 32px;
  padding: 40px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.card-premium:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 91, 255, 0.4);
  box-shadow: var(--shadow-glow);
}

.card-premium:hover::before {
  transform: translateX(100%);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stats Counter */
.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.animate-up {
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.animate-scale {
  animation: fadeInScale 0.6s var(--ease-spring) forwards;
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

/* Grid Background */
.grid-bg {
  background-image: 
    linear-gradient(rgba(99, 91, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 91, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ============================================ */
/* МОБИЛЬНАЯ АДАПТАЦИЯ ALTERVPS (320px - 768px) */
/* ============================================ */

@media screen and (max-width: 768px) {
  
  /* Глобальные настройки */
  body {
    overflow-x: hidden !important;
  }
  
  /* Контейнеры и отступы */
  div[style*="padding: 120px 5%"],
  div[style*="padding: 80px 5%"] {
    padding: 60px 20px !important;
  }
  
  div[style*="max-width: 1280px"],
  div[style*="max-width: 1400px"],
  div[style*="max-width: 1440px"] {
    padding: 0 !important;
  }
  
  /* ========== HERO СЕКЦИЯ ========== */
  div[style*="min-height: 100vh"] {
    min-height: auto !important;
    padding: 60px 20px !important;
  }
  
  /* Grid в Hero (2 колонки -> 1 колонка) */
  div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  /* Заголовки H1 */
  h1, div[style*="font-size: clamp(44px, 6vw, 72px)"] {
    font-size: 36px !important;
    line-height: 1.2 !important;
  }
  
  /* Подзаголовки */
  div[style*="font-size: 18px"][style*="color: var(--text-secondary)"] {
    font-size: 16px !important;
  }
  
  /* Кнопки в Hero */
  div[style*="display: flex"][style*="gap: 20px"] {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .btn-premium, .alter-btn, a[style*="padding: 18px 40px"] {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
  }
  
  /* Правый блок с карточкой */
  div[style*="position: relative"][style*="animate-scale"] {
    margin-top: 20px;
  }
  
  /* Floating badge */
  div[style*="position: absolute"][style*="top: -20px"][style*="right: -20px"] {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    margin-bottom: 20px;
    display: inline-block !important;
  }
  
  /* ========== STATS СЕКЦИЯ (4 метрики) ========== */
  div[style*="display: grid"][style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
  
  .stat-number, div[style*="font-size: 56px"][class*="stat-number"] {
    font-size: 40px !important;
  }
  
  /* ========== FEATURES СЕКЦИЯ (6 карточек) ========== */
  div[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Заголовки секций H2 */
  h2, div[style*="font-size: 48px"][style*="font-weight: 700"] {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  
  /* Карточки преимуществ */
  .card-premium, div[class*="card-premium"] {
    padding: 24px !important;
  }
  
  /* ========== ПРИЗЫВ (CTA) ========== */
  div[style*="padding: 100px 5%"] {
    padding: 60px 20px !important;
  }
  
  div[style*="font-size: clamp(32px, 5vw, 48px)"] {
    font-size: 28px !important;
  }
  
  /* ========== ТАРИФЫ (5 КАРТОЧЕК В РЯД -> ВЕРТИКАЛЬНО) ========== */
  div[style*="display: grid"][style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Все карточки тарифов */
  div[class*="card-premium"][style*="padding: 20px 16px"] {
    padding: 24px !important;
  }
  
  /* Заголовки тарифов */
  div[style*="font-size: 18px"][style*="font-weight: 700"] {
    font-size: 22px !important;
  }
  
  /* Цены в тарифах */
  div[style*="font-size: 32px"][style*="font-weight: 800"] {
    font-size: 36px !important;
  }
  
  /* Список преимуществ */
  ul[style*="font-size: 11px"] {
    font-size: 14px !important;
  }
  
  ul[style*="font-size: 11px"] li {
    margin-bottom: 12px !important;
  }
  
  /* Бейджи и подарки */
  div[style*="background: rgba(99,91,255,0.1)"][style*="border-radius: 16px"] {
    padding: 10px !important;
  }
  
  div[style*="font-size: 9px"][style*="color: var(--text-secondary)"] {
    font-size: 12px !important;
  }
  
  /* Бейдж "Хит продаж" */
  div[style*="position: absolute"][style*="top: -12px"] {
    top: -16px !important;
  }
  
  div[style*="padding: 4px 12px"][style*="border-radius: 40px"] {
    padding: 6px 16px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  
  /* Экономия в годовом тарифе */
  div[style*="background: rgba(0,210,106,0.15)"][style*="border-radius: 12px"] {
    padding: 6px 12px !important;
  }
  
  div[style*="font-size: 9px"][style*="font-weight: 600"] {
    font-size: 11px !important;
  }
  
  /* ========== КАК НАСТРОИТЬ (4 ШАГА) ========== */
  div[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  /* Круги с номерами */
  div[style*="width: 80px"][style*="height: 80px"] {
    width: 60px !important;
    height: 60px !important;
  }
  
  div[style*="font-size: 36px"][style*="font-weight: 800"] {
    font-size: 28px !important;
  }
  
  /* Заголовки шагов */
  div[style*="font-size: 22px"][style*="font-weight: 600"] {
    font-size: 18px !important;
  }
  
  /* ========== ОТЗЫВЫ (3 КАРТОЧКИ) ========== */
  div[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Текст отзыва */
  div[style*="font-size: 18px"][style*="line-height: 1.6"] {
    font-size: 15px !important;
  }
  
  /* Аватарки */
  div[style*="width: 48px"][style*="height: 48px"] {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* ========== FAQ (АККОРДЕОН) ========== */
  .faq-question {
    padding: 18px 20px !important;
  }
  
  .faq-question h3 {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  
  .faq-answer div {
    padding: 0 20px 20px 20px !important;
    font-size: 14px !important;
  }
  
  .faq-icon {
    font-size: 24px !important;
    min-width: 24px;
    text-align: center;
  }
  
  /* ========== ФУТЕР ========== */
  footer, div[style*="background: #050507"][style*="padding: 60px 5%"] {
    padding: 40px 20px !important;
  }
  
  footer div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }
  
  footer div[style*="display: flex"][style*="gap: 16px"] {
    justify-content: center !important;
  }
  
  /* ========== ОБЩИЕ ПРАВКИ ========== */
  
  /* Убираем лишние отступы у контейнеров */
  [style*="margin: 0 auto"] {
    width: 100% !important;
  }
  
  /* Центрируем текст где нужно */
  .faq-item, .card-premium {
    margin: 0 !important;
  }
  
  /* Кнопки на всю ширину */
  a[style*="width: 100%"] {
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Адаптивные отступы для групп */
  div[style*="display: flex"][style*="gap"] {
    flex-wrap: wrap !important;
  }
  
  /* Скрываем лишние абсолютные элементы, если мешают */
  div[style*="position: absolute"][style*="filter: blur"] {
    opacity: 0.3 !important;
  }
  
}

/* ============================================ */
/* ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ (до 480px) */
/* ============================================ */

@media screen and (max-width: 480px) {
  
  div[style*="padding: 60px 20px"] {
    padding: 40px 16px !important;
  }
  
  h1, div[style*="font-size: 36px"] {
    font-size: 28px !important;
  }
  
  h2, div[style*="font-size: 32px"] {
    font-size: 26px !important;
  }
  
  /* Еще меньше отступов в карточках */
  .card-premium, div[class*="card-premium"] {
    padding: 20px !important;
  }
  
  /* Цены в тарифах */
  div[style*="font-size: 36px"][style*="font-weight: 800"] {
    font-size: 30px !important;
  }
  
  /* Текст преимуществ */
  ul[style*="font-size: 14px"] {
    font-size: 13px !important;
  }
  
  /* Бейджи */
  div[style*="padding: 6px 16px"] {
    padding: 4px 12px !important;
    font-size: 10px !important;
  }
  
}

/* ============================================ */
/* ПЛАНШЕТЫ (768px - 1024px) - 5 карточек в 2 ряда */
/* ============================================ */

@media screen and (min-width: 769px) and (max-width: 1024px) {
  
  /* 5 карточек тарифов превращаем в 2-3 колонки */
  div[style*="display: grid"][style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  /* Средняя карточка (хит) растягивается на всю ширину? Нет, оставляем в сетке */
  
  /* Уменьшаем паддинги */
  div[style*="padding: 80px 5%"] {
    padding: 60px 30px !important;
  }
  
  /* Hero - 2 колонки сохраняем, но уменьшаем отступы */
  div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
    gap: 30px !important;
  }
  
  h1 {
    font-size: 48px !important;
  }
  
  /* 4 метрики в 2 ряда */
  div[style*="display: grid"][style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Features в 2 колонки */
  div[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Отзывы в 2 колонки */
  div[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Шаги в 2 колонки */
  div[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
}




/* ============================================ */
/* АДАПТАЦИЯ ПОПАПОВ ALTERVPS (id #rec2100984061) */
/* ============================================ */

/* Основное окно попапа */
#rec2100984061 .t-popup,
#rec2100984061 .t-modal-window {
  background: linear-gradient(135deg, #0F0F18 0%, #0A0A12 100%) !important;
  border: 1px solid rgba(99, 91, 255, 0.4) !important;
  border-radius: 32px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 91, 255, 0.2) !important;
  padding: 40px 32px !important;
}

/* Затемнение фона */
#rec2100984061 .t-popup__overlay,
#rec2100984061 .t-modal-overlay {
  background: rgba(5, 5, 11, 0.92) !important;
  backdrop-filter: blur(12px) !important;
}

/* Заголовок попапа */
#rec2100984061 .t-popup__title,
#rec2100984061 .t-modal-window__title {
  font-size: 42px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #FFFFFF, #94A3B8) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  margin-bottom: 12px !important;
  text-align: center !important;
}

/* Описание/подзаголовок */
#rec2100984061 .t-popup__descr,
#rec2100984061 .t-modal-window__descr {
  color: #94A3B8 !important;
  font-size: 15px !important;
  text-align: center !important;
  margin-bottom: 28px !important;
}

/* Поля ввода */
#rec2100984061 .t-input,
#rec2100984061 .t-input__field,
#rec2100984061 .t-input-group__input {
  background: rgba(15, 15, 24, 0.9) !important;
  border: 1px solid rgba(99, 91, 255, 0.3) !important;
  border-radius: 16px !important;
  color: #FFFFFF !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
}

#rec2100984061 .t-input:focus,
#rec2100984061 .t-input__field:focus {
  border-color: #635BFF !important;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.2) !important;
  outline: none !important;
}

#rec2100984061 .t-input::placeholder {
  color: #475569 !important;
}

/* Кнопка отправки */
#rec2100984061 .t-submit,
#rec2100984061 .t-btn,
#rec2100984061 .t-popup__btn {
  background: linear-gradient(135deg, #635BFF, #4A42D6) !important;
  border: none !important;
  border-radius: 40px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

#rec2100984061 .t-submit:hover,
#rec2100984061 .t-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(99, 91, 255, 0.4) !important;
}

/* Кнопка закрытия (крестик) */
#rec2100984061 .t-popup__close,
#rec2100984061 .t-modal-close {
  background: rgba(99, 91, 255, 0.15) !important;
  border-radius: 40px !important;
  width: 36px !important;
  height: 36px !important;
  color: #94A3B8 !important;
  transition: all 0.3s ease !important;
  top: 20px !important;
  right: 24px !important;
}

#rec2100984061 .t-popup__close:hover,
#rec2100984061 .t-modal-close:hover {
  background: rgba(99, 91, 255, 0.35) !important;
  color: #FFFFFF !important;
  transform: rotate(90deg) !important;
}

/* Чекбоксы и текст согласия */
#rec2100984061 .t-checkbox__label,
#rec2100984061 .t-popup__agreement {
  color: #64748B !important;
  font-size: 12px !important;
  text-align: center !important;
}

#rec2100984061 .t-checkbox__label a,
#rec2100984061 .t-popup__agreement a {
  color: #635BFF !important;
  text-decoration: none !important;
}

#rec2100984061 .t-checkbox__label a:hover {
  text-decoration: underline !important;
}

/* Анимация появления */
#rec2100984061 .t-popup {
  animation: popupScaleIn 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) !important;
}

@keyframes popupScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}