:root {
  /* Swarna — Sacred Gold (swarna-500 is app's actual primary brand) */
  --gold:          #C8920A;   /* swarna-500 — CTA buttons, Lakshmi gold */
  --gold-dark:     #845C05;   /* swarna-700 — hover / pressed state */
  --gold-light:    #FFF3D0;   /* swarna-100 — gold-tinted backgrounds */
  --gold-bright:   #DFB020;   /* swarna-400 — highlights, CTA on dark */

  /* Pachhai — Sacred Emerald (dominant visual impression of the app) */
  --emerald:       #0D6B45;   /* pachhai-500 — links, outlines, eyebrows */
  --emerald-dark:  #0A5035;   /* pachhai-600 — CTA section background */
  --emerald-deep:  #052E1C;   /* pachhai-800 — phone chrome, card chrome */
  --emerald-light: #E0F5E9;   /* pachhai-50  — feature section tint */

  /* Chandan — Sandalwood Neutrals */
  --cream:         #FFF8F0;   /* chandan-50 — main background */
  --cream-warm:    #FFFDF9;   /* chandan-25 — alternate section background */
  --text:          #1A1A1A;
  --text-warm:     #2D1B00;   /* chandan-800 — primary body text */
  --muted:         #6B4C2A;   /* chandan-600 */
  --border:        #FFE4C8;   /* chandan-150 */

  --display: 'Cinzel Decorative', Georgia, serif;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--emerald); text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--text-warm);
  font-family: 'Inter', var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200, 146, 10, 0.40); }
.btn-outline {
  background: transparent;
  color: var(--emerald);
  border: 1.5px solid var(--emerald);
}
.btn-outline:hover { background: var(--emerald-light); box-shadow: none; transform: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 46, 28, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 146, 10, 0.18);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { font-family: var(--display); font-weight: 400; font-size: 1.05rem; color: var(--gold-bright); letter-spacing: 0.02em; line-height: 1.2; }
.site-header nav { display: flex; gap: 24px; align-items: center; }
.site-header nav a { font-family: var(--sans); font-weight: 500; color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.site-header nav a:hover { color: var(--gold-bright); }
.btn-nav { padding: 8px 20px; font-size: 0.88rem; font-family: var(--sans); font-weight: 600; }
.site-header .btn-nav,
.site-header .btn-nav:hover { color: var(--text-warm); }

/* Hero — photo full-bleed */
.hero--photo {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/bg_3.webp') center 30% / cover no-repeat;
  animation: kenBurns 24s ease-in-out infinite alternate;
}
.hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(5, 46, 28, 0.97) 0%,
    rgba(5, 46, 28, 0.88) 36%,
    rgba(5, 46, 28, 0.52) 60%,
    rgba(5, 46, 28, 0.08) 82%,
    transparent 100%
  );
}
.hero--photo .wrap {
  position: relative;
  z-index: 2;
  padding: 130px max(24px, 4vw) 100px max(36px, 8vw);
  display: block;
  width: 100%;
  max-width: none;
}
.hero--photo .hero-copy { max-width: 540px; }
.hero-h1 {
  display: flex;
  flex-direction: column;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: clamp(3rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-white { color: #fff; }
.hero-gold  { color: var(--gold-bright); }
.hero--photo .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.76);
  max-width: 440px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.btn-hero {
  background: var(--gold);
  color: var(--text-warm);
  box-shadow: 0 4px 24px rgba(200, 146, 10, 0.38);
}
.btn-hero:hover { box-shadow: 0 8px 32px rgba(200, 146, 10, 0.55); }
.hero-more-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.hero-more-link span { transition: transform 0.15s ease; display: inline-block; }
.hero-more-link:hover { color: var(--gold-bright); }
.hero-more-link:hover span { transform: translateX(3px); }

/* Value props strip */
.value-props {
  background: var(--emerald-deep);
  border-top: 1px solid rgba(200, 146, 10, 0.15);
}
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value-prop {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 28px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.value-prop:last-child { border-right: none; }
.value-props-grid .value-prop:nth-child(2) { transition-delay: 0.08s; }
.value-props-grid .value-prop:nth-child(3) { transition-delay: 0.16s; }
.value-props-grid .value-prop:nth-child(4) { transition-delay: 0.24s; }
.vp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(223, 176, 32, 0.10);
  border: 1.5px solid rgba(223, 176, 32, 0.28);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gold-icon {
  filter: drop-shadow(0 0 6px rgba(245, 203, 72, 0.30));
}
.vp-body h2 { font-family: 'Inter', var(--sans); font-weight: 600; font-size: 0.92rem; color: #fff; margin-bottom: 5px; letter-spacing: 0.01em; }
.vp-body p  { font-family: 'Inter', var(--sans); font-weight: 400; font-size: 0.82rem; color: rgba(255, 255, 255, 0.52); line-height: 1.5; }

/* Positioning */
.positioning { padding: 72px 0 80px; text-align: center; }
.positioning .wrap { max-width: 680px; }
.positioning p {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text-warm);
}

/* Features */
.features { padding: 72px 0; background: var(--emerald-light); }
.section-heading { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-heading .tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-heading h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 2rem; color: var(--text-warm); letter-spacing: -0.01em; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .feature-card:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-4px) scale(1.015);
    box-shadow: 0 16px 32px rgba(5, 46, 28, 0.16);
  }
}
.feature-card img { width: 100%; height: 280px; object-fit: cover; object-position: top; display: block; }
.feature-card-body { padding: 20px; }
.feature-card h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--text-warm); margin-bottom: 8px; }
.feature-card p { font-size: 0.95rem; color: var(--muted); }

/* Feature card phone chrome — top status bar + side rails + home indicator */
.card-screen {
  position: relative;
  background: var(--emerald-deep);
  padding: 20px 2px 8px;
}
.card-screen::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 6px;
  background: #021A0F;
  border-radius: 3px;
}
.card-screen::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  background: rgba(255,255,255,0.20);
  border-radius: 2px;
}

/* Mid-page photo band */
.photo-band {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.photo-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/bg_1.webp') center 40% / cover no-repeat;
  animation: kenBurns 24s ease-in-out infinite alternate;
}
.photo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(5, 46, 28, 0.94) 0%,
    rgba(5, 46, 28, 0.82) 38%,
    rgba(5, 46, 28, 0.40) 62%,
    transparent 85%
  );
}
.photo-band .wrap {
  position: relative;
  z-index: 2;
  padding: 96px max(24px, 4vw) 96px max(36px, 8vw);
  width: 100%;
  max-width: none;
}
.photo-band-copy { max-width: 460px; }
.photo-band-copy h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: var(--gold-bright);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.photo-band-copy p {
  font-family: 'Inter', var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  line-height: 1.65;
}

/* FAQ */
.faq { padding: 72px 0; background: var(--cream-warm); }
.faq-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 22px;
}
.faq-item summary {
  padding: 16px 0;
  font-family: 'Inter', var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-warm);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 0.92rem; color: var(--muted); padding-bottom: 18px; line-height: 1.6; }

/* Star rating — used in testimonial cards and the reviews-source line */
.star-rating { display: inline-flex; gap: 2px; margin-bottom: 10px; }
.star { width: 15px; height: 15px; }
.star--full { color: var(--gold); }
.star--empty { color: var(--border); }

/* Testimonials */
.testimonials { padding: 72px 0; background: var(--emerald-light); }
.reviews-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: 'Inter', var(--sans);
}

.testimonial-carousel { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.testimonial-row { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; }

.testimonial-track {
  display: flex;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  border-radius: 20px;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
}
.testimonial-card .star-rating { align-self: center; }
.testimonial-quote {
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; color: var(--text-warm); margin-bottom: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
}
.testimonial-author { font-family: 'Inter', var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--muted); }

@media (max-width: 860px) {
  .testimonial-card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 540px) {
  .testimonial-card { flex-basis: 100%; padding: 32px 26px; }
  .testimonial-row { gap: 12px; }
  .testimonial-quote { display: block; -webkit-line-clamp: unset; overflow: visible; }
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--gold-dark);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.carousel-arrow-icon { width: 20px; height: 20px; }
.carousel-arrow--prev .carousel-arrow-icon { transform: scaleX(-1); }
@media (hover: hover) {
  .carousel-arrow:hover:not(:disabled) {
    background: var(--gold-light);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(200, 146, 10, 0.24);
  }
}
.carousel-arrow:active:not(:disabled) { transform: translateY(0) scale(0.96); box-shadow: none; }
.carousel-arrow:disabled { opacity: 0.32; cursor: default; }
.carousel-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (hover: none) {
  .carousel-arrow { display: none; }
}

.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  appearance: none;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, width 0.15s ease, height 0.15s ease;
}
@media (hover: hover) {
  .carousel-dot:hover:not(.is-active) { border-color: var(--gold); }
}
.carousel-dot.is-active { width: 11px; height: 11px; background: var(--gold); border-color: var(--gold); }
.carousel-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Store badges — App Store / Google Play links */
.store-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22); }
.store-pill-icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-pill-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-pill-eyebrow { font-family: 'Inter', var(--sans); font-size: 0.62rem; font-weight: 500; color: var(--muted); }
.store-pill-name { font-family: 'Inter', var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--text-warm); }

.store-pill--sm { padding: 6px 14px 6px 10px; gap: 7px; }
.store-pill--sm .store-pill-icon { width: 19px; height: 19px; }
.store-pill--sm .store-pill-eyebrow { font-size: 0.56rem; }
.store-pill--sm .store-pill-name { font-size: 0.8rem; }

.cta .store-badges { justify-content: center; margin-bottom: 24px; }

/* CTA — deep emerald panel, gold-on-green like the app */
.cta { padding: 80px 0; text-align: center; background: var(--emerald-dark); }
.cta .wrap { max-width: 520px; }
.cta h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 2.2rem; color: var(--gold-bright); margin-bottom: 12px; letter-spacing: -0.01em; }
.cta p.lead { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.trust-strip { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 24px; }
.trust-strip a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.trust-strip a:hover { color: var(--gold-bright); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .links { display: flex; gap: 20px; }
footer .links a { color: var(--muted); font-size: 0.9rem; }
footer .links a:hover { color: var(--emerald); }
footer .copyright { color: var(--muted); font-size: 0.85rem; }

/* Scroll-fade animations — triggered by IntersectionObserver */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim.visible {
  opacity: 1;
  transform: none;
}
/* Stagger feature cards in each row */
.feature-grid .feature-card:nth-child(2) { transition-delay: 0.09s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: 0.18s; }
.feature-grid .feature-card:nth-child(5) { transition-delay: 0.09s; }
.feature-grid .feature-card:nth-child(6) { transition-delay: 0.18s; }

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .photo-band-bg { animation: none; }
  .feature-card, .anim { transition: none; }
  .testimonial-track { scroll-behavior: auto; }
}

/* Simple card layout shared with /support and /join */
.page-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header nav { gap: 14px; }
  .value-props-grid { grid-template-columns: repeat(2, 1fr); }
  .value-prop { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .value-prop:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .value-prop:last-child { border-bottom: none; }
  .hero-bg { background-image: url('/images/bg_3-mobile.webp'); background-position: 68% center; }
  .photo-band-bg { background-image: url('/images/bg_1-mobile.webp'); }
}

@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
  .value-props-grid { grid-template-columns: 1fr; }
  .value-prop:nth-child(odd) { border-right: none; }
  .value-prop:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .hero--photo { min-height: 100svh; }
  .hero-bg { background-position: 72% center; }
  .hero--photo::before {
    background: linear-gradient(
      to bottom,
      rgba(5, 46, 28, 0.94) 0%,
      rgba(5, 46, 28, 0.80) 60%,
      rgba(5, 46, 28, 0.65) 100%
    );
  }
  .hero-h1 { font-size: 2.4rem; }
  .site-header nav a:not(.btn-nav) { display: none; }
  .photo-band-bg { background-position: 70% center; }
  .photo-band::before {
    background: linear-gradient(
      to bottom,
      rgba(5, 46, 28, 0.92) 0%,
      rgba(5, 46, 28, 0.75) 100%
    );
  }
  .photo-band-copy h2 { font-size: 2rem; }
}
