:root {
  /* Updated for soft cream/beige luxury aesthetic */
  --bg: #faf7f0;
  --bg-soft: #f4ede0;
  --surface: rgba(255, 255, 255, 0.65);
  --surface-strong: rgba(255, 255, 255, 0.85);
  --text: #2c251e;       /* Deep warm charcoal/bronze instead of harsh black */
  --muted: #6e6458;      /* Soft warm gray for subheadings */
  --gold: #c5a059;       /* Rich elegant gold */
  --gold-bright: #dfb76c; /* Soft glowing gold accent */
  --border: rgba(197, 160, 89, 0.22); /* Gold-tinted delicate borders */
  --max-width: 1120px;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(110, 100, 88, 0.12); /* Softened shadow for light mode */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  /* Background gradients inspired by the soft waves and lighting in your images */
  background:
    radial-gradient(circle at 10% 15%, rgba(223, 183, 108, 0.25), transparent 45%),
    radial-gradient(circle at 90% 5%, rgba(255, 255, 255, 0.8), transparent 40%),
    linear-gradient(135deg, #fbfaf5 0%, #f3ede2 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  color: #1e1914; /* Deepened text contrast for main display titles */
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 4.2rem 0;
}

.section-dark {
  /* Inverted to match a slightly alternate light-cream section instead of dark */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 55%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-highlight {
  background:
    radial-gradient(circle at 80% 10%, rgba(197, 160, 89, 0.12), transparent 30%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.section-head p {
  color: var(--muted);
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.76rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(12px);
  background: rgba(250, 247, 240, 0.8); /* Changed to frosted cream */
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #1e1914;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.nav-links {
  position: absolute;
  top: 72px;
  left: 1rem;
  right: 1rem;
  padding: 0.9rem;
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(254, 253, 250, 0.96); /* Elegant light popover */
  box-shadow: var(--shadow);
}

.nav-links.show {
  display: flex;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
}

.hero {
  position: relative;
  isolation: isolate;
  padding-top: 5.2rem;
}

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

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  max-width: 900px;
  margin-inline: auto;
}

.subheadline {
  max-width: 760px;
  color: var(--muted);
  margin-inline: auto;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 36px rgba(197, 160, 89, 0.35);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-small {
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.full {
  width: 100%;
}

.pulse {
  animation: pulse 2s infinite;
}

.trust-badges {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.trust-badges span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.4);
}

.hero-bg {
  position: absolute;
  inset: -8rem 0 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45; /* Slightly adjusted opacity for the light mode background blend */
  animation: float 9s ease-in-out infinite;
}

.glow-1 {
  width: 260px;
  height: 260px;
  left: -40px;
  top: 20%;
  background: rgba(223, 183, 108, 0.4);
}

.glow-2 {
  width: 290px;
  height: 290px;
  right: -60px;
  top: 5%;
  background: rgba(255, 255, 255, 0.9);
  animation-delay: 1.2s;
}

.chart-line {
  position: absolute;
  width: 160%;
  height: 2px;
  left: -20%;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.4), transparent);
  transform: rotate(-8deg);
  opacity: 0.5;
}

.chart-line-1 {
  top: 42%;
  animation: sweep 7s linear infinite;
}

.chart-line-2 {
  top: 58%;
  animation: sweep 11s linear infinite reverse;
}

.glass {
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.card {
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  background: var(--surface-strong); /* Ensure clarity over the cream background gradients */
}

.grid {
  display: grid;
  gap: 1rem;
}

.three {
  grid-template-columns: 1fr;
}

.two {
  grid-template-columns: 1fr;
}

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

.check-card {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}

.check-card::before {
  content: "✔";
  color: var(--gold);
  font-weight: 700;
  margin-right: 0.6rem;
}

.testimonial-track {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
}

.testimonial-row {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.testimonial-card {
  width: min(84vw, 320px);
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85); /* Changed from dark card opacity */
  box-shadow: 0 6px 20px rgba(110, 100, 88, 0.06);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  margin-bottom: 0.6rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: center;
}

.lead-form {
  display: grid;
  gap: 0.65rem;
}

.lead-form label {
  font-size: 0.9rem;
  color: var(--text);
}

.lead-form input,
.lead-form select {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border-radius: 10px;
  padding: 0.74rem 0.82rem;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

.form-message {
  min-height: 1.3rem;
  font-size: 0.9rem;
}

.form-message.error {
  color: #c92a2a;
}

.form-message.success {
  color: #2b8a3e;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
}

.feature-list li {
  margin: 0.2rem 0;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.buy-now-btn {
  width: 100%;
  margin-top: 0.9rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.buy-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(197, 160, 89, 0.35);
}

.pricing-card.premium {
  border-color: rgba(197, 160, 89, 0.6);
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(197, 160, 89, 0.2),
    0 22px 50px rgba(197, 160, 89, 0.1);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.trust-panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.3rem;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(197, 160, 89, 0.05));
  text-align: center;
}

.trust-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.trust-icons span {
  padding: 0.44rem 0.76rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem;
  background: #ffffff;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.6);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.final-cta {
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(197, 160, 89, 0.04)),
    var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
  background: #eae3d5; /* Soft dark-cream luxury footer */
}

.footer-wrap {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--gold);
}



.loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #faf7f0;
  display: grid;
  place-items: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(44, 37, 30, 0.4); /* Soft warm overlay blur */
  backdrop-filter: blur(4px);
}

.payment-modal.show {
  display: flex;
}

.payment-modal-card {
  width: min(100%, 460px);
  border-radius: 16px;
  padding: 1.2rem;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.payment-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.payment-plan-amount {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.payment-form {
  display: grid;
  gap: 0.65rem;
}

.payment-form label {
  font-size: 0.9rem;
  color: var(--muted);
}

.payment-form input {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.02);
  color: var(--text);
  border-radius: 10px;
  padding: 0.74rem 0.82rem;
  font: inherit;
}

.payment-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(197, 160, 89, 0.2);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 700px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .three {
    grid-template-columns: repeat(3, 1fr);
  }

  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    align-items: center;
    box-shadow: none;
  }

  .two {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .form-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sweep {
  from {
    transform: translateX(-15%) rotate(-8deg);
  }
  to {
    transform: translateX(15%) rotate(-8deg);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}