:root {
  --text-color: #000000;
  --secondary-color: #6F86D6;
  --button-color: #4E69C3;
}

* {
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background: radial-gradient(circle, #FAFAFA 0%, #EBEFFE 100%);
  font-family: "Roboto", sans-serif;
}

.container {
  margin: 0 auto;
  padding: 0 25px;
  max-width: 1520px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, var(--button-color) 0%, var(--secondary-color) 100%);
  margin-top: 40px;
  margin-bottom: 50px;
  padding: 22px 50px;
  border-radius: 40px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.header-aside {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header__button {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  padding: 10px 25px;
  border: 2px solid #fff;
  border-radius: 40px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;

  img {
    height: 20px;
  }
}

.description {
  display: flex;
  background-color: #fff;
  border-radius: 50px;
  padding: 25px 60px 35px 50px;
  margin-bottom: 50px;
}

.description__demo {
  margin: 0 auto;
}

.description__title {
  max-width: 833px;
  font-size: clamp(30px, 6vw, 80px);
  font-weight: 500;

  h1 {
    display: inline;
  }
}

.description__title_bold {
  font-weight: 600;
}

.description__text {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.description__paragraph {
  max-width: 749px;
  font-size: clamp(18px, 2vw, 30px);
  line-height: clamp(23px, 3vw, 42px);
}

.description__button {
  margin-top: auto;
  max-width: 460px;
  font-size: 26px;
  font-weight: 500;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 200px;
  background-color: var(--button-color);
  color: #fff;
  padding: 18px;
  cursor: pointer;
}

.button_outlined {
  border: 3px solid #4E69C3;
  background-color: #fff;
  color: #4E69C3;
}

.partners {
  margin-bottom: 70px;
}

.partners__heading {
  max-width: 620px;
  font-size: clamp(30px, 4.7vw, 70px);
  font-weight: 600;
  margin: 0 auto 70px;
  text-align: center;
}

.partners__content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: #fff;
  overflow: hidden;
}

.partners__block {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.partners__title {
  font-size: clamp(25px, 2.7vw, 40px);
  font-weight: 600;
  margin-bottom: 10px;
}

.partners__caption {
  font-size: clamp(15px, 1.35vw, 20px);
  color: var(--secondary-color);
  text-align: center;
}

.integration {
  margin-bottom: 100px;
}

.integration__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.integration__title {
  font-size: clamp(30px, 4.7vw, 70px);
  font-weight: 600;
  margin-bottom: 70px;
  text-align: center;
}

.integration__code {
  img {
    width: clamp(320px, 60vw, 914px);
  }
}

.integration__info {
  max-width: 418px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.integration__text {
  text-align: right;
  margin-bottom: 20px;
  font-size: clamp(15px, 1.65vw, 25px);
  font-weight: 500;
  line-height: 130%;
}

.integration__button {
  font-size: clamp(15px, 1.65vw, 25px);
  font-weight: 500;
}

.advantages {
  margin-bottom: 100px;
}

.advantages__heading {
  font-size: clamp(30px, 4.7vw, 70px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 70px;
}

.advantages__container {
  background: linear-gradient(to right, #4E69C3 0%, #6F86D6 100%);
  padding: 70px 0;
}

.advantages__list {
  display: flex;
  gap: 90px;
  flex-wrap: wrap;
  justify-content: center;
}

.advantages__item {
  max-width: 414px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.advantages__title {
  font-size: 27px;
  font-weight: 600;
  color: #fff;
}

.advantages__description {
  font-size: 23px;
  color: #fff;
}

.advantages__image {
  height: 70px;
}

.faq {
  margin-bottom: 70px;
}

.faq__heading {
  font-size: clamp(30px, 4.7vw, 70px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 70px;
}

.faq__content {
  background-color: #fff;
  border-radius: 50px;
  padding: 50px;
}

.faq__accordions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.begin {
  margin-bottom: 50px;
}

.begin__heading {
  font-size: clamp(23px, 3.3vw, 50px);
  font-weight: 600;
  margin-bottom: 50px;
  text-align: center;
}

.begin__button {
  width: 100%;
  max-width: 510px;
  font-size: 36px;
  font-weight: 500;
  margin: 0 auto;
}

.footer {
  padding: 40px 0;
  background: linear-gradient(to right, var(--button-color) 0%, var(--secondary-color) 100%);
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 15px;

  img {
    width: 195px;
  }
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;

  img {
    width: auto;
    cursor: pointer;
  }
}

.footer__caption {
  font-size: 20px;
  color: #fff;
  opacity: 0.7;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__heading {
  font-size: 30px;
  font-weight: 600;
  color: #fff;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #fff;

  img {
    width: 23px;
  }

  a {
    color: #fff;
  }
}

.footer__telegram {
  text-decoration: none;
}

.accordion {
  width: 100%;
}

.accordion-item {
  border: 3px solid #506BC5;
  border-radius: 30px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: clamp(15px, 2.5vw, 30px);
  font-weight: 600;
  background-color: #fff;
  padding: 0;
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding: 0 30px 15px;
  margin: 0;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-wrapper {
  display: flex;
  align-items: center;
  padding: 15px 30px;
}

.phone-container {
  position: relative;
  width: 330px;
  height: 666px;
}

.phone-template {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.screen-area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 87%;
  height: 94%;
  z-index: 100;
  overflow: hidden;
  background-color: #000;
  border-radius: 44px;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.screen-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.screen-image.active {
  opacity: 1;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--button-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.prev {
  left: -80px;
}

.next {
  right: -80px;
}

.language-selector {
  position: relative;
  display: inline-block;
  width: 69px;
}

.language-selector select {
  width: 100%;
  padding: 8px;
  font: inherit;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.language-selector .chevron-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  height: 8px;
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .header {
    img {
      width: 160px;
    }

    padding: 17px 36px;
  }

  .description__button {
    font-size: 20px;
  }
}

@media (max-width: 1395px) {
  .description__demo {
    margin: 0 30px 0 70px;
  }
}

@media (max-width: 992px) {
  .header {
    margin-bottom: 25px;
  }

  .description {
    flex-direction: column;
    padding: 20px;
    margin-bottom: 35px;
    align-items: center;
  }

  .description__title {
    text-align: center;
  }

  .description__paragraph {
    max-width: unset;
    text-align: center;
  }

  .description__text {
    gap: 25px;
  }

  .description__button {
    width: 100%;
    max-width: unset;
  }

  .partners__heading {
    margin-bottom: 25px;
  }

  .partners__content {
    padding-top: 30px;
    padding-bottom: 40px;
    gap: 30px;
  }

  .partners__block {
    gap: 10px;

    img {
      height: 45px;
    }
  }

  .partners__title {
    margin-bottom: 5px;
  }

  .partners {
    margin-bottom: 40px;
  }

  .integration {
    margin-bottom: 30px;
  }

  .integration__title {
    margin-bottom: 25px;
  }

  .integration__text {
    text-align: center;
    margin-bottom: 5px;
  }

  .integration__info {
    gap: 10px;
  }

  .advantages {
    margin-bottom: 40px;
  }

  .advantages__container {
    padding: 35px 0;
  }

  .advantages__heading {
    margin-bottom: 20px;
  }

  .advantages__title {
    font-size: clamp(12px, 2vw, 27px);
  }

  .advantages__list {
    gap: 32px;
  }

  .advantages__description {
    font-size: clamp(12px, 2vw, 23px);
  }

  .advantages__item {
    max-width: 310px;
  }

  .advantages__image {
    height: 35px;
  }

  .faq {
    margin-bottom: 30px;
  }

  .faq__heading {
    margin-bottom: 20px;
  }

  .faq__content {
    padding: 20px;
    border-radius: 0;
  }

  .faq__container {
    max-width: unset;
    padding: 0;
  }

  .accordion-arrow {
    width: 20px;
  }

  .accordion-wrapper {
    padding: 12px 16px;
  }

  .accordion-content {
    p {
      padding: 0 12px 12px 24px;
    }
  }

  .begin {
    margin-bottom: 30px;
  }

  .begin__heading {
    margin-bottom: 25px;
  }

  .begin__button {
    font-size: 20px;
    max-width: 340px;
    padding: 14px;
  }

  .footer__wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .footer__info {
    align-items: center;
  }

  .footer__contacts {
    align-items: center;
  }

  .footer__links {
    align-items: center;
  }
}

@media (max-width: 798px) {
  .integration__content {
    flex-direction: column;
  }
}

@media (max-width: 705px) {
  .advantages__item {
    max-width: 150px;
  }
}

@media (max-width: 640px) {
  .description__demo {
    display: none;
  }
}

.swiper {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.swiper-slide img {
  width: 100%;
  height: 65px;
  object-fit: contain;
  display: block;
}
