:root {
  --bg-color: #f1f7f3;
  --text-color: #19331f;
  --max-width: 1440px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 6rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bg-main {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Syne', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: var(--spacing-xl) var(--spacing-md) 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  position: relative;
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(21,190,78,1) 0%, rgba(24,219,90,1) 100%);
  padding: 70px 60px;
  min-height: 432px;
  max-width: 1230px;
}

/* .hero-gradient {
  position: absolute;
  width: 100%;
  height: 432px;
  top: 42px;
  left: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(21,190,78,1) 0%, rgba(24,219,90,1) 100%);
} */

/* .hero-content {
  position: absolute;
  width: 358px;
  top: 192px;
  left: 60px;
} */

.hero-content-wrapper {
  /* padding-top: 70px; */
  width: 30%;
}

.hero-content h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 50px;
  line-height: 57.5px;
  color: #fcfff8;
  margin-bottom: 24px;
}

.hero-content p {
  color: #fcfff8;
  font-size: 16px;
  line-height: 18.4px;
}
.app-stores {
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  margin-bottom: 36px;
}
/* .app-stores {
  position: absolute;
  top: 111px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
} */

.phones {
  min-width: 61%;
  width: 61%;
  position: relative;
}

.phones img {
  width: 100%;
  position: absolute;
  bottom: -70px;
  right: 0;
}

.phone {
  position: absolute;
}

.phone-1 {
  left: 0;
  bottom: 0;
}

.phone-2 {
  left: 220px;
  bottom: 62px;
}

.phone-3 {
  right: 0;
  top: 0;
}

.logo {
  position: absolute;
  width: 165px;
  height: 63px;
  top: 0;
  left: 0;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 66px 30px;
  max-width: 1110px;
  margin: 64px auto 0;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card img {
  width: 24px;
  height: 24px;
}

.feature-card h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 25.3px;
}

.feature-card p {
  font-size: 16px;
  line-height: 18.4px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1110px;
  width: 100%;
  margin: 64px auto 0;
  padding: 32px 0;
}

.app-stores img {
  max-width: 120px;
  height: auto;
}

footer a {
  color: var(--text-color);
  text-decoration: underline;
}

@media (max-width: 1225px) {
  .phones { 
    width: 52%;
  }
  .hero-content-wrapper {
    width: 45%;
  }
}

@media (max-width: 1180px) {
  .hero {
    flex-direction: column;
    padding-bottom: 0;
    gap: 32px;
  }
  .hero-content-wrapper {
    text-align: center;
  }
  .app-stores {
    width: 100%;
    justify-content: center;
  }
  .hero-content-wrapper,  .phones {
    width: 100%;
  }
   .phones img {
    position: initial;
    margin-bottom: -4px;
   }
   .bg-main {
    padding: 32px 15px 0 15px;
   }
   footer {
    justify-content: center;
   }
}

@media (max-width: 1280px) {

}

@media (max-width: 768px) {
  .hero {
    width: 100%;
    height: auto;
  }

  /* .hero-gradient {
    width: 100%;
    height: auto;
    padding: 40px 20px;
    position: relative;
    top: 0;
  } */

  .hero-content {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
  }

  /* .app-stores {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 30px;
  } */

  .features, footer {
    width: 100%;
    max-width: 1110px;
  }
}

@media (max-width: 768px) {
  .feature-card {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 33px;
    line-height: 48px;
    margin-bottom: 16px;
  }

  /* .app-stores {
    flex-wrap: wrap;
  } */

  .app-stores img {
    max-width: 68px;
    height: auto;
  }
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 30px;
  }
}

@media (max-width: 480px) {

  .hero-content h1 {
    line-height: 38px;
    margin-bottom: 16px;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 16px;
  }

  .feature-card h2 {
    font-size: 18px;
    line-height: 22px;
  }

  .feature-card p {
    font-size: 14px;
    line-height: 16px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    margin-top: 40px;
    padding: 24px 0;
  }
}