@import url(./assets_main/css/fonts.css);

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: rgba(41, 156, 72, 1);
  --color-bg: rgba(255, 255, 255, 1);
  --color-text: rgba(34, 34, 34, 1);
  --font-base: "Figtree", sans-serif;
  --font-size-base: 16px;
  --border-radius: 7px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

ul,
ol {
  list-style: none;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
}

.link {
  font-weight: inherit;
  font-size: inherit;
  color: var(--color-primary);
}

.link:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

.main__button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  transition: opacity 0.3s ease;
}

.main__button:hover {
  opacity: 0.8;
}

.button--primary {
  background: rgba(41, 156, 72, 1);
  color: #fff;
}

.button--secondary {
  background-color: transparent;
  border-color: rgba(41, 156, 72, 1);
  color: rgba(41, 156, 72, 1);
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 100px 0;
}

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

.section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.section__title {
  font-weight: 400;
  font-size: 40px;
}

.section__subtitle {
  font-weight: 400;
  font-size: 20px;
  color: rgba(136, 136, 136, 1);
}

.note__card {
  padding: 30px 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  border: 1px solid rgba(136, 136, 136, 1);
  max-width: 950px;
}

.note__card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.note__card-title {
  font-weight: 400;
  font-size: 22px;
}

.note__card-icon {
  width: 33px;
  height: auto;
  flex-shrink: 0;
}

.note__card-text {
  text-align: left;
  color: rgba(136, 136, 136, 1);
}

/* Animations */
.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.header {
  padding: 20px 0;
}

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

.header__logo:hover {
  opacity: 0.8;
}

.header__logo-icon {
  height: 36px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header__nav-link {
  font-weight: 500;
}

.header__nav-link:hover {
  opacity: 0.8;
}

.header__burger {
  display: none;
}

/* HERO */
.hero {
  text-align: center;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1009px;
  margin: 0 auto;
}

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

.hero__title {
  font-weight: 400;
  font-size: 76px;
}

.hero__subtitle {
  font-weight: 400;
  font-size: 20px;
  max-width: 593px;
  margin: 0 auto;
  color: rgba(136, 136, 136, 1);
}

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

.hero__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FEATURES */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background-color: rgba(245, 245, 245, 1);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-card__icon {
  flex-shrink: 0;
}

.feature-card__icon img {
  min-width: 45px;
  height: 45px;
}

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

.feature-card__title {
  font-weight: 400;
  font-size: 22px;
}

.feature-card__text {
  font-weight: 400;
  color: rgba(136, 136, 136, 1);
}

/* STEPS */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 225px;
  position: relative;
}

.step__number {
  font-weight: 400;
  font-size: 28px;
  line-height: 46px;
  background-color: rgba(245, 245, 245, 1);
  border-radius: var(--border-radius);
  padding: 0px 20px;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  background-color: rgba(245, 245, 245, 1);
  z-index: -1;
}

.step__title {
  text-align: center;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.1;
}

.step__text {
  font-weight: 400;
  text-align: center;
  color: rgba(136, 136, 136, 1);
}

/* PRICING */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: center;
}

.pricing-card {
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  background-color: rgba(245, 245, 245, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(245, 245, 245, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card.active {
  padding: 60px 20px;
  border-color: rgba(41, 156, 72, 1);
}

.pricing-card.active::before {
  content: "BELIEBT";
  position: absolute;
  top: 4px;
  right: -28px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  padding: 8px 26px;
  transform: rotate(45deg);
  z-index: 2;
  text-transform: uppercase;
}

.pricing-card__header {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.pricing-card__title {
  font-weight: 400;
  font-size: 28px;
}

.pricing-card__price {
  font-size: 48px;
  font-weight: 400;
}

.pricing-card__price span {
  font-weight: 400;
  font-size: 16px;
}

.pricing-card__features {
  text-align: left;
}

.pricing-card__feature {
  position: relative;
  font-size: 16px;
  padding: 10px 10px 10px 34px;
}

.pricing-card__feature::before {
  content: url(./assets_main/images/check.svg);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-40%);
}

/* TESTIMONIALS */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  height: 100%;
  border-radius: var(--border-radius);
  padding: 30px 20px;
  background-color: rgba(245, 245, 245, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  justify-content: flex-end;
}

.testimonial-card__text {
  color: rgba(136, 136, 136, 1);
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card__name {
  font-weight: 400;
}

.testimonial-card__role {
  font-weight: 400;
  font-size: 14px;
  color: rgba(136, 136, 136, 1);
}

/* FAQ */
.faq__list {
  width: 100%;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq__item {
  background: rgba(245, 245, 245, 1);
  border-radius: 10px;
  text-align: left;
  padding: 20px;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
}

.faq__question-icon {
  background-color: rgba(255, 255, 255, 1);
  width: 30px;
  height: 30px;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq__question-icon::after {
  content: "+";
  font-weight: 400;
  font-size: 20px;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  color: rgb(108, 108, 108);
}

.faq__item.active .faq-answer {
  display: block;
}

.faq__item.active .faq__question-icon::after {
  content: "-";
}

/* CTA */
.cta {
  background-color: rgba(251, 251, 251, 1);
}

.cta__button {
  display: inline-block;
}

/* FOOTER */
.footer {
  background-color: rgba(245, 245, 245, 1);
  padding: 50px 0px;
}

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

.footer__top {
  display: flex;
  justify-content: space-between;
}

.footer__brand {
  max-width: 260px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 25px;
}

.footer__socials {
  display: flex;
  gap: 20px;
}

.footer__socials img {
  width: 35px;
  height: 35px;
  transition: transform 0.2s ease;
}

.footer__socials a:hover img {
  transform: scale(1.1);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(136, 136, 136, 1);
}

.footer__links a:hover {
  color: var(--color-text);
}

.footer__heading h4 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
}

.footer__bottom {
  border-top: 1px solid rgba(136, 136, 136, 1);
  padding-top: 20px;
  font-weight: 400;
  text-align: center;
  font-size: 14px;
  color: rgba(136, 136, 136, 1);
}

@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0px 20px;
  }

  .section {
    padding: 75px 0px;
  }

  .hero__title {
    font-size: 64px;
  }

  .note__card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    min-width: 100%;
    padding: 0px 10px;
  }

  .section {
    padding: 50px 0px;
  }

  .section__title {
    font-size: 32px;
    text-align: center;
  }

  .section__subtitle {
    font-size: 16px;
    text-align: center;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .note__card {
    padding: 20px 10px;
  }

  .features__grid,
  .steps__grid,
  .pricing__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .step {
    gap: 20px;
  }

  .step:not(:last-child)::after {
    content: none;
  }

  .pricing-card {
    align-items: center;
    padding: 20px 10px;
  }

  .pricing-card.active {
    padding: 40px 10px;
  }

  .testimonial-card {
    padding: 20px 10px;
  }

  .faq__question {
    text-align: left;
    line-height: 28px;
  }

  .faq__icon {
    width: 30px;
    height: auto;
  }

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

  .footer__nav {
    display: flex;
    flex-wrap: wrap;
  }

  .footer__column {
    min-width: 150px;
  }

  .footer__heading {
    display: inline-flex;
  }

  .footer__links {
    row-gap: 10px;
  }

  .popup__close {
    top: 0px;
    right: 5px;
  }
}
