/* #region HEADER SECTION */
.header {
  position: fixed;
  width: 100%;
  z-index: 10;
  padding-block: 24px 12px;
  transition:
    background 0.25s,
    backdrop-filter 0.25s;

  &.header--active {
    background: rgba(12, 15, 23, 0.1);
    backdrop-filter: blur(4px);
  }
}

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

.header__menu {
  display: flex;
  align-items: center;
  gap: 100px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  text-transform: capitalize;
}

.header__links--effect {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #edeff5;
    bottom: -4px;
    left: 0;
    transition: width 0.4s;
  }

  &:hover::before {
    width: 100%;
  }
}

.header__nav-link {
  svg {
    display: none;
    rotate: 270deg;
  }
}

.header__dropdown {
  position: relative;
  cursor: pointer;

  &::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 23px;
  }

  &:hover {
    .header__dropdown-btn {
      svg {
        rotate: 180deg;
      }
    }

    .header__dropdown-content {
      opacity: 1;
      visibility: visible;
      transform: translateY(23px);
      pointer-events: auto;

      .header__dropdown-link {
        animation: slideIn 0.4s ease forwards;

        &:nth-child(1) {
          animation-delay: 0.1s;
        }

        &:nth-child(2) {
          animation-delay: 0.2s;
        }

        &:nth-child(3) {
          animation-delay: 0.3s;
        }
      }
    }
  }
}

.header__dropdown-btn {
  color: #edeff5;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;

  svg {
    width: 16px;
    height: 16px;
    transition: rotate 0.3s;
  }
}

.header__dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;

  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
  border: 1px solid #3c4c7d;
  background: rgba(2, 13, 41, 0.1);
  backdrop-filter: blur(15px);
  min-width: 382px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-25px);
  transition: all 0.3s;
  pointer-events: none;
  z-index: 1000;
}

.header__dropdown-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #2c385d;
  background-color: #010b24;
  max-width: 362px;
  width: 100%;
  transition: all 0.3s;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-10px);

  &::before {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    width: 70px;
    height: 70px;
    top: 0px;
    right: -10px;
    transform: translateY(-50%);
  }

  &:nth-child(1) {
    background: url('/img/bg/dropdown-bg.webp') no-repeat center / cover #010b24;

    &::before {
      background-image: url('/img/icons/circle.svg');
      background-size: cover;
    }

    &:hover,
    &.active {
      background: url('/img/bg/dropdown-bg--1.webp') no-repeat center / cover
        #010b24;

      .header__dropdown-icon {
        &::before {
          opacity: 1;
          background: linear-gradient(315deg, #ff8a00 0%, #ffae4d 100%);
        }
      }
    }
  }

  &:nth-child(2) {
    background: url('/img/bg/dropdown-bg--2.webp') no-repeat center / cover
      #010b24;

    &::before {
      background-image: url('/img/icons/circle-1.svg');
      background-size: cover;
      z-index: 2;
    }

    &:hover,
    &.active {
      background: url('/img/bg/dropdown-bg--3.webp') no-repeat center / cover
        #010b24;

      .header__dropdown-icon {
        &::before {
          opacity: 1;
          background: radial-gradient(
            248.28% 248.28% at 163.08% -132.31%,
            #f7eee5 0%,
            #00f0ff 70.29%,
            #0d8ed6 100%
          );
        }
      }
    }
  }

  &:nth-child(3) {
    background: url('/img/bg/dropdown-bg--4.webp') no-repeat center / cover
      #010b24;

    &:hover,
    &.active {
      background: url('/img/bg/dropdown-bg--5.webp') no-repeat center / cover
        #010b24;

      .header__dropdown-icon {
        background-color: rgb(2, 102, 209, 0.8);
      }
    }
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header__dropdown-text {
  p {
    text-transform: capitalize;

    &:first-child {
      font-weight: 700;
      margin-bottom: 4px;
    }

    &:last-child {
      font-size: 12px;
    }
  }
}

.header__dropdown-icon {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5a637880;
  border-radius: 8px;
  width: 62px;
  height: 62px;
  z-index: 1;
  transition: background 0.3s;

  &::before {
    content: '';
    position: absolute;
    background: linear-gradient(315deg, #5a637880 0%, #5a637880 100%);
    inset: 0;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
  }

  img {
    width: 70%;
  }
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  border: 1px solid #445275;
  background: rgba(2, 13, 41, 0.1);
  backdrop-filter: blur(15px);
  width: 32px;
  height: 32px;
  padding: 6px;
  gap: 5px;
  cursor: pointer;

  span {
    display: block;
    width: 20px;
    height: 2px;
    position: relative;
    background: #edeff5;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition:
      transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      opacity 0.55s ease;
  }
}

.header__logo {
  z-index: 1;
}

@media (width <= 1200px) {
  .header__menu {
    gap: 32px;
  }
}

@media (width <= 768px) {
  .header {
    padding-block: 20px;
  }
  .header__logo {
    width: 138px;
  }

  .header__links--effect {
    &::before {
      display: none;
    }
  }

  .header__menu-btn {
    display: flex;

    &.active {
      span {
        &:nth-child(1) {
          transform: rotate(45deg) translate(4px, 0);
        }
        &:nth-child(2) {
          opacity: 0;
        }
        &:nth-child(3) {
          transform: rotate(-45deg) translate(3px, -1px);
        }
      }
    }
  }

  .header__btn {
    display: none;
  }

  .header__nav {
    position: absolute;
    top: 0;
    left: 50%;
    width: 96%;
    max-height: calc(100vh - 80px);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 10px;
    border-radius: 10px;
    border: 1px solid #02e1f9;
    background: rgba(2, 13, 41, 0.7);
    backdrop-filter: blur(8px);
    translate: -50% 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 0.4s,
      opacity 0.4s,
      padding 0.4s,
      top 0.4s;

    &.active {
      max-height: 1000px;
      opacity: 1;
      padding: 20px 10px;
      top: 100%;
    }
  }

  .header__dropdown {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: center;
    gap: 0;
    border-radius: 10px;
    border: 1px solid #02e1f9;
    background: rgba(2, 13, 41, 0.7);
    backdrop-filter: blur(7px);
    transition: max-height 0.4s;
    &::after {
      display: none;
    }

    .header__dropdown-btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 10px;
      max-height: 58px;
      width: 100%;

      svg {
        rotate: 270deg;
      }
    }

    &:hover {
      .header__dropdown-btn {
        svg {
          rotate: 270deg;
        }
      }
      .header__dropdown-content {
        transform: unset;
      }
    }

    &.active {
      max-height: 500px;

      .header__dropdown-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-height: 500px;
        opacity: 1;
        padding-inline: 10px;
        padding-bottom: 20px;

        .header__dropdown-link {
          animation: slideIn 0.4s ease forwards;

          &:nth-child(1) {
            animation-delay: 0.2s;
          }
          &:nth-child(2) {
            animation-delay: 0.3s;
          }
          &:nth-child(3) {
            animation-delay: 0.4s;
          }
        }
      }
      .header__dropdown-btn svg {
        rotate: 360deg;
      }
    }
  }

  .header__dropdown-content {
    position: static;
    padding: 0;
    border-radius: 0;
    border: unset;
    background: unset;
    backdrop-filter: unset;
    visibility: visible;
    transform: unset;
    pointer-events: auto;
    max-height: 0;
    opacity: 0;
    min-width: 0;
    overflow: hidden;
    transition:
      max-height 0.4s,
      opacity 0.4s,
      padding 0.4s;
  }

  .header__dropdown-link {
    opacity: 0;
    max-width: 100%;
    transform: translateX(-12px);
  }

  .header__nav-link {
    border-radius: 10px;
    border: 1px solid #02e1f9;
    background: rgba(2, 13, 41, 0.7);
    backdrop-filter: blur(7px);
    display: flex;
    height: 58px;
    padding: 20px 10px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;

    svg {
      display: flex;
      rotate: 270deg;
    }
  }
}

/* #endregion HEADER SECTION */

/* #region HERO SECTION */
.hero {
  background-image: url('/img/bg/hero-bg.webp');
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  padding-block: 188px 100px;

  &.market-analysis {
    background-image: url('/img/bg/market-analysis-bg.webp');
    background-size: auto;
  }

  &.automation__hero {
    background-image: url('/img/bg/automation-bg.webp');
    background-size: auto;
  }
  &.account__hero {
    background-image: url('/img/bg/account-bg.webp');
    background-size: auto;
  }
}

.hero__wrapper {
  max-width: 590px;
  margin-inline: auto;
  text-align: center;
  padding-bottom: 100px;

  &.automation__hero-wrapper {
    max-width: 842px;
  }

  &.account__hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
  }
}

.account__hero-content {
  max-width: 548px;
  text-align: start;
}

.hero__title {
  margin-bottom: 16px;
  text-transform: capitalize;

  span {
    mix-blend-mode: overlay;
    text-transform: lowercase;
  }
}

.hero__text {
  margin-bottom: 32px;
}
.hero__btn {
  text-transform: capitalize;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: clip;
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #010b24 15%,
      #010b24 85%,
      transparent
    ),
    linear-gradient(
      to right,
      transparent,
      #010b24 15%,
      #010b24 85%,
      transparent
    );

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #010b24 15%,
      #010b24 85%,
      transparent
    ),
    linear-gradient(
      to right,
      transparent,
      #010b24 15%,
      #010b24 85%,
      transparent
    );

  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__cards-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-left: 16px;
}

.hero__card {
  border-radius: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  transition:
    background-image 0.3s,
    box-shadow 1.2s,
    filter 1.2s;

  &.active {
    box-shadow:
      0 0 60px 20px rgba(0, 240, 255, 0.35),
      0 0 90px 30px rgba(13, 142, 214, 0.3),
      0 0 140px 50px rgba(0, 18, 184, 0.25);

    filter: brightness(1.1);
  }
}

.hero__card--chart {
  width: 260px;
  height: 238px;
  background-image: url('/img/hero/chart.webp');

  &.active {
    background-image: url('/img/hero/chart-active.webp');
  }
}

.hero__card-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.hero__card--user {
  width: 116px;
  height: 111px;
  background-image: url('/img/hero/user.webp');

  &.active {
    background-image: url('/img/hero/user-active.webp');
  }
}

.hero__card--diamond {
  width: 116px;
  height: 111px;
  background-image: url('/img/hero/diamond.webp');

  &.active {
    background-image: url('/img/hero/diamond-active.webp');
  }
}

.hero__card--analysis {
  background-image: url('/img/hero/session-analysis.webp');
  width: 82px;
  height: 106px;

  &.active {
    background-image: url('/img/hero/session-analysis--active.webp');
  }
}

.hero__cards-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-left: -85px;
}

.hero__cards-blocks {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.hero__card-block {
  border-radius: 15px;
  border: 1px solid #445275;
  background: #010b24;
  width: 117px;
  height: 120px;

  &:last-child {
    width: 117px;
    height: 249px;
  }
}

.hero__cards--movers {
  display: flex;
  padding: 16px 16px 0 16px;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  width: 100%;
  border: 1px solid #445275;
  background: #010b24;
  max-height: 400px;
  overflow-y: clip;
  flex-shrink: 0;
  transition: all 0.3s;
  text-transform: capitalize;
  color: #445275;

  h3 {
    font-size: 16px;
    font-weight: 700;
  }

  p {
    font-size: 10px;
  }

  &.active {
    background-image: url('/img/hero/movers-active.webp');
    color: #edeff5;

    p {
      color: #caced9;
    }

    .hero__table {
      background: linear-gradient(
        270deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(0, 240, 255, 0.1) 100%
      );
      box-shadow: 0 1.3px 4.2px 0 rgba(255, 255, 255, 0.15) inset;
      backdrop-filter: blur(6px);
    }
  }
}

.hero__table {
  display: flex;
  padding: 10px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 6px;
  background: #1d2842;
  font-size: 14px;
  transition: all 0.3s;

  thead {
    border-bottom: 1px solid #445275;
    padding-bottom: 5px;
    font-weight: 700;
    width: 100%;

    tr {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }

  tbody {
    width: 100%;

    tr {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-block: 5px;

      &:not(:last-child) {
        border-bottom: 1px solid #445275;
      }
    }
  }
}

.hero__chat {
  display: flex;
  justify-content: space-between;
  border-radius: 15px;
  border: 1px solid #376a8d;
  background: #252c3f;
  width: 312px;
  height: 504px;
  padding: 16px;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  z-index: 1;
}
.hero__chat-logo {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;

  img {
    width: 120px;
  }
}
.hero__chat-logo-dots {
  display: flex;
  gap: 2px;
  align-items: center;
  padding-block: 10px;
}

.hero__chat-messages {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding-right: 8px;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
}

.hero__chat-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;

  &.hero__chat-message--ai {
    align-self: start;

    .hero__chat-message-text {
      border-radius: 0 4px 4px 4px;
      border: 1px solid #1e476a;
      background: rgba(55, 106, 141, 0.3);
    }
  }

  &.hero__chat-message--typing {
    .hero__chat-message-text {
      border: 1px solid transparent;
      background: transparent;
    }

    p {
      background: linear-gradient(
        90deg,
        #595c65 0%,
        #b4bacb 38.22%,
        #595c65 100%
      );
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      opacity: 0.6;
    }
  }

  .hero__chat-message--typing {
    animation: blink 1.2s infinite ease-in-out;
  }

  &.hero__chat-message--user {
    align-self: end;

    .hero__chat-message-text {
      border-radius: 4px 4px 0 4px;
      border: 1px solid #555b6f;
      background: #42485a;
    }
  }
}

.hero__chat-message-text {
  color: #fff;
  font-size: 12px;
  padding: 8px;
  max-width: 192px;
  transition: all 0.3s;

  h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: capitalize;
  }

  img {
    margin-block: 8px;
  }
}

.hero__chat-form {
  display: flex;
  justify-content: space-between;
  min-height: 40px;
  border-radius: 5px;
  background: #010b24;
  padding: 6px 8px;
  width: 100%;
  gap: 24px;

  &.is-cta {
    padding: 0;
    background: none;
  }
}

.hero__chat-input {
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  width: 100%;

  &::placeholder {
    color: #b4bacb;
    line-height: normal;
  }

  &:focus {
    outline: none;
  }
}

.hero__chat-send {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 20px;
  background: #445275;
  cursor: pointer;
  flex-shrink: 0;

  span {
    display: flex;
    align-items: center;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: 1px solid #edeff5;
    z-index: 1;

    svg {
      display: none;
    }
  }

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      206% 131% at 108% -18%,
      #fff 0%,
      #00f0ff 26%,
      #0012b8 96%
    );
    opacity: 0;
    border-radius: 50%;
    transition: opacity 0.5s ease;
    z-index: 0;
  }

  &.active {
    span {
      border: unset;
      color: #fff;

      svg {
        display: flex;
      }
    }

    &::before {
      opacity: 1;
    }
  }
}

.hero__chat-register {
  color: #fff;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  background: radial-gradient(
    207% 131% at 108% -18%,
    #fff 0%,
    #00f0ff 26.2%,
    #0012b8 95.56%
  );
  width: 100%;
  max-width: 100%;
}

.typing {
  white-space: pre-wrap;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.hero__right {
  display: flex;
  gap: 16px;
}
.hero__right-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.hero__card--optimizer {
  background-image: url('/img/hero/optimizer.webp');
  width: 322px;
  height: 119px;

  &.active {
    background-image: url('/img/hero/optimizer-active.webp');
  }
}

.hero__card--session {
  background-image: url('/img/hero/session.webp');
  width: 322px;
  height: 222px;

  &.active {
    background-image: url('/img/hero/session-active.webp');
  }
}
.hero__card--rankings {
  background-image: url('/img/hero/rankings.webp');
  width: 322px;
  height: 230px;

  &.active {
    background-image: url('/img/hero/rankings-active.webp');
  }
}
.hero__card--diagram {
  background-image: url('/img/hero/diagram.webp');
  width: 119px;
  height: 119px;

  &.active {
    background-image: url('/img/hero/diagram-active.webp');
  }
}
.hero__card--search {
  background-image: url('/img/hero/search.webp');
  width: 130px;
  height: 130px;

  &.active {
    background-image: url('/img/hero/search-active.webp');
  }
}

.hero__card--yeild {
  background-image: url('/img/hero/yield.webp');
  width: 246px;
  height: 230px;

  &.active {
    background-image: url('/img/hero/yield-active.webp');
  }
}

@media (width <= 1200px) {
  .hero__wrapper {
    &.account__hero-wrapper {
      flex-direction: column;
      gap: 32px;
    }
  }

  .account__hero-content {
    text-align: center;
  }

  .hero__inner {
    position: relative;
    justify-content: center;
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        transparent,
        #010b24 15%,
        #010b24 85%,
        transparent
      ),
      linear-gradient(
        to right,
        transparent,
        #010b24 8%,
        #010b24 90%,
        transparent
      );
    mask-image:
      linear-gradient(
        to bottom,
        transparent,
        #010b24 15%,
        #010b24 85%,
        transparent
      ),
      linear-gradient(
        to right,
        transparent,
        #010b24 8%,
        #010b24 90%,
        transparent
      );
  }
  .hero__chat {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
  }
  .hero__cards-bottom {
    margin-left: 0;
  }
  .hero__cards-blocks {
    display: none;
  }
}

@media (width <= 768px) {
  .hero {
    padding-block: 140px 50px;

    &.market-analysis {
      background-image: url('/img/bg/market-analysis-bg--sm.webp');
      background-position: right;
    }

    &.automation__hero {
      background-image: url('/img/bg/automation-bg--sm.webp');
      background-position: top left;
      background-size: cover;
    }
    &.account__hero {
      background-image: url('/img/bg/account-bg--sm.webp');
      background-size: 100% 150%;
    }
  }
  .hero__text {
    font-size: 18px;
  }
  .hero__wrapper {
    padding-bottom: 32px;

    &.automation__hero-wrapper {
      max-width: 600px;
    }
  }
}

/* #endregion HERO SECTION */

/* #region ADVANCED SECTION */
.advanced {
  padding-bottom: 100px;
}

.advanced__wrapper {
  position: relative;
  display: flex;
  padding: 96px 96px 96px 0;
  justify-content: flex-end;
  align-items: center;
  gap: 64px;
  align-self: stretch;
  border-radius: 20px;
  border: 1px solid #445275;
  background: rgba(13, 33, 85, 0.3);
  backdrop-filter: blur(8px);
  overflow: hidden;
  background-image: url('/img/bg/advanced-bg.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.advanced__img {
  border-radius: 20px;
  border: 1px solid #02e1f9;
  background: rgba(2, 13, 41, 0.1);
  backdrop-filter: blur(15px);
  padding: 16px 16px 16px 8px;
  flex-shrink: 0;
  max-width: 634px;

  img {
    border-radius: 10px;
  }
}

.advanced__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 506px;
  flex-shrink: 0;
}

.advanced__title-wrapper {
  p {
    margin-bottom: 16px;
    text-transform: capitalize;
    background: linear-gradient(
      90deg,
      #edeff5 0%,
      #00f0ff 62.03%,
      #0d8ed6 85.38%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@media (width <= 1200px) {
  .advanced__wrapper {
    flex-direction: column-reverse;
    padding: 48px;
    gap: 32px;
  }
  .advanced__img {
    padding: 16px;
  }
  .advanced__content {
    max-width: 634px;
  }
}

@media (width <= 768px) {
  .advanced {
    padding-bottom: 32px;
  }
  .advanced__wrapper {
    padding: 16px;
  }
  .advanced__content {
    gap: 16px;
    max-width: 100%;
  }
  .advanced__title-wrapper {
    p {
      font-size: 16px;
    }
  }
  .advanced__img {
    padding: 6px;
    max-width: 100%;
  }
  .advanced__text {
    font-size: 16px;
  }
}

/* #endregion ADVANCED SECTION */

/* #region SCREENERS SECTION */
.screeners {
  padding-bottom: 100px;
}

.screeners__wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 96px 0 96px 96px;
  background-image: url('/img/screeners/screeners-bg.webp');
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 20px;
  border: 1px solid #445275;
  background-color: rgba(13, 33, 85, 0.3);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.screeners__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 481px;
  flex-shrink: 0;
}

.screeners__title-wrapper {
  p {
    margin-bottom: 16px;
    text-transform: capitalize;
    background: linear-gradient(
      90deg,
      #ff8a00 0%,
      #ff00d6 62.03%,
      #6324cb 85.38%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.screeners__imgs {
  position: relative;
  flex-shrink: 0;
  max-width: 602px;
}

.screeners__img {
  position: absolute;
  top: -66px;
  left: -27px;
  backdrop-filter: blur(7px);
  padding: 10px;
  border-radius: 10px;
  z-index: 2;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(35deg, #445275 84.56%, #ff8a00 100%);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    border-radius: 10px;
    pointer-events: none;
    z-index: -1;
  }
}

.screeners__swiper {
  border-radius: 10px;
  border: 1px solid #445275;

  img {
    border-radius: 10px;
  }
}

@media (width <= 1200px) {
  .screeners__wrapper {
    flex-direction: column;
    padding: 48px;
    gap: 32px;
  }

  .screeners__content {
    max-width: 602px;
  }

  .screeners__img {
    top: unset;
    left: unset;
    bottom: -66px;
    right: -27px;
  }
}

@media (width <= 768px) {
  .screeners {
    padding-bottom: 32px;
  }
  .screeners__wrapper {
    padding: 16px;
  }

  .screeners__title-wrapper {
    p {
      font-size: 16px;
    }
  }

  .screeners__text {
    font-size: 16px;
  }

  .screeners__content {
    max-width: 100%;
    gap: 16px;
  }

  .screeners__imgs {
    max-width: 100%;
  }

  .screeners__img {
    bottom: -50px;
    right: -70px;
    padding: 8px;
  }
}

/* #endregion SCREENERS SECTION */

/* #region BACKTESTING SECTION */
.backtesting {
  padding-bottom: 100px;
}

.backtesting__wrapper {
  display: flex;
  padding: 96px 96px 96px 0;
  justify-content: flex-end;
  align-items: center;
  gap: 64px;
  border-radius: 20px;
  border: 1px solid #445275;
  background: rgba(13, 33, 85, 0.3);
  backdrop-filter: blur(8px);
  overflow: hidden;
  background-image: url('/img/bg/backtesting-bg.webp');
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.backtesting__img {
  flex-shrink: 0;
  max-width: 640px;

  img {
    border-radius: 10px;
  }
}
.backtesting__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 506px;
  flex-shrink: 0;
}

.backtesting__title-wrapper {
  p {
    margin-bottom: 16px;
    text-transform: capitalize;
    background: linear-gradient(
      90deg,
      #0012b8 0%,
      #edeff5 26%,
      #00f0ff 68%,
      #0d8ed6 90%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.backtesting__text-wrapper {
  p:first-of-type {
    margin-bottom: 32px;
  }
}

@media (width <= 1200px) {
  .backtesting__wrapper {
    flex-direction: column-reverse;
    padding: 48px;
    gap: 32px;
  }
  .backtesting__content {
    max-width: 602px;
  }
}

@media (width <= 768px) {
  .backtesting {
    padding-bottom: 32px;
  }
  .backtesting__wrapper {
    flex-direction: column-reverse;
    padding: 16px;
    gap: 32px;
  }
  .backtesting__content {
    max-width: 100%;
    gap: 16px;
  }

  .backtesting__title-wrapper {
    p {
      font-size: 16px;
    }
  }

  .backtesting__text-wrapper {
    font-size: 16px;

    p:first-of-type {
      margin-bottom: 16px;
    }
  }

  .backtesting__img {
    margin-left: -16px;
  }
}

/* #endregion BACKTESTING SECTION */

/* #region MARKET SECTION */
.market {
  padding-bottom: 100px;
}

.market__wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 96px 0 96px 96px;
  background-image: url('/img/market/market-bg.webp');
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 20px;
  border: 1px solid #445275;
  background-color: rgba(13, 33, 85, 0.3);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.market__rights {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 465px;
}

.market__title-wrapper {
  p {
    margin-bottom: 16px;
  }
}

.market__left {
  display: flex;
  position: relative;
  min-height: 370px;
  width: 100%;
}

.market__item {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  max-width: 275px;
  width: 100%;
  height: 290px;
  border-radius: 20px;
  background-color: #041030;
  backdrop-filter: blur(15px);
  padding: 16px;
  font-size: 16px;
  background-position: top right;
  background-size: auto;
  background-repeat: no-repeat;
  flex-shrink: 0;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
  }

  &::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 20px;
  }

  h4,
  p,
  span {
    max-width: 200px;
  }

  span {
    font-size: 10px;
  }

  &:nth-child(1) {
    left: 10px;
    bottom: 40px;
    height: 270px;
    background-image: url('/img/market/strategy.webp');

    z-index: 2;

    &::before {
      background: linear-gradient(225deg, #445275 85%, #ff8a00 100%);
    }

    &::after {
      display: none;
    }
  }

  &:nth-child(2) {
    left: 167px;
    bottom: -130px;
    background-image: url('/img/market/automated.webp');
    z-index: 1;

    &::before {
      background: linear-gradient(35deg, #445275 85%, #ff8a00 100%);
    }
    &::after {
      background: rgba(5, 17, 51, 0.3);
    }
  }

  &:nth-child(3) {
    left: 301px;
    top: -13px;
    background-image: url('/img/market/precision.webp');

    &::before {
      background: linear-gradient(315deg, #445275 85%, #ff8a00 100%);
    }

    &::after {
      background: rgba(5, 17, 51, 0.6);
    }
  }
}

@media (width <= 1200px) {
  .market__wrapper {
    flex-direction: column;
    padding: 48px;
  }
  .market__rights {
    max-width: 602px;
  }
  .market__left {
    max-width: 602px;
  }
  .market__item {
    &:nth-child(1) {
      left: 83px;
      top: -32px;
      bottom: unset;
    }
    &:nth-child(2) {
      left: 39px;
      bottom: 0;
    }
    &:nth-child(3) {
      right: -15px;
      bottom: 51px;
      left: unset;
      top: unset;
    }
  }
}

@media (width <= 768px) {
  .market {
    padding-bottom: 80px;
  }
  .market__wrapper {
    padding: 16px;
  }
  .market__rights {
    gap: 16px;
  }
  .market__title-wrapper {
    p {
      font-size: 16px;
    }
  }
  .market__text {
    font-size: 16px;
  }
  .market__item {
    max-width: 232px;

    &:nth-child(1) {
      left: 50%;
      height: 232px;
      translate: -50%;
    }
    &:nth-child(2) {
      left: -26px;
      bottom: 12px;
      height: 232px;
    }
    &:nth-child(3) {
      height: 232px;
      right: -71px;
      bottom: 51px;
    }
  }
}

/* #endregion MARKET SECTION */

/* #region COMMENTS SECTION */
.comments {
  padding-bottom: 100px;
}

.comments__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.comments__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
}

.comments__btn {
  max-width: 58px;
  padding: 8px 20px;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      206% 131% at 108% -18%,
      #fff 0%,
      #00f0ff 26%,
      #0012b8 96%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
  }

  &:hover {
    color: #fff;
    border-color: #262626;

    svg {
      translate: unset;
    }

    &::before {
      opacity: 1;
    }
  }
}

.comments__card {
  display: flex;
  flex-direction: column;
  max-width: 425px;
  gap: 16px;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #262626;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(7px);

  p {
    font-size: 20px;
    color: #edeff5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.comments__card-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.comments__card-user {
  display: flex;
  align-items: center;
  gap: 14px;

  img {
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
  }
}
.comments__card-btn {
  max-width: 175px;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      206% 131% at 108% -18%,
      #fff 0%,
      #00f0ff 26%,
      #0012b8 96%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
  }

  &:hover {
    color: #fff;
    border-color: #262626;

    &::before {
      opacity: 1;
    }
  }
}

@media (width <= 1200px) {
  .comments__card {
    padding: 32px;
  }
}

@media (width <= 768px) {
  .comments {
    padding-bottom: 80px;
  }

  .comments__card {
    padding: 16px;
    max-width: 280px;

    h3,
    h4 {
      font-size: 20px;
    }

    p {
      font-size: 16px;
    }
  }

  .comments__card-stars {
    width: 24px;
    gap: 5px;
  }
}

/* #endregion COMMENTS SECTION */

/* #region PRICING SECTION */
.pricing {
  padding-bottom: 100px;
}

.pricing__wrapper {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.pricing__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.pricing__timer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pricing__timer-item {
  display: flex;
  min-width: 107px;
  min-height: 126px;
  padding: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  border: 1px solid #616b7f;
  background: rgba(255, 255, 255, 0.04);

  span {
    font-size: 12px;
    line-height: 1;
    text-transform: capitalize;

    &:first-child {
      font-size: 60px;
    }
  }
}

.pricing__divider {
  display: flex;
  font-size: 60px;
  line-height: 1;
}

.pricing__content-text {
  position: relative;
  padding: 6px 16px;
  border-radius: 5px;
  border: 1px solid #616b7f;
  background: #010b24;
  max-width: 336px;
  margin-inline: auto;
  margin-bottom: 16px;
  font-size: 18px;
  text-align: center;
  &::before {
    content: '';
    position: absolute;
    right: 45px;
    bottom: -42px;
    background-image: url('/img/icons/arrow.svg');
    width: 28px;
    height: 26px;
  }
}

.pricing__content-btns {
  display: flex;
  width: fit-content;
  align-items: center;
  margin-inline: auto;
  margin-bottom: 32px;
  border-radius: 50px;
  border: 1px solid #616b7f;
  overflow: hidden;
}

.pricing__content-btn {
  position: relative;
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  background: rgba(52, 65, 73, 0.6);
  color: #edeff5;
  font-size: 18px;
  text-transform: capitalize;
  cursor: pointer;

  &.active {
    background: transparent;

    span {
      z-index: 1;
    }

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(
        206% 131% at 108% -18%,
        #fff 0%,
        #00f0ff 26%,
        #0012b8 96%
      );
      transition: opacity 0.5s;
    }
  }
}

.pricing__content-cards-wrapper {
  display: flex;
  justify-content: center;
}

.pricing__card {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 402px;
  border-radius: 20px;
  border: 1px solid #262626;
  background-color: rgba(61, 61, 61, 0.4);
  background-position: top right;
  background-repeat: no-repeat;

  &.swiper-slide {
    height: stretch;
  }

  &.pricing__card--premium {
    background-image: url('/img/pricing-premium.webp');

    .pricing__card-header {
      h4 {
        margin-bottom: 64px;
      }
    }
  }

  &.pricing__card--ultimate {
    background-image: url('/img/pricing-ultimate.webp');

    .pricing__card-features {
      background: #edeff5;
      color: #000000;
    }
  }
}

.pricing__card-header {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 0 32px;

  h4 {
    font-weight: 400;
  }
}

.pricing__card-tags {
  display: flex;
  gap: 8px;
}

.pricing__card-tag {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  max-width: 80px;
  border: 1px solid #616b7f;
  background: radial-gradient(
    206% 131% at 108% -18%,
    #fff 0%,
    #00f0ff 26%,
    #0012b8 96%
  );
  margin-block: 16px;
  font-size: 12px;
}

.pricing__card-features {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border-radius: 20px;
  background: #3a445a;
  height: stretch;

  h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
  }
}

.pricing__card-price {
  margin-bottom: 20px;

  p {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 60px;

    span {
      font-size: 24px;
    }
  }
}

.pricing__card-btn {
  color: #7a8198;
  font-size: 18px;
  cursor: pointer;
  transition: text-shadow 0.3s;

  &:hover {
    text-shadow: 0 0 10px #00f0ff;
  }
}

.pricing__card-text {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  max-width: 170px;
  margin-inline: auto;
}
.pricing__card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;

  li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
  }
}
.pricing__card-features-bottom {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  .btn {
    max-width: 140px;
  }
  p {
    font-size: 12px;
  }
}

.pricing__btns {
  display: none;
  gap: 24px;
  justify-content: space-between;
  margin-inline: auto;
  margin-top: 16px;
  max-width: 402px;

  .pricing__btn {
    max-width: 58px;
    padding: 8px 20px;

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(
        206% 131% at 108% -18%,
        #fff 0%,
        #00f0ff 26%,
        #0012b8 96%
      );
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: -1;
    }

    &:hover {
      color: #fff;
      border-color: #262626;

      svg {
        translate: unset;
      }

      &::before {
        opacity: 1;
      }
    }
  }
}

@media (width <= 1200px) {
  .pricing__content-cards {
    max-width: 402px;
  }
  .pricing__content-cards-wrapper {
    justify-content: start;
    gap: 0;
  }

  .pricing__card {
    max-width: 100%;
  }
  .pricing__btns {
    display: flex;
  }
}

@media (width <= 768px) {
  .pricing {
    padding-bottom: 80px;
  }
  .pricing__wrapper {
    gap: 80px;
  }
  .pricing__header {
    gap: 20px;
  }
  .pricing__timer {
    gap: 5px;
  }
  .pricing__timer-item {
    min-width: 68px;
    min-height: 100px;
    padding: 16px 10px;

    span {
      &:first-child {
        font-size: 38px;
      }
    }
  }
  .pricing__divider {
    font-size: 32px;
  }
  .pricing__content-btns {
    margin-bottom: 16px;
  }

  .pricing__card {
    gap: 32px;

    &.pricing__card--premium {
      .pricing__card-header {
        h4 {
          margin-bottom: 58px;
        }
      }
    }
  }

  .pricing__card-header {
    padding: 16px 16px 0 16px;
  }

  .pricing__card-price {
    margin-bottom: 32px;
    p {
      font-size: 42px;
    }
  }

  .pricing__card-btn {
    font-size: 16px;
  }

  .pricing__card-features {
    padding: 16px;
  }

  .pricing__card-features-bottom {
    margin-top: 32px;
  }
  .pricing__card-tag {
    margin-block: 14px;
  }

  .pricing__content-text {
    padding: 6px 12px;
  }
}

/* #endregion PRICING SECTION */

/* #region ANALYZE SECTION */
.analyze {
  padding-bottom: 100px;
}

.analyze__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  margin-bottom: 32px;
}

.analyze__btns {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  justify-content: center;

  &:has(.analyze__btn:nth-child(2):hover) .analyze__btn:nth-child(1) {
    filter: blur(6px);

    &::before {
      background: none;
    }
  }
}

.analyze__btn {
  display: flex;
  padding: 6px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #edeff5;
  font-size: 48px;
  font-weight: 700;
  border-radius: 10px;
  background: rgba(2, 13, 41, 0.1);
  backdrop-filter: blur(15px);
  cursor: pointer;
  transition: filter 0.3s;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(
      131deg,
      #02e1f9 4%,
      #0c83d3 10%,
      #010b24 23%,
      #010b24 78%,
      #0c83d3 92%,
      #02e1f9 97%
    );
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s;
  }

  &:nth-child(2) {
    filter: blur(6px);

    &::before {
      background: none;
    }

    &:hover {
      filter: unset;

      &::before {
        background: linear-gradient(
          131deg,
          #02e1f9 4%,
          #0c83d3 10%,
          #010b24 23%,
          #010b24 78%,
          #0c83d3 92%,
          #02e1f9 97%
        );
      }
    }
  }
}

.analyze__content {
  background-image: url('/img/analyze/analyze-bg.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #051233;
  border-radius: 20px;
  border: 1px solid #262626;
  padding: 64px 96px;
}

.analyze__items-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 250px));
  gap: 32px 64px;
  justify-content: space-between;
}

.analyze__item {
  img {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  h4 {
    text-transform: capitalize;
    margin-block: 14px 8px;
  }

  p {
    font-size: 16px;
  }
}

.analyze__navigation {
  display: none;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;

  button {
    max-width: 58px;
    padding: 8px 20px;

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(
        206% 131% at 108% -18%,
        #fff 0%,
        #00f0ff 26%,
        #0012b8 96%
      );
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: -1;
    }

    &:hover {
      svg {
        translate: unset;
      }

      &::before {
        opacity: 1;
      }
    }
  }
}

@media (width <= 1200px) {
  .analyze__content {
    padding: 64px;
  }
  .analyze__btns {
    gap: 16px;
  }
}

@media (width <= 768px) {
  .analyze {
    padding-bottom: 80px;
  }
  .analyze__content {
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
    overflow-x: clip;
  }

  .analyze__btn {
    font-size: 32px;
  }

  .analyze__text {
    font-size: 16px;
  }

  .analyze__items {
    max-width: 452px;
  }

  .analyze__items-wrapper {
    display: flex;
    gap: 0;
    justify-content: start;
  }

  .analyze__item {
    background-image: url('/img/analyze/analyze-bg.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #051233;
    border-radius: 10px;
    border: 1px solid #262626;
    padding: 20px;
    box-shadow: 0 0 27px 0 rgba(0, 240, 255, 0.2);
    height: stretch;

    h4 {
      font-size: 20px;
    }
  }

  .analyze__navigation {
    display: flex;
  }
}

@media (width <= 568px) {
  .analyze__items {
    max-width: 290px;
  }
}

/* #endregion ANALYZE SECTION */

/* #region SECURE SECTION */
.secure {
  padding-bottom: 100px;
}

.secure__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.secure__info {
  display: flex;
  flex-direction: column;
  max-width: 805px;

  h2 {
    margin-bottom: 16px;
  }

  p {
    font-size: 18px;
  }
}

.secure__partners {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
}

.secure__guarantee {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  max-width: 203px;
  width: 100%;
  min-height: 203px;
  border-radius: 10px;
  border: 1px solid #262626;
  background-color: #051233;
  background-image: url('/img/secure/secure-bg.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: box-shadow 0.3s;

  span {
    font-size: 16px;

    &:first-child {
      font-size: 48px;
      font-weight: 700;
      line-height: 1;
    }
  }

  &:hover {
    box-shadow: 0 0 27px 0 rgba(0, 240, 255, 0.2);
  }
}

@media (width <= 1200px) {
  .secure__wrapper {
    flex-direction: column;
  }
  .secure__info {
    text-align: center;
  }
  .secure__partners {
    justify-content: center;
  }
}

@media (width <= 768px) {
  .secure {
    padding-bottom: 80px;
  }
  .secure__info {
    text-align: start;
  }
  .secure__partners {
    gap: 16px;
    justify-content: start;

    img {
      width: 39px;
      height: 26px;
      object-fit: contain;
    }
  }
}

/* #endregion SECURE SECTION */

/* #region FAQ SECTION */
.faq {
  padding-bottom: 100px;
}

.faq__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.faq__title {
  font-size: 48px;
  line-height: 1;
}

::details-content {
  transition: height 0.5s ease;
  height: 0;
  overflow: clip;
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  [open]::details-content {
    height: auto;
  }
}

.faq__details {
  display: flex;
  flex-direction: column;
  max-width: 623px;
  width: 100%;

  details {
    border-bottom: 1px solid #445275;
    transition: all 0.3s;

    &[open] {
      padding-bottom: 25px;

      p {
        animation: animateDown 0.2s linear forwards;
      }

      &::details-content {
        height: auto;
      }
    }
  }

  summary {
    position: relative;
    padding-block: 25px;
    cursor: pointer;
    transition: text-shadow 0.3s;

    &::marker {
      content: none;
    }

    &::before,
    &::after {
      content: '';
    }

    &::before,
    &::after {
      width: 0.75em;
      height: 0;
      border-bottom: 2px solid;
      position: absolute;
      top: calc(50% - 1px);
      right: 0;
      transform: translateY(-50%);
      transition: all 0.3s;
    }

    &::after {
      transform: rotate(90deg);
      transform-origin: 50% 50%;
    }

    &:hover {
      text-shadow: 0 0 10px #00f0ff;
    }
  }

  [open] summary::after {
    transform: rotate(0deg);
  }

  p {
    font-size: 18px;
  }
}

@keyframes animateDown {
  0% {
    opacity: 0;
    transform: translatey(-15px);
  }
  100% {
    opacity: 1;
    transform: translatey(0);
  }
}

@media (width <= 1200px) {
  .faq__wrapper {
    flex-direction: column;
    align-items: center;
    gap: 46px;
  }
}

@media (width <= 768px) {
  .faq {
    padding-bottom: 80px;
  }

  .faq__title {
    font-size: 32px;
  }

  .faq__details {
    summary {
      font-size: 20px;
    }
    p {
      font-size: 16px;
    }
  }
}

/* #endregion FAQ SECTION */

/* #region CONTACT SECTION */
.contact {
  padding-bottom: 64px;
}

.contact__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
}

.contact__icons {
  display: flex;
  align-items: center;
  gap: 16px;

  a {
    display: flex;
    color: #abb2d0;
    transition: color 0.3s;

    &:hover {
      color: #fff;
    }
  }
}

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

.contact__info {
  max-width: 554px;

  h2 {
    font-size: 48px;
    text-transform: capitalize;
  }

  span {
    display: block;
    margin-block: 16px;
    font-size: 48px;
    text-transform: capitalize;
    mix-blend-mode: overlay;
    font-weight: 700;

    &.automation__contact-title {
      mix-blend-mode: unset;
    }
  }

  p {
    margin-bottom: 32px;
  }

  .contact__btn {
    max-width: 190px;
  }
}

.contact__form {
  max-width: 404px;
  padding: 32px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #616b7f;
  background-color: rgba(61, 61, 61, 0.4);
  background-image: url('/img/bg/form-bg.webp');
  background-position: right 0%;
  background-size: auto;
  background-repeat: no-repeat;
  text-align: start;

  &.account__hero-form {
    background-image: url('/img/bg/account-form-bg.webp');
  }

  h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: 16px;
  }
}

.contact__form-logo {
  margin-bottom: 6px;
}

@media (width <= 1200px) {
  .contact__wrapper {
    flex-direction: column;
  }
}

@media (width <= 768px) {
  .contact {
    padding-bottom: 32px;
  }
  .contact__top {
    margin-bottom: 32px;
  }
  .contact__logo {
    width: 160px;
  }

  .contact__info {
    h2 {
      font-size: 28px;
    }
    span {
      font-size: 28px;
      margin-block: 0 16px;
    }
    p {
      font-size: 16px;
      margin-bottom: 16px;
    }
  }

  .contact__form {
    padding: 16px;
  }
}

/* #endregion CONTACT SECTION */

/* #region FOOTER SECTION */
.footer {
  padding-bottom: 40px;
}

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

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;

  a {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    transition: text-shadow 0.3s;

    &:hover {
      text-shadow: 0 0 10px #00f0ff;
    }
  }
}

@media (width <= 768px) {
  .footer {
    padding-bottom: 64px;
  }
  .footer__wrapper {
    gap: 32px;
  }
  .footer__content {
    font-size: 10px;
  }
  .footer__bottom {
    flex-direction: column;
    font-size: 16px;
  }
}

/* #endregion FOOTER SECTION */
