*,
*::before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* === Stolzl Custom Font === */
@font-face {
  font-family: "Stolzl";
  src: url("../assets/fonts/stolzl_regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Stolzl";
  src: url("../assets/fonts/stolzl_light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Stolzl";
  src: url("../assets/fonts/stolzl_medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Stolzl";
  src: url("../assets/fonts/stolzl_bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --heading-1: clamp(1.5rem, -0.1667rem + 5.1852vw, 7rem);
  --heading-2: clamp(1.25rem, -0.1667rem + 5.1852vw, 4.5rem);
  --heading-3: clamp(1.15rem, 0.75rem + 1.1111vw, 2rem);

  --sub-heading: clamp(1rem, 0.5556rem + 1.8519vw, 2rem);

  --body-text: clamp(0.875rem, 0.8333rem + 0.1852vw, 1rem);

  /* --sage-deep: #427a72;
  --clr-secondary: #def2db;

  --sage-mint: #f2f2e8;
  --sage-ink: #080809; */

  --sage-ink: #0b1f1a;
  --sage-deep: #1e5f57;
  --sage-mid: #2f7d71;
  --sage-mint: #e8f3ef;
  --sage-cream: #fcffff;
  --sage-accent: #7ac0a6;
  --ink: #0b1f1a;
  --bg: #ffffff;
  --shadow: 0 10px 20px rgba(11, 31, 26, 0.08), 0 3px 6px rgba(11, 31, 26, 0.06);
}

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

/* Fill all page background with #f2f2e8 */
body,
html {
  background: var(--sage-mint) !important;
  font-size: var(--body-text);
  line-height: 1.6;
  font-weight: 400;
  font-family: "Stolzl", -apple-system, system-ui, sans-serif;
  scroll-behavior: smooth;
  color: var(--sage-ink);
}

.grid_image_content {
  display: grid;
}

.grid_image_content .image_container,
.grid_image_content .content_container {
  grid-column: 1/-1;
  grid-row: 1/-1;
}

.grid_image_content .content_container {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.primary-heading {
  font-size: var(--heading-1);
  font-weight: 700;
}

.secondary-heading {
  font-size: var(--heading-2);
  font-weight: 700;
  line-height: 1.3;
}

.tertiary-heading {
  font-size: var(--heading-3);
  font-weight: 600;
  line-height: 1.4;
}

.sub-heading {
  font-size: var(--sub-heading);
  font-weight: 500;
  line-height: 1.4;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 100vh;
  border: none;
  outline: none;
  background-image: url("./assets/button.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--sage-ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease-in;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 106, 94, 0.25);
}

.custom-container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto; /* Centers the container */
  margin-left: auto;
  width: 100%; /* Ensures it starts at 100% width on extra small screens */
}

/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) {
  .custom-container {
    max-width: 540px;
  }
}

/* Medium devices (desktops, 768px and up) */
@media (min-width: 768px) {
  .custom-container {
    max-width: 720px;
  }
}

/* Large devices (large desktops, 992px and up) */
@media (min-width: 992px) {
  .custom-container {
    max-width: 960px;
  }
}

/* Extra large devices (extra large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .custom-container {
    max-width: 1140px;
  }
}

/* Apply a max-width when the screen is 1400px or wider */
@media (min-width: 1400px) {
  .custom-container {
    max-width: 1320px;
  }
}

/***************/
/** Header    **/
/***************/

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(232, 243, 239, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 95, 87, 0.1);
  z-index: 1000;
  isolation: isolate;
  padding: 1rem 0;
}

.nav {
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1000;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1002;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--sage-deep);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.close-icon {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle.active .hamburger-line {
  opacity: 0;
}

.nav-toggle.active .close-icon {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--sage-deep);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--sage-mid);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage-mid);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-early-access .btn-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* Mobile Navigation Styles */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }

  .nav-link {
    color: var(--sage-mint);
  }

  .nav-links {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--sage-deep);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(11, 31, 26, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(30, 95, 87, 0.1);
    font-size: 1.1rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-early-access {
    margin-top: 1rem;
  }

  .nav-early-access .btn-cta {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/******************/
/** Hero section **/
/******************/

#hero_section {
  margin-top: 73px;
}

.inner_content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1rem, 0.5rem + 2.7778vw, 3rem);
  color: var(--sage-mint);
  margin-inline: 1.5rem;
  align-items: center;
}

.inner_content img {
  width: clamp(6rem, 15vw + 0.1rem, 20rem);
  max-width: 100%;
  justify-self: center;
}

#hero_section .text_content {
  /* max-width: 580px; */
  color: var(--sage-mint);
  text-shadow: 0px 0 20px var(--sage-deep);
}

/******************/
/** who section **/
/******************/

#who_section .image_container img {
  object-position: 1px 0px;
}

@media (min-width: 1280px) {
  #who_section .image_container img {
    object-position: 3px 0px;
  }
}

#who_section .text_content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#who_section .text_content .secondary-heading {
  color: var(--sage-deep);
}

/**************************/
/** how it works section **/
/**************************/

#how_it_works_section {
  color: var(--sage-mint);
  background-image: linear-gradient(to right, #00a187, #007364);
  padding-block: 5rem;
  position: relative;
  isolation: isolate;

  /* @media (min-width: 768px) {
    padding-block: 0rem;
  } */
}
/* 
#how_it_works_section .grid_image_content {
  display: block;

  @media (min-width: 768px) {
    display: grid;
  }
}

#how_it_works_section .image_container {
  display: none;

  @media (min-width: 768px) {
    display: block;
  }
} */

#how_it_works_section .sage-strip {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
}

#how_it_works_section .image_container > img {
  height: 100%;
  object-fit: cover;
}

#how_it_works_section .content_container {
  /* max-width: 1280px; */
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
}

.swiper.how_swiper {
  max-width: 100%;
  width: 100%;

  padding: 2rem;
  margin-bottom: 3rem;

  color: var(--sage-mint);
  text-shadow: 0px 0 20px var(--sage-deep);
}

.swiper.how_swiper .swiper-button-prev,
.swiper.how_swiper .swiper-button-next {
  color: var(--sage-mint);
}

.slide_content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.slide_content__images_container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.25;
  padding: 2rem;
}

.slide_content__images_container > img {
  position: absolute;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.slide_content__images_container > .one_phone,
.slide_content__images_container > .two_phone,
.slide_content__images_container > .three_phone,
.slide_content__images_container > .four_phone,
.slide_content__images_container > .five_phone,
.slide_content__images_container > .six_phone {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
}

.slide_content__images_container > .one_sage,
.slide_content__images_container > .two_sage,
.slide_content__images_container > .three_sage,
.slide_content__images_container > .four_sage {
  top: auto;
  transform: scale(0.7);
  left: -25%;
  bottom: -20%;
}

.slide_content__images_container > .five_sage,
.slide_content__images_container > .six_sage {
  top: auto;
  transform: scale(0.7);
  right: -25%;
  bottom: -20%;
}

.slide_content__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
}

.slide_content__text > p {
  max-width: 650px;
  margin-right: 1rem;
}

@media (min-width: 768px) {
  .swiper.how_swiper {
    padding: 0;
    margin: 0;
  }

  .slide_content {
    grid-template-columns: 1fr 1.5fr;
  }
}

/******************/
/** sage in action section **/
/******************/

#sage_in_action_section {
  color: var(--sage-mint);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 2.4rem + 8vw, 12rem);
}

#sage_in_action_section .sage_in_action_green_bg,
#sage_in_action_section .sage_in_action_forest_bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#sage_in_action_section .sage_in_action_green_bg {
  top: 0;
  z-index: -2;
  object-position: top;
}

#sage_in_action_section .sage_in_action_forest_bg {
  bottom: 0;
  z-index: -1;
  object-position: bottom;
}

#sage_in_action_section .content_container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  gap: clamp(8rem, 3.2rem + 24vw, 32rem);
}

.video-embed {
  width: calc(100% - 4rem);
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  background: #000;
  margin-inline: auto;
}

.inner_grid_reversed {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(1rem, 0.5rem + 2.7778vw, 3rem);
  color: var(--sage-mint);
  margin-inline: 1.5rem;
  align-items: center;
}

.inner_grid_reversed > img {
  width: clamp(6rem, 15vw + 0.1rem, 20rem);
  max-width: 100%;
  justify-self: center;
}

.inner_grid_reversed__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.inner_grid_reversed__content > .sub-heading {
  color: var(--sage-mint);
  text-shadow: 0px 0 20px var(--sage-deep);
}

#cta_section {
  background-color: var(--sage-deep);
  color: var(--sage-mint);
  padding-block: 3rem;
}

.cta_content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-inline: 1rem;
}

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

.early-access-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .early-access-form {
    flex-direction: row;
    gap: 0.5rem;
  }
}

.early-access-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 100vh;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
}

.early-access-form input[type="email"]:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(30, 95, 87, 0.1);
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--sage-deep);
  color: var(--sage-mint);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 1001;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 300px;
  font-weight: 500;
}

.notification--show {
  transform: translateX(0);
  opacity: 1;
}

.notification--success {
  background: var(--sage-deep);
  color: var(--sage-mint);
}

.notification--error {
  background: #e74c3c;
  color: white;
}

.footer {
  padding: 36px 0;
  background: #f2f2e8;
  color: #404040;
  border-top: 1px solid var(--sage-mint);
}
.footer-grid {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 14px;
}
