
/* Fonts & core variables */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Inter", "Rubik", sans-serif;
  --background-color: #ffffff;
  --default-color: #2a2541;
  --heading-color: #1b1535;
  --accent-color: #6155F5;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --color-bg-primary: rgb(247, 247, 247);
}

/* light background modifier used on footer */
.light-background {
  --background-color: #edebf3;
  --surface-color: #ffffff;
}

/* Page base */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin: 0;
}

/* Header / logo */
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0 0 0;
  transition: all 0.3s;
  z-index: 997;
}
.header .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  /* background-color: color-mix(in srgb, var(--accent-color) 90%, black 15%); */
  border-radius: 8px;
}
.header .logo img {
  max-height: 40px;
  display: block;
}
.sitename {
  font-size: 26px;
  font-weight: 400;
  color: var(--heading-color);
  font-weight: 700;
}

/* Hero */
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 0 0;
  background: var(--background-color);
  text-align: center;
  background: rgb(247,247,247);
}
.hero-inner {
  width: 100%;
  margin: 0 auto;
  overflow: clip;
}
.hero-text-content {
  max-width: 900px;
  margin: 0 1.5em;
  margin-bottom: 50px;
}
#hero h1,
.hero-title {
  font-family: "Inter", var(--heading-font), sans-serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 24px;
}
#hero p,
.hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.5;
  max-width: 700px;
  margin-bottom: 25px;
}
.hero-description {
  max-width: 650px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* Hero actions (buttons) */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-actions .btn, .landing-section .btn {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 15px;
  transition: all 0.8s ease;
  /* height: 40px; */
}
.hero-actions .btn:hover, .landing-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Hero image area */
.hero-image-content {
  margin-top: 32px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-image-wrapper {
  max-width: 520px;
  width: 100%;
}
.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* custom-packages (simple content styles used by index.html) */
.custom-packages .content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.custom-packages .content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 1rem;
}
.custom-packages .image-wrapper img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
}

.landing-section .container {
    /* max-width: 960px; */
    max-width: 1200px;
    margin: auto;
}

.landing-section {
    padding-right: 3em;
    padding-left: 3em;
}

/* Waitlist form (hero) */
.waitlist-form {
  display: flex;
  align-items: center;
  /* gap: 10px; */
  /* margin-top: 25px; */
  background: transparent;
  border-radius: 20px;
  box-shadow: none;
  padding: 6px;
  max-width: 420px;
  font-size: 0.95rem;
}
.waitlist-form .email-input {
  width: 0;           /* collapse input */
  opacity: 0;         /* hide visually */
  padding: 0;         /* remove internal spacing */
  margin-right: 0;    /* no gap initially */
  pointer-events: none; /* prevent accidental focus */
  transition: all 0.8s ease; /* smooth expansion */
  box-sizing: border-box;
}
.waitlist-form.waitlist-input-expanded .email-input {
  width: 100%;       /* or desired width */
  opacity: 1;
  padding: 6px 12px; /* restore padding */
  margin-right: 10px; /* add gap to button */
  pointer-events: auto;
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  /* font-size: 15px; */
  color: #333;
  min-width: 0;
}
.waitlist-form.waitlist-input-expanded {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.waitlist-form .email-input::placeholder {
  color: #aaa;
}
.waitlist-form .submit-button {
  border: none;
  border-radius: 15px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 6px 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.8s ease, background 0.8s;
}

.waitlist-form .submit-button:hover {
  transform: translateY(-1px);
}

.btn-secondary-cta {
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  background: transparent;
  color: var(--accent-color);
  padding: 4px 10px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.8s ease, background 0.8s, color 0.8s;
  font-size: 0.95rem;
}

.btn-secondary-cta:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-1px);
}

/* Footer */
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
  padding-top: 20px;
}
.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: center;
}
.footer .copyright p {
  margin-bottom: 0;
}

/* Scroll top button (present in index.html) */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* Preloader (present in index.html) */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: rotate-preloader 1s linear infinite;
}
@keyframes rotate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive: align hero left on large screens like original */
@media (min-width: 992px) {
  #hero {
    text-align: left;
    align-items: flex-start;
    padding-top: 100px;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-text-content {
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
  }
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.btn-accent-secondary {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline-accent {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.super-wrap:after {
    content: "";
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to bottom, transparent 50%, var(--color-bg-primary) 100%);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
/* .hero-module-image-wrapper:after {
    content: "";
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to bottom, transparent 50%, var(--color-bg-primary) 100%);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
} */

.section.custom-packages, .section.cta {
    margin-top: 100px
}

.btn-secondary-cta:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.section.custom-packages .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section.custom-packages .section-text {
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.85;
}

.pricing-section {
  display: flex;
  justify-content: center;
  /* background: var(--color-bg-primary); */
  padding: 4rem 1rem;
}

.pricing-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1170px;
  justify-content: center;
}

.plan-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 300px;
  padding: 2rem;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-featured {
  background: #5243c2;
  color: #fff;
  box-shadow: 0 30px 25px rgba(82, 67, 194, 0.3);
  transform: scale(1.03);
}

.badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #4031b3;
  color: #19fabe;
  font-size: 10px;
  font-weight: 900;
  padding: 0.4rem 0.8rem;
  border-radius: 13px;
  letter-spacing: 0.8px;
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.amount {
  font-size: 2rem;
  font-weight: 900;
}

.period {
  font-size: 0.875rem;
  opacity: 0.7;
}

.plan-desc {
  color: #848199;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
}

.plan-featured .plan-desc {
  color: #fff;
  opacity: 0.9;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.plan-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: inherit;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color, #19fabe);
  font-weight: bold;
}

.btn-filled,
.btn-outline {
  border-radius: 24px;
  font-weight: 900;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  font-size: 0.95rem;
  /* transition: 0.3s ease; */
}

.btn-filled {
  background: #19fabe;
  color: #5243c2;
  border: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid #19fabe;
  color: #19fabe;
}

.btn-filled:hover {
  opacity: 0.9;
}

.btn-outline:hover {
  background: #19fabe;
  color: #fff;
}

@media (max-width: 768px) {
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .landing-section {
    padding-right: 1em;
    padding-left: 1em;
  }
}

.billing-toggle {
  position: relative;
  width: 220px;
  height: 44px;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 0 25px; */
  cursor: pointer;
  font-family: 'Avenir', sans-serif;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.83px;
  color: #848199;
  user-select: none;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 44px;
  background: #5243C2;
  box-shadow: 0 5px 7px rgba(82, 67, 194, 0.23);
  border-radius: 22px;
  transition: all 0.3s ease;
  z-index: 1;
}

.toggle-option {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  transition: color 0.3s ease;
}

.toggle-option.active {
  color: #19FABE;
}

.toggle-option:not(.active) {
  color: #848199;
}

.how-it-works-section {
  /* background: var(--color-bg-secondary, #f8f9fc); */
  background-color: white;
}

.how-step {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
}

.step-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-accent, #5243c2);
  background: rgba(82, 67, 194, 0.1);
  display: inline-block;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  line-height: 42px;
}

.step-title {
  font-weight: 700;
  color: var(--color-text-primary, #231d4f);
}

.waitlist-input-expanded {
  width: 100%;       /* or whatever expanded style you want */
  transition: width 0.8s ease;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 620px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ===========================
   FAQ Section
   =========================== */

.faq-section {
  background: white;
}

/* Accordion wrapper */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
}

/* Accordion item */
.faq-item {
  border: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 10px 3px rgba(0,0,0,0.05);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}

/* Header button */
.faq-item .accordion-button {
  background: #fff;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-color);
  border-radius: 14px;
  box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
  /* background: color-mix(in srgb, var(--accent-color), transparent 92%); */
  color: var(--heading-color);
  box-shadow: none;
}

/* Remove default arrow icon, replace with subtle one */
.faq-item .accordion-button::after {
  filter: invert(30%) sepia(12%) saturate(200%) hue-rotate(210deg);
  transform: scale(0.9);
}

.faq-item .accordion-button:not(.collapsed)::after {
  filter: invert(40%) sepia(40%) saturate(450%) hue-rotate(245deg);
}

/* Body */
.faq-item .accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  font-size: 1rem;
  line-height: 1.6;
}

/* Reset Bootstrap's forced radius on first and last accordion items */
.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-item:last-of-type > .accordion-header .accordion-button,
.accordion-item:first-of-type, .accordion-item:last-of-type {
  border-radius: 14px !important; /* matches your faq-item radius */
}