@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Montserrat+Alternates:wght@400;@500;@600;@700&display=swap');



/* Общие стили */
body {
    background: #1b1b1b;
    color: white;
    font-family: 'Montserrat-alternates', sans-serif;
    margin: 0;
    padding: 0;
    user-select: none;
    letter-spacing: 0.5px;
}
html {
    height: 100%;
    overflow: auto;
    scrollbar-color: #5750DA #111111;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0D0D0D;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 80rem; /* 1280px */
    display: flex;
    align-items: center;
}

/* Навбар */
.navbar {
    position: fixed;
    top: 1.1%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 80rem; /* 1280px */
    background: rgba(33, 33, 33, 0.97);
    padding: 1rem 2rem; /* 16px 32px */
    display: flex;
    align-items: center;
    z-index: 1000;
    border-radius: 1.25rem; /* 20px */
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar.transparent:hover {
    background: rgba(33, 33, 33, 1);
    opacity: 1; /* При наведении на весь блок navbar opacity становится 1 */
}

/* Весь контент внутри navbar наследует opacity 1 при наведении на блок */
.navbar.transparent:hover .menu a,
.navbar.transparent:hover .right-section img,
.navbar.transparent:hover .auth-button,
.navbar.transparent:hover .dropdown-menu a {
    opacity: 1; /* Все дочерние элементы становятся полностью видимыми */
}

.navbar.transparent .menu a {
    opacity: 0.8;
    transition: color 0.3s, opacity 0.3s; /* Плавное изменение цвета и прозрачности */
}

.navbar.transparent .menu a:hover {
    color: #5750DA; /* Цвет при наведении на ссылку */
    opacity: 1; /* При наведении на ссылку её прозрачность становится 1 */
}

.navbar.transparent .right-section img {
    opacity: 0.8;
    transition: transform 0.2s ease-in-out, opacity 0.3s; /* Плавное изменение прозрачности и анимация для изображения */
}

.navbar.transparent .right-section img:hover {
    transform: scale(1.05); /* Эффект увеличения при наведении */
    opacity: 1; /* Прозрачность 1 при наведении */
    cursor: pointer;
}

.navbar.transparent .auth-button {
    opacity: 0.8;
    transition: background 0.3s, opacity 0.3s; /* Плавное изменение фона и прозрачности */
}

.navbar.transparent .auth-button:hover {
    background: #483bd1; /* Цвет фона при наведении */
    opacity: 1; /* Прозрачность 1 при наведении */
}


.menu {
    display: flex;
    align-items: center;
    gap: 2rem; /* 32px */
    margin: 0 auto;
    white-space: nowrap;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 1.25rem; /* 20px */
    transition: color 0.3s, opacity 0.3s;
}

.menu a:hover {
    color: #5750DA;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 0.8rem; /* 12.8px */
}

.right-section img {
    height: 3rem; /* 48px */
    transition: transform 0.2s ease-in-out, opacity 0.3s;
}


.right-section img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Ссылка в виде кнопки */
.auth-button {
    display: inline-block;
    background: #5750DA;
    color: white;
    font-size: 1.2rem; /* 19.2px */
    text-decoration: none;
    padding: 0.75rem 1.5rem; /* 12px 24px */
    border: none;
    border-radius: 0.5rem; /* 8px */
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s;
}

.auth-button:hover {
    background: #483bd1;
}

/* Блок dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(33, 33, 33);
    display: none;
    flex-direction: column;
    width: auto;
    padding: 0.5rem 0;
    border-radius: 0.625rem; /* 10px */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-menu a {
    padding: 0.75rem 1rem; /* 12px 16px */
    color: white;
    text-decoration: none;
    display: block;
    max-width: 100%;
    white-space: nowrap;
    transition: color 0.3s, opacity 0.3s;
}

.dropdown-menu a:hover {
    color: #5750DA;
}

/* Показываем выпадающее меню при наведении */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Первый контентный блок */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 0rem 4rem; /* 128px 0px 64px */
    max-width: 80rem; /* 1280px */
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

/* Текст */
.hero-content {
    max-width: 60%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem; /* 40px */
    font-weight: bold;
}

.hero-content h2 {
    font-size: 2rem; /* 32px */
    color: #5750DA;
}

.hero-content p {
    font-size: 1.25rem; /* 20px */
    color: #bdbdbd;
    margin: 1rem 0; /* 16px 0 */
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* 16px */
    margin: 1.5rem 0; /* 24px 0 */
}

.features span {
    background: rgba(90, 79, 243, 0.2);
    padding: 0.75rem 1.5rem; /* 12px 24px */
    border-radius: 0.5rem; /* 8px */
    font-size: 1rem; /* 16px */
    border: solid 3px #5750DA;
}

/* Кнопка выбора тарифа */
.pricing-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* 8px */
    background: #5750DA;
    color: white;
    font-size: 1.25rem; /* 20px */
    padding: 0.75rem 2rem; /* 12px 32px */
    border: none;
    border-radius: 0.5rem; /* 8px */
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.pricing-button:hover {
    background: #483bd1;
}

/* Картинка + свечение */
.hero-image {
    position: relative;
    width: 45%;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
}

/* Первый круг (фиолетовый) */
.glow1 {
    position: absolute;
    top: 45%;
    left: 75%;
    width: 15.625rem; /* 250px */
    height: 15.625rem; /* 250px */
    background: rgba(142, 80, 218, 1);
    border-radius: 50%;
    filter: blur(6.25rem); /* 100px */
    transform: translate(-80%, -60%);
    z-index: -1;
}

/* Второй круг (синий) */
.glow2 {
    position: absolute;
    top: 75%;
    left: 20%;
    width: 15.625rem; /* 250px */
    height: 15.625rem; /* 250px */
    background: rgba(87, 80, 218, 1);
    border-radius: 50%;
    filter: blur(6.25rem); /* 100px */
    transform: translate(-50%, -50%);
    z-index: -1;
}

.webplans {
    justify-content: center;
    gap: 1.25rem; /* 20px */
    padding: 5rem 0; /* 80px 0 */
    max-width: 80rem; /* 1280px */
    display: flex;
    align-items: center;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}

.glow3 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15.625rem; /* 250px */
    height: 15.625rem; /* 250px */
    background: rgba(87, 80, 218, 1);
    border-radius: 50%;
    filter: blur(6.25rem); /* 100px */
    transform: translate(-50%, -50%);
    z-index: 0;
}

.plan {
    background: rgba(33, 33, 33, 0.4);
    border-radius: 1.25rem; /* 20px */
    padding: 1rem; /* 16px */
    min-width: 18rem; /* 288px */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.tooltip {
    visibility: hidden; /* По умолчанию скрыто */
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #21212166;
    color: #fff;
    padding: 5px;
    border-radius: 20px;
    font-size: 16px;
    z-index: 1;
    width: 17rem;
    margin-bottom: 1rem;
    text-align: center;
    transition: 0.2s;
}

.plan:hover .tooltip {
    visibility: visible; /* Показать подсказку при наведении */
}

.plan:hover {
    transform: scale(1.025);
}

/* Заголовок тарифа с градиентом */
.plan h2 {
    font-size: 1.5625rem; /* 25px */
    margin: 0.9375rem 0; /* 15px 0 */
    background: linear-gradient(to right, #5750DA, #8E50DA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.plan.x-promo h2 {
    background: linear-gradient(to right, #8E50DA, #5750DA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Блок цены */
.price {
    font-size: 1.125rem; /* 18px */
    font-weight: bold;
    margin-bottom: 1.25rem; /* 20px */
    color: #ffffff;
}

/* Примечание ("СТАРТ", "ПРОМО") */
.label {
    display: inline-block;
    padding: 0.25rem 0.75rem; /* 4px 12px */
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    border: 2px solid #5750DA;
    border-radius: 0.625rem; /* 10px */
    text-transform: uppercase;
}

/* Список характеристик тарифа */
.features {
    margin-top: 0.9375rem; /* 15px */
}

.feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(38, 38, 38, 0.7);
    border: 0.5px solid rgba(33, 33, 33, 0.6);
    padding: 0.625rem; /* 10px */
    font-size: 0.875rem; /* 14px */
    border-radius: 0.5rem; /* 8px */
    margin-bottom: 0.5rem; /* 8px */
    font-weight: 600;
}

.feature img {
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    margin-right: 0.4375rem; /* 7px */
}

.burger-menu{
    display: none;
}




.x-promo .feature i,
.x-promo .feature .value {
    color: #8E50DA;
}
.plan.x-promo .feature span{
    color: #8E50DA;
}

.plan .feature span{
    color: #5750DA;
    font-weight: 700;
    margin-left: auto;
}
.x-promo .label {
    border-color: #8E50DA;
    color: #8E50DA;
}
.feature2{
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 40, 0.7);
    border: 0.5px solid rgba(33, 33, 33, 0.6);
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #5750DA;
}

.plan.x-plus .discount {
    position: absolute;
    top: -15px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;

    background: linear-gradient(to right, #5750DA, #8E50DA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan.x-pro .discount {
    position: absolute;
    top: -15px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;

    background: linear-gradient(to right, #5750DA, #8E50DA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container-features {
    justify-content: center;
    max-width: 90rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    position: relative;
    padding: 3.5rem 0;
}
.glow4 { 
    position: absolute;
    top: 30%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(87, 80, 218, 0.4);
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(-50%, -50%);
    z-index: 0; /* Теперь оно точно между фоном и блоками */
}
.glow5 { 
    position: absolute;
    top: 70%;
    left: 60%;
    width: 250px;
    height: 250px;
    background: rgba(142, 80, 218, 0.4);
    border-radius: 50%;
    filter: blur(80px);
    transform: translate(-50%, -50%);
    z-index: 1;
}
.container-features h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

.features-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 20rem;
}
.features-wrapper p{
    font-size: 1rem;
}

.blue-box, .gray-box {
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(2.5px);
    z-index: 1;
    position: relative;
    width: 25rem;
    height: 12rem;
    transition: 0.2s ease;
}
.gray-box:hover {
    transform: scale(1.025);
    transition: 0.2s ease;
}
.blue-box:hover {
    transform: scale(1.025);
    transition: 0.2s ease;
}

.gray-box {
    border: 1px solid rgba(33, 33, 33, 0.62);
    background: rgba(33, 33, 33, 0.2);
}

.box-title {
    color: #5750DA;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blue-box {
    position: relative; /* Для позиционирования псевдоэлемента */
    border: 1px solid rgba(87, 80, 218, 0.62);
    background: linear-gradient(to bottom, rgba(87, 80, 218, 0.2), rgba(46, 43, 116, 0.2));
}

/* Уникальные изображения для каждого блока */
.blue-box-1::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -90px;
    width: 350px;
    height: 350px;
    background: url('../assets/img/cash.svg') no-repeat center center;
    z-index: 0;
    background-size: cover;
    opacity: 0.8;
}

.blue-box-2::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 200px;
    height: 200px;
    background: url('../assets/img/clock.svg') no-repeat center center;
    z-index: 0;
    background-size: cover;
    opacity: 0.8;
}

.blue-box-3::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: 0px;
    width: 200px;
    height: 200px;
    background: url('../assets/img/panel.svg') no-repeat center center;
    z-index: 0;
    background-size: cover;
    opacity: 0.8;
}


.blue-box * {
    position: relative; /* Чтобы текст оставался над картинкой */
    z-index: 1;
}
.help-section {
    position: relative;
    background: rgba(33, 33, 33, 0.8);
    border-radius: 1.25rem;
    overflow: visible;
    justify-content: center;
    max-width: 80rem;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 2rem 2rem;
    max-height: 20rem;
    top: 5rem;
}
.free-hosting-block {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem 2rem;
  border-radius: 2rem;
  background: rgba(33, 33, 33, 0.8);
  box-sizing: border-box;
  overflow: hidden;
}

.glow-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  background: rgba(87, 80, 218, 0.4);
  filter: blur(130px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.free-hosting-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.left-info {
  color: #fff;
  max-width: 30rem;
  flex: 1 1 300px;
}

.left-info h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: #5750DA;
}

.btn-more {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #574FDA, #3F38C7);
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 0px 10px rgba(87, 79, 218, 0.4);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn-more:hover {
  background: linear-gradient(135deg, #6a5df1, #4b42d3);
  box-shadow: 0 0px 20px rgba(87, 79, 218, 0.5);
}

/* 📱 Мобильная адаптация */
@media (max-width: 768px) {
  .free-hosting-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .left-info h1 {
    font-size: 2rem;
  }

  .btn-more {
    width: 80%;
    padding: 1rem;
  }
}


.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1C1C1C;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #e0e0e0;
}

.features-list li img {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  filter: brightness(1.5) saturate(1.2);
}

.features-list li span {
  color: #574FDA;
  margin-left: auto;
  font-weight: 600;
}

.right-img img {
  max-width: 300px;
  height: auto;
}



.support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.text-content {
    max-width: 50%;
    color: #fff;
    position: relative;
    bottom: 2rem;
    left: -1rem;
    letter-spacing: 0.0625rem;
}

.text-content h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.9375rem;
}

.text-content p {
    font-size: 1.125rem;
    opacity: 0.8;
    margin-bottom: 1.25rem;
}

.support-btn {
    display: inline-block;
    background: #6C63FF;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s;
}

.support-btn:hover {
    background: #5a52e0;
}

.image-content {
    position: relative;
    max-width: 50%;
}

.image-content img {
    position: relative;
    bottom: 5rem;
    right: 0.0625rem;
    max-width: 28.125rem;
}


/* Сияние */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.glow-purple {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: rgba(142, 80, 218, 1); 
    transform: translate(-50%, -50%);
    z-index: -1;
}

.glow-blue {
    top: 60%;
    left: 65%;
    width: 150px;
    height: 150px;
    background: rgba(142, 80, 218, 1); 
    transform: translate(-50%, -50%);
    z-index: 1;
}
.glow-purple2 {
    top: 50%;
    left: 85%;
    width: 150px;
    height: 150px;
    background: rgba(87, 80, 218, 1);
    transform: translate(-50%, -50%);
    z-index: 1;
}

footer {
    background-color: #1b1b1b;
    color: #fff;
    padding: 2rem 0;
    border-top: 1px solid #fff;
    margin-top: 10rem;
  }
  
  /* Контейнер для колонок футера */
  .container-footer {
    display: flex;
    justify-content: space-between; /* Колонки растягиваются равномерно */
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 80rem;
    margin: 0 auto;
    text-align: left;
    gap: 1rem;
  }
  
  /* Лого и первый блок */
  .footer-logo {
    flex: 1 1 15rem; /* Ширина колонки */
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Логотип будет слева */
  }
  
  .footer-logo img {
    height: 2.5rem; /* Сохраняем пропорции */
  }
  
  /* Заголовки */
  footer h1, footer h2 {
    margin: 0 0 1rem 0;
    padding: 0;
    font-size: 1.2rem; /* Уменьшаем заголовки */
  }
  
  /* Параграфы */
  footer p {
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.4;
  }
  
  /* Иконки соцсетей */
  .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-icons a {
    display: inline-block;
    width: 2.5rem; /* Увеличиваем иконки */
    height: 2.5rem;
    background: none;
    border-radius: 50%;
  }
  
  .social-icons a img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
  }
  
  .social-icons a:hover img {
    transform: scale(1.1); /* Эффект увеличения при наведении */
  }
  
  /* Блоки футера */
  .payment-methods,
  .services,
  .supportf,
  .about {
    flex: 1 1 10rem;
    padding: 1rem;
  }
  
  .icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .icon img {
    width: 2.5rem; /* Увеличиваем иконки */
    height: 2.5rem;
  }
  
  /* Списки */
  footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  footer ul li {
    margin-bottom: 0.5rem;
  }
  
  footer ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.2s;
  }
  
  footer ul li a:hover {
    color: #5750DA;
  }
  
  /* Копирайт */
  .footer-bottom {
    max-width: 80rem;
    margin: 0.5rem auto 0;
    text-align: center;
  }
  
  .footer-bottom p {
    font-size: 0.9rem;
    color: #fff;
    margin: 0.5rem 0;
  }
  .footer-bottom a {
    font-size: 0.9rem;
    color: #fff;
    margin: 0.5rem 0;
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-bottom a:hover {
    color: #5750DA;
  }
  

@media (max-width: 767px) {
footer {
    padding: 1.5rem 0; /* Уменьшаем отступы сверху и снизу футера */
    margin-top: 10rem; /* Уменьшаем отступ сверху */
}

.container-footer {
    flex-direction: column; /* Размещаем блоки в один столбик */
    align-items: center; /* Выравниваем элементы по центру */
    gap: 2rem; /* Увеличиваем расстояние между блоками */
}

.footer-logo {
    flex: 1 1 auto;
    padding: 1rem; /* Увеличиваем внутренние отступы */
    align-items: center; /* Центрируем логотип */
}

.footer-logo img {
    height: 3rem; /* Увеличиваем размер логотипа на мобильных устройствах */
}

footer h1, footer h2 {
    font-size: 1.4rem; /* Увеличиваем размер заголовков */
}

footer p {
    font-size: 1.2rem; /* Увеличиваем размер текста */
    text-align: center;
}

.social-icons {
    gap: 1.5rem; /* Увеличиваем расстояние между иконками */
}

.social-icons a {
    width: 3rem; /* Увеличиваем размеры иконок */
    height: 3rem;
}

.payment-methods,
.services,
.supportf,
.about {
    flex: 1 1 100%; /* Блоки занимают всю ширину */
    padding: 1rem;
    text-align: center; /* Центрируем текст в блоках */
}

.icons {
    gap: 1.5rem; /* Увеличиваем расстояние между иконками */
}

.icon img {
    width: 3rem; /* Увеличиваем размеры иконок */
    height: 3rem;
}

footer ul li {
    margin-bottom: 1rem; /* Увеличиваем отступы между элементами списка */
}

footer ul li a {
    font-size: 1.2rem; /* Увеличиваем размер шрифта */
}

.footer-bottom p {
    font-size: 1rem; /* Увеличиваем размер шрифта */
}
}
      

  



/* Адаптация для мобильных устройств (макс. ширина 767px) */
@media (max-width: 767px) {

    /* Стиль для бургер-меню */
    .burger-menu {
        display: block;  /* Убедитесь, что бургер-меню отображается */
        background: transparent;
        border: none;
        cursor: pointer;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        position: fixed;
    }

    .burger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 4px 0;
    }

    /* Меню */
    .menu {
        display: none; /* Меню скрыто на мобильных устройствах */
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    /* Когда бургер-меню активировано, показываем меню */
    .navbar.active .menu {
        display: flex; /* Показываем меню внутри навбара */
    }

    .navbar.active {
        display: flex; /* Показываем навбар */
    }

    /* Скрыть иконку Discord на мобильных устройствах */
    .right-section img {
        display: none; /* Иконка дискорда скрыта на мобильных устройствах */
    }

    /* Логотип */
    .logo img {
        width: 8rem; /* Уменьшаем размер изображения логотипа */
        height: auto;
    }

    .logo {
        margin-bottom: 1rem; /* Добавляем отступ снизу */
        display: none; /* Логотип скрыт на мобильных устройствах */
    }

    /* Навбар */
    .navbar {
        flex-direction: column; /* Вертикальное расположение */
        padding: 1rem; /* Уменьшаем отступы */
        top: 0.5rem; /* Немного уменьшен верхний отступ */
        display: none; /* Изменено с 'none' на 'flex' */
    }

    /* Стиль для меню */
    .menu a {
        font-size: 1.125rem; /* Уменьшаем размер шрифта */
    }

    .right-section {
        margin-top: 1rem; /* Добавляем отступ сверху для правой секции */
        margin-left: 0;
    }

    .auth-button {
        display: none; /* Скрываем кнопку до открытия меню */
        padding: 0.5rem 1rem; /* Уменьшаем отступы внутри кнопки */
        margin-top: 1rem; /* Добавляем отступ сверху */
        font-size: 0.8rem;
    }
    
    /* Когда навбар активен, показываем кнопку авторизации */
    .navbar.active .auth-button {
        display: block; /* Показываем кнопку авторизации при активном меню */
        font-size: 0.8rem;
    }

    /* Блок dropdown */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(33, 33, 33, 0.9); /* Немного затемняем меню */
        display: none;
        flex-direction: column;
        width: 100%; /* Делаем меню на всю ширину экрана */
        padding: 0.5rem 0;
        border-radius: 0.625rem; /* 10px */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

    .dropdown-menu a {
        padding: 1rem; /* Увеличиваем отступы внутри меню */
        font-size: 1rem;
        text-align: left;
    }

    .dropdown:hover .dropdown-menu {
        display: block; /* Показываем выпадающее меню */
        width: auto;
        text-align: center;
    }

    /* Обновление стилей для отображения бургер-меню */
    .burger-menu {
        display: block; /* Обеспечим отображение бургер-меню на мобильных */
    }

    /* Контент */
    .hero {
        flex-direction: column;
        padding: 4rem 1rem 2rem; /* Уменьшаем отступы */
    }

    .hero-content {
        max-width: 100%; /* Убираем ограничение по ширине */
        text-align: center; /* Центрируем текст */
    }

    .hero-content h1 {
        font-size: 2rem; /* Уменьшаем размер заголовка */
    }

    .hero-content h2 {
        font-size: 1.5rem; /* Уменьшаем размер подзаголовка */
    }

    .hero-content p {
        font-size: 1.125rem; /* Уменьшаем размер параграфа */
        margin: 1rem 0;
    }

    .features {
        gap: 1rem; /* Увеличиваем расстояние между элементами */
        margin: 2rem 0; /* Увеличиваем отступы */
    }

    /* Блоки тарифов */
    .webplans {
        flex-direction: column;
        gap: 2rem; /* Увеличиваем расстояние между тарифами */
    }

    .plan {
        width: 80%;
    }

    .plan h2 {
        font-size: 1.375rem; /* Уменьшаем размер заголовка тарифов */
    }

    .price {
        font-size: 1rem; /* Уменьшаем размер цены */
    }

    .feature {
        font-size: 0.875rem; /* Уменьшаем размер текста */
    }

    /* Адаптация для маленьких экранов */
    .navbar {
        top: 0.5%; /* Уменьшаем верхний отступ */
    }

    /* Картинка с свечением */
    .hero-image {
        width: 100%;
        margin-top: 2rem; /* Увеличиваем отступ сверху */
    }

    .glow1, .glow2 {
        width: 10rem; /* Уменьшаем размер кругов */
        height: 10rem;
        filter: blur(5rem); /* Уменьшаем размытие */
    }

    .glow3 {
        width: 10rem; /* Уменьшаем размер кругов */
        height: 10rem;
    }

    /* Обновления для текста */
    .plan .feature span {
        font-size: 1rem;  /* Уменьшаем размер текста */
        color: #5750DA;
        font-weight: 700;
        margin-left: auto;
    }

    .x-promo .label {
        font-size: 1rem;  /* Уменьшаем размер текста */
        border-color: #8E50DA;
        color: #8E50DA;
    }

    /* Обновления для .feature2 */
    .feature2 {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(40, 40, 40, 0.7);
        border: 0.5px solid rgba(33, 33, 33, 0.6);
        padding: 0.625rem;  /* Уменьшаем отступы */
        font-size: 1rem;  /* Уменьшаем шрифт */
        border-radius: 0.5rem;
        margin-bottom: 0.5rem; /* Уменьшаем отступ снизу */
        font-weight: 600;
        color: #5750DA;
    }

    /* Обновления для .plan.x-plus и .plan.x-pro */
    .plan.x-plus .discount, .plan.x-pro .discount {
        position: absolute;
        top: -1rem;
        right: 0.625rem;
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
        font-size: 1.125rem;
        font-weight: 700;
        background: linear-gradient(to right, #5750DA, #8E50DA);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .container-features {
        max-width: 90%;  /* Уменьшаем максимальную ширину для мобильных */
        padding: 2rem 0;  /* Уменьшаем отступы */
        flex-direction: column;  /* Изменяем направление на вертикальное */
        align-items: center;  /* Центрируем элементы */
        margin: 0 auto;
    }

    /* Сияющие круги */
    .glow4, .glow5 {
        width: 10rem;  /* Уменьшаем размер кругов */
        height: 10rem;
        filter: blur(5rem);  /* Уменьшаем размытие */
    }

    .glow4 {
        top: 25%;
        left: 15%;
    }

    .glow5 {
        top: 60%;
        left: 55%;
    }

    /* Заголовок */
    .container-features h1 {
        font-size: 1.75rem;  /* Уменьшаем размер заголовка */
        margin-bottom: 1.5rem;  /* Уменьшаем отступ снизу */
    }

    /* Обертка для элементов */
    .features-wrapper {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;  /* Уменьшаем расстояние между блоками */
        min-width: 12rem;  /* Уменьшаем минимальную ширину */
    }

    .features-wrapper p {
        font-size: 0.875rem;  /* Уменьшаем размер шрифта */
    }

    /* Блоки с контентом */
    .blue-box, .gray-box {
        width: 20rem;  /* Уменьшаем ширину блоков */
        height: 10rem;  /* Уменьшаем высоту блоков */
        padding: 1rem;  /* Уменьшаем отступы */
        font-size: 0.875rem;  /* Уменьшаем размер шрифта */
        border-radius: 1rem;  /* Уменьшаем радиус */
        backdrop-filter: blur(1rem);  /* Уменьшаем размытие */
        z-index: 1;
        transition: 0.2s ease;
    }

    .gray-box:hover,
    .blue-box:hover {
        transform: scale(1.05);  /* Уменьшаем масштаб при наведении */
        transition: 0.2s ease;
    }

    .gray-box {
        border: 1px solid rgba(33, 33, 33, 0.62);
        background: rgba(33, 33, 33, 0.2);
    }

    /* Заголовок для блоков */
    .box-title {
        color: #5750DA;
        font-size: 1.25rem;  /* Уменьшаем размер заголовка */
        font-weight: 700;
        margin-bottom: 0.5rem;  /* Уменьшаем отступ снизу */
    }

    .blue-box {
        position: relative;
        border: 1px solid rgba(87, 80, 218, 0.62);
        background: linear-gradient(to bottom, rgba(87, 80, 218, 0.2), rgba(46, 43, 116, 0.2));
    }

    /* Уникальные изображения для каждого блока */
    .blue-box-1::after,
    .blue-box-2::after,
    .blue-box-3::after {
        width: 12rem;  /* Уменьшаем ширину */
        height: 12rem;  /* Уменьшаем высоту */
        opacity: 0.8;
    }

    .blue-box-1::after {
        bottom: -2rem;
        right: 0rem;
        background-size: cover;
        max-width: 120px;
    }

    .blue-box-2::after {
        bottom: -1rem;
        right: 0;
        background-size: cover;
    }

    .blue-box-3::after {
        bottom: -1rem;
        right: 0;
        background-size: cover;
    }

    .blue-box * {
        position: relative;  /* Чтобы текст оставался над картинкой */
        z-index: 1;
    }

    .help-section {
        max-width: 90%;  /* Уменьшаем максимальную ширину */
        padding: 1.5rem;  /* Уменьшаем отступы */
        max-height: 35rem;
        top: 3rem;  /* Уменьшаем отступ сверху */
        flex-direction: column;  /* Изменяем направление для мобильных устройств */
        align-items: center;  /* Центрируем контент */
    }

    .support {
        flex-direction: column;  /* Элементы будут выстраиваться по вертикали */
        align-items: center;
        justify-content: center;
        gap: 1.25rem;  /* Увеличиваем отступы между элементами */
    }

    /* Текстовая секция */
    .text-content {
        max-width: 90%;
        bottom: 0rem;
        left: 0;
        text-align: center;
        letter-spacing: normal;
        top: 2rem;
    }

    .text-content h2 {
        font-size: 1.5rem;  /* Уменьшаем размер заголовка */
        margin-bottom: 1rem;  /* Уменьшаем отступ снизу */
    }

    .text-content p {
        font-size: 1rem;  /* Уменьшаем размер текста */
        margin-bottom: 1rem;  /* Уменьшаем отступ снизу */
    }

    .support-btn {
        padding: 0.5rem 1rem;  /* Уменьшаем отступы внутри кнопки */
        font-size: 1rem;  /* Уменьшаем размер шрифта */
    }

    /* Изображение */
    .image-content {
        max-width: 100%;  /* Уменьшаем ширину изображения */
        text-align: center;  /* Центрируем изображение */
        margin-top: 4rem;
    }

    .image-content img {
        max-width: 16rem;  /* Уменьшаем максимальную ширину изображения */
        width: 100%;
        height: auto;
        bottom: 2rem;
    }

    /* Сияние */
    .glow {
        width: 8rem;  /* Уменьшаем размеры для мобильных */
        height: 8rem;
        filter: blur(3.125rem);  /* Уменьшаем размытие */
    }

    .glow-purple {
        width: 10rem;  /* Уменьшаем размеры */
        height: 10rem;
        top: 10%;
        left: 5%;
    }

    .glow-blue {
        width: 4rem;
        height: 4rem;
        top: 85%;
        left: 30%;
    }

    .glow-purple2 {
        width: 4rem;
        height: 4rem;
        top: 80%;
        left: 70%;
    }
}

#reviews {
    font-family: 'Montserrat', sans-serif;
    padding: 2rem 0; /* Верхний и нижний отступ */
    max-width: 60rem; /* Максимальная ширина блока */
    margin: 0 auto;
    text-align: center;
}

#reviews h2 {
    font-size: 2rem; /* 32px */
    font-weight: bold;
    color: #5750DA; /* Цвет заголовка */
    margin-bottom: 2rem; /* Отступ снизу */
}

/* Стили для блока с отзывом */
.review {
    background: rgba(33, 33, 33, 1);
    padding: 1rem; /* Внутренний отступ */
    border-radius: 8px; /* Округление углов */
    margin: 1rem 0; /* Отступы между отзывами */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень для добавления глубины */
}

/* Стили для имени автора */
.review-author {
    font-size: 1.25rem; /* 20px */
    font-weight: bold;
    color: #5750DA; /* Темный цвет для имени */
    margin-bottom: 0.5rem; /* Отступ снизу */
}

/* Стили для блока с рейтингом */
.review-rating {
    font-size: 1.5rem; /* 24px */
    margin-bottom: 1rem; /* Отступ снизу */
}

.rating-star {
    color: #5750DA; /* Цвет заполненных звезд */
}

/* Стили для текста отзыва */
.review-text {
    font-size: 1rem; /* 16px */
    color: #bdbdbd; /* Светлый текст */
    line-height: 1.5;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    #reviews {
        padding: 1rem;
    }

    .review {
        padding: 1rem;
    }

    .review-author {
        font-size: 1.125rem; /* 18px */
    }

    .review-text {
        font-size: 0.875rem; /* 14px */
    }
}