html, body {
  background-color: #F8F8FF;
  font-family: ZalandoSans, sans-serif;
}
.container {
  max-width: 1090px;
  width: 100%;
  margin: 0 auto;
}
.btn-purple {
  background-color: #6C5CE7;
  color: #FFF;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  border-radius: 32px;
  transition: .3s ease-out;
}
.btn-purple:hover {
  background-color: #9D91FF;
}
.btn-purple:active {
  background-color: #201F25;
}
.btn-black {
  background-color: #201F25;
  color: #FFF;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  border-radius: 32px;
  transition: .3s ease-out;
}
.btn-black:hover {
  background-color: #4A4953;
}
.btn-black:active {
  background-color: #000000;
}

/* ============================================== */

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 98px;
}
.header img {
  height: 34px;
  width: auto;
  display: inline-block;
}
footer {
  background-color: #201F25;
  height: 152px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
footer p {
  color: #FFFFFF;
  opacity: 0.5;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
}
footer img {
  height: 34px;
  width: auto;
  display: inline-block;
}

.wrapper {
  background: url(../img/background.jpg);
  background-position: center -160px;
  background-repeat: no-repeat;
}

/* header section */

.header-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 32px;
}
h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 140%;
  text-align: center;
  color: #201F25;
}
h1 span {
  color: #6C5CE7;
}
.subtitle {
  color: #4E4B67;
  font-size: 18px;
  line-height: 400;
  text-align: center;
  line-height: 140%;
}
.input-block {
  box-shadow: 0px 4px 24px 0px #6C5CE729;
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 176px;
  border-radius: 32px;
  width: 504px;
  height: 57px;
  overflow: hidden;
}
.input-block .btn-purple, .input-block .btn-black {
  height: 100%;
  width: 100%;
}
.input-block input {
  margin-left: 24px;
  color: #A6A6A6;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  padding-right: 8px;
}
.video-block {
  width: 100%;
  height: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0px 2.77px 16.65px 0px #6C5CE729;
}
.video-block img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* product-section */

.product-section {
  margin: 124px 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 140%;
  text-align: center;
  color: #201F25;
}
h2 span {
  color: #6C5CE7;
}
.product-section__block {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.text-side {
  gap: 16px;
  display: flex;
  flex-direction: column;
  width: 40%;
}
.text-side p {
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  color: #201F25;
}
.text-side span {
  color: #4E4B67;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
}
.img-side {
  width: 60%;
}
.img-side img {
  width: 100%;
  height: auto;
}

/* faq-section */

.faq-section {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}
.accordeon-wrap {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.accorderon-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.accordeon-trigger {
  width: 100%;
  font-weight: 500;
  font-size: 24px;
  color: #201F25;
  line-height: 140%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plus {
  display: block;
  width: 32px;
  height: 32px;
  position: relative;
}
.plus::after, .plus::before {
  position: absolute;
  width: 16px;
  height: 2px;
  background-color: #6C5CE7;
  content: "";
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.plus::before {
  height: 16px;
  width: 2px;
}
.accorderon-item.active .plus::before {
  transform: translate(-50%, -50%) rotate(90deg);
}
.accordeon-content {
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #4E4B67;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.accorderon-item.active .accordeon-content {
  max-height: 200px;
  opacity: 1;
}

/* banner-section */

.banner-section {
  width: 100%;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  z-index: 1;
  height: 368px;
  margin: 124px 0;
}
.banner-content {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 23px;
  position: absolute;
  z-index: 2;
  margin-left: 88px;
  height: 100%;
}
.banner-content h2 {
  color: #FFF;
  z-index: 2;
  text-align: left;
  max-width: 650px;
}
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.banner-img {
  z-index: 2;
  position: absolute;
  bottom: 0;
  right: 0;
}

@media (max-width: 1120px) {
  .container {
  max-width: 100%;
  width: 100%;
  padding: 0 24px;
  }
  .banner-content {
  margin-left: 60px;
  }
  .header-section {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (max-width: 990px) {
  .banner-content {
    margin-left: 40px;
}
  .banner-img {
    max-width: 303px;
  }
  .banner-content .input-block {
    width: 456px;
  }
}
@media (max-width: 870px) {
  .banner-content h2 {
    max-width: 100%;
  }
  .banner-content {
    justify-content: start;
    padding: 24px;
    margin-left: 0;
  }
  .banner-section, .banner-bg {
    height: 440px;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
}
@media (max-width: 570px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  .input-block, .banner-content .input-block {
    background: transparent;
    flex-direction: column;
    gap: 8px;
    display: flex;
    width: 100%;
    height: fit-content;
    border-radius: 0;
    box-shadow: none;
  }
  .input-block .btn-black, .input-block .btn-purple, .input-block input {
    height: 57px;
  }
  .input-block input {
    margin: 0;
    width: 100%;
    border-radius: 32px;
    padding: 16px;
    text-align: center;
  }
  .banner-section, .banner-bg {
    height: 533px;
  }
  .product-section__block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .img-side, .text-side {
    width: 100%;
  }
  .img-side {
    order: 1;
  }
  .text-side p {
    font-size: 20px;
  }
  .text-side span {
    font-size: 18px;
  }
  .product-section {
    gap: 32px;
  }
  .header-section {
    gap: 16px;
  }
  .product-section, .banner-section {
    margin: 64px 0;
  }
  .header-section {
    padding: 24px 0;
  }
  .accordeon-trigger {
    font-size: 20px;
    text-align: left;
  }
  .wrapper {
    background-position: center -450px;
  }
  .header {
    height: 82px;
  }
  footer {
    margin: 0 24px;
  }
}