:root {
  --header-h: 80px;
  --footer-h: 60px;
  --vh: 1vh;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  /* enables snap scrolling */
}

body {
  margin: 0;
  background-color: rgba(49, 57, 95, 1);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom, 0px));
  overflow-y: scroll;
  /* global scrollbar */
  font-family: 'Changa', sans-serif;
  /* font-family: 'Changa One', cursive; */
}

/* Each section takes full viewport height */
.section {
  /* min-height: 100vh; */
  min-height: calc(100svh);
  /* modern mobile-safe viewport unit */
  min-height: calc(var(--vh) * 100);
  /* fallback (JS sets --vh) */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link {
  color: white;
  padding: 0.5rem 1rem;
}

.nav-link:focus,
.nav-link:hover {
  color: #E5A000;
}

.navbar-btn {
  border: none !important;
  color: rgba(25, 233, 206, 1) !important;
}

.navbar-btn:focus {
  border: none !important;
  color: rgba(25, 233, 206, 1) !important;
  box-shadow: none !important;
}

.navbar-btn span {
  color: rgba(25, 233, 206, 1) !important;
}

.navbar-btn-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url(img/nav-icon.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}


.top-menu {
  color: white !important;
  height: var(--header-h);
  background-color: rgba(60, 71, 126, 0.5) !important;
  backdrop-filter: blur(10px);
}

.logo-text {
  color: white;
  font-family: 'Changa One', cursive;
}

.bottom-menu {
  background-color: rgba(246, 246, 246, 0.2) !important;
  backdrop-filter: blur(10px)
}

.bottom-menu-container {
  height: 60px;
}

.footer-left {
  color: #e5e7eb;
  letter-spacing: 0.5px;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #E5A000;
  /* accent green on hover */
}

/* Adjust layout for small screens */
@media (max-width: 767.98px) {
  .footer .container-xl {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links a {
    margin: 0 0.75rem;
  }

  #siteFooter {
    display: none;
  }

  section#home {
    background-position: center;
  }

  .features-title {
    text-transform: none;
  }

  /* Title case on mobile, like mockup */
  .features-panel {
    border-radius: 14px;
  }

  .navbar-menu-links-area {
    margin: 0 -12px;
    background-color: rgba(60, 71, 126, 1) !important;
    /* min-height: 100vh; */
    min-height: calc(100svh);
    /* modern mobile-safe viewport unit */
    min-height: calc(var(--vh) * 100);
  }

  .navbar-menu-links-area ul {
    text-align: center;
    font-size: 1.25rem;
    margin-top: 1rem;
  }

  .navbar-menu-links-area ul li {
    padding: 1.5rem 1rem;
  }
}

section#home {
  background-image: url(img/home_section_bg.png);
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

.mobile-btn-be-the-first {
  margin-top: 10rem !important;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  width: clamp(300px, 10vw, 128px);
  height: auto;
  align-self: center;
}

/* Desktop heading */
.hero-title {
  color: white;
  font-family: 'Changa One', cursive;
  font-size: clamp(2.5rem, 4.6vw, 2.75rem);
  line-height: 0.95;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  color: white;
  font-size: clamp(1.125rem, 1.2vw + .6rem, 1.5rem);
}

/* Mobile heading */
.hero-mobile-title {
  font-weight: 700;
  font-size: clamp(1.25rem, 3.5vw + .5rem, 1.9rem);
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

/* CTA Button */
.btn-cta {
  background: linear-gradient(180deg, #FFAC33, #E5A000);
  color: #ffffff;
  border-radius: 7px;
  font-size: 1.25rem;
  border: none;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Explore */
.hero-explore {
  position: absolute;
  bottom: calc(var(--header-h) + 10px);
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  text-align: center;
}

.hero-explore small {
  font-size: 0.9rem;
}

.hero-chevron {
  display: block;
  font-size: 1.2rem;
  margin-top: 4px;
  color: #1e87e4;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(6px);
    opacity: 0.6;
  }
}

section#about {
  background-image: url(img/about_section_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.features-title {
  font-family: 'Changa One', cursive;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3.5vw + .5rem, 3rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.features-subtitle {
  color: #d8e0ea;
  max-width: 980px;
  font-size: clamp(1rem, .7vw + .9rem, 1.4rem);
}

/* Flame + label */
.features-icon {
  height: 80px;
}

.features-label {
  color: #dbe5f0;
  opacity: .95;
}

/* Panel (rounded card with soft border/glow) */
.features-panel {
  max-width: 880px;
  margin-top: 10px;
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: 16px;
  background: rgba(36, 52, 92, .65);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(120, 224, 212, .35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* Feature item icons */
.fi {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}

/* Typography for each bullet */
.row p {
  text-align: left;
  color: #eaf0f6;
  line-height: 1.35;
  font-size: clamp(.95rem, .4vw + .8rem, 1.05rem);
}

section#app-screens {
  background-image: url(img/presentation_section_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Carousel layout */
.screens-carousel {
  width: 100%;
}

.screens-viewport {
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  scroll-behavior: smooth;

}

.screens-track {
  --gap: 32px;
  display: flex;
  gap: var(--gap);
  padding: 0 var(--gap);
  scroll-snap-type: x mandatory;
}

/* 1 per view on mobile */
.screen {
  width: 100%;
  flex: 0 0 100%;
  scroll-snap-align: center;
  text-align: center;
}

@media (min-width: 992px) {
  .screen {
    /* 3 columns with gap accounted for */
    flex: 0 0 calc((100% - var(--gap)*1) / 3);
    text-align: center;
  }
}

/* Titles */
.screen-title {
  font-family: 'Changa One', cursive;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: .35rem;
  font-size: clamp(1.1rem, .7vw + 1rem, 1.4rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
  color: white;
}

.screen-subtitle {
  color: #d8e0ea;
  margin-bottom: 1.2rem;
  font-size: clamp(.9rem, .5vw + .85rem, 1rem);
}

.phone {
  display: flex;
  justify-content: center;
}

.phone img {
  display: block;
  height: auto;
  border-radius: 10px;
}

/* Nav arrows */
.screens-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 48px;
  width: 48px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .08));
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.screens-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.btn-prev {
  left: 8px;
}

.btn-next {
  right: 8px;
}

/* Hide arrows on very small screens if you prefer gestures */
@media (max-width: 420px) {
  .screens-nav {
    display: none;
  }
}

/* Dots */
.screens-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.screens-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #86a8c8;
  opacity: .6;
}

.screens-dots button[aria-current="true"] {
  width: 26px;
  border-radius: 999px;
  opacity: 1;
  background: #ffd166;
}

section#subscribe {
  background-image: url(img/bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

/* Title */
.join-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw + .5rem, 3rem);
  letter-spacing: .3px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

/* Card with teal border + top accent strip (like mockup) */
.join-card {
  position: relative;
  max-width: 680px;
  padding: clamp(1rem, 2.6vw, 2rem);
  border-radius: 18px;
  background: rgba(39, 52, 92, .72);
  border: 3px solid rgba(61, 226, 208, .85);
  /* teal outline */
  box-shadow: 0 10px 40px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .07);
  margin-inline: auto;
}

/* top mini strip centered */
.join-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  /* sits on the border */
  transform: translateX(-50%);
  width: 38%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #2be0d1, #18b1c6);
}

/* Form bits */
.join-input {
  height: 48px;
  border-radius: 6px;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.join-input::placeholder {
  color: #cfd6e2;
  opacity: .9;
}

.join-btn {
  height: 54px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .4px;
}

/* Small gray text under button */
.join-note {
  color: #d9e2ee;
  opacity: .9;
  margin-top: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.35;
}

/* Social */
.join-follow {
  color: #e9f0f7;
  opacity: .95;
}

.join-social {
  width: clamp(30px, 2.6vw + 18px, 42px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25));
}

/* Mobile spacing tweaks */
@media (max-width: 575.98px) {
  .join-card {
    border-radius: 16px;
  }

  .join-card::before {
    width: 46%;
  }
}

section#faq {
  background-image: url(img/bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.faq-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw + .5rem, 3rem);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

/* Accordion styling */
.faq-accordion {
  max-width: 880px;
  border: none;
}

.accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-button {
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fbbf24' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  transform: rotate(0deg);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

/* Accordion body */
.accordion-body {
  background-color: rgba(255, 255, 255, 0.05);
  color: #dbe6f3;
  padding: 0.75rem 1.5rem 1.25rem;
  font-weight: 500;
  border-left: 3px solid #fbbf24;
}

@media (max-width: 575.98px) {
  .faq-accordion {
    max-width: 100%;
  }

  .accordion-button {
    font-size: 1rem;
  }
}


.alternative-body {
  background-color: rgba(49, 57, 95, 1);
  padding-bottom: 0px !important;
}

.terms-container {
  padding: 2rem;
  color: #eaf0f6;
  font-weight: normal !important;
}

.terms-container p a {
  color: #fbbf24;
}

.terms-container h1{
  font-family: 'Changa One', cursive;
  font-size: 1.75rem;
}

.terms-container h2{
  font-family: 'Changa One', cursive;
  font-size: 1.25rem;
  font-weight: normal !important;
}

.terms-container h4 {
  font-family: 'Changa One', cursive;
  font-size: 1rem;
  font-weight: normal !important;
}
