.header {
  margin: 0 auto;
  height: auto;
}
.header__navigation {
  padding: 40px 0 40px;
}
@media screen and (max-width: 780px) {
  .header__navigation {
    display: none;
  }
}
.header__navigation-list {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
@media screen and (max-width: 1080px) {
  .header__navigation-list {
    gap: 30px;
  }
}
.header__navigation-item {
  font-size: 18px;
  color: white;
}
@media screen and (max-width: 1080px) {
  .header__navigation-item {
    font-size: 15px;
  }
}

.main-navigation:hover {
  background-color: white;
  width: 110px;
  height: 110px;
  backdrop-filter: blur(100px);
  border-radius: 50%;
}

.header-other-container {
    width: 80%;
    margin: 20px auto;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: start;
}

@media screen and (min-width: 915px) {
  .header-other-container {
    padding-bottom: 200px;
  }
}

@media screen and (max-width: 915px) {
  .header-other-container {
    padding-bottom: 0;
  }
}

.header-other-left {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.header__title {
  /* margin: 0 auto; */
  padding-bottom: 10px;
  font-size: 50px;
    text-align: left;

}
@media screen and (max-width: 1080px) {
  .header__title {
    font-size: 46px;
  }
}
@media screen and (max-width: 780px) {
  .header__title {
    font-size: 42px;
    padding: 80px 50px;
  }
}
@media screen and (max-width: 480px) {
  .header__title {
    font-size: 30px;
    padding: 60px 40px;
  }
}
.ai-img {
  display: block;
  margin: 0 auto;
  width: 400px;
  height: 400px;
}
@media screen and (max-width: 780px) {
.ai-img {
    width: 300px; 
    height: 300px; 
  }
}
@media screen and (max-width: 480px) {
.ai-img {
    width: 200px; 
    height: 200px;
  }
}
.header__description {
  max-width: 688px;
  margin: 0 auto;
  padding: 10px 0;
  font-size: 30px;
  text-align: left;
}
@media screen and (max-width: 780px) {
  .header__description {
    font-size: 26px;
    padding: 10px 50px;
  }
}
@media screen and (max-width: 480px) {
  .header__description {
    font-size: 18px;
    padding: 20px 10px;
  }
}

.ai-head-section {
    max-width: 100%;
    top:0;
    height: 100%;
}

@media screen and (min-width: 1370px) {
    .ai-head-section {
        right: -15%;
        position: absolute;
    }
}

@media screen and (min-width: 1080px) and (max-width: 1370px) {
    .ai-head-section {
        right: -50%;
        position: absolute;
    }
}

@media screen and (min-width: 900px) and (max-width: 1100px) {
    .ai-head-section {
        right: -70%;
        position: absolute;
    }
}

@media screen and (min-width: 915px) and (max-width: 900px) {
    .ai-head-section {
        right: -90%;
        position: absolute;
    }
}

@media screen and (max-width: 915px) {
    .ai-head-section {
        position: relative;
        right: 0;
    }
}

  /* Бургер-меню - мобильная версия */
  .burger-btn {
      display: none;
      position: fixed;
      top: 30px;
      right: 30px;
      width: 40px;
      height: 30px;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      z-index: 1001;
      background: transparent;
      border: none;
  }
  
  .burger-line {
      width: 100%;
      height: 4px;
      background: white;
      transition: all 0.3s;
  }
  
  .mobile-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.2);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
  }
  
  .mobile-nav.active {
      opacity: 1;
      visibility: visible;
  }
  
  .mobile-nav-list {
      list-style: none;
      text-align: center;
  }
  
  .mobile-nav-item {
      margin: 25px 0;
      transform: translateY(20px);
      opacity: 0;
      transition: all 0.3s;
  }
  
  .mobile-nav.active .mobile-nav-item {
      transform: translateY(0);
      opacity: 1;
  }
  
  .mobile-nav-item a {
      color: white;
      text-decoration: none;
      font-size: 24px;
      transition: color 0.3s;
      padding: 10px 20px;
      display: inline-block;
  }
  
  .mobile-nav-item a:hover {
      color: #D81696;
  }
  
  /* Анимация бургера */
  .burger-btn.active .burger-line:nth-child(1) {
      transform: translateY(13px) rotate(45deg);
  }
  
  .burger-btn.active .burger-line:nth-child(2) {
      opacity: 0;
  }
  
  .burger-btn.active .burger-line:nth-child(3) {
      transform: translateY(-13px) rotate(-45deg);
  }
  
  /* Медиазапросы */
  @media (max-width: 780px) {
      /* .header__navigation {
          display: none;
      } */
      
      .burger-btn {
          display: flex;
      }
      
      /* Задержка для анимации пунктов меню */
      .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
      .mobile-nav-item:nth-child(2) { transition-delay: 0.2s; }
      .mobile-nav-item:nth-child(3) { transition-delay: 0.3s; }
      .mobile-nav-item:nth-child(4) { transition-delay: 0.4s; }
      .mobile-nav-item:nth-child(5) { transition-delay: 0.5s; }
      
  }
  
  @media (max-width: 480px) {
    .burger-btn {
        top: 20px;
        right: 20px;
        width: 35px;
        height: 25px;
    }

    .mobile-nav-item a {
        font-size: 20px;
    }
  }


.main:before {
  background: url(../img/logo-300.svg);
  background-repeat: no-repeat;
    background-position: center;
  background-size: 60%;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: -1;
}


@media screen and (max-width: 1400px) {
  .main:before {
    background-size: 75%;
  }
}
@media screen and (max-width: 1080px) {
  .main:before {
    background-size: 90%;
  }
}
@media screen and (max-width: 780px) {
  .main:before {
    background-size: 110%;
  }
}
@media screen and (max-width: 480px) {
  .main:before {
    background-size: 110%;
  }
}




/* ОПИСАНИЕ */
.section__information {
  margin: 0 auto;
  padding-bottom: 150px;
}
.section__information-description {
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
  font-size: 30px;
  backdrop-filter: blur(10px);
  margin-top: 60px;
  margin-bottom: 100px;
}
.ai_information__wrapper {
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  padding-bottom: 40px;
  border-radius: 50px;
}
.information__wrapper-title {
  font-size: 26px;
  text-align: center;
  padding: 50px 0 80px;
}
.information-advantages__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.information-advantages__items {
  width: 250px;
  margin: 0 auto;
  font-size: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid white;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding-bottom: 10px;
}
.information-advantages__items:hover {
    border: 3px solid white;

}
.advantages__item {
  padding: 40px;
}



/* ПРЕИМУЩЕСТВА */
.section__advantages {
  margin: 0 auto;
  padding: 50px 0;
  background-color: #000;
}
.section__advantages-title {
  margin: 0 auto;
  font-size: 50px;
}
.section__advantages-wrapper {
  margin: 0 auto;
}
.section__advantages-items {
  margin: 0 auto 50px;
}
@media screen and (max-width: 780px) {
  .section__advantages-items {
    margin: 0 auto 30px;
  }
}
.advantages-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 1080px) {
.advantages-item {
  flex-wrap: wrap;
  text-align: center;
  padding: 0 10px;
  }
}
@media screen and (max-width: 780px) {
.advantages-item {
  flex-wrap: wrap;
  text-align: center;
  padding: 0 10px;
  }
}
.advantages-item-btn {
  width: 520px;
  background-color: #D81696;
  padding: 20px 50px;
  border: 1px solid white;
  border-radius: 50px;
  font-size: 26px;
}
@media screen and (max-width: 780px) {
.advantages-item-btn {
  font-size: 20px;
  }
}
.advantages-item-btn:hover { 
  background-image: linear-gradient(-90deg, #D81696, #4995BC);
}
.advantages-item-description {
  font-size: 18px;
  width: 500px;
  font-weight: 400;
}
@media screen and (max-width: 780px) {
.advantages-item-description {
  font-size: 16px;
  }
}




/* УЗНАТЬ СТОИМОСТЬ */
.section__price {
  padding: 50px 0 0 0;
  margin: 0 auto;
  background-color: #000;
  padding-bottom: 60px;
}
.section__price-title {
  margin: 0 auto 50px;
  font-size: 60px;
  background-image: linear-gradient(to right, #ff7af4 0%, #5de7ff 100%);
  /* обрезаем фон по тексту */
  -webkit-background-clip: text;
  /* меняет цвет текста заголовка на прозрачный что бы можно было увидеть градиент*/
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-weight: 700;
}
@media screen and (max-width: 780px) {
  .section__price-title {
    font-size: 40px;
  }
}
@media screen and (max-width: 480px) {
  .section__price-title {
    font-size: 30px;
  }
}
.price__form {
  margin: 0 auto;
}
.requiredField {
  display: block;
  margin: 0 auto 50px;
  width: 600px;
  border-bottom: 2px solid white;
  text-align: center;
  color: white;
}
@media screen and (max-width: 780px) {
  .requiredField {
    font-size: 20px;
    width: 300px;
  }
}
@media screen and (max-width: 480px) {
  .requiredField {
    font-size: 14px;
    width: 200px;
  }
}

.price__form-btn {
  display: block;
  margin: 20px auto;
  padding: 25px 95px;
  font-size: 18px;
  font-weight: 500;
  background-color: #D81696;
  border-radius: 50px;
  text-align: center;
}
@media screen and (max-width: 780px) {
  .price__form-btn {
    padding: 20px 60px;
  }
}
@media screen and (max-width: 480px) {
  .price__form-btn {
    padding: 10px 10px;
    font-size: 14px;
  }
}

#backToTopBtn {
    display: none; /* Скрываем кнопку по умолчанию */
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #000000;
    cursor: pointer;
    z-index: 99;
    transition: opacity 0.3s, background-color 0.3s;
}
#backToTopBtn:hover {
    background-color: #ffffff;
}

@media screen and (max-width: 1080px) {
    #backToTopBtn {
        width: 100px;
        height: 100px;
    }
}
@media screen and (max-width: 780px) {
    #backToTopBtn {
        width: 80px;
        height: 80px;
    }
}
@media screen and (max-width: 480px) {
    #backToTopBtn {
        width: 50px;
        height: 50px;
    }
}


@media screen and (max-width: 780px) {
  #backToTopBtn {
  bottom: 30px;
  right: 30px;
  }
}
@media screen and (max-width: 480px) {
  #backToTopBtn {
  bottom: 20px;
  right: 20px;
  }
}

@keyframes head-animation {
    0% {
        stroke-dasharray: 700 0;
        stroke-dashoffset: 500;
    }
    10% {
        stroke-dasharray: 200 500;
        stroke-dashoffset: 100;
    }
    50% {
        stroke-dasharray: 400 300;
        stroke-dashoffset: 200;
    }
    50% {
        stroke-dasharray: 500 200;
        stroke-dashoffset: 500;
    }
    75% {
        stroke-dasharray: 200 500;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 700 0;
        stroke-dashoffset: 500;
    }
}

.ai-head-svg {
    animation: head-animation 20s ease-in-out infinite;
    animation-play-state: running;
}