/* #region Base */

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-VariableFont_opsz_wght.ttf")
    format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-body);
  color: var(--color-text);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: normal;
}

:root {
  --color-white: #fff;
  --color-green: #03bc2e;
  --color-text: #8a8989;
  --card-text: #797979;
  --bg-body: #010206;
  --bg-btn: #02210d;
  --bg-card: #101010;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.form-wrapper {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.title-green {
  background: linear-gradient(90deg, #03bc2e 0%, #006d19 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title-h2 {
  color: var(--color-text);
  font-family: "Inter";
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}
.btn {
  display: flex;
  padding: 15px 30px;
  justify-content: center;
  align-items: center;
  border-radius: 65px;
  border: 1px solid #00a226;
  background: var(--bg-btn);
  color: var(--color-green);
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn:hover {
  border: 1px solid var(--bg-btn);
  background: var(--color-green);
  color: #000;
}
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
section {
  margin-bottom: 150px;
}

/* #endregion */

.header {
  position: relative;
  margin-bottom: 100px;
  &::before {
    content: "";
    width: 608px;
    height: 608px;
    position: absolute;
    z-index: -1;
    left: -310px;
    top: -370px;
    border-radius: 608px;
    background: rgba(4, 135, 32, 0.6);
    filter: blur(200px);
  }
  #open-btn {
    display: none;
  }
  #close-btn {
    display: none;
  }
  .content-block {
    position: relative;
    transition: border-radius 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px 13px 15px 42px;
    margin-top: 30px;
    border-radius: 70px;
    background: rgba(217, 217, 217, 0.06);
  }
  .nav {
    ul {
      display: flex;
      align-items: center;
      gap: 50px;
      li {
        transition: all 0.3s ease;
      }
      li:hover {
        color: var(--color-white);
      }
      a {
        font-weight: 500;
      }
    }
  }
  .menu-mob {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    width: 100%;
    border-radius: 0 0 40px 40px;
    background: rgba(217, 217, 217, 0.06);
    backdrop-filter: blur(100px);
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition:
      grid-template-rows 0.5s ease,
      opacity 0.4s ease,
      visibility 0.4s;
    overflow: hidden;
    .nav {
      padding: 0 0;
      min-height: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
      transition: padding 0.5s ease;
      ul {
        flex-direction: column;
        gap: 40px;
      }
    }
    .get-btn {
      display: flex;
      width: max-content;
    }
  }
}

.hero {
  display: flex;
  gap: 75px;
  h1 {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 25px;
    span {
      font-weight: 700;
    }
  }
  p {
    margin-bottom: 37px;
    span {
      color: var(--color-green);
      font-weight: 600;
    }
  }
  .explore-btn {
    padding: 20px 50px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 67px;
    max-width: 260px;
  }
  h2 {
    color: #c9c9c9;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 21px;
    font-size: 18px;
  }
  .trusted-list {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .trusted-item {
    display: flex;
    align-items: center;
    gap: 8px;
    span {
      color: var(--color-green);
      font-size: 20px;
      font-weight: 500;
      white-space: nowrap;
    }
  }
}
.about {
  h2 {
    text-align: center;
    margin-bottom: 24px;
  }
  .subtitle {
    text-align: center;
    font-weight: 500;
    max-width: 830px;
    margin: 0 auto 70px;
  }
  .about-content {
    display: flex;
    max-width: 1242px;
    margin: 0 auto;
    align-items: center;
    gap: 46px;
  }
  .about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}
.advanced {
  h2 {
    text-align: center;
    margin-bottom: 80px;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  .card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    align-self: stretch;
    padding: 25px 23px 43px 24px;
    border-radius: 10px;
    border: none;
    background: var(--bg-card);
    transition:
      box-shadow 0.3s ease,
      transform 0.3s ease;

    &:hover {
      box-shadow: 0 25px 50px -12px rgba(3, 188, 46, 0.4);
      transform: scale(1.03);
      filter: brightness(1.05);
    }

    &::after {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: 10px;
      z-index: -1;
      pointer-events: none;
      background: var(--bg-card);
    }

    &::before {
      box-sizing: content-box;
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 10px;
      z-index: -2;
      pointer-events: none;
      background: linear-gradient(300deg, #03bc2e 1%, #010206 30%);
    }
    h3 {
      font-size: 22px;
      font-weight: 500;
      margin-bottom: 6px;
    }
  }
  .numbers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px 60px;
    flex-wrap: wrap;
    text-align: center;
    max-width: 962px;
    margin: 0 auto;
  }
  .number-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .number {
    background: linear-gradient(180deg, #03bc2e 0%, #006d19 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: 60px;
    font-weight: 500;
  }
  .num-text {
    white-space: nowrap;
    font-size: 22px;
    font-weight: 500;
  }
}
.how-work {
  h2 {
    text-align: center;
    margin-bottom: 23px;
  }
  .subtitle {
    max-width: 630px;
    margin: 0 auto 80px;
    text-align: center;
    font-weight: 500;
  }
  .accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    min-height: 550px;
    align-items: center;
    .image {
      position: relative;
      justify-self: center;
      align-self: center;
    }
    .image::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      min-height: 550px;
      border-radius: 628px;
      background: rgba(4, 135, 32, 0.59);
      filter: blur(200px);
      pointer-events: none;
    }
  }

  .item {
    position: relative;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: background 0.3s ease;
    cursor: pointer;
    &::after {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: 10px;
      z-index: -1;
      background: var(--bg-card);
    }

    &::before {
      box-sizing: content-box;
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 10px;
      z-index: -2;
      background: linear-gradient(0deg, #03bc2e 20%, #010206 100%);
    }
  }

  .item-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    user-select: none;
    font-size: 35px;
    padding: 20px 0;
  }
  .number {
    font-weight: 300;
    font-size: 49px;
  }

  .item-desc {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0;
    opacity: 0;
    transition:
      grid-template-rows 0.4s ease,
      opacity 0.3s ease,
      padding 0.4s ease;
    overflow: hidden;
  }
  .item-desc-content {
    min-height: 0;
    font-weight: 500;
    color: #8a8989;
    max-width: 470px;
    text-align: center;
    margin: 0 auto;
    span {
      color: var(--color-green);
    }
  }

  .item.active {
    .item-title {
      padding: 20px 0 16px;
    }

    .item-desc-content {
      padding: 0 23px 20px;
    }

    .item-desc {
      grid-template-rows: 1fr;
      opacity: 1;
    }

    .number,
    .title {
      color: var(--color-green);
      font-weight: 500;
    }
  }
}
.news {
  background: var(--bg-card);
  padding-top: 80px;
  padding-bottom: 100px;
  h2 {
    text-align: center;
    margin-bottom: 23px;
    span {
      color: var(--color-green);
    }
  }
  p {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 500;
  }
  .swiper-news-images {
    display: flex;
    align-items: center;
  }
  .swiper-news-images .news-image {
    transition: scale 0.3s ease;
  }
  .swiper-news-images .news-image:hover {
    scale: 1.05;
  }
  .swiper-news-images .news-image img {
    width: 100%;
  }
}
.calculator {
  h2 {
    text-align: center;
    margin-bottom: 23px;
    font-size: 48px;
    span {
      color: var(--color-green);
    }
  }
  .subtitle {
    font-size: 24px;
    margin-bottom: 65px;
    text-align: center;
  }
}

.feedback {
  h2 {
    margin-bottom: 80px;
    font-size: 48px;
    span {
      color: var(--color-green);
    }
  }
  .slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.5rem;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 50px;
  }

  .slider-container::-webkit-scrollbar {
    display: none;
  }

  .card {
    position: relative;
    min-width: 49%;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 35px 30px;
    color: var(--card-text);
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;

    &:hover {
      .card-header img {
        transform: scale(1.1);
        border-color: var(--color-green);
      }
    }

    &::after {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: 10px;
      z-index: -1;
      background: var(--bg-card);
    }

    &::before {
      box-sizing: content-box;
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 10px;
      z-index: -2;
      background: linear-gradient(290deg, #03bc2e 0%, #010206 20%);
      transition: all 1s ease;
    }
    &:hover::before {
      background: #03bc2e;
    }
  }
  .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    img {
      transition: all 0.3s ease;
      border: 2px solid transparent;
      border-radius: 50%;
    }
  }
  .user-about {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .name {
    color: var(--color-green);
    font-size: 30px;
  }

  .rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
  }
  p {
    margin-bottom: 22px;
  }
  .stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px 51px;
    div {
      display: flex;
      flex-direction: column;
      gap: 14px;
      align-items: center;
    }
  }
  .stat-title {
    color: var(--color-white);
    font-size: 20px;
    white-space: nowrap;
  }
  .stat-number {
    white-space: nowrap;
    color: var(--color-green);
  }

  .slider-controls {
    display: flex;
    width: 100%;
    max-width: 630px;
    margin: 0 auto;
    justify-content: space-between;
  }
}
.faq {
  #accordion {
    position: relative;
    max-width: 1062px;
    margin: 0 auto;
    &::before {
      content: "";
      position: absolute;
      z-index: -1;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 80%;
      height: 80%;
      border-radius: 50%;
      background: rgba(4, 135, 32, 0.59);
      filter: blur(200px);
    }
  }
  h2 {
    margin-bottom: 23px;
    font-size: 48px;
    span {
      color: var(--color-green);
    }
  }
  .h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    max-width: 710px;
    margin: 0 auto 80px;
  }
  .list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .item {
    position: relative;
    padding: 30px;
    border-radius: 10px;
    transition:
      background 0.3s ease,
      transform 0.3s ease,
      box-shadow 0.3s ease,
      padding 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    &:hover {
      box-shadow: 0 6px 12px rgba(3, 188, 46, 0.4);
      transform: scale(1.005);
    }
    &::after {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: 10px;
      z-index: -1;
      background: var(--bg-card);
    }

    &::before {
      box-sizing: content-box;
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 10px;
      z-index: -2;
      background: linear-gradient(0deg, #03bc2e 0%, #010206 100%);
    }
  }
  .label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;

    h3 {
      font-size: 25px;
      font-weight: 300;
      transition: all 0.3s;
    }
  }

  .content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
      grid-template-rows 0.4s ease,
      opacity 0.3s ease,
      margin 0.4s ease;
    p {
      min-height: 0;
    }
  }
  .icon {
    transition: 0.2s ease-in-out;
    cursor: pointer;
    transform-origin: center;
  }
  #accordion .item.active {
    .label h3 {
      color: var(--color-green);
      font-weight: 500;
    }

    .content {
      grid-template-rows: 1fr;
      opacity: 1;
      margin-top: 20px;
    }

    .icon {
      transform: rotate(90deg);
      path {
        fill: #03bc2e;
      }
    }
  }
}
.ready {
  display: grid;
  grid-template-columns: 1fr 450px;
  column-gap: 73px;

  .image {
    position: relative;
    grid-column: 1 / 2;
    align-self: center;
    justify-self: center;
    margin: 60px 0 100px;
    &::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: rgba(4, 135, 32, 0.59);
      filter: blur(200px);
      pointer-events: none;
    }
  }

  #form-2 {
    grid-column: 2 / -1;
    grid-row: 1 / 3;
  }
  .title {
    h2 {
      font-size: 60px;
      margin-bottom: 25px;
      text-align: left;
      span {
        color: var(--color-green);
      }
    }
    h3 {
      font-size: 18px;
      font-weight: 500;
    }
  }
}
.footer {
  position: relative;
  z-index: 1;
  padding: 42px 0;
  background-color: var(--bg-card);
  .top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
  }
  .logo-block {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    max-width: 410px;
    font-size: 16px;
    font-weight: 300;
  }
  .footer-nav {
    padding-top: 10px;
    ul {
      display: flex;
      align-items: center;
      gap: 50px;
      li {
        transition: all 0.3s ease;
      }
      li:hover {
        color: var(--color-white);
      }
      a {
        font-weight: 500;
      }
    }
  }
  .bottom {
    display: flex;
    justify-content: space-between;
  }
  .rights {
    display: flex;
    gap: 82px;
    font-size: 16px;
  }
  .policy {
    display: flex;
    gap: 44px;
    font-size: 16px;
    color: var(--color-green);
  }
}

@media (max-width: 1440px) {
  .container {
    padding: 0 30px;
  }
  section {
    margin-bottom: 120px;
  }
  .header {
    margin-bottom: 60px;
    .nav,
    .get-btn {
      display: none;
    }
    #open-btn {
      display: block;
    }
    .content-block {
      padding: 14px 30px 15px;
      margin-top: 40px;
    }
  }
  .header.active {
    .menu-mob {
      grid-template-rows: 1fr;
      opacity: 1;
      visibility: visible;
      .nav {
        padding: 30px 0;
      }
    }
    #open-btn {
      display: none;
    }
    #close-btn {
      display: block;
    }

    .content-block {
      border-radius: 40px 40px 0 0;
    }
  }
  .hero {
    flex-direction: column;
    .trusted-list {
      gap: 8px;
    }
    .trusted-item {
      span {
        font-size: 18px;
      }
    }
  }
  .about {
    h2 {
      text-align: left;
    }
    .subtitle {
      text-align: left;
      max-width: 830px;
      margin: 0 0 70px;
    }
    .about-content {
      flex-direction: column-reverse;
      align-items: start;
    }
    .about-text {
      max-width: 575px;
    }
  }
  .advanced {
    h2 {
      margin-bottom: 70px;
    }
    .cards {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .card.card-3 {
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 10%);
      }
    }
    .card.card-1,
    .card.card-2 {
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 15%);
      }
    }
    .card-3 {
      grid-column: 1 / -1;
    }
    .numbers {
      justify-content: center;
    }
    .number-card-2 {
      order: 1;
      width: 100%;
    }
  }
  .how-work {
    .subtitle {
      margin: 0 auto 70px;
    }
    .item-title {
      font-size: 30px;
    }
  }
  .news {
    padding-bottom: 80px;

    p {
      margin-bottom: 70px;
    }
  }
  .feedback {
    h2 {
      margin-bottom: 70px;
    }
    .slider-container {
      gap: 0;
    }
    .card {
      min-width: 100%;
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 15%);
      }
    }
  }
  .faq {
    .h3 {
      margin: 0 auto 70px;
    }
  }
  .ready {
    grid-template-columns: 1fr;
    #form-2 {
      grid-column: 1 / -1;
      grid-row: 2 / 3;
    }
    .title {
      h3 {
        margin-bottom: 50px;
      }
    }
  }
  .footer {
    .top {
      flex-direction: column;
      gap: 40px;
    }
    .bottom {
      flex-direction: column-reverse;
      gap: 40px;
    }
  }
}
@media (max-width: 1100px) {
  .advanced {
    .card.card-3 {
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 13%);
      }
    }
    .card.card-1,
    .card.card-2 {
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 25%);
      }
    }
  }
}
@media (max-width: 950px) {
  .advanced {
    .card.card-3 {
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 15%);
      }
    }
  }
}
@media (max-width: 744px) {
  .container {
    padding: 0 20px;
  }
  section {
    margin-bottom: 100px;
  }
  .title-h2 {
    font-size: 30px !important;
  }
  .header {
    margin-bottom: 50px;
    .logo {
      max-width: 150px;
    }
    .content-block {
      padding: 14px 20px 15px;
      margin-top: 20px;
    }
  }
  .hero {
    gap: 60px;
    h1 {
      font-size: 40px;
    }
    .explore-btn {
      margin-bottom: 40px;
    }
    .trusted-list {
      flex-direction: column;
      align-items: start;
    }
  }
  .about {
    p {
      font-size: 16px;
    }
    .subtitle {
      margin-bottom: 30px;
    }
    .about-content {
      gap: 30px;
    }
  }
  .advanced {
    h2 {
      margin-bottom: 50px;
    }
    .cards {
      grid-template-columns: 1fr;
    }
    .card {
      h3 {
        font-size: 20px;
      }
      p {
        font-size: 16px;
      }
    }
    .card.card-1,
    .card.card-2,
    .card.card-3 {
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 20%);
      }
    }
    .numbers {
      flex-direction: column;
      gap: 20px;
    }
    .num-text {
      font-size: 20px;
    }
  }
  .how-work {
    .subtitle {
      margin: 0 auto 70px;
    }
    .item-title {
      font-size: 20px;
    }
    .item-desc-content {
      font-size: 16px;
    }
    .content {
      grid-template-columns: 1fr;
      min-height: auto;
      gap: 12px;
      .image::before {
        min-height: auto;
      }
    }
  }
  .news {
    padding-top: 50px;
    padding-bottom: 50px;

    p {
      margin-bottom: 35px;
    }
  }
  .calculator {
    .subtitle {
      margin-bottom: 50px;
    }
  }
  .feedback {
    .card {
      padding: 35px 20px;
      &::before {
        background: linear-gradient(290deg, #03bc2e 0%, #010206 20%);
      }
    }
  }
  .faq {
    h2 {
      font-size: 30px;
    }
    .h3 {
      margin: 0 auto 70px;
    }
    .label {
      h3 {
        font-size: 20px;
      }
    }
    .content {
      p {
        font-size: 16px;
      }
    }
    .item {
      padding: 30px 20px;
    }
  }
  .ready {
    .image {
      margin: 45px 0 50px;
    }
  }
  .footer {
    .footer-nav {
      ul {
        flex-direction: column;
        align-items: start;
      }
    }
    .rights {
      flex-direction: column;
      gap: 15px;
    }
  }
}
@media (max-width: 600px) {
  .advanced {
    .card.card-1,
    .card.card-2,
    .card.card-3 {
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 25%);
      }
    }
  }
  .feedback {
    .stats {
      justify-content: center;
      align-items: center;
      gap: 22px 45px;
    }
  }
}
@media (max-width: 450px) {
  .advanced {
    .card.card-1,
    .card.card-2,
    .card.card-3 {
      &::before {
        background: linear-gradient(300deg, #03bc2e 0%, #010206 35%);
      }
    }
  }
  .feedback {
    .stats {
      gap: 22px 30px;
    }
    .card {
      &::before {
        background: linear-gradient(280deg, #03bc2e 0%, #010206 30%);
      }
    }
  }
  .footer {
    .policy {
      gap: 30px;
    }
  }
}
