/*****************************************************************
 * Fonts
 *****************************************************************/

@font-face {
  font-family: "Inter";
  src: local("Inter"), url("./fonts/Inter-Regular.woff2") format("woff2"),
    url("./fonts/Inter-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter"), url("./fonts/Inter-Bold.woff2") format("woff2"),
    url("./fonts/Inter-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* apply the fonts to all text */
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #fff;
}

body.dark-mode {
  background: #121212; /* Dark background */
  color: #ffffff; /* Light text */
}

body.dark-mode .pricing-card {
  background: #1e1e1e; /* Dark card background */
  color: #ffffff; /* Light text */
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1); /* Lighter box-shadow */
}

body.dark-mode .pricing-card.selected {
  border-color: #1a73e8; /* Brighter color for selected state */
  background-color: #2a2a2a; /* Slightly lighter bg for selected card */
}

body,
button,
input,
textarea {
  font-weight: 400; /* Regular */
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-weight: 700; /* Bold */
}

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
  max-width: 100px;
  height: auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 1rem;
  padding: 0 0.5rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #007bff;
}

.nav-cta {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .nav-links li {
    margin-left: 0.5rem;
  }
}

.cta-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-button {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border-radius: 20px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.cta-button::after {
  content: "->";
  margin-left: 0.5rem;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-2px); /* Lift effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* More prominent shadow */
}

/* Styling for the hamburger icon */
.hamburger-menu {
  display: none;
  flex-direction: column;
}

.hamburger-menu div {
  background-color: black;
  height: 3px;
  width: 30px;
  margin: 3px;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.modal-active {
  overflow: hidden; /* Hide scrollbars */
}

.mobile-nav-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed position to cover the entire viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001; /* Ensure it's above other content but below the sticky header */
  overflow-y: auto; /* Allow scrolling within the modal if content overflows */
}

.mobile-nav-content {
  background-color: #fff;
  padding: 20px;
  margin-top: 60px; /* Push content down below the header */
  width: 100%; /* Full width */
  box-sizing: border-box;
}

.mobile-nav-modal.active {
  display: flex; /* Show modal */
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
}

.mobile-nav-links li a {
  display: block;
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.5rem; /* Larger font size for modal links */
  transition: color 0.3s ease;
}

.mobile-nav-links li a:hover {
  color: #007bff; /* Highlight color on hover */
}

.mobile-nav-cta {
  margin-top: 1rem;
}

/* @media (min-width: 769px) {
  .mobile-nav-modal.active {
    display: none;
  }
} */

.nav-links,
.nav-cta {
  display: none;
}

/* .hamburger-menu {
  display: flex;
  cursor: pointer;
} */

/*****************************************************************
 * Hero
 *****************************************************************/

#hero {
  text-align: center;
  padding: 2rem 2rem;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

#hero h2 {
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

#hero button {
  padding: 1rem 2rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#hero button:hover {
  background: #0056b3;
}

.app-screenshot-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.app-screenshot {
  max-height: 700px;
  width: auto;
  height: auto; /* Maintain aspect ratio */
}

@media (max-width: 768px) {
  .app-screenshot-container {
    flex-direction: column;
    overflow-x: hidden;
  }

  .app-screenshot {
    max-width: 100%;
    height: auto;
  }
}

#about {
  text-align: center;
  padding: 2rem 2rem;
}

#about h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

#about p {
  font-size: 1.5rem;
}

/*****************************************************************
* Features
*****************************************************************/
#features {
  padding: 4rem 0;
  text-align: center;
}

.features-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.features-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.feature {
  flex-basis: calc(33.333% - 1rem); /* 3 features per row */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.feature-icon {
  width: 60px;
  height: auto;
  margin-bottom: 1rem;
}

.feature-heading {
  font-size: 1.5rem;
  margin: 0;
}

.feature-description {
  font-size: 1rem;
  color: #666;
}

@media (max-width: 1024px) {
  .features-container {
    flex-direction: column;
  }

  .feature {
    flex-basis: 100%;
  }
}

/*****************************************************************
* Pricing
*****************************************************************/
#pricing {
  text-align: center;
  padding: 2rem;
}

#pricing h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

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

/* Pricing Cards */
.pricing-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent; /* Default no border */
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.pricing-card div {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
  margin-bottom: 1rem;
}

.pricing-card.selected {
  border-color: #007bff;
  background-color: #f0faff;
}

.price {
  font-size: 2.5rem;
}

.term {
  font-size: 1rem;
}

.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px; /* Spacing between toggle and pricing cards */
}

.yearly-billing-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.savings {
  color: #4caf50; /* Use a color that stands out for savings */
  font-weight: bold;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #007bff;
}

input:focus + .slider {
  box-shadow: 0 0 1px #007bff;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.toggle-label {
  font-size: 16px;
  color: #666;
}

.pricing-card .cta-button {
  margin-top: 1rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem; /* Space for checkmark or cross */
}

.pricing-features ul li:first-child {
  padding-top: 0;
}

.pricing-features ul li:last-child {
  padding-bottom: 0;
}

.pricing-card .included::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50; /* Green checkmark */
  font-weight: bold;
}

.pricing-card .excluded::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ff1744; /* Red cross */
  font-weight: bold;
}

.monthly-label::after {
  content: "Billed Monthly";
}
.yearly-label::after {
  content: "Billed Yearly";
}
.savings::after {
  content: "<-Get 2 months free";
}

@media (max-width: 400px) {
  .toggle-container,
  .yearly-billing-label {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .monthly-label::after {
    content: "Monthly";
  }
  .yearly-label::after {
    content: "Yearly";
  }
  .savings {
    display: none;
  }
}

/* FAQ Section */
#faq {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #f9f9f9;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.faq-question {
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem;
  font-size: 1.2rem;
  text-align: left;
  width: 100%;
  cursor: pointer;
  position: relative;
}

.faq-question .icon {
  position: absolute;
  right: 1rem;
  transition: transform 0.3s ease;
}

.faq-question.active .icon {
  transform: rotate(45deg); /* or replace with '−' */
}

.faq-question:hover {
  background: #f8f8f8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1rem;
}

.faq-answer p {
  padding: 0 1rem 1rem;
  margin: 0;
  display: none;
}

.faq-question.active + .faq-answer p {
  display: block;
}

/*****************************************************************
* Call to Action
*****************************************************************/
.cta {
  text-align: center;
  padding: 3rem 2rem;
}

.cta-img {
  max-width: 100px;
  margin-bottom: -2rem;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.cta-description {
  color: #666;
  margin-bottom: 2rem;
}

.cta-btn {
  padding: 1rem 2rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background: #0056b3;
}

/*****************************************************************
* Footer
*****************************************************************/
footer {
  text-align: center;
  padding: 1rem 0;
}

.footer-divider {
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  ); /* A softer gradient */
  margin: 0 auto 2rem; /* Increased margin for visual separation */
}

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

.footer-tagline {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0.5rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #000;
}

.link-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 1rem;
}

.footer-secondary {
  text-align: center;
  padding-top: 1rem;
}

.footer-copy {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.social-icon {
  width: 24px;
  height: auto;
}

.footer-download {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .footer-download {
    flex-direction: column;
  }
}

/*****************************************************************
* Download buttons
*****************************************************************/

.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.app-store-btn img {
  height: 55px;
  width: auto;
}

.google-play-btn img {
  height: 80px;
  width: auto;
}

@media (max-width: 768px) {
  .download-buttons {
    flex-direction: column;
  }
}

/*****************************************************************
* Stories
*****************************************************************/

#stories {
  text-align: center;
  position: relative;
  padding: 2rem 0;
}

.story {
  background-color: #f9fafe;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  min-width: calc(33.333% - 30px);
  height: 400px; /* Set a fixed height for all cards (adjust as needed) */
}

.swiper-container {
  overflow: hidden;
}

.swiper {
  max-width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.swiper-slide-active {
  z-index: 1;
}

.swiper-button-next:focus,
.swiper-button-prev:focus {
  outline: none;
}

.quote-icon {
  width: 50px;
  height: auto;
}

.quote {
  font-size: 1.5rem; /* Adjust the size as needed */
  font-style: italic;
}

.user {
  font-size: 1rem;
  text-align: left;
  display: block; /* Ensure it takes up its own line */
  margin-top: 15px; /* Space between quote and attribution */
}

@media (max-width: 768px) {
  .story {
    min-width: 100%; /* Display one card per row on small screens */
    max-width: 100%; /* Allow the card to take full width */
    margin-bottom: 20px; /* Add space between cards */
  }
}

/*****************************************************************
* Terms of Service
*****************************************************************/

.legal {
  padding: 2rem;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 800px;
  word-wrap: break-word;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.legal h2 {
  font-size: 1.6rem;
  margin-top: 1rem;
  text-align: center;
}

.legal p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 1rem;
}

/*****************************************************************
* Waitlist
*****************************************************************/

#waitlist {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.waitlist-container {
  max-width: 400px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.waitlist-container h1 {
  font-size: 2rem;
}

.waitlist-container p {
  margin-bottom: 20px;
}

#waitlist-form {
  display: flex;
  flex-direction: column;
}

.waitlist-checkbox {
  display: flex;
  align-items: center;
  justify-items: center;
  gap: 10px;
}

#waitlist-form input[type="email"],
#waitlist-form input[type="checkbox"] {
  padding: 0.75rem;
  border: 1px solid #cccccc; /* Lighter border color */
  border-radius: 4px; /* Consistent border-radius */
  font-size: 1rem; /* Standard font size for better readability */
  background: #f7f7f7; /* Slightly off-white background for input */
}

#waitlist-form button {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#waitlist-form button:hover {
  background-color: #0056b3;
}
