:root {
  --cream: #F3F3F3;
  --pink: #FFEEEF;
  --pink-soft: #FFD0D3;
  --primary: #1F1F1F;
  --black: #000000;
  --secondary: #535353;
  --light-pink: #F8BCDE;
  --dark-berry: #730041;
  --dark-yellow: #614D02;

  --white: #FFFFFF;
  --dark-pink: #FF5C66;
  --charcoal-dark: #1B1C1A;
  --dark-gray: #46483D;
  --light-gray: #F5F3EF;

  --manrope: 'Manrope', sans-serif;
  --poppins: 'Poppins', sans-serif;
  --classica: 'Classica', sans-serif;
  --bg-overlay: #5761380D;

  --light-green: #A1F773;
  --purple: #410073;

  --deep-purple: #7E22CE;
  --deep-teal: #0F766E;
  --deep-blue: #1D4ED8;
  --deep-rose: #E11D48;
  --deep-amber: #D97706;

  --bright-purple: #9844E0;
  --bright-teal: #219289;
  --bright-blue: #406EF2;
  --bright-rose: #F05073;
  --bright-amber: #E89D46;

  --pastel-yellow: #F7E4A8;
  --pastel-purple: #BCBFF8;
  --pastel-orange: #F7B173;
  --pastel-teal: #BCF8E7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins";
  background: var(--cream);
}

html {
  scroll-behavior: smooth;
}

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

.header {
  font-size: 40px;
  font-weight: 600;
  color: var(--primary);
  line-height: 52px;
  display: inline-block;
  margin-bottom: 30px;
}

.habit-section .header {
  margin-bottom: 50px;
}

.header::after {
  content: "";
  display: block;
  width: 100%;
  height: 25px;
  margin-top: 0;
  background: url("../images/header-bottom-shape.png") no-repeat left center / contain;
}

.btn-primary {
  color: var(--white);
  border: none;
  padding: 22px 62px;
  border-radius: 130px;
  font-size: 24px;
  cursor: pointer;
  line-height: 100%;
  /* background: linear-gradient(180deg, #534300 0%, #534300 100%); */
  background: linear-gradient(90deg, #FF5C66 0%, #FFD0D3 100%);
  font-weight: 600;
  font-family: var(--poppins);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary {
  color: var(--primary);
  border: none;
  padding: 16px 40px;
  border-radius: 130px;
  font-size: 18px;
  cursor: pointer;
  line-height: 28px;
  font-weight: 800;
  background-color: var(--white);
  font-family: var(--manrope);
}

.hero {
  background: linear-gradient(180deg, #FFEEEF 50%, #FFD0D3 100%);
  padding-bottom: 0;
}

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  gap: 228.17px;
  align-items: center;
  padding: 0 5px;
}

.brand-logo {
  object-fit: cover;
  display: block;
}

.brand-text {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 34px;
  height: 5px;
  margin: 0;
  border-radius: 999px;
  background: var(--primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 100%;
  font-family: "Poppins";
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero-content {
  text-align: center;
  padding-top: 80px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "classica";
}

p {
  margin: 0;
  font-family: "poppins";
}

.hero-title {
  font-size: clamp(2rem, 4vw, 62px);
  line-height: 72px;
  max-width: 1083px;
  margin: 0 auto 0.8rem;
  color: var(--primary);
  font-family: "Poppins";
  font-weight: 800;
  font-size: 62px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 30px;
  margin: 21px 0 31px 0;
  line-height: 45px;
  font-weight: 400;
  color: var(--secondary);
  font-family: 'Poppins';
}

.hero-stage {
  position: relative;
}

.phone-screen {
  display: block;
  margin: auto;
}

.calendar {
  right: 77px;
  top: 17px;
}

.phone-mockup {
  position: relative;
  left: 18px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.2rem;
  color: var(--primary);
}

/* feature section  */
.features {
  padding: 80px 20px;
}

.features-section {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.feature-icon {
  background: var(--pink);
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  display: flex;
  border-radius: 50%;
  margin-bottom: 9px;
}

.feature-card {
  background: var(--white);
  border-radius: 24px;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  grid-column: span 2;
}

.highlight {
  background: var(--pink);
}

.highlight .feature-icon {
  background: var(--white);
}

.wide {
  grid-column: span 3;
  min-height: 400px;
  position: relative;
}

.feature-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 10px;
  color: var(--primary);
}

.feature-description {
  font-size: 16px;
  font-weight: 400;
  color: var(--secondary);
  margin: 0 0 auto 0;
  line-height: 24px;
}

.feature-card .feature-image {
  margin: 23px auto -23px;
  object-fit: contain;
}

.wide .feature-title,
.wide .feature-description {
  max-width: 175px;
}

/* {
  margin: auto -8px -22px auto;
  position: absolute;
  right: 20px;
  top: 30px;
} */

.feature-categories .feature-image,
.feature-progress .feature-image {
  position: absolute;
  right: 20px;
  bottom: 0;
}

/*  */

.mt {
  margin-top: 1rem;
}

.testimonial p {
  line-height: 1.35;
}

.faq p {
  margin-bottom: 0;
  color: var(--dark-gray);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 24px;
}

.footer {
  margin-top: 0;
}

.footer-main {
  background: var(--white);
  padding: 50px 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-features {
  justify-self: start;
}

.footer-resources {
  justify-self: end;
}

.footer-heading {
  font-weight: 600;
  font-size: 48px;
  line-height: 54px;
  color: var(--primary);
  margin-bottom: 24px;

}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-family: var(--poppins);
  font-weight: 400;
  font-size: 34px;
  line-height: 39px;
}

.footer-logo img {
  width: 100%;
  object-fit: contain;

}

.footer-emblem {
  width: min(200px, 42vw);
  max-width: 220px;
  aspect-ratio: 1;
}

.footer-emblem-svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer-emblem-text {
  font-family: var(--poppins);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-emblem-text--top {
  font-size: 13px;
}

.footer-emblem-text--bottom {
  font-size: 6.5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2rem;
  margin-top: 55px;
}

.footer-powered {
  font-family: var(--poppins);
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  color: var(--dark-pink);
}

.footer-app-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px;
}

.footer-get-app {
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
  color: var(--primary);

}

.footer-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.footer-bottom-bar {
  height: 12px;
  background: #1b1c1a;
}

/* habit section  */
/* SECTION */
.habit-section {
  padding: 0 20px 80px 20px;
}

/* .habit-section .header {
  max-width: 820px;
  text-wrap: balance;
} */

.habit-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 29px 0;
}

.habit-tracking-card,
.streak-system-card {
  max-width: 600px;
  padding: 30px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  transform: rotate(-14deg);

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.streak-system-card.yellow,
.streak-system-card.orange,
.streak-system-card.light-green {
  transform: rotate(4deg);
}

.habit-inner-card {
  max-width: 385px;
  position: relative;
  z-index: 2;
}

.habit-icon {
  position: absolute;
  right: 86px;
  top: 52%;
  transform: translateY(-50%);
  z-index: 1;
}

.pink {
  background-color: var(--light-pink);
  background-image: url("../images/card-pattern-pink.svg");
}

.yellow {
  background-color: var(--pastel-yellow);
  background-image: url("../images/card-pattern-yellow.svg");
}

.purple {
  background-color: var(--pastel-purple);
  background-image: url("../images/card-pattern-purple.svg");
}

.orange {
  background-color: var(--pastel-orange);
  background-image: url("../images/card-pattern-orange.svg");
}

.teal {
  background-color: var(--pastel-teal);
  background-image: url("../images/card-pattern-teal.svg");
}

.light-green {
  background-color: var(--light-green);
  background-image: url("../images/card-pattern-light-green.svg");
}

.pink h2 {
  color: var(--dark-berry);
}

.yellow h2 {
  color: var(--dark-yellow);
}

.purple h2 {
  color: var(--purple);
}

.orange h2 {
  color: #653702;
}

.teal h2 {
  color: #005E73;
}

.green h2 {
  color: #3F6502;
}

.streak-system-card h2,
.habit-tracking-card h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 10px;
  font-family: var(--poppins);
}

.habit-tracking-card p,
.streak-system-card p {
  font-size: 32px;
  font-weight: 300;
  line-height: 50px;
  color: var(--black);
  margin: 0;
  font-family: 'DM Sans';
}

/* testimonials section  */
.testimonials {
  padding: 80px 0;
}

.reviews-cards {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-slider-controls {
  display: none;
}

.review-card {
  padding: 32px;
  border-radius: 24px;
  position: relative;
}

.light {
  background: var(--white);
  padding: 40px;
}

.light:before {
  content: "";
  background: var(--bg-overlay);
  position: absolute;
  right: 0;
  top: 0;
  width: 120px;
  height: 120px;
  border-bottom-left-radius: 100%;
  border-top-right-radius: 24px;
}

.green {
  background: var(--pink-soft);
}

.stars {
  color: var(--dark-pink);
  font-size: 20px;
  margin-bottom: 15px;
}

.review-content {
  font-size: 18px;
  line-height: 33px;
  color: var(--charcoal-dark);
  font-weight: 400;
  margin-bottom: 25px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-user img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.review-user h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--primary);
  font-family: var(--classica);
}

.review-user span {
  font-family: var(--manrope);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--secondary);
}

.cta {
  text-align: center;
}

.cta h3 {
  color: var(--primary);
  font-size: 32px;
  font-weight: 600;
  line-height: 36px;
  margin-bottom: 20px;
}

/* contact section  */

.contact-section {
  padding: 0 0 80px 0;
}

.contact-form {
  background: var(--white);
  border-radius: 48px;
  padding: 48px;
}

.contact-form-group {
  margin-bottom: 16px;
}

.name-email-group {
  display: flex;
  gap: 32px;
}

.contact-form .btn-primary {
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.contact-form-group label {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: var(--classica);
}

.contact-info {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
}

input,
select,
textarea {
  width: 100%;
  padding: 17px 24px;
  border-radius: 160px;
  border: none;
  background: var(--light-gray);
  outline: none;
  margin-top: 8px;
  color: #77786C80;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  font-family: var(--poppins);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23A8A89B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 14px 9px;
}

select::-ms-expand {
  display: none;
}

textarea {
  height: 120px;
  border-radius: 20px;
}

.note {
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  color: #00000080;
  margin-top: 16px;
}

.info-box {
  background: var(--pink);
  padding: 40px;
  border-radius: 24px;
}

.info-box h3 {
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  color: var(--primary);
  margin-bottom: 32px;
}

.info {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.email-icon,
.location-icon,
.social-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-title,
.location-title,
.social-title {
  color: var(--dark-gray);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1.4px;
  margin-bottom: 4px;
}

.email,
.location {
  color: var(--charcoal-dark);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.social {
  color: var(--dark-gray);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}


/* faq section  */
.faq {
  padding: 0 0 80px 0;
}

.faq-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.faq-have-questions {
  width: 280px;
  background: var(--white);
  padding: 32px;
  border-radius: 24px;
}

.faq-have-questions h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--primary);
  margin-bottom: 16px;
}

.faq-have-questions button {
  background: linear-gradient(90deg, #FF5C66 0%, #FFD0D3 100%);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
}

.faq-items {
  flex: 1;
}

.faq-items .faq-item {
  background: var(--pink);
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
}

.faq-items .faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.active .faq-question {
  border-bottom: 1px solid #FF5C66;
}

.faq-question {
  padding: 16px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 32px;
  font-family: var(--poppins);
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  opacity: 0;
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    padding 0.35s ease;

  will-change: max-height;
}

.faq-items .faq-item.active .faq-answer {
  padding: 16px 32px;
  opacity: 1;

}

.faq-items .faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-question-text {
  font-family: var(--classica);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  text-transform: capitalize;
}

/* growth section */
.growth {
  background: var(--white);
  padding: 80px 0;
}

.growth .header {
  margin-bottom: 32px;
  text-align: start;
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 40px 0;
  overflow: hidden;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  position: relative;
  flex: 0 0 33.333%;
  color: var(--white);
  padding: 16px 100px 16px 60px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 50%, calc(100% - 40px) 100%, 0 100%, 20px 50%); */
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  width: 65px;
  height: 100%;
  background: var(--white);
  clip-path: polygon(0% 0%, 68% 50%, 0% 100%, 30% 100%, 100% 50%, 30% 0%);
}

.step1 {
  background: var(--deep-purple);
  clip-path: polygon(0% 0%, calc(100% - 45px) 0, 100% 50%, calc(100% - 45px) 100%, 0% 100%, 45px 50%);
}

.step2 {
  background: var(--deep-teal);
  clip-path: polygon(0% 0%, calc(100% - 45px) 0, 100% 50%, calc(100% - 45px) 100%, 0% 100%, 45px 50%);
}

.step3 {
  background: var(--deep-blue);
  clip-path: polygon(0% 0%, calc(100% - 45px) 0, 100% 50%, calc(100% - 45px) 100%, 0% 100%, 45px 50%);
}

.step4 {
  background: var(--deep-rose);
  clip-path: polygon(0% 0%, calc(100% - 45px) 0, 100% 50%, calc(100% - 45px) 100%, 0% 100%, 45px 50%);
}

.step5 {
  background: var(--deep-amber);
  clip-path: polygon(0% 0%, calc(100% - 45px) 0, 100% 50%, calc(100% - 45px) 100%, 0% 100%, 45px 50%);
}

.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16); */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-family: var(--poppins);
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
}

.step1 .circle {
  background: var(--bright-purple);
}

.step2 .circle {
  background: var(--bright-teal);
}

.step3 .circle {
  background: var(--bright-blue);
}

.step4 .circle {
  background: var(--bright-rose);
}

.step5 .circle {
  background: var(--bright-amber);
}

.step h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 22px;
  line-height: 100%;
}

.step p {
  color: var(--white);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
}

/* responsive  */

@media (max-width: 1280px) {

  /* hero section  */
  .progress,
  .calendar {
    right: 0;
  }

  /* feature section  */

  .wide .feature-title,
  .wide .feature-description {
    max-width: 100%;
  }

  .feature-categories .feature-image,
  .feature-progress .feature-image {
    position: unset;
  }

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

  .step {
    flex: none;
    padding: 16px 80px 16px 60px;
  }
}

@media (max-width: 1024px) {
  .nav {
    gap: 0;
    justify-content: space-between;
    padding: 0 20px;
  }

  .habit-icon {
    right: 60px;
  }

}


@media (max-width: 992px) {
  .phone-screen {
    width: min(100%, 340px);
    display: block;
    margin: auto;
  }

  .hero-stage,
  .footer-top-grid,
  .arrows {
    grid-template-columns: 1fr;
  }

  .footer-resources {
    justify-self: center;
    text-align: center;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 30px;
  }

  .footer-app-block {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-get-app {
    font-size: 36px;
  }

  .brand-text {
    display: none;
  }

  .contact-info {
    gap: 20px;
  }

  /* feature section  */
  .features-section {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .wide {
    grid-column: span 1;
    min-height: auto;
    padding-bottom: 0;
  }

  .features h1 {
    font-size: 34px;
  }

  .feature-card .feature-image {
    position: static;
    width: min(50%, 320px);
    margin: 20px auto 0;
  }

  .wide .feature-image {
    width: min(82%, 340px);
    margin: 20px auto 0;
  }

  .wide .feature-title,
  .wide .feature-description {
    max-width: 100%;
  }

  .habit-section .header {
    font-size: 34px;
    line-height: 1.2;
    max-width: 680px;
  }

  .habit-tracking-card,
  .streak-system-card {
    max-width: 100%;
  }

  .streak-system-card h2,
  .streak-system-card h2,
  .habit-tracking-card h2 {
    font-size: 23px
  }

  .habit-tracking-card p,
  .streak-system-card p {
    font-size: 17px;
    line-height: 25px;
    max-width: 200px;
  }

  /* growth section  */
  .step h3 {
    font-size: 26px;
  }

  .step p {
    font-size: 20px;
  }

  .habit-icon {
    right: 56px;
  }

}

@media (min-width: 600px) and (max-width: 991px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "logo logo"
      "features resources";
    align-items: start;
    justify-items: stretch;
    gap: 1.75rem 2rem;
    text-align: left;
  }

  .footer-logo {
    grid-area: logo;
    justify-self: center;
  }

  .footer-logo img {
    width: 180px;
    max-width: 100%;
  }

  .footer-features {
    grid-area: features;
    justify-self: start;
    text-align: left;
  }

  .footer-resources {
    grid-area: resources;
    justify-self: end;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .btn-primary {
    font-size: 20px;
    line-height: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 125;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    background: var(--cream);
  }

  .brand {
    position: relative;
    z-index: 125;
  }

  .nav-links {
    position: fixed;
    top: 100px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 1.1rem;
    padding: 20px 20px 34px;
    border-radius: 0;
    background: var(--cream);
    border: none;
    box-shadow: none;
    z-index: 124;
  }

  .nav-links.open {
    display: flex;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1.1rem;
    display: inline-block;
  }

  .nav {
    position: relative;
    justify-content: space-between;
    padding: 0 10px;
    gap: 0;
  }

  .hero-content {
    padding-top: 20px;
  }

  .hero-title {
    font-size: 40px;
    max-width: 100%;
    line-height: 72px;
  }

  .header {
    font-size: 20px;
    line-height: 27px;
  }

  .habit-section .header {
    font-size: 20px;
    line-height: 30px;
    max-width: 100%;
  }

  .header::after {
    background-size: inherit;
  }

  .hero-title br {
    display: none;
  }

  .phone-mockup {
    left: 0;
  }

  /* habit section  */
  .habit-section {
    padding: 0 20px 60px 20px;
  }

  .habit-tracking-card,
  .streak-system-card {
    width: 100%;
    padding: 20px;
    border-radius: 17px;
  }

  .streak-system-card h2,
  .habit-tracking-card h2 {
    font-size: 23px;
  }

  .habit-tracking-card p,
  .streak-system-card p {
    font-size: 17px;
    line-height: 25px;
  }

  /* testimonials  */
  .contact-info {
    grid-template-columns: 1fr;
  }

  .reviews-cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: 16px;
    padding-bottom: 6px;
  }

  .reviews-cards::-webkit-scrollbar {
    display: none;
  }

  .reviews-cards .review-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 26px 20px;
  }

  .reviews-cards .light,
  .reviews-cards .green {
    padding: 26px 20px;
  }

  .reviews-cards .review-content {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 40px;
  }

  .reviews-cards .review-user h4 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .testimonial-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
  }

  .testimonial-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  }

  .testimonial-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  .testimonial-arrow svg path {
    fill: currentColor;
  }

  .testimonial-arrow.is-active {
    background: var(--primary);
    color: var(--white);
  }

  .testimonial-arrow.is-inactive {
    border-color: var(--primary);
    background: var(--white);
    color: var(--primary);
    cursor: not-allowed;
  }

  .testimonials {
    padding: 60px 0;
  }

  .cta h3 {
    font-size: 20px;
    line-height: 30px;
  }

  /* contact section  */
  .contact-form {
    padding: 34px 12px;
    border-radius: 24px;
  }

  .info-box {
    padding: 32px 12px;
  }

  .contact-form .btn-primary {
    padding: 12px 40px;
  }

  .name-email-group {
    flex-direction: column;
    gap: 0;
  }

  .contact-section {
    padding: 0 0 60px 0;
  }

  .email,
  .location,
  .social {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  /* faq section  */

  .faq {
    padding: 0 0 50px 0;
  }

  .faq-container {
    flex-direction: column;
  }

  .faq-have-questions {
    width: 100%;
  }

  /* .faq-question,
  .faq-items .faq-item.active .faq-answer {
    padding: 10px 12px;
  } */

  .faq-question-text,
  .faq-answer {
    font-size: 16px;
    line-height: 26px;
  }

  /* footer section  */

  .footer-top-grid,
  .footer-resources {
    text-align: start;
  }

  .footer-resources {
    justify-self: start;
  }

  .footer-heading {
    font-size: 36px;
    margin-bottom: 18px;
  }

  .footer-links a {
    font-size: 26px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-logo {
    width: 100%;
  }

  /* growth section  */
  .growth {
    padding: 50px 0;
  }

  .steps {
    flex-direction: column;
    gap: 12px;
  }

  .circle {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .step h3 {
    font-size: 20px;
  }

  .step p {
    font-size: 16px;
    line-height: 1.4;
  }

  .habit-inner-card {
    max-width: 345px;
  }

  .habit-icon svg {
    width: 40px;
    height: 40px;
  }

  .habit-icon {
    right: 14%;
  }
}

@media (max-width: 600px) {
  .habit-cards {
    grid-template-columns: 1fr;
    gap: 100px;
  }

  .habit-icon {
    right: 15%;
  }
}

@media (max-width: 480px) {
  .feature-card .feature-image.feature {
    width: 100%;
    margin: 20px 0 0 0;
  }

  .wide .feature-image {
    width: min(100%, 340px);
    margin: 20px auto 0;
    margin-right: -40px;
  }

  .habit-cards {
    gap: 60px;
  }

  .step::after {
    width: 50px;
  }

  .habit-icon {
    right: 12%;
  }
}