/* ==================================================
   1. Глобальные переменные и базовые стили
   ================================================== */
:root {
  --bg: #0a0a0f;
  --panel: #12121a;
  --panel2: #181824;
  --text: #f7f7ff;
  --muted: #a8a8bf;
  --accent: #b14cff;
  --acc2: #d46bff;
  --ring: 0 0 14px rgba(177,76,255,.45), 0 0 28px rgba(177,76,255,.25);
  --content-max: 980px;
  --border-radius: 18px;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
  --shadow-btn: 0 8px 26px rgba(177,76,255,.35);
}

* {
  box-sizing: border-box;
}

body {
font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: url(/img/bg.jpg);
    color: var(--text);
 
  
 
    background-size: contain;
}

/* ==================================================
   2. Базовые компоненты
   ================================================== */
.card-base {
  background: linear-gradient(180deg, rgba(255,255,255,.01), #0a1222);
  border: 1px solid rgba(177,76,255,.25);
  border-radius: var(--border-radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.btn-base {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #0b0612;
  background: linear-gradient(90deg, var(--accent), var(--acc2));
  box-shadow: var(--shadow-btn);
  transition: all .2s ease;
  position: relative;
  isolation: isolate;
}

/* ==================================================
   3. Специфические компоненты
   ================================================== */
/* Заголовки */
h1 {
  font-size: 34px;
  text-align: center;
  margin: 8px 0 22px;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent), 0 0 18px var(--accent);
  font-weight: 800;
}

/* Ошибки и приглушенный текст */
.err {
  color: #ff6b81;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

/* Строка с ссылкой и кнопкой */
.link-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.link-input {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
  background: #0f0f16;
  border: 1px solid rgba(177,76,255,.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Клиенты (сетка) */
.clients {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .clients {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Карточка клиента */
.client {
  background: var(--panel);
  border: 1px solid rgba(177,76,255,.25);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.client h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

/* QR-коды */
.qr-holder {
  width: 220px;
  height: 220px;
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(177,76,255,.35);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(177,76,255,.05);
}

.icon-layer,
.qr-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity .2s ease, transform .2s ease;
}

.icon-layer svg {
  width: 64px;
  height: 64px;
  opacity: .9;
}

.qr-layer {
  opacity: 0;
  transform: scale(.96);
}

.qr-holder.qr-active .qr-layer {
  opacity: 1;
  transform: scale(1);
}

.qr-holder.qr-active .icon-layer {
  opacity: 0;
  transform: scale(1.04);
}

/* Ссылки */
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(177,76,255,.35);
  background: #1c1b26;
  color: #fff;
  text-decoration: none;
}

.link-btn:hover {
  background: #29263a;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* Тост-уведомления */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: #101018;
  border: 1px solid rgba(177,76,255,.35);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  opacity: 0;
  transition: .25s;
  z-index: 9999;
  box-shadow: var(--ring);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Примечания и ссылки */
.note {
  margin-top: 12px;
}

a.home {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(177,76,255,.35);
  color: #fff;
  text-decoration: none;
}

/* Формы и ввод */
.label-sm {
  font-size: 11px;
  color: #c8bfff;
  margin: 10px 3px 2px;
  display: block;
}

.input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text);
  background: var(--panel2);
  border: 1px solid rgba(177,76,255,.35);
  outline: none;
  transition: .2s;
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(177,76,255,.4);
}

.captcha-wrap {
  margin-top: 20px;
  margin-bottom: 20px;
 
}

.captcha-hint {
  font-size: 12px;
  color: #c8bfff;
  margin-top: 8px;
}

/* ==================================================
   4. Специальные блоки
   ================================================== */
/* Блок VPN */
.vpn-block {
 
  
}

.vpn-block__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.vpn-block__title {
  font-size: 28px;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.vpn-block__lead {
  margin: 0 0 28px 0;
  color: var(--muted);
  font-size: 15px;
}

.vpn-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.vpn-card {
  background: var(--panel);
  border-radius: var(--border-radius);
  padding: 20px;
  border: 1px solid rgba(155,92,255,0.09);
  transition: transform .18s ease, box-shadow .18s ease;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vpn-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(107,224,255,0.06), 0 0 28px rgba(155,92,255,0.12);
}

.vpn-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(155,92,255,0.12), rgba(107,224,255,0.06));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 0 20px rgba(155,92,255,0.045);
  margin-bottom: 6px;
}

.vpn-card__title {
  font-size: 16px;
  margin: 0;
}

.vpn-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  margin-top: auto;
}

/* Блок шагов */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 16px;
}

.step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  font-size: 23px;
}

.step .ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(177,76,255,.12);
}

.step * {
  color: #a649ce;
}

/* Специальный блок fblock */
.fblock {
  background: var(--panel);
  border: 1px solid rgba(177, 76, 255, .25);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ==================================================
   5. Адаптивные стили
   ================================================== */
@media (max-width: 1023px) {
  .vpn-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .vpn-block {
    padding: 28px 16px;
  }
  
  .vpn-cards {
    grid-template-columns: 1fr;
  }
  
  .vpn-card {
    padding: 16px;
    min-height: unset;
  }
  
  .vpn-block__title {
    font-size: 20px;
  }
  
  .vpn-block__lead {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .qr-layer {
    display: none !important;
  }
  
  .clients {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   6. Обратная совместимость
   ================================================== */
/* Сохранение оригинальных классов через наследование */
.card { @extend .card-base; }
.btn { @extend .btn-base; }

/* Дополнительные стили для оригинальных классов */
.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
  filter: grayscale(.3);
}

.grid2 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Стили для изображений */
img {
  max-width: 100%;
}

/* Убедимся, что оригинальные медиа-запросы работают */
@media (max-width: 840px) {
  .clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .clients {
    grid-template-columns: 1fr;
  }
}







.card
{margin-top: 16px;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    color: var(--text);
    background: #0f0f16;
    border: 1px solid rgba(177, 76, 255, .35);
	
	
	background: linear-gradient(rgba(255, 255, 255, 0.01), rgb(10, 18, 34));
	
	}
	
	
	
	
	
	 
	/* Специфичный стиль для кнопки отправки формы (submitBtn) */
#submitBtn {
  /* Базовые свойства */
  appearance: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #0b0612;
  background: linear-gradient(90deg, var(--accent), var(--acc2));
  box-shadow: 0 8px 26px rgba(177, 76, 255, .35); 
  
  /* Позиционирование и изоляция слоев */
  position: relative;
  isolation: isolate;
  
  /* Плавные переходы для всех анимаций */
  transition: all .2s ease;
  
  /* Состояние при наведении */
  &:hover {
    box-shadow: 0 4px 16px rgba(177, 76, 255, .2) inset, 
                0 0 0 1px rgba(177, 76, 255, .35);
  }
  
  /* Состояние при нажатии */
  &:active {
    transform: translateY(1px) scale(.99);
  }
  
  /* Состояние фокуса (для доступности) */
  &:focus-visible {
    outline: 2px solid rgba(177, 76, 255, .7);
    outline-offset: 2px;
    border-radius: 10px;
  }
}

/* Стили для отключенной кнопки */
#submitBtn:disabled {
  opacity: .6;
  cursor: not-allowed;
  filter: grayscale(.3);
  box-shadow: 0 8px 26px rgba(177, 76, 255, .15);
}

/* Дополнительная оптимизация для производительности */
#submitBtn {
  will-change: transform, box-shadow, background;
}






/* Специфичные стили для блока с полем ссылки и кнопкой копирования */
.link-row {
  /* Контейнер для строки с ссылкой и кнопкой */
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.link-row .link-input {
  /* Поле ввода ссылки */
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
  background: #0f0f16;
  border: 1px solid rgba(177, 76, 255, .35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: border-color .2s, box-shadow .2s;
}

.link-row .link-input:focus {
  /* Состояние фокуса для поля ссылки */
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(177, 76, 255, .4);
}

.link-row .btn {
  /* Кнопка копирования внутри строки ссылки */
  appearance: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #0b0612;
  background: linear-gradient(90deg, var(--accent), var(--acc2));
  box-shadow: 0 8px 26px rgba(177, 76, 255, .35);
  transition: all .2s ease;
  position: relative;
  isolation: isolate;
  min-width: 120px; /* Гарантирует минимальную ширину кнопки */
}

/* Состояния кнопки копирования */
.link-row .btn:hover {
  /* Эффект при наведении */
  box-shadow: 0 4px 16px rgba(177, 76, 255, .2) inset, 
              0 0 0 1px rgba(177, 76, 255, .35);
}

.link-row .btn:active {
  /* Эффект при нажатии */
  transform: translateY(1px) scale(.99);
}

.link-row .btn:focus-visible {
  /* Состояние фокуса для доступности */
  outline: 2px solid rgba(177, 76, 255, .7);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 640px) {
  .link-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .link-row .btn {
    width: 100%;
    margin-top: 8px;
  }
}


















/* ==================================================
   ДОПОЛНЕНИЕ: Адаптивное прилипающее меню
   ================================================== */

/* ==================================================
   АДАПТИВНОЕ МЕНЮ С ПРИЛИПАНИЕМ И ПРОЗРАЧНОСТЬЮ
   ================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent; /* Прозрачный фон в начальной позиции */
  border-bottom: 1px solid rgba(177, 76, 255, 0.1);
  padding: 12px 0;
  height: 60px;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  width: 100%;
  box-shadow: none;
}

.navbar.scrolled {
  background: var(--panel); /* Темный фон при скролле */
  padding: 8px 0;
  height: 52px;
  box-shadow: var(--ring), 0 4px 12px rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(177, 76, 255, 0.2);
}

.navbar-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.navbar-logo img {
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.navbar-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  opacity: 0.9;
}

.bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--panel);
  padding: 16px 24px;
  gap: 12px;
  transform: translateY(-105%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(177, 76, 255, 0.1);
  z-index: 1000;
}

.navbar-links.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.navbar-link {
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem; /* Уменьшенный шрифт */
  letter-spacing: 0.2px;
}

.navbar-link:hover {
  color: var(--accent);
}

 

/* ==================================================
   АДАПТИВНЫЕ СТИЛИ
   ================================================== */
@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
  
  .navbar-links {
    position: static;
    flex-direction: row;
    gap: 20px;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    background: none;
    border: none;
  }
  .red{
	  border
  }
  .navbar-link {
    padding: 5px;
  }
}

/* Анимация бургера */
.navbar-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Дополнительная адаптация для прозрачности при скролле */
@media (max-width: 767px) {
  .navbar.scrolled {
    background: var(--panel);
  }
}














/* ==================================================
   ДОПОЛНЕНИЕ: Секция "Как это работает" 
   ================================================== */
.how-it-works {
  margin: 40px 0;
}

.how-it-works .container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.how-it-works h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 32px;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(177, 76, 255, 0.2);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* На десктопе - три колонки */
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  /* Используем базовые стили карточки из вашего дизайна */
  background: #000;
  border: 1px solid rgba(177, 76, 255, 0.25);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(177, 76, 255, 0.15);
  border-color: rgba(177, 76, 255, 0.4);
}

/* Номер шага (иконка) */
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(177, 76, 255, 0.12);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(177, 76, 255, 0.1);
}

/* Текст шага */
.step p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
  .step {
    padding: 14px;
  }
  
  .step-num {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .step p {
    font-size: 15px;
  }
}













/* ==================================================
   ДОПОЛНЕНИЕ: Секция тарифов
   ================================================== */
/* ==================================================
   ДОПОЛНЕНИЕ: Секция тарифов с ТРЕМЯ карточками
   ================================================== */
.pricing {
  margin: 60px 0;
}

.pricing .container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

 

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Три тарифа на десктопе */
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Два тарифа на планшетах */
@media (min-width: 576px) and (max-width: 1023px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-card {
  /* Используем стиль карточек как в остальном сайте */
  background: var(--panel);
  border: 1px solid rgba(177, 76, 255, 0.25);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  height: 100%; /* Для одинаковой высоты карточек */
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Выделение премиум-тарифа (второй по счету) */
.price-card:nth-child(2) {
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.price-card:nth-child(2):hover {
  box-shadow: 0 0 20px rgba(177, 76, 255, 0.4), 0 0 40px rgba(177, 76, 255, 0.2);
}

/* Заголовок тарифа */
.price-card h3 {
  color: var(--text);
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 700;
}

/* Цена */
.price {
  font-size: 28px;
  font-weight: 800;
  margin: 8px 0 16px;
  color: var(--text);
  line-height: 1.2;
}

/* Список преимуществ */
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1; /* Для одинаковой высоты списков */
  padding-left:30px;
}

.price-card li {
  padding: 8px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  position: relative;
}

.price-card li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  display: inline-block;
  width: 16px;
  margin-left: -16px;
}

/* Кнопка "Подключить" */
.price-card button {
  @extend .btn;
  width: 100%;
  padding: 10px 16px;
  font-size: 16px;
  letter-spacing: 0.3px;
  margin-top: auto; /* Кнопка всегда внизу */
}

/* Специальный стиль для кнопки в премиум-тарифе */
.price-card:nth-child(2) button {
  background: linear-gradient(90deg, #d46bff, #b14cff);
  box-shadow: 0 8px 26px rgba(212, 107, 255, 0.35);
}

/* Адаптация для мобильных */
@media (max-width: 575px) {
  .price-card {
    padding: 20px 16px;
  }
  
  .price {
    font-size: 24px;
  }
  
  .price-card h3 {
    font-size: 20px;
  }
  
  .price-card li {
    font-size: 14px;
  }
}













/* ==================================================
   ДОПОЛНЕНИЕ: Стили для футера
   ================================================== */
.site-footer {
 
  
   background: linear-gradient(to bottom, var(--panel) 0%, #000000 100%);
  
  border-top: 1px solid rgba(177, 76, 255, 0.1);
  padding: 40px 0 20px;
  color: var(--text);
  margin-top: 60px;
}

.footer-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Логотип и описание */
.footer-col-logo h2 {
  margin: 0 0 16px;
  color: var(--accent);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-logo img {
  border-radius: 10px;
}

.footer-description {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  font-size: 13px;
}

/* Меню в футере */
.footer-col-menu h3 {
  color: var(--text);
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 600;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 13px;
}

.footer-menu a:hover {
  color: var(--accent);
}

/* Социальные сети */
.footer-col-social h3 {
  color: var(--text);
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 600;
}

.social-links{
  display: flex;
  justify-content: flex-end; /* вправо */
  gap: 16px;
  margin-top: 8px;
  /* опционально, чтобы было к правому краю контейнера */
  width: 100%;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(177, 76, 255, 0.1);
  color: var(--accent);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent);
  color: #0b0612;
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Нижняя часть футера */
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(177, 76, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.copyright {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #888; 
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
  .footer-col {
    align-items: flex-start;
  }
  
  .footer-description {
    font-size: 13px;
  }
  
  .footer-menu {
    gap: 6px;
  }
  
  .footer-menu a {
    font-size: 14px;
  }
}




a{    color: #c8bfff;}



























/* ==================================================
   ДОПОЛНЕНИЕ: Горизонтальный аккордион FAQ
   ================================================== */
.faq-section {
  margin: 60px 0;
}

.faq-section .container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.faq-section h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 32px;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(177, 76, 255, 0.2);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Скрытие радио-кнопок */
.faq-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Стиль вопроса */
.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid rgba(177, 76, 255, 0.2);
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.faq-question:hover {
  background: rgba(177, 76, 255, 0.05);
  border-color: rgba(177, 76, 255, 0.3);
}

/* Иконка вопроса */
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(177, 76, 255, 0.1);
  color: var(--accent);
  font-weight: bold;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* Стиль ответа */
.faq-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--muted);
  font-size: 15px;
}

.faq-answer p {
  margin: 12px 0;
  line-height: 1.5;
}

/* Активное состояние */
.faq-toggle:checked + .faq-question {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(177, 76, 255, 0.05);
  box-shadow: 0 0 14px rgba(177, 76, 255, 0.1);
}

.faq-toggle:checked + .faq-question .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #0b0612;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 300px; /* Достаточно для большинства ответов */
  padding: 12px 18px;
  margin-top: 2px;
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
  .faq-question {
    padding: 12px 16px;
    font-size: 15px;
  }
  
  .faq-icon {
    width: 22px;
    height: 22px;
  }
  
  .faq-answer {
    padding: 0 16px;
  }
  
  .faq-toggle:checked + .faq-question + .faq-answer {
    padding: 10px 16px;
  }
}








/* Скрыть на мобильных */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}










.topimgdiv{
  
	text-align: center;    margin-top: -15px;    margin-left: -15px;    margin-right: -15px;
}














  .social-icons{
    display:flex; gap:12px; align-items:center;
  }

  .icon{
    position:relative;
    width:40px; height:40px;
    display:grid; place-items:center;
    color:var(--accent);
    text-decoration:none;
    transition: color .2s ease, filter .2s ease;
  }

  /* Кольцо-обводка (идеальный круг, тонкая линия) */
  .icon::before{
    content:"";
    position:absolute; inset:0;
    border-radius:50%;
    border:1.6px solid currentColor;           /* тонкая обводка */
    box-shadow:0 0 6px rgba(166,117,255,.45);  /* лёгкий неон */
    transition: border-color .2s ease, box-shadow .2s ease;
  }

  /* Размер глифа внутри круга (тонкие линии) */
  .icon i{
    font-size:22px; line-height:1;
  }

  /* Ховер / фокус — и иконка, и обводка становятся белыми */
  .icon:hover,
  .icon:focus-visible{
    color:var(--hover);
    outline:none;
    filter: drop-shadow(0 0 8px rgba(255,255,255,.45));
  }
  .icon:hover::before,
  .icon:focus-visible::before{
    box-shadow:
      0 0 6px rgba(255,255,255,.45),
      0 0 14px rgba(255,255,255,.25);
  }

  /* Уважение настройки "уменьшить анимацию" */
  @media (prefers-reduced-motion: reduce){
    .icon, .icon::before{ transition:none; }
  }
  
  
  
  
  
  .text{    
  text-align: center;
    color: #a649ce;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 h2 {
    text-align: center;
 
    margin: 0px 0px 32px;
    color: var(--accent);
    text-shadow: rgba(177, 76, 255, 0.2) 0px 0px 10px;
	font-size: 28px;
	
    font-weight: normal;
}



  h3 {
  color: var(--accent);
  font-weight: normal;
  font-size: 20px; /* десктоп */
      text-align: center;
}

@media (max-width: 767px) {
    h3 {
    font-size: 14px;
  }
  
  
  .step .ico {
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(177,76,255,.12);
}


}





.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;         /* в строку */
  gap: 16px;             /* расстояние между ссылками */
  flex-wrap: wrap;       /* чтобы переносились при нехватке места */
}

.footer-menu li {
  display: inline-block; /* строчные блоки */
}

.footer-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--accent);
}