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

html {
  font-size: 100%; /* 16px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Sen', sans-serif;
  font-weight: 400;
  color: #4A4A4A;
  background: #f2f4f6; /* Overall background */
}

/* Typography */
h1 {
  font-size: 3.366rem; /* 53.92px */
  color: #89927F;
  text-transform: lowercase;
}

h2 {
  font-size: 2.525rem; /* 40.32px */
  color: #4A4A4A;
  text-transform: lowercase;
}

h3 {
  font-size: 1.894rem; /* 30.24px */
  color: #4A4A4A;
  text-transform: lowercase;
}

h4 {
  font-size: 1.421rem; /* 22.72px */
  color: #4A4A4A;
  text-transform: lowercase;
}

h5 {
  font-size: 1.066rem; /* 17.12px */
  color: #4A4A4A;
  text-transform: lowercase;
}

small {
  font-size: 0.600rem; /* 9.6px */
  color: #4A4A4A;
}

/* ------------------- */
/* NAVBAR – Always White */
/* ------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 11.11vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  background: #FFFFFF;
  transition: background 0.5s, color 0.5s;
}

/* Nav Links – Horizontal Layout */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.nav-links li a {
  text-decoration: none;
  font-size: 1.421rem; /* h4 size */
  color: #4A4A4A;
  transition: transform 0.2s, color 0.2s;
}

.nav-links li a:hover {
  transform: scale(1.05);
  color: #C86B73;
}

/* Logo */
nav .logo img {
  height: 50px;
  transition: all 0.3s ease;
}

/* ------------------- */
/* HERO SECTION (with full-bg + scroll fade) */
/* ------------------- */
:root { --page-bg: #f2f4f6; } /* match your body background */

#hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 11.11vh;          /* keep space for fixed navbar */
  overflow: hidden;
  background: transparent;       /* let the image show */
}

#hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;  /* subtle parallax on larger screens */
  z-index: 0;
}

/* text above everything */
#hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

/* darken top a bit for legibility */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.15) 60%, rgba(0,0,0,0));
  z-index: 1;
  pointer-events: none;
}

/* fade into page background at the bottom of hero */
#hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28vh;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--page-bg) 85%);
  z-index: 1;
  pointer-events: none;
}

/* iOS Safari fix */
@media (max-width: 768px) {
  #hero .hero-bg { background-attachment: scroll; }
}


/* Typewriter Effect (whiter text + better contrast) */
/* h1: "unbox your mind. unbox your potential." */
.typewriter h1 {
  overflow: hidden;
  border-right: 0.15em solid #FFFFFF; /* white cursor */
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  width: 0;
  color: #FFFFFF; /* bright white text */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* soft shadow for readability */
  animation: typing 1.12s steps(40, end) forwards, blink-caret 0.75s step-end 1.12s forwards;
}

/* h2: "revolutionizing mental health wellness for all" starts after h1 completes */
.typewriter h2 {
  overflow: hidden;
  border-right: 0.15em solid #FFFFFF;
  white-space: nowrap;
  margin: 20px auto 0 auto;
  letter-spacing: 0.1em;
  width: 0;
  color: #FFFFFF;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  animation: typing2 1.12s steps(40, end) forwards 1.12s, blink-caret 0.75s step-end 2.24s forwards;
}


@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes typing2 {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #7D9D87; }
}

/* ------------------- */
/* APP SECTION */
/* ------------------- */
#app-section {
  background: linear-gradient(to bottom, #f2f4f6, #f3f4f1);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 90%;
  margin: auto;
}

/* App Download Card */
.app-card {
  background: #e6ebf2;
  border-radius: 10px;
  width: 60%; /* ~60% of horizontal space */
  min-height: 300px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.app-card h1 {
  font-size: 2.525rem; /* h2 size for headline */
  color: #4F709C;
  text-transform: lowercase;
  margin: 0;
}

.app-card h2 {
  font-size: 1.894rem; /* h3 size for subtext */
  margin: 0;
}

/* Make the App Store badge 50% bigger */
.download-button a img {
  transform: scale(1.5);
  transform-origin: center;
}

/* ------------------- */
/* FLOATING PHONE MOCKUP */
/* ------------------- */
.phone-mockup {
  width: 260px; /* adjust as needed */
  height: auto;
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}


/* ------------------- */
/* UPCOMING SECTION */
/* ------------------- */
#upcoming-section {
  background: linear-gradient(to bottom, #f2f4f6, #f3f4f1);
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.upcoming-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 90%;
  margin: auto;
}

.video-container {
  flex: 1 1 300px;
}

.video-container video {
  width: 100%;
  height: 80vh; /* 80% of viewport height */
  object-fit: contain; /* show whole video */
  border-radius: 30px; /* Rounded corners */
}

.upcoming-content {
  flex: 1 1 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Testimonials Section */
#testimonials {
  background: #e6ebf2; /* Band behind the testimonial cards */
  padding: 40px 20px;
  text-align: center;
}

#testimonials h2 {
  color: #4F709C;
  margin-bottom: 20px;
  font-size: 2.525rem; /* Adjusted size for proper centering */
  text-align: center;
}

/* Testimonial Carousel */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  animation: scrollRight 60s linear infinite;
}

@keyframes scrollRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.testimonial-card {
  background: #d5ded8;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 250px;
}

.testimonial-text {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stars {
  margin-top: 5px;
  color: gold;
  font-size: 1.2rem; /* Adjusted for alignment */
}

.testimonial-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.testimonial-info h4, .testimonial-info h5 {
  margin: 0;
  font-size: 1.421rem; /* Keep text centered and readable */
}

.testimonial-info h5 {
  font-size: 1.066rem;
  color: #7D9D87; /* Slightly muted color for the location */
}

.testimonial-card .testimonial-info h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

/* Prevent horizontal scrolling */
body {
  overflow-x: hidden;
}

/* Ensure consistent alignment of stars */
.stars {
  line-height: 1;
  margin-top: 10px;
}

/* Optional visual adjustments for alignment */
.testimonial-info h4, .testimonial-info h5 {
  font-size: 1.5rem;
}

/* Testimonial Carousel Wrapper Adjustment */
.testimonial-carousel {
  height: 380px; /* Adjust height for better fit */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 200px;
  }
}




.waitlist-button button {
  background: #7D9D87;
  color: #FFFFFF;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.waitlist-button button:hover {
  transform: scale(1.05);
  background: #C86B73;
}


/* ------------------- */
/* PRICING SECTION */
/* ------------------- */
#pricing {
  background: #f2f4f6;
  padding: 40px 20px;
  text-align: center;
}

#pricing h2 {
  margin-bottom: 20px;
}

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

.pricing-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 300px;
  text-align: center;
  margin-bottom: 20px;
}

.pricing-card .waitlist-button button {
  background: #7D9D87;
  color: #FFFFFF;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Sen', sans-serif;
  font-size: 1.4rem; /* 40% larger font size */
  transition: transform 0.2s, background 0.2s;
}

.pricing-card .waitlist-button button:hover {
  transform: scale(1.05);
  background: #C86B73;
}


.pricing-card p {
  margin: 10px 0;
}

/* Premium Pricing Card */
.pricing-card.premium {
  flex: 1 1 350px;
  border: 2px solid #4F709C;
}

.pricing-card .waitlist-button {
  margin-top: auto;
}
/* FAQ Section
#faq {
  background: #f2f4f6;
  padding: 80px 20px; /* Larger gap between sections */
  /* text-align: center;
  margin-top: 80px;
} */
/* 
#faq h2 {
  text-align: center;
  color: #4A4A4A;
  font-size: 2.525rem;
  margin-bottom: 40px;
}

.faq-section { */
  /* max-width: 800px;
  margin: 0 auto;
  border-top: 2px solid #ccc; /* Line between header and questions */
  /* padding-top: 20px;
  text-align: left; /* Left-align questions within a centered container */
/* } */

/* Accordion button styles */
/* .accordion {
  background: transparent;
  color: #4A4A4A;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-family: 'Sen', sans-serif;
  font-size: 1.421rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
} */

/* .accordion .faq-toggle {
  margin-right: 10px;
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.3s;
} */

/* When active, rotate the toggle */
/* .accordion.active .faq-toggle {
  transform: rotate(45deg);
} */

/* FAQ answer panel */
/* .panel {
  padding: 0 18px;
  background: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-family: 'Sen', sans-serif;
  font-size: 1.066rem;
  color: #6D6D6D;
  margin-bottom: 20px;
} */ */






/* ------------------- */
/* FOOTER */
/* ------------------- */
footer {
  background: #f2f4f6; /* same as page background */
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

footer .separator {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 5px;
  background: #7D9D87;
  border-radius: 5px;
}

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

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer-links li a {
  text-decoration: none;
  color: #4A4A4A;
  transition: transform 0.2s, color 0.2s;
}

.footer-links li a:hover {
  transform: scale(1.05);
  color: #C86B73;
}

.app-card, .pricing-card, .testimonial-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover, .pricing-card:hover, .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.waitlist-button button {
  background: #7D9D87;
  color: #FFFFFF;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Sen', sans-serif;
  font-size: 1.4rem; /* 40% larger font size */
  transition: transform 0.2s, background 0.2s;
}

.waitlist-button button:hover {
  transform: scale(1.05);
  background: #C86B73;
}



/* Social Icons */
.social-links a {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 5px;
}
.social-links a img {
  width: 100%;
  height: 100%;
}

/* All Rights Reserved */
.footer-reserved {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #4A4A4A;
}

/* ------------------- */
/* RESPONSIVE ADJUSTMENTS */
/* ------------------- */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: row;
  }
  .app-container,
  .upcoming-container,
  .pricing-cards {
    flex-direction: column;
  }
}
