.how-it-works-page {
  padding: 50px 100px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: radial-gradient(
      circle at top left,
      rgba(0, 0, 0, 0.5) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0, 0, 0, 0.5) 0%,
      transparent 40%
    ),
    linear-gradient(180deg, #2687f1 0%, #0f74e0 100%);
  max-width: 720px;
}

@media screen and (max-width: 1440px) {
  .how-it-works-page {
    border-radius: 32px 0 0 32px;
  }
}

.how-it-works-page > .h4 {
  color: var(--white1);
}

.explanation-step {
  display: flex;
  gap: 12px;
  background-color: #1f6fcb;
  border-radius: 8px;
  padding: 16px;
}

.explanation-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--white1);
}

.white-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-it-works-section-container {
  margin-top: 50px;
  margin-bottom: 79px;
}

.how-it-works-section-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  transition: gap 0.4s ease;
}

.how-it-works-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1 0 0;
  padding: 24px 32px;
  border-radius: 16px;
  border: 1px solid var(--border1, #e6edf6);
  background: var(--white1, #fff);
  transition: background-color 0.4s ease, border-color 0.4s ease,
    padding 0.4s ease, gap 0.4s ease;
}

.how-it-works-card:hover {
  border: 1px solid var(--blue1, #0072ee);
  background: var(--blue2, #f2f8fe);
}

.how-it-works-card:last-child {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
}

.how-it-works-card__icon {
  display: flex;
  width: 50px;
  height: 50px;
  padding: 6.944px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13.889px;
  border-radius: 137.5px;
  background: var(--blue1, #0072ee);
  color: #fff;
}
.how-it-works-card__icon img,
.how-it-works-card__icon svg {
  width: 30.556px;
  height: 30.556px;
  flex-shrink: 0;
}

.how-it-works-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  transition: gap 0.4s ease;
}

.how-it-works-card:last-child .how-it-works-card__desc {
  max-width: 500px;
}

.how-it-works-card:last-child::after {
  content: "";
  position: absolute;
  right: -205px;
  bottom: -178px;
  width: 335px;
  height: 335px;
  border-radius: 50%;
  background: var(--blue1, #0072ee);
  -webkit-filter: blur(100px);
  filter: blur(100px);
  z-index: 0;
}

.stat-number {
  color: var(--blue1);
}

/* Why choose us section */
.why-choose-us-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 29px 100px;
}

.why-choose-us-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  width: 100%;
}

.why-choose-us-stats {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  width: 100%;
}

.stat-item {
  display: flex;
  padding: 16px 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1 0 0;
}

.stat-divider {
  width: 1px;
  height: 100px;
  background: var(--border1, #e6edf6);
}

/* Faq section */
.faq-and-help-parts-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.faq-questions-wrapper {
  width: 700px;
}

.faq-section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: gap 0.4s ease;
}
.faq-item {
  border: 1px solid var(--border1);
  padding: 14px 16px;
  border-radius: 8px;
  transition: border-color 0.4s ease;
}
.faq-item:hover {
  border-color: var(--blue1);
}
.faq-item.open {
  border-color: var(--blue1);
}
.faq-item.open .faq-question {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  font-family: "OpenSans";
  margin-bottom: 12px;
}
.faq-item .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-item .faq-question::after {
  content: "";
  background-image: url(../../icons/plus_silver.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
  display: block;
}
.faq-item.open .faq-question::after {
  background-image: url(../../icons/minus_blue.svg);
}
.faq-item .faq-answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item .faq-answer p {
  display: flex;
  gap: 8px;
  align-items: center;
}
.faq-item .faq-answer p img {
  height: 14px;
  width: 14px;
}
.faq-item .faq-answer ul li {
  list-style: disc;
  margin-left: 20px;
}
.faq-item .faq-answer ul li::marker {
  font-size: 8px;
}
.faq-item .faq-answer table {
  border: none;
  width: 100%;
  table-layout: fixed;
}
.faq-item .faq-answer table td {
  padding: 12px;
  border: none;
}
.faq-item .faq-answer table tbody tr:first-child {
  color: var(--white1);
  background: var(--blue1);
  border-bottom: none;
}
.faq-item .faq-answer table tr td {
  border-bottom: 1px solid var(--border1);
}

/* Faq help part */
.faq-help-part {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.how-it-works-version {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 24px;
  column-gap: 24px;
  row-gap: 12px;
  justify-content: center;
}
.faq-help-part .faq-help-inner a {
  display: flex;
  gap: 10px;
  color: var(--grey1);
  transition: color 0.4s ease;
}
.faq-help-part .faq-help-inner a:hover {
  color: var(--blue1);
}

.faq-help-hide {
  display: inline;
}
.faq-help-show {
  display: inline;
}

/* Responsive */
/* Faq section */
@media (max-width: 1440px) {
  .faq-section .how-it-works-page {
    border-radius: 30px 0 0 30px;
  }
}

@media (max-width: 1371px) {
  .why-choose-us-container {
    padding: 29px 0px;
  }
}

@media (max-width: 1173px) {
  .why-choose-us-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat-divider {
    width: 318px;
    height: 1px;
  }
}

/* Faq section */
@media (max-width: 1050px) {
  .faq-section {
    padding: 70px 0 0;
  }
  .faq-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-left-part .h2 {
    margin-bottom: 12px;
  }
  .faq-left-part .faq-left-decription {
    margin-bottom: 12px;
  }
  .faq-left-part .faq-left-list {
    margin-bottom: 32px;
  }
  .faq-section .how-it-works-page {
    margin-right: -100px;
    margin-left: -100px;
    border-radius: unset;
    padding: 70px 100px;
  }
}

/* How it works cards components */
@media (max-width: 900px) {
  .how-it-works-card:last-child {
    grid-column: unset;
  }

  .how-it-works-card:last-child::after {
    right: -235px;
    top: -247px;
  }

  .how-it-works-card__icon img,
  .how-it-works-card__icon svg {
    width: 24.444px;
    height: 24.444px;
  }

  .how-it-works-card__icon {
    width: 40px;
    height: 40px;
    padding: 5.556px 0;
    gap: 11.111px;
  }
}

@media (max-width: 768px) {
  .faq-list {
    gap: 8px;
  }
  .faq-item.open .faq-question {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    font-family: "OpenSans";
    margin-bottom: 8px;
  }
  .faq-section .how-it-works-page {
    margin-left: -20px;
    margin-right: -20px;
    padding: 32px 16px;
  }

  .faq-and-help-parts-wrapper,
  .faq-questions-wrapper {
    width: 100%;
  }

  .faq-and-help-parts-wrapper {
    gap: 32px;
    align-items: flex-start;
  }

  .faq-section-title {
    margin-bottom: 16px;
  }

  .stat-item {
    gap: 12px;
  }

  .why-choose-us-stats {
    margin-top: 24px;
  }

  .why-choose-us-wrapper {
    padding: 0;
  }

  .faq-help-hide {
    display: none;
  }

  .faq-help-show {
    display: flex;
    flex-direction: column;
  }

  .faq-help-part {
    align-items: flex-start;
  }

  .how-it-works-section-container {
    margin-top: 30px;
    margin-bottom: 75px;
  }
  .how-it-works-section-cards-wrapper {
    gap: 16px;
  }
  .explanation-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .explanation-summary {
    gap: 8px;
  }
  .how-it-works-card {
    padding: 24px;
    gap: 12px;
  }
  .how-it-works-card__content {
    gap: 8px;
  }
}
