/* ============================================================
   KaalChakra Jyotish — gold-on-black premium spiritual palette
   ============================================================ */

:root {
  --black: #0b0704;
  --black-2: #140d06;
  --black-3: #1d1409;
  --gold: #d4a437;
  --gold-bright: #f0c75e;
  --gold-dim: #8a6a24;
  --cream: #f3e9d2;
  --cream-dim: #c9bda0;
  --red: #b03a2e;
  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
  --serif: "Cormorant Garamond", "Noto Serif Devanagari", Georgia, serif;
  --sans: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- typography helpers --- */
.label {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.heading {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
}

.heading em { font-style: italic; color: var(--gold-bright); }

.hindi { font-family: var(--sans); }

.rule {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 22px 0;
}
.rule.center { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.body-copy { color: var(--cream-dim); max-width: 640px; }

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-wa {
  background: var(--wa-green);
  color: #06130b;
}
.btn-wa:hover { box-shadow: 0 8px 28px rgba(37, 211, 102, .35); }
.btn-wa svg { width: 22px; height: 22px; fill: #06130b; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--black);
}
.btn-gold:hover { box-shadow: 0 8px 28px rgba(212, 164, 55, .35); }

.btn-ghost {
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold-bright); background: rgba(212, 164, 55, .08); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: rgba(11, 7, 4, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 164, 55, .18);
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; mix-blend-mode: screen; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav-logo-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.5px;
}
.nav-logo-tag { font-size: 11.5px; color: var(--cream-dim); letter-spacing: 0.3px; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--cream-dim); font-size: 15.5px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-links .nav-cta {
  background: var(--wa-green);
  color: #06130b;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-links .nav-cta:hover { color: #06130b; filter: brightness(1.08); }
.nav-links .nav-cta svg { width: 17px; height: 17px; fill: #06130b; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--gold-bright); transition: .3s; }

.mob-nav {
  display: none;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(300px, 80vw);
  background: var(--black-2);
  border-left: 1px solid rgba(212, 164, 55, .25);
  z-index: 200;
  padding: 90px 34px;
  flex-direction: column;
  gap: 26px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mob-nav.open { transform: translateX(0); }
.mob-nav a { font-size: 19px; color: var(--cream); }
.mob-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 150;
  opacity: 0;
  transition: opacity .3s;
}
.mob-overlay.show { opacity: 1; }

/* ============ HERO ============ */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 24px 84px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,164,55,.14), transparent 62%);
  pointer-events: none;
}
.hero-logo {
  width: min(320px, 68vw);
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 45px rgba(212, 164, 55, .3));
  mix-blend-mode: screen; /* melts the logo's black square into the dark bg */
  /* feather the square edges so no box outline reads against the glow */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
                      linear-gradient(to bottom, transparent, #000 7%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
              linear-gradient(to bottom, transparent, #000 7%, #000 96%, transparent);
  mask-composite: intersect;
}
.hero-tagline {
  font-size: clamp(17px, 2.6vw, 22px);
  color: var(--gold-bright);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.18;
  max-width: 760px;
  margin: 0 auto 18px;
}
.hero-title em { font-style: italic; color: var(--gold-bright); }
.hero-sub {
  color: var(--cream-dim);
  font-size: clamp(16px, 2.2vw, 19px);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--cream-dim); }

/* ============ SECTIONS ============ */
section { padding: 84px 0; }
section.tint { background: var(--black-2); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .body-copy { margin: 18px auto 0; }

/* --- feature cards --- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--black-3);
  border: 1px solid rgba(212, 164, 55, .18);
  border-radius: 12px;
  padding: 36px 30px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(212, 164, 55, .5); transform: translateY(-4px); }
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(212, 164, 55, .12);
  border: 1px solid rgba(212, 164, 55, .35);
  margin-bottom: 22px;
  font-size: 26px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.card p { color: var(--cream-dim); font-size: 16px; }

/* --- trust rows --- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.trust-item {
  text-align: center;
  padding: 34px 26px;
  border-top: 2px solid var(--gold-dim);
  background: linear-gradient(180deg, rgba(212,164,55,.06), transparent);
}
.trust-item h3 { font-family: var(--serif); font-size: 22px; color: var(--cream); margin-bottom: 10px; }
.trust-item p { color: var(--cream-dim); font-size: 15.5px; }

/* ============ WHATSAPP CHAT MOCKUP ============ */
.chat-wrap { display: flex; justify-content: center; }
.chat {
  width: min(420px, 100%);
  background: #0d1418;
  border: 1px solid rgba(212, 164, 55, .3);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1f2c33;
  padding: 12px 16px;
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--gold-dim);
  overflow: hidden;
  flex-shrink: 0;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-title { line-height: 1.3; }
.chat-title strong { display: block; color: #e9edef; font-size: 15.5px; font-weight: 600; }
.chat-title span { font-size: 12.5px; color: #8696a0; }
.chat-body {
  padding: 20px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(rgba(11,20,24,.94), rgba(11,20,24,.94)),
    radial-gradient(circle at 30% 20%, #1a252b 1px, transparent 1px);
  background-size: auto, 26px 26px;
  min-height: 300px;
}
.msg {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #e9edef;
  white-space: pre-line;
}
.msg.in { background: #202c33; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: #005c4b; align-self: flex-end; border-top-right-radius: 2px; }
.msg .time {
  display: block;
  text-align: right;
  font-size: 10.5px;
  color: #ffffff80;
  margin-top: 3px;
}

/* ============ CTA BAND ============ */
.cta-band {
  text-align: center;
  padding: 90px 24px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(212,164,55,.16), transparent 65%),
    var(--black-2);
  border-top: 1px solid rgba(212, 164, 55, .18);
}
.cta-band .heading { margin-bottom: 14px; }
.cta-band .body-copy { margin: 0 auto 34px; text-align: center; }

/* ============ FOOTER ============ */
.footer {
  background: var(--black-2);
  border-top: 1px solid rgba(212, 164, 55, .18);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-brand img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; margin-bottom: 14px; mix-blend-mode: screen; }
.footer-brand-name { font-family: var(--serif); font-size: 21px; color: var(--gold-bright); display: block; }
.footer-brand-tag { font-size: 13.5px; color: var(--cream-dim); display: block; margin: 4px 0 14px; }
.footer-brand p { color: var(--cream-dim); font-size: 15px; max-width: 340px; }
.footer-col h5 {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--cream-dim); font-size: 15.5px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(212, 164, 55, .12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: var(--cream-dim);
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  z-index: 90;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #06130b; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  text-align: center;
  padding: 64px 24px 56px;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,164,55,.12), transparent 62%);
}
.page-hero .heading { margin-bottom: 12px; }
.page-hero .body-copy { margin: 0 auto; text-align: center; }

/* --- steps (how it works) --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  background: var(--black-3);
  border: 1px solid rgba(212, 164, 55, .18);
  border-radius: 12px;
  padding: 56px 26px 30px;
}
.step-num {
  position: absolute;
  top: -22px; left: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--black);
  font-weight: 800;
  font-size: 19px;
  display: grid;
  place-items: center;
}
.step h3 { font-family: var(--serif); font-size: 21px; color: var(--gold-bright); margin-bottom: 10px; }
.step p { color: var(--cream-dim); font-size: 15px; }

/* --- FAQ / detail rows --- */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 44px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid rgba(212, 164, 55, .12);
}
.detail-row:last-child { border-bottom: none; }
.detail-row h3 { font-family: var(--serif); font-size: 26px; color: var(--gold-bright); }
.detail-row .body-copy { max-width: none; }

/* --- contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 820px; margin: 0 auto; }
.contact-card {
  background: var(--black-3);
  border: 1px solid rgba(212, 164, 55, .18);
  border-radius: 12px;
  padding: 40px 34px;
  text-align: center;
}
.contact-card .card-icon { margin-inline: auto; }
.contact-card h3 { font-family: var(--serif); font-size: 23px; color: var(--gold-bright); margin-bottom: 10px; }
.contact-card p { color: var(--cream-dim); font-size: 15.5px; margin-bottom: 22px; }

/* --- reveal animation --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d2 { transition-delay: .12s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .cards, .trust-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .detail-row { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mob-nav { display: flex; }
  .mob-overlay.show { display: block; }
}

@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
