* {
  box-sizing: border-box;
}

/* Pricing and per-family-Kundli entitlements (2026-08 phase 1). */
.kundli-family-button { grid-column: 1 / -1; margin-top: .35rem; width: 100%; }
.kundli-family-copy { grid-column: 1 / -1; margin: 0; }
.kundli-family-copy,
.kundli-pdf-price,
.ai-plan-save-prompt { color: #765c46; font-size: .88rem; line-height: 1.5; }
.kundli-pdf-price { display: block; max-width: 18rem; text-align: right; }
.premium-membership-card {
  background: linear-gradient(145deg, rgba(255,249,223,.98), rgba(247,226,169,.9));
  border: 2px solid rgba(174,119,24,.42);
  box-shadow: 0 18px 42px rgba(102,61,15,.14);
}
.premium-membership-card .ai-plan-price small { font-size: 1rem; margin-left: .2rem; }
.premium-account-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: 14px; background: rgba(255,248,224,.75); border: 1px solid rgba(174,119,24,.25); }
.premium-account-status.is-active { border-color: rgba(45,128,76,.35); background: rgba(232,249,236,.8); }
.premium-account-status p { margin: .3rem 0; }
.premium-account-status small { color: #665b50; }
.premium-renew-button { border-color: #a56b11; background: linear-gradient(135deg, #8b4f08, #c88a21); color: #fff; }
@media (max-width: 700px) { .kundli-pdf-price { max-width: none; text-align: left; } }

/* Premium Kundli Report v2. Scoped to kundli.html only. */
body.page-kundli.kundli-page .kundli-result-section {
  background: #fbf3df;
}

body.page-kundli.kundli-page .kundli-result-block {
  border: 1px solid rgba(198, 154, 58, 0.55);
  background: #fffaf0;
  box-shadow: none;
}

body.page-kundli.kundli-page .kundli-result-block h3,
body.page-kundli.kundli-page .kundli-result-block h4,
body.page-kundli.kundli-page .kundli-result-block h5 {
  color: #6b1f1f;
}

body.page-kundli.kundli-page .kundli-result-block h3::after,
body.page-kundli.kundli-page .kundli-subheading::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 8px;
  background: #c69a3a;
}

body.page-kundli.kundli-page .kundli-premium-cover {
  border-width: 2px;
}

body.page-kundli.kundli-page .kundli-premium-list {
  margin: 10px 0 0;
  padding-left: 20px;
}

body.page-kundli.kundli-page .kundli-premium-list li {
  margin: 6px 0;
}

body.page-kundli.kundli-page .kundli-responsible-note {
  border-left: 3px solid #c69a3a;
  padding-left: 12px;
}

body.page-kundli.kundli-page .kundli-premium-ai-text .ai-response-paragraph {
  white-space: pre-line;
}

body.page-kundli.kundli-page .kundli-ai-status-card .kundli-ai-btn {
  margin-top: 10px;
  width: 100%;
}

@media print {
  body.page-kundli.kundli-page .site-header,
  body.page-kundli.kundli-page .page-hero,
  body.page-kundli.kundli-page .kundli-create-section,
  body.page-kundli.kundli-page .kundli-guidance-section,
  body.page-kundli.kundli-page .ai-pandit-section,
  body.page-kundli.kundli-page .kundli-upay-cta,
  body.page-kundli.kundli-page footer {
    display: none !important;
  }

  body.page-kundli.kundli-page .kundli-result-section,
  body.page-kundli.kundli-page .kundli-result {
    display: block !important;
    background: #fffaf0 !important;
  }

  body.page-kundli.kundli-page .kundli-result-block {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #c69a3a;
    margin-bottom: 14px;
  }

  body.page-kundli.kundli-page .kundli-pdf-button {
    display: none !important;
  }
}

/* My AI Pandit logged-out cleanup */
.my-ai-pandit-page .is-hidden,
.my-ai-pandit-page [hidden] {
  display: none !important;
}

.my-ai-pandit-page .ai-card:empty,
.my-ai-pandit-page .account-card:empty,
.my-ai-pandit-page .dashboard-panel:empty,
.my-ai-pandit-page .ai-account-card:empty,
.my-ai-pandit-page .ai-summary-grid:empty {
  display: none !important;
}

html {
  width: 100%;
  overflow-x: hidden;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -8%, rgba(218, 165, 32, 0.2), transparent 36%),
    radial-gradient(circle at 8% 18%, rgba(122, 27, 27, 0.08), transparent 24%),
    radial-gradient(circle at 92% 28%, rgba(212, 175, 55, 0.12), transparent 25%),
    repeating-radial-gradient(circle at 50% 6%, rgba(122, 27, 27, 0.035) 0 1px, transparent 1px 22px),
    repeating-conic-gradient(from 0deg at 50% 7%, rgba(212, 175, 55, 0.035) 0deg 8deg, transparent 8deg 16deg);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top center, rgba(218, 165, 32, 0.18), transparent 35%),
    radial-gradient(circle at 18% 42%, rgba(244, 201, 103, 0.16), transparent 30%),
    repeating-radial-gradient(circle at 50% 4%, rgba(122, 27, 27, 0.028) 0 1px, transparent 1px 24px),
    repeating-conic-gradient(from 0deg at 50% 4%, rgba(212, 175, 55, 0.026) 0deg 7deg, transparent 7deg 14deg),
    linear-gradient(135deg, #fff7df 0%, #f7e7bd 48%, #fffaf0 100%);
  color: #2b1a10;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
}

body.page-home,
body.page-kundli,
body.page-upay,
body.page-rashifal,
body.page-panchang,
body.page-about,
body.page-contact,
body.page-privacy,
body.page-error {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 248, 236, 0.46), rgba(247, 231, 189, 0.38) 48%, rgba(255, 250, 240, 0.52));
}

body.page-home::before,
body.page-kundli::before,
body.page-upay::before,
body.page-rashifal::before,
body.page-panchang::before,
body.page-about::before,
body.page-contact::before,
body.page-privacy::before,
body.page-error::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.42;
}

body.page-home::after,
body.page-kundli::after,
body.page-upay::after,
body.page-rashifal::after,
body.page-panchang::after,
body.page-about::after,
body.page-contact::after,
body.page-privacy::after,
body.page-error::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.2), transparent 34%),
    radial-gradient(circle at 8% 38%, rgba(122, 27, 27, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.5), rgba(255, 241, 214, 0.56) 46%, rgba(255, 250, 240, 0.66));
}

body.page-home::before {
  background-image: url("../images/heroes/home-hero.png");
}

body.page-kundli::before {
  background-image: url("../images/heroes/kundli-hero.png");
}

body.page-upay::before {
  background-image: url("../images/heroes/upay-hero.png");
}

body.page-rashifal::before {
  background-image: url("../images/heroes/home-hero.png");
}

body.page-panchang::before {
  background-image: url("../images/heroes/panchang-hero.png");
}

body.page-about::before,
body.page-contact::before,
body.page-privacy::before,
body.page-error::before {
  background-image: url("../images/heroes/home-hero.png");
}

body.page-home main,
body.page-kundli main,
body.page-upay main,
body.page-rashifal main,
body.page-panchang main,
body.page-about main,
body.page-contact main,
body.page-privacy main,
body.page-error main {
  position: relative;
  z-index: 1;
  background: transparent;
}

body.page-home .site-header,
body.page-kundli .site-header,
body.page-upay .site-header,
body.page-rashifal .site-header,
body.page-panchang .site-header,
body.page-about .site-header,
body.page-contact .site-header,
body.page-privacy .site-header,
body.page-error .site-header,
body.page-home footer,
body.page-kundli footer,
body.page-upay footer,
body.page-rashifal footer,
body.page-panchang footer,
body.page-about footer,
body.page-contact footer,
body.page-privacy footer,
body.page-error footer {
  position: relative;
  z-index: 2;
}

body.page-home main > *,
body.page-kundli main > *,
body.page-upay main > *,
body.page-rashifal main > *,
body.page-panchang main > *,
body.page-about main > *,
body.page-contact main > *,
body.page-privacy main > *,
body.page-error main > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(244, 201, 103, 0.95);
  outline-offset: 3px;
}

.site-header {
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 229, 143, 0.36), transparent 42%),
    linear-gradient(90deg, rgba(244, 201, 103, 0.28), transparent 20%, transparent 80%, rgba(244, 201, 103, 0.22)),
    linear-gradient(135deg, #4f0d10 0%, #7a1b1b 45%, #b97021 76%, #d4af37 100%);
  color: #fff;
  text-align: center;
  border-bottom: 1px solid rgba(244, 201, 103, 0.55);
  box-shadow: 0 20px 50px rgba(68, 28, 12, 0.28), 0 0 42px rgba(212, 175, 55, 0.16);
}

.brand {
  position: relative;
  padding: 38px 15px 26px;
}

.brand::before {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #f4c967, transparent);
}

.brand h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(43, 26, 16, 0.28);
}

.brand .site-title {
  margin: 0;
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(43, 26, 16, 0.28);
}

.brand p {
  margin: 8px 0 0;
  font-size: 17px;
  color: #fff8ec;
}

.main-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(59, 22, 15, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.98), rgba(244, 201, 103, 0.82));
  border-color: rgba(244, 201, 103, 0.85);
  color: #7a1b1b;
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 34px;
}

.language-switcher-label {
  color: rgba(255, 248, 236, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.language-switcher select {
  min-height: 34px;
  max-width: 118px;
  border: 1px solid rgba(239, 200, 107, 0.46);
  border-radius: 999px;
  padding: 6px 28px 6px 11px;
  color: #efc86b;
  background: rgba(255, 248, 236, 0.08);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.2;
  outline: none;
}

.language-switcher select:focus {
  border-color: rgba(239, 200, 107, 0.82);
  box-shadow: 0 0 0 3px rgba(239, 200, 107, 0.14);
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 84px 20px 78px;
  background:
    radial-gradient(circle at 14% 8%, rgba(217, 147, 47, 0.22), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(139, 30, 30, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.86), rgba(255, 241, 214, 0.72));
  border-bottom: 1px solid #f1d6a3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(217, 147, 47, 0.28);
  border-radius: 18px;
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero h2,
.page-hero h1,
.page-hero h2 {
  color: #7a1b1b;
  font-size: 36px;
  margin: 0 0 15px;
}

.hero p,
.page-hero p {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #7a1b1b 0%, #9f2a22 48%, #d9932f 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: bold;
  border: 1px solid rgba(244, 201, 103, 0.72);
  box-shadow: 0 12px 24px rgba(139, 30, 30, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn.secondary {
  background: linear-gradient(135deg, #f4c967 0%, #d9932f 58%, #9f2a22 100%);
  border-color: rgba(122, 27, 27, 0.24);
  color: #2b1a10;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.btn:hover,
.social-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(139, 30, 30, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.78;
  filter: none;
  transform: none;
  background: linear-gradient(135deg, rgba(122, 27, 27, 0.72), rgba(217, 147, 47, 0.72));
  box-shadow: 0 8px 18px rgba(139, 30, 30, 0.12);
}

.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(218, 165, 32, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.5), rgba(255, 241, 214, 0.28));
  border-bottom: 1px solid #f1d6a3;
}

.page-home .page-hero,
.page-kundli .page-hero,
.page-upay .page-hero {
  margin-bottom: -28px;
  background-color: transparent;
  border-bottom: 0;
}

.hero-home,
.hero-kundli,
.hero-upay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 72px 20px;
  background-position: center;
  background-size: cover;
  box-shadow: none;
}

.hero-home::before,
.hero-kundli::before,
.hero-upay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(58, 8, 8, 0.5), rgba(122, 27, 27, 0.3) 48%, rgba(217, 147, 47, 0.24)),
    radial-gradient(circle at 50% 18%, rgba(244, 201, 103, 0.2), transparent 42%);
  pointer-events: none;
}

.hero-home::after,
.hero-kundli::after,
.hero-upay::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0), rgba(255, 241, 214, 0.48) 58%, rgba(255, 248, 236, 0.68));
  pointer-events: none;
}

.hero-home {
  background-image: url("../images/heroes/home-hero.png");
}

.hero-kundli {
  background-image: url("../images/heroes/kundli-hero.png");
}

.hero-upay {
  background-image: url("../images/heroes/upay-hero.png");
}

.animated-hero {
  isolation: isolate;
  background-size: 108% auto;
  background-repeat: no-repeat;
  animation: heroBackgroundDrift 36s ease-in-out infinite alternate;
}

.animated-hero::before {
  z-index: 1;
}

.animated-hero::after {
  z-index: 2;
}

.animated-hero .hero-glass-content {
  z-index: 6;
}

.hero-particles,
.hero-glow,
.floating-aura {
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 14% auto auto 50%;
  z-index: 3;
  width: min(620px, 88vw);
  height: min(420px, 58vh);
  border-radius: 999px;
  background:
    radial-gradient(circle at 48% 46%, rgba(244, 201, 103, 0.26), rgba(212, 175, 55, 0.12) 36%, transparent 72%),
    radial-gradient(circle at 58% 42%, rgba(255, 248, 236, 0.12), transparent 48%);
  filter: blur(30px);
  opacity: 0.52;
  transform: translateX(-50%);
  animation: heroGoldenGlow 13s ease-in-out infinite alternate;
}

.floating-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(500px, 78vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.12) 0deg 7deg, transparent 7deg 18deg),
    radial-gradient(circle, transparent 0 50%, rgba(244, 201, 103, 0.12) 51%, transparent 67%);
  opacity: 0.22;
  transform: translate(-50%, -50%);
  animation: heroAuraRotate 48s linear infinite;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(244, 201, 103, 0.9);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.86), 0 0 30px rgba(212, 175, 55, 0.24);
  opacity: 0.24;
  animation: heroParticleFloat 28s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 8%; top: 24%; animation-duration: 30s; animation-delay: -5s; }
.hero-particles span:nth-child(2) { left: 18%; top: 70%; animation-duration: 35s; animation-delay: -15s; }
.hero-particles span:nth-child(3) { left: 28%; top: 38%; animation-duration: 27s; animation-delay: -8s; }
.hero-particles span:nth-child(4) { left: 38%; top: 78%; animation-duration: 33s; animation-delay: -18s; }
.hero-particles span:nth-child(5) { left: 52%; top: 22%; animation-duration: 31s; animation-delay: -10s; }
.hero-particles span:nth-child(6) { left: 63%; top: 62%; animation-duration: 36s; animation-delay: -22s; }
.hero-particles span:nth-child(7) { left: 74%; top: 34%; animation-duration: 29s; animation-delay: -12s; }
.hero-particles span:nth-child(8) { left: 86%; top: 66%; animation-duration: 37s; animation-delay: -24s; }

@keyframes heroBackgroundDrift {
  0% {
    background-position: 48% 50%;
    background-size: 108% auto;
  }
  100% {
    background-position: 54% 47%;
    background-size: 114% auto;
  }
}

@keyframes heroGoldenGlow {
  0% {
    opacity: 0.38;
    transform: translateX(-52%) scale(0.96);
  }
  100% {
    opacity: 0.62;
    transform: translateX(-48%) scale(1.05);
  }
}

@keyframes heroAuraRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.98);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) scale(1.02);
  }
}

@keyframes heroParticleFloat {
  0%, 100% {
    opacity: 0.14;
    transform: translate3d(0, 0, 0) scale(0.82);
  }
  45% {
    opacity: 0.38;
    transform: translate3d(18px, -36px, 0) scale(1.16);
  }
  75% {
    opacity: 0.22;
    transform: translate3d(-12px, -74px, 0) scale(0.94);
  }
}

.hero-glass-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  padding: 34px 38px;
  color: #fff8ec;
  background: linear-gradient(135deg, rgba(56, 12, 12, 0.56), rgba(122, 27, 27, 0.34));
  border: 1px solid rgba(244, 201, 103, 0.46);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(58, 8, 8, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
}

.hero-glass-content h1,
.hero-glass-content h2 {
  color: #fff8ec;
  text-shadow: 0 2px 20px rgba(58, 8, 8, 0.42);
}

.hero-glass-content p {
  color: rgba(255, 248, 236, 0.94);
  text-shadow: 0 1px 14px rgba(58, 8, 8, 0.36);
}

.hero-subtitle {
  font-weight: 700;
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 54px 20px;
}

.page-home .section,
.page-kundli .section,
.page-upay .section {
  position: relative;
  background: transparent;
}

.page-home .section::before,
.page-kundli .section::before,
.page-upay .section::before {
  content: "";
  position: absolute;
  inset: 18px 8px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 22%, rgba(244, 201, 103, 0.18), transparent 48%),
    radial-gradient(circle at 12% 80%, rgba(122, 27, 27, 0.05), transparent 34%);
  filter: blur(14px);
}

.section h2 {
  text-align: center;
  color: #7a1b1b;
  font-size: 30px;
  margin: 0 0 18px;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
  color: #5a3824;
  font-size: 17px;
  line-height: 1.7;
}

.section p,
.section li {
  font-size: 17px;
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  background: rgba(255, 253, 248, 0.74);
  padding: 28px 24px;
  border: 1px solid rgba(217, 147, 47, 0.42);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(43, 26, 16, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .card,
.page-kundli .card,
.page-upay .card {
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.64), rgba(255, 241, 214, 0.42));
  border-color: rgba(212, 175, 55, 0.62);
  box-shadow:
    0 24px 54px rgba(90, 45, 10, 0.16),
    0 0 28px rgba(244, 201, 103, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(132%);
  -webkit-backdrop-filter: blur(22px) saturate(132%);
}

.page-home .content-panel,
.page-kundli .content-panel:not(.kundli-result),
.page-upay .content-panel {
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.68), rgba(255, 241, 214, 0.46));
  border-color: rgba(212, 175, 55, 0.58);
  box-shadow:
    0 24px 56px rgba(90, 45, 10, 0.16),
    0 0 30px rgba(244, 201, 103, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(22px) saturate(128%);
  -webkit-backdrop-filter: blur(22px) saturate(128%);
}

.page-home .section h2,
.page-kundli .section h2,
.page-upay .section h2,
.page-home .card h3,
.page-kundli .card h3,
.page-upay .card h3 {
  text-shadow: 0 1px 0 rgba(255, 248, 236, 0.72);
}

.page-home .section p,
.page-kundli .section p,
.page-upay .section p,
.page-home .section li,
.page-kundli .section li,
.page-upay .section li {
  color: #3b2618;
}

.card:hover {
  border-color: #d9932f;
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(43, 26, 16, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.page-home .card:hover,
.page-kundli .card:hover,
.page-upay .card:hover {
  border-color: rgba(217, 147, 47, 0.78);
  transform: translateY(-6px);
  box-shadow:
    0 30px 62px rgba(90, 45, 10, 0.2),
    0 0 34px rgba(244, 201, 103, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link .card {
  height: 100%;
}

.card h3 {
  color: #8b1e1e;
  margin: 0 0 12px;
}

.card p {
  margin: 0;
}

.glass-card,
.glass-panel,
.premium-card,
.kundli-glass-section {
  background: rgba(255, 248, 236, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 22px;
  box-shadow:
    0 18px 45px rgba(90, 45, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-panel {
  background: rgba(255, 248, 236, 0.58);
}

.premium-card {
  background: rgba(255, 255, 255, 0.42);
}

.kundli-glass-section {
  position: relative;
  overflow: hidden;
}

.kundli-glass-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(212, 175, 55, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 42%);
  border-radius: inherit;
}

.content-panel {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 248, 236, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 22px;
  padding: 34px;
  box-shadow:
    0 18px 45px rgba(90, 45, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.content-panel h3 {
  color: #8b1e1e;
  margin-top: 0;
}

.content-panel .cards {
  margin-top: 20px;
}

.content-panel ul {
  padding-left: 22px;
}

.rashifal-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.kundli-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-field label {
  color: #7a1b1b;
  font-weight: bold;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(217, 147, 47, 0.44);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  color: #2b1a10;
  font: inherit;
  padding: 13px 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 20px rgba(90, 45, 10, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: 2px solid rgba(217, 147, 47, 0.38);
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12), 0 12px 24px rgba(90, 45, 10, 0.08);
}

.autocomplete-field {
  position: relative;
}

.place-suggestions {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid rgba(217, 147, 47, 0.48);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 32px rgba(43, 26, 16, 0.16);
  overflow-x: hidden;
  overflow-y: auto;
}

.place-suggestion {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid #f1d6a3;
  background: #fff;
  color: #2b1a10;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.place-suggestion:hover,
.place-suggestion:focus {
  background: #fff8ec;
  outline: none;
}

.place-suggestion:last-child {
  border-bottom: 0;
}

.status-message {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 147, 47, 0.42);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.78);
  color: #5a3824;
  text-align: center;
  font-weight: bold;
}

.status-message.error {
  border-color: #8b1e1e;
  color: #8b1e1e;
  background: #fff1d6;
}

.rashifal-results {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rashifal-meta {
  max-width: 900px;
  margin: 0 auto 22px;
  padding: 13px 16px;
  border: 1px solid rgba(217, 147, 47, 0.42);
  border-radius: 16px;
  background: rgba(255, 248, 236, 0.7);
  color: #5a3824;
  text-align: center;
  font-weight: bold;
}

.rashifal-card {
  height: 100%;
  text-align: left;
}

.rashifal-summary {
  color: #5a3824;
  margin-bottom: 18px;
}

.rashifal-details {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.rashifal-detail {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid #f1d6a3;
}

.rashifal-detail strong {
  color: #8b1e1e;
}

.rashifal-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1d6a3;
}

.rashifal-share-btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 15px;
}

.rashifal-copy-message {
  color: #5a3824;
  font-weight: bold;
  font-size: 14px;
}

body.page-rashifal {
  font-family: Georgia, "Noto Serif Devanagari", "Noto Sans Devanagari", "Mangal", serif;
  color: #fff4d6;
  background:
    radial-gradient(circle at 50% -8%, rgba(244, 201, 103, 0.28), transparent 30rem),
    radial-gradient(circle at 12% 24%, rgba(122, 27, 27, 0.42), transparent 28rem),
    radial-gradient(circle at 90% 34%, rgba(217, 147, 47, 0.18), transparent 24rem),
    linear-gradient(145deg, #3b0b0d 0%, #6b1414 45%, #4a170d 78%, #281409 100%);
}

body.page-rashifal::before {
  opacity: 0.22;
}

body.page-rashifal::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 248, 236, 0.12) 0 1px, transparent 1.7px),
    radial-gradient(circle at 76% 22%, rgba(244, 201, 103, 0.18) 0 1px, transparent 1.8px),
    repeating-radial-gradient(circle at 50% 3%, rgba(244, 201, 103, 0.052) 0 1px, transparent 1px 28px),
    repeating-conic-gradient(from 8deg at 50% 2%, rgba(244, 201, 103, 0.035) 0deg 8deg, transparent 8deg 18deg),
    linear-gradient(180deg, rgba(60, 12, 10, 0.12), rgba(38, 12, 7, 0.66));
}

body.page-rashifal .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(244, 201, 103, 0.3);
  background: linear-gradient(135deg, rgba(42, 8, 10, 0.86), rgba(92, 22, 16, 0.7));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.24);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

body.page-rashifal .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 0;
}

body.page-rashifal .brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  gap: 12px;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

body.page-rashifal .brand::before {
  content: none;
}

body.page-rashifal .brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 201, 103, 0.55);
  border-radius: 999px;
  background: radial-gradient(circle at 45% 35%, #fff8ec 0 22%, #f4c967 56%, #8b1e1e 100%);
  box-shadow: 0 0 22px rgba(244, 201, 103, 0.24);
}

body.page-rashifal .brand-mark img {
  width: 45px;
  height: 45px;
  border-radius: 999px;
  object-fit: contain;
}

body.page-rashifal .brand-name {
  display: block;
  color: #fff8ec;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(18, 6, 4, 0.28);
}

body.page-rashifal .brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 244, 214, 0.78);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
}

body.page-rashifal .main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  border-top: 0;
  background: transparent;
}

body.page-rashifal .main-nav a {
  padding: 8px 11px;
  border-color: rgba(255, 244, 214, 0.08);
  color: rgba(255, 248, 236, 0.88);
  font-size: 0.9rem;
}

body.page-rashifal .main-nav a:hover,
body.page-rashifal .main-nav a.active {
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.98), rgba(244, 201, 103, 0.86));
  border-color: rgba(244, 201, 103, 0.78);
  color: #6b1414;
}

body.page-rashifal .hero-rashifal {
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: center;
  margin-bottom: -20px;
  padding: 48px 20px 62px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 42% 18%, rgba(244, 201, 103, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(58, 8, 8, 0.38), rgba(122, 27, 27, 0.26) 54%, rgba(217, 147, 47, 0.18));
  box-shadow: none;
}

body.page-rashifal .hero-rashifal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 244, 214, 0.14), transparent 12rem),
    linear-gradient(180deg, rgba(62, 10, 10, 0.18), rgba(40, 12, 7, 0.62));
  pointer-events: none;
}

body.page-rashifal .hero-rashifal::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(59, 11, 13, 0), rgba(59, 11, 13, 0.72));
  pointer-events: none;
}

.rashifal-hero-orbit {
  position: absolute;
  width: min(42vw, 330px);
  aspect-ratio: 1;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 18px;
  border: 1px solid rgba(244, 201, 103, 0.26);
  border-radius: 999px;
  background:
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.16) 0deg 3deg, transparent 3deg 30deg),
    radial-gradient(circle, transparent 0 38%, rgba(244, 201, 103, 0.12) 39% 40%, transparent 41% 100%);
  opacity: 0.48;
}

body.page-rashifal .hero-glass-content {
  width: min(780px, 100%);
  padding: 24px 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 12, 12, 0.68), rgba(122, 27, 27, 0.34));
}

body.page-rashifal .hero-glass-content h1 {
  color: #fff8ec;
  font-size: clamp(34px, 5vw, 54px);
  text-shadow: 0 2px 18px rgba(36, 8, 10, 0.34);
}

body.page-rashifal .hero-glass-content p {
  color: rgba(255, 244, 214, 0.86);
}

.rashifal-dashboard-section,
.rashifal-results-section,
.rashifal-kundli-section {
  max-width: 1180px;
}

.rashifal-dashboard-section {
  padding-top: 24px;
  padding-bottom: 22px;
}

body.page-rashifal .rashifal-control-panel {
  max-width: none;
  padding: 24px;
  border-color: rgba(244, 201, 103, 0.44);
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.17), rgba(122, 27, 27, 0.18));
  box-shadow:
    0 28px 70px rgba(18, 6, 4, 0.28),
    0 0 30px rgba(244, 201, 103, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.rashifal-panel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.rashifal-panel-heading p {
  margin: 0;
  color: rgba(255, 244, 214, 0.78);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
}

body.page-rashifal .rashifal-form {
  grid-template-columns: minmax(170px, 0.75fr) minmax(220px, 1fr) auto;
  align-items: end;
}

body.page-rashifal .form-field label {
  color: #ffe6a3;
}

body.page-rashifal .form-field input,
body.page-rashifal .form-field select {
  border-color: rgba(244, 201, 103, 0.5);
  background: rgba(255, 248, 236, 0.92);
  color: #2b1a10;
}

body.page-rashifal .status-message {
  color: #5a3824;
}

body.page-rashifal .status-message.error {
  border-color: rgba(244, 201, 103, 0.46);
  background: rgba(255, 241, 214, 0.92);
  color: #7a1b1b;
}

.rashifal-results-section {
  padding-top: 22px;
}

.rashifal-results-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.rashifal-results-heading h2 {
  margin: 0;
  color: #fff8ec;
  text-align: left;
  text-shadow: 0 2px 18px rgba(36, 8, 10, 0.32);
}

body.page-rashifal .rashifal-meta {
  max-width: none;
  margin: 0 0 18px;
  border-color: rgba(244, 201, 103, 0.38);
  background: rgba(36, 8, 10, 0.42);
  color: rgba(255, 244, 214, 0.82);
  text-align: left;
}

body.page-rashifal .rashifal-results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.page-rashifal .rashifal-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-color: rgba(244, 201, 103, 0.38);
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.16), rgba(122, 27, 27, 0.2));
  color: rgba(255, 244, 214, 0.92);
  box-shadow:
    0 22px 48px rgba(18, 6, 4, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-rashifal .rashifal-card:hover {
  border-color: rgba(244, 201, 103, 0.68);
  transform: translateY(-4px);
  box-shadow:
    0 28px 58px rgba(18, 6, 4, 0.3),
    0 0 26px rgba(244, 201, 103, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rashifal-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rashifal-zodiac-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.5);
  border-radius: 999px;
  background: rgba(36, 8, 10, 0.38);
  color: #f2c75c;
  font-size: 23px;
  line-height: 1;
  box-shadow: 0 0 18px rgba(244, 201, 103, 0.12);
}

body.page-rashifal .rashifal-card h3,
body.page-rashifal .rashifal-detail-report h3 {
  margin: 0;
  color: #fff4d6;
  font-size: 20px;
  line-height: 1.25;
}

body.page-rashifal .rashifal-summary {
  margin: 0 0 16px;
  color: rgba(255, 244, 214, 0.76);
  line-height: 1.65;
}

.rashifal-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: auto;
  padding: 9px 14px;
  border: 1px solid rgba(244, 201, 103, 0.48);
  border-radius: 999px;
  background: rgba(36, 8, 10, 0.36);
  color: #f2c75c;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.rashifal-card-link:hover {
  background: linear-gradient(135deg, #f4c967, #d9932f);
  color: #2b1a10;
}

body.page-rashifal .rashifal-single-result {
  display: block;
}

.rashifal-detail-report {
  padding: 26px;
  border-color: rgba(244, 201, 103, 0.44);
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.16), rgba(122, 27, 27, 0.2));
}

.rashifal-detail-header {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.rashifal-date-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(244, 201, 103, 0.4);
  border-radius: 999px;
  background: rgba(36, 8, 10, 0.38);
  color: rgba(255, 244, 214, 0.8);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.rashifal-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rashifal-category-card {
  padding: 16px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 16px;
  background: rgba(255, 248, 236, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rashifal-category-card strong {
  display: block;
  margin-bottom: 8px;
  color: #f2c75c;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.rashifal-category-card p {
  margin: 0;
  color: rgba(255, 244, 214, 0.82);
  line-height: 1.65;
}

.rashifal-chip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rashifal-chip-card p {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244, 201, 103, 0.96), rgba(217, 147, 47, 0.88));
  color: #2b1a10;
  font-weight: 800;
}

.rashifal-upay-card {
  grid-column: 1 / -1;
  border-color: rgba(244, 201, 103, 0.56);
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 201, 103, 0.16), transparent 34%),
    rgba(80, 18, 16, 0.42);
}

body.page-rashifal .rashifal-share {
  border-top-color: rgba(244, 201, 103, 0.28);
}

body.page-rashifal .rashifal-copy-message {
  color: rgba(255, 244, 214, 0.78);
}

.rashifal-kundli-section {
  padding-top: 8px;
}

body.page-rashifal .rashifal-kundli-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(244, 201, 103, 0.48);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(36, 8, 10, 0.82), rgba(87, 18, 18, 0.72));
  box-shadow:
    0 24px 54px rgba(18, 6, 4, 0.3),
    inset 0 1px 0 rgba(255, 244, 214, 0.14);
}

body.page-rashifal .rashifal-kundli-cta p {
  margin: 0;
  color: rgba(255, 244, 214, 0.92);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(18, 6, 4, 0.4);
}

body.page-rashifal .rashifal-kundli-cta .btn {
  flex: 0 0 auto;
  max-width: 100%;
}

body.page-rashifal .rashifal-kundli-cta .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

body.page-panchang {
  font-family: Georgia, "Noto Serif Devanagari", "Noto Sans Devanagari", "Mangal", serif;
  color: #fff4d6;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 213, 111, 0.3), transparent 30rem),
    radial-gradient(circle at 14% 22%, rgba(122, 27, 27, 0.38), transparent 27rem),
    radial-gradient(circle at 86% 28%, rgba(244, 201, 103, 0.2), transparent 24rem),
    linear-gradient(145deg, #3b0b0d 0%, #701819 42%, #542010 75%, #281409 100%);
}

body.page-panchang::before {
  opacity: 0.24;
}

body.page-panchang::after {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 244, 214, 0.15), transparent 18rem),
    radial-gradient(circle at 18% 18%, rgba(255, 248, 236, 0.12) 0 1px, transparent 1.7px),
    repeating-radial-gradient(circle at 50% 3%, rgba(244, 201, 103, 0.056) 0 1px, transparent 1px 28px),
    repeating-conic-gradient(from 8deg at 50% 2%, rgba(244, 201, 103, 0.04) 0deg 8deg, transparent 8deg 18deg),
    linear-gradient(180deg, rgba(60, 12, 10, 0.08), rgba(38, 12, 7, 0.64));
}

body.page-panchang .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(244, 201, 103, 0.3);
  background: linear-gradient(135deg, rgba(42, 8, 10, 0.86), rgba(92, 22, 16, 0.7));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.24);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

body.page-panchang .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 0;
}

body.page-panchang .brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  gap: 12px;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

body.page-panchang .brand::before {
  content: none;
}

body.page-panchang .brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 201, 103, 0.55);
  border-radius: 999px;
  background: radial-gradient(circle at 45% 35%, #fff8ec 0 22%, #f4c967 56%, #8b1e1e 100%);
  box-shadow: 0 0 22px rgba(244, 201, 103, 0.24);
}

body.page-panchang .brand-mark img {
  width: 45px;
  height: 45px;
  border-radius: 999px;
  object-fit: contain;
}

body.page-panchang .brand-name {
  display: block;
  color: #fff8ec;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(18, 6, 4, 0.28);
}

body.page-panchang .brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 244, 214, 0.78);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
}

body.page-panchang .main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  border-top: 0;
  background: transparent;
}

body.page-panchang .main-nav a {
  padding: 8px 11px;
  border-color: rgba(255, 244, 214, 0.08);
  color: rgba(255, 248, 236, 0.88);
  font-size: 0.9rem;
}

body.page-panchang .main-nav a:hover,
body.page-panchang .main-nav a.active {
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.98), rgba(244, 201, 103, 0.86));
  border-color: rgba(244, 201, 103, 0.78);
  color: #6b1414;
}

body.page-panchang .hero-panchang {
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: center;
  margin-bottom: -20px;
  padding: 48px 20px 62px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 42% 18%, rgba(244, 201, 103, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(58, 8, 8, 0.38), rgba(122, 27, 27, 0.26) 54%, rgba(217, 147, 47, 0.18));
  box-shadow: none;
}

body.page-panchang .hero-panchang::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 244, 214, 0.16), transparent 12rem),
    linear-gradient(180deg, rgba(62, 10, 10, 0.18), rgba(40, 12, 7, 0.62));
  pointer-events: none;
}

body.page-panchang .hero-panchang::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(59, 11, 13, 0), rgba(59, 11, 13, 0.72));
  pointer-events: none;
}

.panchang-hero-symbol {
  position: absolute;
  right: max(32px, calc((100vw - 1180px) / 2));
  bottom: 22px;
  width: min(42vw, 330px);
  aspect-ratio: 1;
  opacity: 0.58;
}

.panchang-ring,
.panchang-sun,
.panchang-moon {
  position: absolute;
  border-radius: 999px;
}

.panchang-ring {
  inset: 0;
  border: 1px solid rgba(244, 201, 103, 0.26);
  background:
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.16) 0deg 3deg, transparent 3deg 24deg),
    radial-gradient(circle, transparent 0 36%, rgba(244, 201, 103, 0.12) 37% 38%, transparent 39% 100%);
}

.panchang-sun {
  top: 25%;
  left: 29%;
  width: 86px;
  height: 86px;
  background: radial-gradient(circle, #fff8ec 0 16%, #f4c967 52%, rgba(217, 147, 47, 0.2) 72%);
  box-shadow: 0 0 42px rgba(244, 201, 103, 0.34);
}

.panchang-moon {
  right: 26%;
  bottom: 28%;
  width: 68px;
  height: 68px;
  border: 0;
  background: transparent;
  box-shadow: -18px 0 0 rgba(255, 244, 214, 0.76);
}

body.page-panchang .hero-glass-content {
  width: min(780px, 100%);
  padding: 24px 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 12, 12, 0.68), rgba(122, 27, 27, 0.34));
}

body.page-panchang .hero-glass-content h1 {
  color: #fff8ec;
  font-size: clamp(34px, 5vw, 54px);
  text-shadow: 0 2px 18px rgba(36, 8, 10, 0.34);
}

body.page-panchang .hero-glass-content p {
  color: rgba(255, 244, 214, 0.86);
}

.panchang-control-section,
.panchang-main-section,
.panchang-grid-section,
.panchang-time-section,
.panchang-festival-section,
.panchang-guidance-section,
.panchang-education-section,
.panchang-cta-section {
  max-width: 1180px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.panchang-control-section {
  padding-top: 22px;
  padding-bottom: 18px;
}

body.page-panchang .panchang-control-panel,
.panchang-sacred-card,
.panchang-time-panel,
.panchang-timeline,
.panchang-final-cta {
  border-color: rgba(244, 201, 103, 0.44);
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.17), rgba(122, 27, 27, 0.18));
  box-shadow:
    0 28px 70px rgba(18, 6, 4, 0.28),
    0 0 30px rgba(244, 201, 103, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.page-panchang .panchang-control-panel {
  max-width: none;
  padding: 22px;
}

.panchang-panel-heading,
.panchang-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.panchang-panel-heading p,
.panchang-helper {
  margin: 0;
  color: rgba(255, 244, 214, 0.78);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
}

.panchang-helper {
  margin-top: 12px;
  font-size: 14px;
}

.panchang-form {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: end;
}

body.page-panchang .panchang-location-field {
  position: relative;
}

body.page-panchang .panchang-place-suggestions {
  z-index: 80;
  top: calc(100% + 8px);
  max-height: 260px;
  border: 1px solid rgba(244, 201, 103, 0.52);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(69, 13, 15, 0.98), rgba(33, 9, 8, 0.96));
  box-shadow: 0 22px 48px rgba(18, 6, 4, 0.42), 0 0 24px rgba(244, 201, 103, 0.12);
  backdrop-filter: blur(16px);
}

body.page-panchang .panchang-place-suggestion,
body.page-panchang .place-suggestion-message {
  display: grid;
  gap: 3px;
  min-height: 48px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(244, 201, 103, 0.18);
  background: transparent;
  color: #fff4d6;
}

body.page-panchang .panchang-place-suggestion span {
  font-weight: 800;
}

body.page-panchang .panchang-place-suggestion small {
  color: rgba(255, 244, 214, 0.68);
  font-size: 12px;
}

body.page-panchang .panchang-place-suggestion:hover,
body.page-panchang .panchang-place-suggestion:focus {
  background: rgba(244, 201, 103, 0.14);
  color: #fff8ec;
}

.panchang-location-message {
  margin-top: 8px;
}

body.page-panchang .form-field label {
  color: #ffe6a3;
}

body.page-panchang .form-field input {
  border-color: rgba(244, 201, 103, 0.5);
  background: rgba(255, 248, 236, 0.92);
  color: #2b1a10;
}

.panchang-main-section {
  padding-top: 14px;
  padding-bottom: 28px;
}

.panchang-sacred-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  padding: 28px;
}

.panchang-sacred-copy h2 {
  margin: 14px 0 12px;
  color: #fff8ec;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.panchang-sacred-copy p,
.panchang-section-heading h2 {
  margin: 0;
  color: rgba(255, 244, 214, 0.82);
}

.panchang-section-heading h2 {
  max-width: 760px;
  text-align: left;
  font-size: 23px;
  line-height: 1.28;
}

.panchang-sacred-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panchang-sacred-meta div,
.panchang-data-card,
.panchang-guidance-card,
.panchang-ang-card {
  border: 1px solid rgba(244, 201, 103, 0.34);
  background: rgba(255, 248, 236, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.panchang-sacred-meta div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 16px;
}

.panchang-sacred-meta strong,
.panchang-data-card strong,
.panchang-time-list strong,
.panchang-guidance-card h3,
.panchang-ang-card h3,
.panchang-timeline h3 {
  color: #f2c75c;
  overflow-wrap: anywhere;
}

.panchang-sacred-meta span,
.panchang-data-card span,
.panchang-time-list span,
.panchang-guidance-card p,
.panchang-ang-card p,
.panchang-timeline p {
  color: rgba(255, 244, 214, 0.82);
}

.panchang-data-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.panchang-data-card {
  display: grid;
  gap: 7px;
  min-height: 96px;
  padding: 14px;
}

.panchang-data-card span {
  color: #fff8ec;
  font-size: 22px;
  font-weight: 800;
}

.panchang-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panchang-time-panel {
  padding: 20px;
}

.panchang-time-panel h3 {
  margin: 0 0 13px;
  color: #fff4d6;
  font-size: 22px;
}

.panchang-shubh-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 201, 103, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 248, 236, 0.18), rgba(122, 27, 27, 0.16));
}

.panchang-ashubh-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 147, 47, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(74, 23, 13, 0.52), rgba(122, 27, 27, 0.18));
}

.panchang-time-list {
  display: grid;
  gap: 10px;
}

.panchang-time-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border: 1px solid rgba(244, 201, 103, 0.3);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.08);
}

.panchang-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  max-width: 900px;
  margin: 0 auto;
  padding: 18px;
}

.panchang-timeline article {
  min-height: 112px;
  padding: 12px 0 12px 16px;
  border-left: 2px solid rgba(244, 201, 103, 0.58);
}

.panchang-timeline time {
  display: inline-flex;
  margin-bottom: 6px;
  color: #f2c75c;
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.panchang-timeline h3,
.panchang-guidance-card h3,
.panchang-ang-card h3 {
  margin: 0 0 7px;
}

.panchang-timeline p,
.panchang-guidance-card p,
.panchang-ang-card p {
  margin: 0;
}

.panchang-guidance-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.panchang-ang-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.panchang-guidance-card,
.panchang-ang-card {
  padding: 14px;
}

.panchang-cta-section {
  padding-top: 18px;
  padding-bottom: 28px;
}

.panchang-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 22px;
}

.panchang-final-cta p {
  margin: 0;
  color: rgba(255, 244, 214, 0.92);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(18, 6, 4, 0.4);
}

.panchang-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.kundli-panel {
  max-width: 980px;
  position: relative;
}

.kundli-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 18px;
  pointer-events: none;
}

.kundli-panel > *,
.kundli-result > *,
.kundli-glass-section > * {
  position: relative;
}

.kundli-disclaimer {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 147, 47, 0.42);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.34);
  color: #5a3824;
  font-weight: bold;
}

.kundli-submit {
  min-height: 52px;
  box-shadow: 0 16px 32px rgba(122, 27, 27, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.kundli-result {
  max-width: 1000px;
  display: grid;
  gap: 28px;
}

.kundli-result-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.kundli-result-header h2 {
  position: relative;
  width: fit-content;
  margin-bottom: 0;
  padding-bottom: 12px;
}

.kundli-result-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 86px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  transform: translateX(-50%);
}

.kundli-pdf-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.kundli-pdf-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.kundli-pdf-language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5f514c;
  font-size: 0.82rem;
  font-weight: 800;
}

.kundli-pdf-language select {
  min-height: 38px;
  padding: 6px 28px 6px 9px;
  border: 1px solid #c69a3a;
  border-radius: 6px;
  background: #fffaf0;
  color: #4a2c25;
  font: inherit;
}

@media (max-width: 640px) {
  .kundli-pdf-actions,
  .kundli-pdf-language {
    width: 100%;
  }

  .kundli-pdf-language select,
  .kundli-pdf-button {
    flex: 1 1 auto;
  }
}

.kundli-owner-access-badge {
  padding: 5px 9px;
  border: 1px solid #4f7b5b;
  border-radius: 6px;
  color: #315d3c;
  background: #eef8f0;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.kundli-pdf-status {
  color: #5f514c;
  font-weight: 700;
  margin: 0 0 1rem;
}

.kundli-pdf-status[data-tone="error"] {
  color: #9d1f1f;
}

.kundli-pdf-preview {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  max-width: 620px;
  margin: 0 0 18px auto;
  padding: 12px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(255, 243, 219, 0.88));
  box-shadow: 0 12px 28px rgba(90, 45, 10, 0.09);
}

.kundli-pdf-preview-figure {
  margin: 0;
}

.kundli-pdf-preview-image-wrap {
  position: relative;
  aspect-ratio: 480 / 679;
  overflow: hidden;
  border: 1px solid rgba(122, 27, 27, 0.18);
  border-radius: 10px;
  background: #f6f4fb;
}

.kundli-pdf-preview-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kundli-pdf-preview-overlay {
  position: absolute;
  inset: 58% 0 0;
  display: grid;
  place-items: center;
  padding: 8px;
  color: #fff;
  background: linear-gradient(180deg, rgba(62, 40, 109, 0.2), rgba(51, 38, 128, 0.92));
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.kundli-pdf-preview-figure figcaption {
  margin-top: 6px;
  color: #7a1b1b;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.kundli-pdf-preview-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #7a1b1b;
}

.kundli-pdf-preview-copy p {
  margin: 0;
  color: #5a3824;
  font-size: 0.9rem;
  line-height: 1.5;
}

.kundli-login-gate {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(255, 240, 210, 0.94));
  box-shadow: 0 14px 30px rgba(90, 45, 10, 0.1);
}

.kundli-login-gate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #7a1b1b, #d9932f, #3f2c8a);
}

.kundli-login-teaser,
.kundli-login-gate p {
  margin: 0;
  color: #5a3824;
  line-height: 1.65;
}

.kundli-login-gate-title {
  color: #7a1b1b;
  font-size: 1.05rem;
}

.kundli-login-gate .btn {
  width: fit-content;
  min-height: 44px;
}

.kundli-login-gate-status {
  color: #9d1f1f !important;
  font-weight: 700;
}

@media (max-width: 640px) {
  .kundli-pdf-preview {
    grid-template-columns: 92px minmax(0, 1fr);
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }

  .kundli-login-gate {
    padding: 18px 16px;
  }

  .kundli-login-gate .btn {
    width: 100%;
  }
}

.kundli-result-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.52);
  box-shadow: 0 16px 34px rgba(90, 45, 10, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.kundli-result-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 16px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  color: #7a1b1b;
  font-weight: bold;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.kundli-result-nav-link:hover,
.kundli-result-nav-link.active {
  background: linear-gradient(135deg, #7a1b1b, #d9932f);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(122, 27, 27, 0.18);
}

.kundli-result-block {
  scroll-margin-top: 90px;
  margin-top: 0;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 22px;
  background: rgba(255, 248, 236, 0.5);
  box-shadow:
    0 18px 45px rgba(90, 45, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.kundli-result-block:first-of-type {
  margin-top: 0;
}

.kundli-result-block h3 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 12px;
  color: #8b1e1e;
  font-size: 24px;
}

.kundli-result-block h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, 0));
}

.kundli-section-note {
  margin: -6px 0 18px;
  color: #5a3824;
}

.kundli-subheading {
  margin: 20px 0 12px;
  color: #7a1b1b;
  font-size: 18px;
}

.kundli-subheading:first-of-type {
  margin-top: 0;
}

.kundli-info-grid,
.kundli-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.kundli-info-item {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 14px 28px rgba(90, 45, 10, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.kundli-info-item strong {
  color: #8b1e1e;
}

.kundli-info-item span {
  color: #5a3824;
  line-height: 1.5;
}

.kundli-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 14px 30px rgba(90, 45, 10, 0.08);
}

.kundli-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fffdf8;
}

.kundli-table th,
.kundli-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #f1d6a3;
  text-align: left;
}

.kundli-table th {
  background: linear-gradient(135deg, #6b1414, #8b1e1e 58%, #b97021);
  color: #fff;
}

.kundli-table td {
  background: #fffdf8;
}

.kundli-table tr:last-child td {
  border-bottom: 0;
}

.kundli-empty {
  margin: 0;
  padding: 16px;
  border: 1px solid #f1d6a3;
  border-radius: 8px;
  background: #fff8ec;
  color: #5a3824;
  font-weight: bold;
}

.kundli-reading-action {
  display: grid;
  gap: 12px;
  align-items: start;
  margin-bottom: 22px;
}

.kundli-reading-button {
  width: fit-content;
  min-height: 46px;
}

.kundli-reading-button:disabled {
  cursor: wait;
  filter: saturate(0.75);
  opacity: 0.82;
}

.kundli-reading-status,
.kundli-reading-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: bold;
}

.kundli-reading-status {
  border: 1px solid rgba(217, 147, 47, 0.42);
  background: rgba(255, 248, 236, 0.74);
  color: #5a3824;
}

.kundli-reading-error {
  border: 1px solid #d88989;
  background: #fff2f2;
  color: #8b1e1e;
}

.kundli-reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.kundli-reading-card {
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 34px rgba(90, 45, 10, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.kundli-reading-card h4 {
  margin: 0 0 10px;
  color: #8b1e1e;
  font-size: 18px;
}

.kundli-reading-card p {
  margin: 0;
  color: #5a3824;
  line-height: 1.7;
}

.kundli-chart-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 22px;
}

.kundli-chart-card {
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 22px;
  background: rgba(255, 248, 236, 0.48);
  box-shadow: 0 18px 38px rgba(90, 45, 10, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.kundli-chart-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 10px;
}

.kundli-chart-card h4 {
  margin: 0 0 8px;
  color: #8b1e1e;
  font-size: 20px;
}

.kundli-chart-heading h4 {
  margin-bottom: 0;
}

.kundli-chart-heading small {
  color: #5a3824;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.kundli-chart-technical {
  color: #7a6252;
  font-size: 12px;
  line-height: 1.3;
}

.kundli-chart-purpose {
  min-height: 2.7em;
  margin: 0 0 12px;
  color: #5a3824;
  font-size: 14px;
  line-height: 1.35;
}

.north-indian-chart-card {
  overflow: hidden;
}

.north-indian-kundli-svg {
  display: block;
  width: min(100%, 560px);
  height: auto;
  aspect-ratio: 5 / 3;
  margin: 0 auto;
  padding: 4px;
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 201, 103, 0.12), transparent 42%),
    #fffaf0;
  box-shadow: 0 10px 24px rgba(90, 45, 10, 0.08);
}

.north-chart-background {
  fill: #fffdf8;
}

.north-chart-grid,
.north-chart-frame {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.north-chart-grid {
  stroke: #8b1e1e;
  stroke-width: 2;
}

.north-chart-frame {
  stroke: #d9932f;
  stroke-width: 1.5;
}

.north-chart-text {
  fill: #2b1a10;
  font-family: "Noto Sans Devanagari", Arial, sans-serif;
  pointer-events: none;
  line-height: 1.05;
}

.north-chart-house-label {
  fill: #8b1e1e;
  font-size: 15px;
  font-weight: 700;
}

.north-chart-planet-label {
  fill: #5a3824;
  font-size: 14px;
  font-weight: 700;
}

.kundli-chart-detail {
  margin-top: 14px;
}

.kundli-chart-detail h5 {
  margin: 0 0 8px;
  color: #7a1b1b;
  font-size: 15px;
}

.kundli-chart-detail .kundli-table {
  min-width: 0;
  font-size: 13px;
}

.kundli-chart-detail .kundli-table th,
.kundli-chart-detail .kundli-table td {
  padding: 8px 10px;
  vertical-align: top;
}

.kundli-chart-accordion,
.kundli-dasha-accordion {
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 24px rgba(90, 45, 10, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.kundli-panel .kundli-form,
.kundli-result-block,
.kundli-chart-card,
.kundli-reading-card,
.kundli-info-item {
  transform: translateZ(0);
}

.kundli-chart-accordion {
  margin-top: 24px;
  padding: 0 16px 16px;
}

.kundli-chart-accordion > summary,
.kundli-dasha-accordion > summary {
  cursor: pointer;
  color: #8b1e1e;
  font-weight: 700;
}

.kundli-chart-accordion > summary {
  padding: 16px 0;
  font-size: 17px;
}

.kundli-dasha-accordion {
  margin-top: 10px;
  padding: 0 12px 12px;
}

.kundli-dasha-accordion > summary {
  padding: 12px 0;
  font-size: 15px;
}

.kundli-antardasha-list {
  margin-top: 20px;
}

body.page-kundli {
  font-family: Georgia, "Noto Serif Devanagari", "Noto Sans Devanagari", "Mangal", serif;
  color: #fff8ec;
  background:
    radial-gradient(circle at 50% -8%, rgba(244, 201, 103, 0.24), transparent 32rem),
    radial-gradient(circle at 12% 18%, rgba(122, 27, 27, 0.58), transparent 28rem),
    radial-gradient(circle at 88% 34%, rgba(212, 175, 55, 0.16), transparent 24rem),
    linear-gradient(145deg, #24080a 0%, #4f0d10 42%, #281409 78%, #160807 100%);
}

body.page-kundli::before {
  background-image: url("../images/heroes/home-hero1.png");
  opacity: 0.28;
}

body.page-kundli::after {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 248, 236, 0.14) 0 1px, transparent 1.7px),
    radial-gradient(circle at 72% 18%, rgba(244, 201, 103, 0.2) 0 1px, transparent 1.8px),
    repeating-radial-gradient(circle at 50% 4%, rgba(244, 201, 103, 0.054) 0 1px, transparent 1px 28px),
    repeating-conic-gradient(from 12deg at 50% 3%, rgba(244, 201, 103, 0.04) 0deg 7deg, transparent 7deg 17deg),
    linear-gradient(180deg, rgba(36, 8, 10, 0.18), rgba(30, 10, 7, 0.74));
}

body.page-kundli .hero-kundli {
  min-height: 390px;
  padding: 58px 20px 70px;
  background-image: url("../images/heroes/kundli-hero.png");
}

body.page-kundli .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(239, 200, 107, 0.28);
  background: linear-gradient(135deg, rgba(42, 8, 10, 0.84), rgba(80, 18, 16, 0.68));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.26);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

body.page-kundli .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 0;
}

body.page-kundli .brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  gap: 12px;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

body.page-kundli .brand::before {
  content: none;
}

body.page-kundli .brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 200, 107, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 236, 0.9), rgba(239, 200, 107, 0.2) 68%, transparent 70%);
  box-shadow: 0 0 24px rgba(239, 200, 107, 0.26);
}

body.page-kundli .brand-mark img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

body.page-kundli .brand-name {
  display: block;
  color: #efc86b;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-shadow: 0 0 22px rgba(239, 200, 107, 0.22);
}

body.page-kundli .brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 236, 0.82);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.page-kundli .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-kundli .main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 11px;
  color: rgba(255, 248, 236, 0.86);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

body.page-kundli .main-nav a:hover,
body.page-kundli .main-nav a.active {
  border-color: rgba(239, 200, 107, 0.46);
  background: rgba(255, 248, 236, 0.08);
  color: #efc86b;
  transform: translateY(-1px);
}

body.page-kundli .hero-kundli::before {
  background:
    linear-gradient(135deg, rgba(36, 8, 10, 0.58), rgba(122, 27, 27, 0.36) 48%, rgba(217, 147, 47, 0.18)),
    radial-gradient(circle at 50% 18%, rgba(244, 201, 103, 0.18), transparent 42%);
}

body.page-kundli .hero-kundli::after {
  background: linear-gradient(180deg, rgba(36, 8, 10, 0), rgba(36, 8, 10, 0.52) 68%, rgba(36, 8, 10, 0.88));
}

body.page-kundli .hero-glass-content {
  width: min(820px, 100%);
  padding: 28px 34px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 12, 12, 0.66), rgba(122, 27, 27, 0.32));
}

body.page-vastu .hero-badge,
body.page-vastu .section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid rgba(244, 201, 103, 0.52);
  border-radius: 999px;
  color: #ffe6a3;
  background: rgba(36, 8, 10, 0.26);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-badge {
  margin-bottom: 14px;
}

.kundli-create-section {
  max-width: 1180px;
  padding-top: 34px;
}

.kundli-create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  grid-auto-rows: 1fr;
  gap: 24px;
  align-items: stretch;
}

.kundli-create-grid > .kundli-panel,
.kundli-create-grid > .kundli-benefit-card {
  height: 100%;
  align-self: stretch;
}

body.page-kundli .content-panel,
body.page-kundli .glass-panel,
body.page-kundli .glass-card,
body.page-kundli .premium-card,
body.page-kundli .kundli-glass-section {
  border-color: rgba(244, 201, 103, 0.42);
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.17), rgba(122, 27, 27, 0.18));
  box-shadow:
    0 28px 70px rgba(18, 6, 4, 0.32),
    0 0 30px rgba(244, 201, 103, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}

body.page-kundli .kundli-panel {
  max-width: none;
  margin: 0;
  padding: 30px;
}

.kundli-panel-heading {
  margin-bottom: 22px;
  text-align: left;
}

.kundli-panel-heading h2,
.kundli-benefit-card h2 {
  margin: 12px 0 8px;
  color: #fff8ec;
  font-size: 26px;
  line-height: 1.22;
  text-align: left;
  text-shadow: 0 2px 18px rgba(36, 8, 10, 0.32);
}

.kundli-panel-heading p,
.kundli-benefit-card p,
.kundli-benefit-list li {
  color: rgba(255, 248, 236, 0.84);
}

body.page-kundli .kundli-form {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

body.page-kundli .kundli-form-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

body.page-kundli .kundli-form-row-action {
  align-items: start;
}

body.page-kundli .kundli-form-row-action .kundli-submit {
  align-self: start;
}

body.page-kundli .kundli-family-button,
body.page-kundli .kundli-family-copy {
  grid-column: 1 / -1;
}

body.page-kundli .form-field label {
  color: #ffe6a3;
}

.field-helper {
  color: rgba(255, 248, 236, 0.74);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

body.page-kundli .form-field input,
body.page-kundli .form-field select {
  border-color: rgba(244, 201, 103, 0.5);
  background: rgba(255, 248, 236, 0.92);
  color: #2b1a10;
}

body.page-kundli .form-field input:focus,
body.page-kundli .form-field select:focus {
  outline-color: rgba(244, 201, 103, 0.44);
  border-color: #f4c967;
  background: #fffdf8;
}

.kundli-submit {
  align-self: end;
}

@media (max-width: 900px) {
  body.page-kundli .kundli-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  body.page-kundli .kundli-form-row-action {
    align-items: stretch;
  }

  body.page-kundli .kundli-form-row-action .kundli-submit {
    align-self: stretch;
  }
}

.kundli-benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 30px;
  overflow: hidden;
  border-color: rgba(244, 201, 103, 0.55);
  box-shadow:
    0 28px 70px rgba(18, 6, 4, 0.34),
    0 0 34px rgba(244, 201, 103, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.kundli-orbit-mark {
  display: grid;
  width: 172px;
  height: 172px;
  margin: 0 0 22px;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 201, 103, 0.16), transparent 68%);
}

.kundli-orbit-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(244, 201, 103, 0.64);
  stroke-width: 1.5;
}

.kundli-benefit-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.kundli-benefit-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
}

body.page-kundli .kundli-benefit-card .kundli-benefit-list li {
  color: rgba(255, 244, 214, 0.9);
  text-shadow: 0 1px 12px rgba(36, 8, 10, 0.34);
}

.kundli-benefit-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #f4c967;
  box-shadow: 0 0 12px rgba(244, 201, 103, 0.68);
  transform: translateY(-50%);
}

body.page-kundli .kundli-result-section {
  max-width: 1180px;
  padding-top: 28px;
}

body.page-kundli .kundli-result-header h2 {
  color: #fff8ec;
  text-shadow: 0 2px 18px rgba(36, 8, 10, 0.34);
}

body.page-kundli .kundli-result {
  max-width: none;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.15), rgba(122, 27, 27, 0.16));
}

body.page-kundli .kundli-result,
body.page-kundli .kundli-result p,
body.page-kundli .kundli-result li {
  color: rgba(255, 244, 214, 0.9);
}

body.page-kundli .kundli-result-nav {
  position: sticky;
  top: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  border-radius: 999px;
  background: rgba(36, 8, 10, 0.42);
}

button.kundli-result-nav-link {
  appearance: none;
  border-color: rgba(244, 201, 103, 0.4);
  background: rgba(255, 248, 236, 0.12);
  color: #fff8ec;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

button.kundli-result-nav-link:hover,
button.kundli-result-nav-link.active {
  background: linear-gradient(135deg, #f4c967 0%, #d9932f 54%, #8b1e1e 100%);
  color: #24080a;
}

body.page-kundli .kundli-result-block {
  color: #3b2618;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.84), rgba(255, 241, 214, 0.68));
}

body.page-kundli .kundli-result-block[hidden] {
  display: none;
}

body.page-kundli .kundli-result-block,
body.page-kundli .kundli-result-block p,
body.page-kundli .kundli-result-block li {
  color: #5a3824;
}

body.page-kundli .kundli-result-block h3,
body.page-kundli .kundli-result-block h4,
body.page-kundli .kundli-result-block h5,
body.page-kundli .kundli-subheading,
body.page-kundli .kundli-info-item strong,
body.page-kundli .kundli-chart-card h4,
body.page-kundli .kundli-reading-card h4,
body.page-kundli .kundli-chart-detail h5,
body.page-kundli .kundli-chart-accordion > summary,
body.page-kundli .kundli-dasha-accordion > summary {
  color: #7a1b1b;
}

body.page-kundli .kundli-section-note,
body.page-kundli .kundli-chart-heading small,
body.page-kundli .kundli-chart-technical,
body.page-kundli .kundli-chart-purpose,
body.page-kundli .kundli-reading-card p,
body.page-kundli .kundli-info-item span,
body.page-kundli .kundli-table td {
  color: #5a3824;
}

body.page-kundli .kundli-info-item,
body.page-kundli .kundli-reading-card,
body.page-kundli .kundli-chart-card,
body.page-kundli .kundli-chart-accordion,
body.page-kundli .kundli-dasha-accordion {
  background: rgba(255, 253, 248, 0.72);
  border-color: rgba(212, 175, 55, 0.46);
}

body.page-kundli .kundli-table-wrap {
  max-width: 100%;
  background: #fffdf8;
}

body.page-kundli .kundli-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

body.page-kundli .north-indian-kundli-svg {
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 201, 103, 0.1), transparent 42%),
    #fff8ec;
}

body.page-kundli .kundli-upay-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1000px;
  margin: 24px auto 0;
  padding: 22px 24px;
  border: 1px solid rgba(244, 201, 103, 0.48);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(36, 8, 10, 0.82), rgba(87, 18, 18, 0.72));
  box-shadow:
    0 24px 54px rgba(18, 6, 4, 0.32),
    inset 0 1px 0 rgba(255, 244, 214, 0.14);
}

body.page-kundli .kundli-upay-cta p {
  margin: 0;
  color: rgba(255, 244, 214, 0.94);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(18, 6, 4, 0.46);
}

body.page-kundli .kundli-upay-cta .btn {
  flex: 0 0 auto;
  max-width: 100%;
}

.contact {
  text-align: center;
  background: rgba(255, 241, 214, 0.72);
  padding: 45px 20px;
  border-top: 1px solid #f1d6a3;
}

.page-home .contact {
  max-width: 1100px;
  margin: 10px auto 54px;
  padding: 36px 28px;
  border: 1px solid rgba(212, 175, 55, 0.56);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.62), rgba(255, 241, 214, 0.42));
  box-shadow:
    0 24px 56px rgba(90, 45, 10, 0.15),
    0 0 30px rgba(244, 201, 103, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(22px) saturate(128%);
  -webkit-backdrop-filter: blur(22px) saturate(128%);
}

.contact h2 {
  color: #7a1b1b;
}

.social-btn {
  display: inline-block;
  margin: 18px 8px 0;
  background: linear-gradient(135deg, #7a1b1b 0%, #9f2a22 54%, #d9932f 100%);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 8px 18px rgba(139, 30, 30, 0.16);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.social-btn.facebook {
  background: linear-gradient(135deg, #f4c967 0%, #d9932f 58%, #9f2a22 100%);
  color: #2b1a10;
}

footer {
  background:
    radial-gradient(circle at 50% -12%, rgba(244, 201, 103, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(122, 27, 27, 0.88), rgba(43, 26, 16, 0.96) 42%, #2b1a10);
  color: #fff;
  text-align: center;
  padding: 34px 18px;
  font-size: 14px;
  border-top: 1px solid rgba(244, 201, 103, 0.7);
  box-shadow: 0 -18px 42px rgba(244, 201, 103, 0.16), inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  max-width: 980px;
  margin: 0 auto 18px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #fff1d6;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  color: #f4c967;
}

footer p {
  max-width: 980px;
  margin: 8px auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(217, 147, 47, 0.14), transparent 34%),
      linear-gradient(180deg, #fff8ec 0%, #fff2df 52%, #fffaf2 100%);
  }

  body.page-home::before,
  body.page-kundli::before,
  body.page-upay::before,
  body.page-rashifal::before,
  body.page-panchang::before,
  body.page-home::after,
  body.page-kundli::after,
  body.page-upay::after,
  body.page-rashifal::after,
  body.page-panchang::after {
    position: absolute;
  }

  body.page-home::before,
  body.page-kundli::before,
  body.page-upay::before,
  body.page-rashifal::before,
  body.page-panchang::before {
    opacity: 0.12;
    background-position: center top;
  }

  body.page-home::after,
  body.page-kundli::after,
  body.page-upay::after,
  body.page-rashifal::after,
  body.page-panchang::after {
    background:
      radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.12), transparent 30%),
      linear-gradient(180deg, rgba(255, 248, 236, 0.84), rgba(255, 242, 223, 0.9) 54%, rgba(255, 250, 242, 0.94));
  }

  .brand h1,
  .brand .site-title {
    font-size: 32px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .brand p {
    font-size: 15px;
    line-height: 1.5;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px 12px;
  }

  .main-nav a {
    min-width: 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.2;
    padding: 9px 8px;
    white-space: nowrap;
  }

  .hero,
  .page-hero {
    padding: 44px 16px;
  }

  .hero-home,
  .hero-kundli,
  .hero-upay {
    min-height: 360px;
    background-position: center;
  }

  .hero::before {
    inset: 10px;
    border-radius: 12px;
  }

  .hero-home::after,
  .hero-kundli::after,
  .hero-upay::after {
    inset: auto 0 0;
    height: 48%;
    border-radius: 0;
  }

  .hero-glass-content {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .hero h2,
  .page-hero h1,
  .page-hero h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn,
  .social-btn,
  .kundli-reading-button,
  .kundli-submit,
  .rashifal-form .btn {
    width: 100%;
    min-height: 48px;
    text-align: center;
  }

  .hero-actions .btn,
  .contact .social-btn {
    max-width: 360px;
  }

  .section {
    width: 100%;
    max-width: 100%;
    padding: 36px 16px;
  }

  .section h2 {
    font-size: 25px;
    line-height: 1.25;
  }

  .section p,
  .section li {
    font-size: 16px;
    line-height: 1.75;
  }

  .content-panel,
  .glass-card,
  .glass-panel,
  .premium-card,
  .kundli-glass-section,
  .card {
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .page-home .card,
  .page-kundli .card,
  .page-upay .card,
  .page-home .content-panel,
  .page-kundli .content-panel,
  .page-upay .content-panel {
    background: rgba(255, 253, 248, 0.86);
    backdrop-filter: blur(14px) saturate(118%);
    -webkit-backdrop-filter: blur(14px) saturate(118%);
  }

  .page-home .contact {
    margin: 0 16px 36px;
    padding: 28px 18px;
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.86);
    backdrop-filter: blur(14px) saturate(118%);
    -webkit-backdrop-filter: blur(14px) saturate(118%);
  }

  .page-home .section::before,
  .page-kundli .section::before,
  .page-upay .section::before {
    inset: 6px 0;
    background:
      radial-gradient(circle at 50% 18%, rgba(244, 201, 103, 0.18), transparent 42%),
      radial-gradient(circle at 12% 84%, rgba(122, 27, 27, 0.05), transparent 28%);
  }

  .content-panel {
    width: 100%;
    padding: 20px;
  }

  .card {
    padding: 20px 18px;
  }

  .rashifal-form,
  .kundli-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-field input,
  .form-field select {
    min-height: 48px;
    font-size: 16px;
  }

  .place-suggestions {
    left: 0;
    right: 0;
    max-width: calc(100vw - 32px);
    max-height: 240px;
  }

  .place-suggestion {
    min-height: 46px;
    line-height: 1.35;
  }

  .kundli-result-nav {
    position: static;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin: 0 0 20px;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .kundli-result-nav-link {
    flex: 0 0 auto;
    min-width: 116px;
    min-height: 42px;
    padding: 9px 12px;
  }

  .kundli-result-block {
    padding: 20px;
    margin-top: 22px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .kundli-result-block h3 {
    font-size: 22px;
    line-height: 1.25;
  }

  .kundli-info-grid,
  .kundli-highlights,
  .kundli-reading-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kundli-info-item,
  .kundli-reading-card {
    padding: 14px;
    border-radius: 14px;
  }

  .kundli-chart-section-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kundli-chart-card {
    padding: 14px;
    border-radius: 14px;
    overflow: hidden;
  }

  .north-indian-kundli-svg {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .north-chart-house-label {
    font-size: 15px;
  }

  .north-chart-planet-label {
    font-size: 14px;
  }

  .kundli-table-wrap {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .kundli-table {
    min-width: 620px;
    font-size: 14px;
  }

  .kundli-chart-detail .kundli-table {
    min-width: 480px;
  }

  .kundli-table th,
  .kundli-table td {
    padding: 11px 12px;
    line-height: 1.45;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.page-rashifal {
    background:
      radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.16), transparent 24rem),
      linear-gradient(180deg, #3b0b0d 0%, #641314 54%, #321208 100%);
  }

  body.page-rashifal::before {
    opacity: 0.14;
  }

  body.page-rashifal::after {
    background:
      radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.12), transparent 30%),
      linear-gradient(180deg, rgba(59, 11, 13, 0.16), rgba(40, 12, 7, 0.72));
  }

  body.page-rashifal .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 12px;
    padding: 11px 0;
  }

  body.page-rashifal .brand {
    min-width: 0;
  }

  body.page-rashifal .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.page-rashifal .brand-mark img {
    width: 40px;
    height: 40px;
  }

  body.page-rashifal .brand-subtitle {
    font-size: 0.72rem;
  }

  body.page-rashifal .main-nav {
    gap: 5px;
  }

  body.page-rashifal .main-nav a {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  body.page-rashifal .hero-rashifal {
    min-height: 300px;
    padding: 38px 16px 52px;
  }

  .rashifal-hero-orbit {
    width: 260px;
    right: -90px;
    opacity: 0.32;
  }

  body.page-rashifal .hero-glass-content {
    padding: 22px 18px;
  }

  body.page-rashifal .rashifal-form {
    grid-template-columns: 1fr;
  }

  .rashifal-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-rashifal .rashifal-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rashifal-category-grid {
    grid-template-columns: 1fr;
  }

  .rashifal-detail-report {
    padding: 20px;
  }

  body.page-rashifal .rashifal-kundli-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  body.page-rashifal .rashifal-kundli-cta .hero-actions {
    width: 100%;
  }

  body.page-rashifal .rashifal-kundli-cta .hero-actions .btn {
    width: 100%;
  }

  body.page-panchang {
    background:
      radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.18), transparent 24rem),
      linear-gradient(180deg, #3b0b0d 0%, #6d1716 54%, #321208 100%);
  }

  body.page-panchang::before {
    opacity: 0.14;
  }

  body.page-panchang::after {
    background:
      radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.14), transparent 30%),
      linear-gradient(180deg, rgba(59, 11, 13, 0.16), rgba(40, 12, 7, 0.72));
  }

  body.page-panchang .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 12px;
    padding: 11px 0;
  }

  body.page-panchang .brand {
    min-width: 0;
  }

  body.page-panchang .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.page-panchang .brand-mark img {
    width: 40px;
    height: 40px;
  }

  body.page-panchang .brand-subtitle {
    font-size: 0.72rem;
  }

  body.page-panchang .main-nav {
    gap: 5px;
  }

  body.page-panchang .main-nav a {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  body.page-panchang .hero-panchang {
    min-height: 300px;
    padding: 38px 16px 52px;
  }

  .panchang-hero-symbol {
    width: 260px;
    right: -90px;
    opacity: 0.34;
  }

  body.page-panchang .hero-glass-content {
    padding: 22px 18px;
  }

  .panchang-form,
  .panchang-sacred-card,
  .panchang-time-grid {
    grid-template-columns: 1fr;
  }

  .panchang-panel-heading,
  .panchang-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .panchang-sacred-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panchang-data-grid,
  .panchang-guidance-grid,
  .panchang-ang-grid,
  .panchang-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panchang-control-section,
  .panchang-main-section,
  .panchang-grid-section,
  .panchang-time-section,
  .panchang-festival-section,
  .panchang-guidance-section,
  .panchang-education-section,
  .panchang-cta-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .panchang-section-heading h2 {
    font-size: 21px;
  }

  .panchang-timeline {
    max-width: none;
  }

  .panchang-final-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .panchang-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .panchang-cta-actions .btn {
    width: 100%;
  }

  .social-btn {
    display: block;
    width: 100%;
    margin: 14px auto 0;
  }

  .footer-links {
    gap: 9px 14px;
    margin-bottom: 20px;
  }
}

/* Premium Contact rebuild final lock */
body.page-contact {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -12%, rgba(239, 200, 107, 0.3), transparent 30rem),
    radial-gradient(circle at 8% 18%, rgba(122, 27, 27, 0.62), transparent 28rem),
    radial-gradient(circle at 92% 32%, rgba(185, 112, 33, 0.22), transparent 26rem),
    linear-gradient(145deg, #1b0607 0%, #3f0c0f 38%, #281409 72%, #120605 100%);
  color: #fff8ec;
}

body.page-contact::before {
  background:
    linear-gradient(180deg, rgba(27, 6, 7, 0.6), rgba(18, 6, 5, 0.88)),
    url("../images/heroes/home-hero.png") center top / cover no-repeat;
  opacity: 0.26;
}

body.page-contact::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(239, 200, 107, 0.22), transparent 34rem),
    repeating-radial-gradient(circle at 50% 5%, rgba(239, 200, 107, 0.055) 0 1px, transparent 1px 30px),
    repeating-conic-gradient(from 8deg at 50% 4%, rgba(239, 200, 107, 0.04) 0deg 7deg, transparent 7deg 17deg),
    linear-gradient(180deg, rgba(27, 6, 7, 0.1), rgba(18, 6, 5, 0.72));
}

body.page-contact main {
  padding: 0 0 18px;
}

body.page-contact .contact-hero,
body.page-contact .contact-main-card,
body.page-contact .contact-follow-card,
body.page-contact .contact-responsible-note,
body.page-contact .contact-info-card,
body.page-contact .contact-quick-link {
  border: 1px solid rgba(239, 200, 107, 0.36);
  background:
    radial-gradient(circle at 18% 8%, rgba(239, 200, 107, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(63, 12, 15, 0.82), rgba(40, 20, 9, 0.68));
  box-shadow:
    0 24px 58px rgba(8, 2, 2, 0.34),
    inset 0 1px 0 rgba(255, 248, 236, 0.12);
  backdrop-filter: blur(18px) saturate(128%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
}

body.page-contact .contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(1080px, calc(100% - 32px));
  margin: clamp(28px, 5vw, 48px) auto 0;
  padding: clamp(42px, 7vw, 76px) clamp(22px, 6vw, 72px);
  overflow: hidden;
  border-radius: 28px;
  text-align: center;
}

body.page-contact .contact-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

body.page-contact .contact-hero h1 {
  max-width: 820px;
  margin: 14px auto 14px;
  color: #fff8ec;
  font-size: clamp(2.15rem, 5.4vw, 4.55rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 2px 24px rgba(239, 200, 107, 0.2);
}

body.page-contact .contact-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 248, 236, 0.84);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.72;
  letter-spacing: 0;
}

body.page-contact .contact-hero-symbol {
  position: absolute;
  right: max(28px, 7vw);
  bottom: 18px;
  width: 116px;
  height: 116px;
  opacity: 0.22;
  pointer-events: none;
}

body.page-contact .contact-symbol-ring {
  position: absolute;
  inset: 0;
  top: auto;
  left: auto;
  border: 1px solid rgba(239, 200, 107, 0.52);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(239, 200, 107, 0.2) 0deg 7deg, transparent 7deg 17deg),
    radial-gradient(circle, rgba(239, 200, 107, 0.24), transparent 68%);
  transform: none;
}

body.page-contact .contact-symbol-core {
  position: absolute;
  inset: 28px;
  top: 28px;
  left: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff1d6;
  font-size: 2rem;
  transform: none;
}

body.page-contact .contact-section {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 68px) 0 0;
}

body.page-contact .contact-section-heading {
  display: grid;
  justify-items: center;
  max-width: 780px;
  margin: 0 auto 22px;
  text-align: center;
}

body.page-contact .contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border: 1px solid rgba(239, 200, 107, 0.48);
  border-radius: 999px;
  color: #ffe8a8;
  background: linear-gradient(135deg, rgba(239, 200, 107, 0.16), rgba(122, 27, 27, 0.34));
  box-shadow: 0 0 18px rgba(239, 200, 107, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

body.page-contact .contact-section-heading h2,
body.page-contact .contact-main-card h2,
body.page-contact .contact-responsible-note h2 {
  margin: 0;
  color: #fff8ec;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 2px 22px rgba(239, 200, 107, 0.16);
}

body.page-contact .contact-section-heading p,
body.page-contact .contact-main-card p,
body.page-contact .contact-info-card p,
body.page-contact .contact-follow-card p,
body.page-contact .contact-responsible-note p {
  color: rgba(255, 248, 236, 0.8);
  line-height: 1.7;
  letter-spacing: 0;
  word-spacing: 0;
}

body.page-contact .contact-section-heading p {
  margin: 12px auto 0;
}

body.page-contact .contact-main-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  align-items: center;
  gap: clamp(20px, 4vw, 38px);
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 24px;
}

body.page-contact .contact-card-copy {
  min-width: 0;
}

body.page-contact .contact-card-copy p {
  max-width: 660px;
  margin: 14px 0 0;
}

body.page-contact .contact-email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 13px 16px;
  border: 1px solid rgba(239, 200, 107, 0.34);
  border-radius: 16px;
  background: rgba(255, 248, 236, 0.06);
}

body.page-contact .contact-email-row span {
  color: #efc86b;
  font-weight: 800;
}

body.page-contact .contact-email-row a {
  color: #ffe8a8;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body.page-contact .contact-email-row a:hover {
  color: #fff8ec;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page-contact .contact-action-stack {
  display: grid;
  gap: 12px;
}

body.page-contact .contact-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid rgba(239, 200, 107, 0.62);
  border-radius: 999px;
  color: #33100c;
  background: linear-gradient(135deg, #fff4c6, #efc86b 54%, #b97021);
  box-shadow: 0 16px 34px rgba(8, 2, 2, 0.25), 0 0 22px rgba(239, 200, 107, 0.18);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

body.page-contact .contact-social-btn.secondary-social {
  color: #fff8ec;
  background:
    linear-gradient(135deg, rgba(255, 248, 236, 0.1), rgba(239, 200, 107, 0.12)),
    rgba(122, 27, 27, 0.46);
}

body.page-contact .contact-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(8, 2, 2, 0.28), 0 0 28px rgba(239, 200, 107, 0.22);
}

body.page-contact .contact-card-grid,
body.page-contact .contact-follow-grid,
body.page-contact .contact-quick-grid {
  display: grid;
  gap: 16px;
}

body.page-contact .why-connect-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-contact .contact-info-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 20px;
  border-radius: 20px;
}

body.page-contact .contact-info-card > span,
body.page-contact .contact-platform-icon,
body.page-contact .contact-quick-link span {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(239, 200, 107, 0.64);
  border-radius: 50%;
  color: #3f0c0f;
  font-weight: 900;
  background: radial-gradient(circle, #fff8ec, #efc86b 72%, #b97021);
  box-shadow: 0 0 22px rgba(239, 200, 107, 0.22);
}

body.page-contact .contact-info-card > span {
  margin-bottom: 16px;
}

body.page-contact .contact-info-card h3,
body.page-contact .contact-follow-card h3 {
  margin: 0 0 10px;
  color: #fff8ec;
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: 0;
}

body.page-contact .contact-info-card p,
body.page-contact .contact-follow-card p {
  margin: 0;
}

body.page-contact .contact-follow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto;
}

body.page-contact .contact-follow-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
  min-height: 250px;
  padding: clamp(22px, 4vw, 30px);
  border-radius: 22px;
}

body.page-contact .contact-platform-icon {
  margin-bottom: 16px;
}

body.page-contact .contact-quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-contact .contact-quick-link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px;
  border-radius: 18px;
  color: #fff8ec;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.page-contact .contact-quick-link strong {
  color: #fff8ec;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

body.page-contact .contact-quick-link em {
  color: #efc86b;
  font-style: normal;
  font-weight: 900;
}

body.page-contact .contact-quick-link:hover {
  border-color: rgba(239, 200, 107, 0.62);
  box-shadow: 0 22px 48px rgba(8, 2, 2, 0.32), 0 0 22px rgba(239, 200, 107, 0.16);
  transform: translateY(-2px);
}

body.page-contact .contact-note-section {
  padding-bottom: clamp(44px, 7vw, 72px);
}

body.page-contact .contact-responsible-note {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 38px);
  border-radius: 22px;
  text-align: center;
}

body.page-contact .contact-responsible-note .contact-badge {
  margin-right: auto;
  margin-left: auto;
}

body.page-contact .contact-responsible-note p {
  max-width: 820px;
  margin: 14px auto 0;
}

body.page-contact footer {
  background:
    radial-gradient(circle at 50% -12%, rgba(239, 200, 107, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(80, 18, 16, 0.94), rgba(40, 20, 9, 0.98) 44%, #120605);
}

@media (max-width: 1040px) {
  body.page-contact .why-connect-grid,
  body.page-contact .contact-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-contact .contact-info-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  body.page-contact .contact-hero {
    width: min(100% - 24px, 1080px);
    padding: 44px 18px;
    border-radius: 22px;
  }

  body.page-contact .contact-hero-symbol {
    right: 14px;
    bottom: 10px;
    width: 86px;
    height: 86px;
  }

  body.page-contact .contact-section {
    width: min(100% - 24px, 1120px);
    padding-top: 42px;
  }

  body.page-contact .contact-main-card,
  body.page-contact .contact-follow-grid,
  body.page-contact .why-connect-grid,
  body.page-contact .contact-quick-grid {
    grid-template-columns: 1fr;
  }

  body.page-contact .contact-main-card,
  body.page-contact .contact-responsible-note {
    padding: 22px;
    text-align: center;
  }

  body.page-contact .contact-card-copy {
    display: grid;
    justify-items: center;
  }

  body.page-contact .contact-email-row {
    justify-content: center;
    width: 100%;
  }

  body.page-contact .contact-follow-card {
    min-height: 0;
  }

  body.page-contact .contact-quick-link {
    min-height: 80px;
  }
}

@media (max-width: 440px) {
  body.page-contact .contact-quick-link {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }

  body.page-contact .contact-quick-link span,
  body.page-contact .contact-info-card > span,
  body.page-contact .contact-platform-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}

@media (max-width: 480px) {
  .brand {
    padding: 26px 12px 18px;
  }

  .brand::before {
    width: 58px;
    margin-bottom: 12px;
  }

  .brand h1,
  .brand .site-title {
    font-size: 27px;
  }

  .brand p {
    font-size: 13px;
    padding: 0 4px;
  }

  .main-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 9px 10px 11px;
  }

  .main-nav a {
    min-width: 0;
    min-height: 40px;
    font-size: 13px;
    padding: 8px 6px;
  }

  .hero,
  .page-hero {
    padding: 36px 14px;
  }

  .hero-home,
  .hero-kundli,
  .hero-upay {
    min-height: 310px;
  }

  .hero-home::after,
  .hero-kundli::after,
  .hero-upay::after {
    inset: 8px;
    border-radius: 16px;
  }

  .hero-glass-content {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .hero h2,
  .page-hero h1,
  .page-hero h2 {
    font-size: 24px;
  }

  .section {
    padding: 30px 12px;
  }

  .section h2 {
    font-size: 23px;
  }

  .content-panel {
    padding: 16px;
  }

  .card {
    padding: 18px 16px;
  }

  .kundli-disclaimer,
  .status-message,
  .rashifal-meta {
    padding: 12px 13px;
    font-size: 15px;
    line-height: 1.55;
  }

  .kundli-result {
    padding: 14px;
  }

  .kundli-result-block {
    padding: 16px;
  }

  .kundli-result-nav {
    margin-left: -4px;
    margin-right: -4px;
  }

  .kundli-result-nav-link {
    min-width: 104px;
    font-size: 13px;
  }

  .kundli-subheading {
    font-size: 17px;
  }

  .kundli-info-grid,
  .kundli-highlights {
    grid-template-columns: 1fr;
  }

  .kundli-chart-heading h4,
  .kundli-chart-card h4 {
    font-size: 18px;
  }

  .kundli-chart-purpose {
    min-height: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .north-chart-house-label {
    font-size: 15px;
  }

  .north-chart-planet-label {
    font-size: 14px;
  }

  .kundli-table {
    min-width: 600px;
    font-size: 13px;
  }

  .kundli-chart-detail .kundli-table {
    min-width: 460px;
  }

  .kundli-table th,
  .kundli-table td {
    padding: 10px 10px;
  }

  footer {
    padding: 28px 14px;
  }
}

@media (max-width: 640px) {
  .animated-hero {
    background-size: cover;
  }

  .hero-glow {
    top: 18%;
    width: 92vw;
    height: 46vh;
    opacity: 0.34;
    filter: blur(34px);
  }

  .floating-aura {
    width: 84vw;
    opacity: 0.14;
  }

  .hero-particles span {
    width: 4px;
    height: 4px;
    opacity: 0.16;
  }

  .hero-particles span:nth-child(n+6) {
    display: none;
  }
}

@media (max-width: 900px) {
  body.page-kundli .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-kundli .main-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.page-kundli .main-nav a {
    flex: 0 0 auto;
  }

  .kundli-create-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .kundli-benefit-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  body.page-kundli {
    background:
      radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.16), transparent 24rem),
      linear-gradient(180deg, #24080a 0%, #4f0d10 54%, #281409 100%);
  }

  body.page-kundli::before {
    opacity: 0.16;
  }

  body.page-kundli .hero-kundli {
    min-height: 320px;
    padding: 42px 16px 54px;
  }

  body.page-kundli .hero-glass-content {
    padding: 22px 18px;
  }

  body.page-kundli .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 12px;
    padding: 11px 0;
  }

  body.page-kundli .brand {
    min-width: 0;
  }

  body.page-kundli .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.page-kundli .brand-mark img {
    width: 40px;
    height: 40px;
  }

  body.page-kundli .brand-subtitle {
    font-size: 0.72rem;
  }

  body.page-kundli .main-nav {
    gap: 5px;
  }

  body.page-kundli .main-nav a {
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  body.page-kundli .kundli-panel,
  .kundli-benefit-card {
    padding: 20px;
  }

  .kundli-panel-heading h2,
  .kundli-benefit-card h2 {
    font-size: 23px;
  }

  body.page-kundli .kundli-form {
    grid-template-columns: 1fr;
  }

  .kundli-orbit-mark {
    width: 132px;
    height: 132px;
    margin-bottom: 16px;
  }

  body.page-kundli .kundli-result {
    padding: 14px;
  }

  body.page-kundli .kundli-result-nav {
    position: static;
    border-radius: 16px;
  }

  body.page-kundli .kundli-upay-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-badge,
  .section-kicker {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .kundli-create-section {
    padding-top: 24px;
  }

  body.page-kundli .kundli-panel,
  .kundli-benefit-card {
    padding: 16px;
  }

  .kundli-benefit-list li {
    font-size: 15px;
  }

  body.page-kundli .kundli-result-nav-link {
    min-width: 102px;
  }

  body.page-kundli .kundli-upay-cta p {
    font-size: 16px;
  }

  body.page-rashifal .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-rashifal .brand-name {
    font-size: 20px;
  }

  body.page-rashifal .main-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-rashifal .main-nav a {
    justify-content: center;
    padding: 8px 6px;
    font-size: 13px;
  }

  body.page-rashifal .hero-rashifal {
    min-height: 280px;
    padding: 34px 12px 46px;
  }

  body.page-rashifal .hero-glass-content h1 {
    font-size: 32px;
  }

  body.page-rashifal .rashifal-control-panel,
  .rashifal-detail-report {
    padding: 16px;
  }

  body.page-rashifal .rashifal-results-grid {
    grid-template-columns: 1fr;
  }

  .rashifal-card-title {
    align-items: flex-start;
  }

  .rashifal-chip-card {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-rashifal .rashifal-kundli-cta p {
    font-size: 16px;
  }

  body.page-panchang .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-panchang .brand-name {
    font-size: 20px;
  }

  body.page-panchang .main-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-panchang .main-nav a {
    justify-content: center;
    padding: 8px 6px;
    font-size: 13px;
  }

  body.page-panchang .hero-panchang {
    min-height: 280px;
    padding: 34px 12px 46px;
  }

  body.page-panchang .hero-glass-content h1 {
    font-size: 32px;
  }

  body.page-panchang .panchang-control-panel,
  .panchang-sacred-card,
  .panchang-time-panel,
  .panchang-timeline,
  .panchang-final-cta {
    padding: 16px;
  }

  .panchang-sacred-meta,
  .panchang-data-grid,
  .panchang-guidance-grid,
  .panchang-ang-grid,
  .panchang-timeline {
    grid-template-columns: 1fr;
  }

  .panchang-control-section,
  .panchang-main-section,
  .panchang-grid-section,
  .panchang-time-section,
  .panchang-festival-section,
  .panchang-guidance-section,
  .panchang-education-section,
  .panchang-cta-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .panchang-section-heading h2 {
    font-size: 20px;
  }

  .panchang-timeline article {
    min-height: auto;
  }

  .panchang-time-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .panchang-final-cta p {
    font-size: 16px;
  }
}

body.page-upay {
  font-family: Georgia, "Noto Serif Devanagari", "Noto Sans Devanagari", "Mangal", serif;
  color: #fff8ec;
  background:
    radial-gradient(circle at 50% -10%, rgba(244, 201, 103, 0.3), transparent 31rem),
    radial-gradient(circle at 10% 18%, rgba(122, 27, 27, 0.62), transparent 29rem),
    radial-gradient(circle at 86% 30%, rgba(217, 147, 47, 0.2), transparent 23rem),
    linear-gradient(145deg, #24080a 0%, #551210 42%, #32180b 78%, #170807 100%);
}

@supports selector(:has(body.page-upay)) {
  html:has(body.page-upay) {
    scroll-behavior: smooth;
  }
}

body.page-upay::before {
  background-image: url("../images/heroes/upay-hero.png");
  opacity: 0.24;
}

body.page-upay::after {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 248, 236, 0.15) 0 1px, transparent 1.7px),
    radial-gradient(circle at 72% 18%, rgba(244, 201, 103, 0.22) 0 1px, transparent 1.8px),
    radial-gradient(circle at 82% 62%, rgba(217, 147, 47, 0.18) 0 1px, transparent 1.7px),
    repeating-radial-gradient(circle at 50% 3%, rgba(244, 201, 103, 0.06) 0 1px, transparent 1px 27px),
    repeating-conic-gradient(from 12deg at 50% 3%, rgba(244, 201, 103, 0.046) 0deg 7deg, transparent 7deg 17deg),
    radial-gradient(circle at 50% 4%, rgba(244, 201, 103, 0.18), transparent 34rem),
    linear-gradient(180deg, rgba(36, 8, 10, 0.16), rgba(30, 10, 7, 0.76));
}

body.page-upay .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(239, 200, 107, 0.28);
  background: linear-gradient(135deg, rgba(42, 8, 10, 0.86), rgba(80, 18, 16, 0.7));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.26);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

body.page-upay .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 0;
}

body.page-upay .brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  gap: 12px;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

body.page-upay .brand::before {
  content: none;
}

body.page-upay .brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 200, 107, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 236, 0.9), rgba(239, 200, 107, 0.2) 68%, transparent 70%);
  box-shadow: 0 0 24px rgba(239, 200, 107, 0.26);
}

body.page-upay .brand-mark img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

body.page-upay .brand-name {
  display: block;
  color: #efc86b;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-shadow: 0 0 22px rgba(239, 200, 107, 0.22);
}

body.page-upay .brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 236, 0.82);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.page-upay .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-upay .main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 11px;
  color: rgba(255, 248, 236, 0.86);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

body.page-upay .main-nav a:hover,
body.page-upay .main-nav a.active {
  border-color: rgba(239, 200, 107, 0.5);
  background: rgba(255, 248, 236, 0.09);
  color: #efc86b;
  transform: translateY(-1px);
}

body.page-upay .hero-upay {
  min-height: 390px;
  padding: 56px 20px 66px;
  background-image: url("../images/heroes/upay-hero.png");
}

body.page-upay .hero-upay::before {
  background:
    linear-gradient(135deg, rgba(36, 8, 10, 0.54), rgba(122, 27, 27, 0.34) 48%, rgba(217, 147, 47, 0.2)),
    radial-gradient(circle at 50% 18%, rgba(244, 201, 103, 0.22), transparent 42%);
}

body.page-upay .hero-upay::after {
  background: linear-gradient(180deg, rgba(36, 8, 10, 0), rgba(36, 8, 10, 0.48) 68%, rgba(36, 8, 10, 0.88));
}

body.page-upay .hero-glass-content {
  width: min(820px, 100%);
  padding: 28px 34px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 12, 12, 0.66), rgba(122, 27, 27, 0.34));
}

body.page-upay .hero-glass-content h1 {
  color: #fff8ec;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
}

body.page-upay .hero-glass-content p {
  color: rgba(255, 244, 214, 0.9);
}

.upay-hero-symbol {
  position: absolute;
  right: max(28px, calc((100vw - 1120px) / 2));
  bottom: 22px;
  z-index: 4;
  width: min(36vw, 320px);
  aspect-ratio: 1;
  opacity: 0.62;
  pointer-events: none;
}

.upay-mandala,
.upay-lotus,
.upay-diya {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.upay-mandala {
  border: 1px solid rgba(244, 201, 103, 0.28);
  background:
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.18) 0deg 3deg, transparent 3deg 20deg),
    radial-gradient(circle, transparent 0 39%, rgba(244, 201, 103, 0.12) 40% 41%, transparent 42% 100%);
  animation: heroAuraRotate 58s linear infinite;
}

.upay-lotus {
  inset: 24%;
  background:
    radial-gradient(ellipse at 50% 82%, rgba(255, 248, 236, 0.16), transparent 42%),
    repeating-conic-gradient(from 22deg, rgba(244, 201, 103, 0.18) 0deg 18deg, transparent 18deg 45deg);
  filter: blur(0.2px);
}

.upay-diya {
  inset: auto 28% 23%;
  height: 28%;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, rgba(244, 201, 103, 0.1), rgba(217, 147, 47, 0.38));
  box-shadow: 0 0 28px rgba(244, 201, 103, 0.32);
}

.upay-diya span {
  position: absolute;
  left: 50%;
  bottom: 72%;
  width: 18%;
  aspect-ratio: 0.62;
  border-radius: 80% 20% 55% 45%;
  background: radial-gradient(circle at 42% 36%, #fff8ec 0 14%, #f4c967 15% 62%, rgba(217, 147, 47, 0.8) 63%);
  box-shadow: 0 0 24px rgba(244, 201, 103, 0.7), 0 0 54px rgba(244, 201, 103, 0.24);
  transform: translateX(-50%) rotate(45deg);
  animation: upayFlame 2.8s ease-in-out infinite alternate;
}

@keyframes upayFlame {
  from {
    transform: translateX(-50%) rotate(42deg) scale(0.94);
  }
  to {
    transform: translateX(-50%) rotate(48deg) scale(1.06);
  }
}

body.page-upay .section {
  max-width: 1180px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.upay-section-heading {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}

.upay-section-heading .section-kicker {
  margin: 0 auto;
}

.upay-section-heading h2,
.upay-kundli-cta h2,
.upay-shop-copy h2 {
  margin: 0;
  color: #fff8ec;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  text-shadow: 0 2px 18px rgba(36, 8, 10, 0.36);
}

.upay-section-heading p,
.upay-kundli-cta p,
.upay-shop-copy p {
  margin: 0;
  color: rgba(255, 244, 214, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.upay-category-grid,
.upay-daily-grid,
.upay-method-grid {
  display: grid;
  gap: 14px;
}

.upay-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.upay-category-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 201, 103, 0.36);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.13), rgba(122, 27, 27, 0.2));
  color: rgba(255, 244, 214, 0.92);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(18, 6, 4, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.upay-category-chip span,
.upay-card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 50%;
  background: rgba(36, 8, 10, 0.32);
  color: #f4c967;
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 0 18px rgba(244, 201, 103, 0.12);
}

.upay-category-chip:hover {
  border-color: rgba(244, 201, 103, 0.68);
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.17), rgba(122, 27, 27, 0.26));
  transform: translateY(-3px);
}

.upay-daily-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upay-daily-card,
.upay-method-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-color: rgba(244, 201, 103, 0.36);
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.14), rgba(122, 27, 27, 0.2));
  color: rgba(255, 244, 214, 0.9);
}

.upay-daily-card h3,
.upay-method-card h3,
.upay-detail-card h3 {
  margin: 0;
  color: #fff4d6;
  font-size: 21px;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(18, 6, 4, 0.26);
}

.upay-daily-card p,
.upay-method-card p {
  margin: 0;
  color: rgba(255, 244, 214, 0.8);
  font-size: 16px;
}

.upay-daily-card small {
  color: rgba(255, 248, 236, 0.72);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.upay-daily-card a {
  width: fit-content;
  margin-top: 4px;
  color: #f4c967;
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.upay-daily-card a span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.upay-daily-card a:hover span,
.upay-kundli-cta .btn:hover span {
  transform: translateX(3px);
}

.upay-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.upay-solution-grid {
  display: grid;
  gap: 22px;
}

.upay-detail-card {
  scroll-margin-top: 96px;
  padding: 22px;
  border-color: rgba(244, 201, 103, 0.4);
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 201, 103, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 248, 236, 0.14), rgba(122, 27, 27, 0.2));
}

.upay-path-card {
  padding: 26px;
}

.upay-path-card:target {
  border-color: rgba(244, 201, 103, 0.82);
  box-shadow:
    0 30px 74px rgba(18, 6, 4, 0.36),
    0 0 34px rgba(244, 201, 103, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.upay-path-card > header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.upay-path-number {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.5);
  border-radius: 50%;
  background: rgba(36, 8, 10, 0.34);
  color: #f4c967;
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(244, 201, 103, 0.16);
}

.upay-detail-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.upay-detail-list div {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid rgba(244, 201, 103, 0.28);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.08);
}

.upay-detail-list strong {
  color: #f4c967;
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

.upay-detail-list p {
  margin: 0;
  color: rgba(255, 244, 214, 0.84);
  font-size: 15.5px;
  line-height: 1.65;
}

.upay-detail-list ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 22px;
}

.upay-detail-list li {
  color: rgba(255, 244, 214, 0.84);
  font-size: 15.5px;
  line-height: 1.62;
}

.upay-back-link {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.08);
  color: #f4c967;
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.upay-back-link:hover {
  border-color: rgba(244, 201, 103, 0.62);
  background: rgba(255, 248, 236, 0.13);
}

.upay-niyam-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.upay-method-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.upay-method-card {
  padding: 18px;
}

.upay-cta-section,
.upay-shop-section,
.upay-disclaimer-section {
  padding-top: 18px;
  padding-bottom: 24px;
}

.upay-kundli-cta,
.upay-shop-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border-color: rgba(244, 201, 103, 0.48);
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 201, 103, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(36, 8, 10, 0.82), rgba(87, 18, 18, 0.72));
  box-shadow:
    0 24px 54px rgba(18, 6, 4, 0.34),
    inset 0 1px 0 rgba(255, 244, 214, 0.14);
}

.upay-kundli-cta > div,
.upay-shop-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.upay-kundli-cta .btn {
  flex: 0 0 auto;
  max-width: 100%;
  white-space: nowrap;
}

.upay-product-chips {
  display: flex;
  flex: 0 0 340px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.upay-product-chips span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(244, 201, 103, 0.38);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.1);
  color: rgba(255, 244, 214, 0.88);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.upay-disclaimer {
  max-width: 940px;
  margin: 0 auto;
  padding: 16px 18px;
  border-color: rgba(244, 201, 103, 0.34);
  background: rgba(36, 8, 10, 0.42);
}

.upay-disclaimer p {
  margin: 0;
  color: rgba(255, 244, 214, 0.82);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 980px) {
  body.page-upay .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-upay .main-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.page-upay .main-nav a {
    flex: 0 0 auto;
  }

  .upay-category-grid,
  .upay-daily-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upay-featured-grid,
  .upay-niyam-grid,
  .upay-method-grid {
    grid-template-columns: 1fr;
  }

  .upay-kundli-cta,
  .upay-shop-teaser {
    align-items: flex-start;
    flex-direction: column;
  }

  .upay-product-chips {
    flex-basis: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  body.page-upay {
    background:
      radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.18), transparent 24rem),
      linear-gradient(180deg, #24080a 0%, #4f0d10 56%, #281409 100%);
  }

  body.page-upay::before {
    opacity: 0.16;
  }

  body.page-upay .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 12px;
    padding: 11px 0;
  }

  body.page-upay .brand {
    min-width: 0;
  }

  body.page-upay .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.page-upay .brand-mark img {
    width: 40px;
    height: 40px;
  }

  body.page-upay .brand-subtitle {
    font-size: 0.72rem;
  }

  body.page-upay .main-nav a {
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  body.page-upay .hero-upay {
    min-height: 320px;
    padding: 42px 16px 54px;
  }

  body.page-upay .hero-glass-content {
    padding: 22px 18px;
  }

  .upay-hero-symbol {
    right: -42px;
    bottom: 0;
    width: 220px;
    opacity: 0.28;
  }

  body.page-upay .section {
    padding: 30px 16px;
  }

  .upay-section-heading {
    margin-bottom: 18px;
  }

  .upay-category-chip {
    min-height: 58px;
    padding: 10px;
    font-size: 14px;
  }

  .upay-daily-card,
  .upay-method-card,
  .upay-detail-card,
  .upay-path-card,
  .upay-kundli-cta,
  .upay-shop-teaser {
    padding: 16px;
  }

  .upay-daily-card,
  .upay-method-card,
  .upay-detail-card,
  .upay-kundli-cta,
  .upay-shop-teaser,
  .upay-disclaimer {
    border-radius: 14px;
  }
}

@media (max-width: 520px) {
  .upay-category-grid,
  .upay-daily-grid {
    grid-template-columns: 1fr;
  }

  body.page-upay .hero-glass-content h1 {
    font-size: 34px;
  }

  .upay-path-card > header {
    align-items: flex-start;
  }

  .upay-section-heading h2,
  .upay-kundli-cta h2,
  .upay-shop-copy h2 {
    font-size: 24px;
  }

  .upay-section-heading p,
  .upay-kundli-cta p,
  .upay-shop-copy p {
    font-size: 16px;
  }

  .upay-kundli-cta .btn {
    width: 100%;
    white-space: normal;
  }

  .upay-product-chips {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .upay-product-chips span {
    justify-content: center;
  }
}

body.page-upay .section h2,
body.page-upay .upay-section-heading h2,
body.page-upay .upay-kundli-cta h2,
body.page-upay .upay-shop-copy h2 {
  color: #fff8ec;
}

body.page-upay .section p,
body.page-upay .section li,
body.page-upay .upay-section-heading p,
body.page-upay .upay-kundli-cta p,
body.page-upay .upay-shop-copy p,
body.page-upay .upay-daily-card p,
body.page-upay .upay-method-card p,
body.page-upay .upay-detail-list p,
body.page-upay .upay-disclaimer p {
  color: rgba(255, 244, 214, 0.84);
}

body.page-upay .upay-daily-card h3,
body.page-upay .upay-method-card h3,
body.page-upay .upay-detail-card h3 {
  color: #fff4d6;
}

body.page-upay p,
body.page-upay li,
body.page-upay .upay-solution-preview,
body.page-upay .upay-detail-list,
body.page-upay .upay-daily-card,
body.page-upay .upay-method-card {
  letter-spacing: 0;
  word-spacing: normal;
}

body.page-upay .hero-upay {
  min-height: 310px;
  padding: 38px 20px 46px;
}

body.page-upay .hero-glass-content {
  padding: 22px 30px;
}

body.page-upay .hero-glass-content h1 {
  font-size: clamp(34px, 4.3vw, 52px);
}

body.page-upay .hero-glass-content p {
  line-height: 1.58;
}

body.page-upay .section {
  padding-top: 26px;
  padding-bottom: 26px;
}

body.page-upay .upay-category-section {
  padding-top: 20px;
}

.upay-section-heading {
  gap: 8px;
  margin-bottom: 16px;
}

.upay-section-heading h2,
.upay-kundli-cta h2 {
  font-size: clamp(24px, 2.8vw, 34px);
}

.upay-section-heading p,
.upay-kundli-cta p,
.upay-shop-copy p {
  line-height: 1.58;
}

.upay-category-grid {
  gap: 10px;
}

.upay-category-chip {
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 14px;
}

.upay-solution-grid {
  gap: 12px;
}

.upay-accordion-ready .upay-path-card {
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.upay-accordion-ready .upay-path-card:hover,
.upay-accordion-ready .upay-path-card.is-open {
  border-color: rgba(244, 201, 103, 0.62);
  box-shadow:
    0 24px 56px rgba(18, 6, 4, 0.3),
    0 0 24px rgba(244, 201, 103, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.upay-accordion-ready .upay-path-card > header {
  display: block;
  margin: 0;
}

.upay-accordion-toggle {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.upay-accordion-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.upay-accordion-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.upay-accordion-copy h3 {
  margin: 0;
  color: #fff4d6;
  font-size: 21px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.upay-solution-preview {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 244, 214, 0.74);
  font-size: 14.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.upay-accordion-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.upay-time-chip,
.upay-open-label {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.upay-time-chip {
  max-width: 260px;
  overflow: hidden;
  padding: 7px 11px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  color: rgba(255, 244, 214, 0.82);
  text-overflow: ellipsis;
}

.upay-open-label {
  color: #f4c967;
}

.upay-accordion-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 50%;
  background: rgba(36, 8, 10, 0.28);
}

.upay-accordion-icon::before,
.upay-accordion-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 99px;
  background: #f4c967;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.upay-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.upay-path-card.is-open .upay-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.upay-accordion-panel {
  margin-top: 0;
  padding: 0 18px 16px;
}

.upay-accordion-panel[hidden] {
  display: none;
}

.upay-detail-list div {
  padding: 11px 12px;
}

.upay-detail-list p,
.upay-detail-list li {
  line-height: 1.58;
}

.upay-detail-list ol {
  gap: 5px;
}

.upay-back-link {
  margin: 0 0 16px 18px;
}

.upay-accordion-ready .upay-path-card:not(.is-open) .upay-back-link {
  display: none;
}

.upay-niyam-grid,
.upay-method-grid {
  gap: 12px;
}

.upay-daily-card,
.upay-method-card {
  gap: 8px;
  padding: 16px;
}

.upay-cta-section,
.upay-shop-section,
.upay-disclaimer-section {
  padding-top: 12px;
  padding-bottom: 14px;
}

.upay-kundli-cta {
  gap: 18px;
  padding: 18px 20px;
}

.upay-kundli-cta > div {
  gap: 8px;
}

.upay-shop-teaser {
  gap: 14px;
  padding: 14px 16px;
  border-color: rgba(244, 201, 103, 0.3);
  background: linear-gradient(135deg, rgba(36, 8, 10, 0.58), rgba(87, 18, 18, 0.46));
  box-shadow:
    0 16px 36px rgba(18, 6, 4, 0.22),
    inset 0 1px 0 rgba(255, 244, 214, 0.1);
}

.upay-shop-copy {
  gap: 6px;
}

.upay-faq-list {
  display: grid;
  gap: 12px;
}

.upay-faq-item {
  border: 1px solid rgba(244, 201, 103, 0.22);
  border-radius: 18px;
  background: rgba(255, 248, 236, 0.05);
}

.upay-faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #fff4d6;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}

.upay-faq-item summary::-webkit-details-marker {
  display: none;
}

.upay-faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: rgba(255, 244, 214, 0.82);
  line-height: 1.6;
}

.upay-faq-note {
  margin-top: 14px;
}

.upay-shop-copy h2 {
  font-size: clamp(19px, 2vw, 24px);
}

.upay-product-chips {
  flex-basis: 420px;
  gap: 8px;
}

.upay-product-chips span {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 12px;
}

.upay-disclaimer {
  padding: 13px 16px;
}

.upay-disclaimer p {
  line-height: 1.55;
}

body.page-upay footer {
  margin-top: 8px;
}

@media (max-width: 768px) {
  body.page-upay .hero-upay {
    min-height: 260px;
    padding: 30px 14px 38px;
  }

  body.page-upay .hero-glass-content {
    padding: 18px 16px;
  }

  body.page-upay .hero-glass-content h1 {
    font-size: 32px;
  }

  body.page-upay .section {
    padding: 22px 14px;
  }

  .upay-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upay-category-chip {
    min-height: 50px;
    gap: 8px;
    padding: 9px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .upay-category-chip span,
  .upay-card-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 12px;
  }

  .upay-accordion-toggle {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .upay-accordion-meta {
    justify-content: space-between;
  }

  .upay-time-chip {
    max-width: min(100%, 260px);
  }

  .upay-accordion-panel {
    padding: 0 14px 14px;
  }

  .upay-detail-list div {
    padding: 10px 11px;
  }

  .upay-back-link {
    margin-left: 14px;
  }

  .upay-kundli-cta,
  .upay-shop-teaser {
    padding: 15px;
  }
}

@media (max-width: 520px) {
  .upay-category-grid {
    grid-template-columns: 1fr;
  }

  .upay-solution-preview {
    -webkit-line-clamp: 2;
  }

  .upay-accordion-main {
    align-items: flex-start;
  }

  .upay-accordion-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .upay-open-label {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .animated-hero,
  .hero-glow,
  .floating-aura,
  .hero-particles span {
    animation: none !important;
  }
}

body.page-vastu {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% -8%, rgba(244, 201, 103, 0.26), transparent 34%),
    radial-gradient(circle at 9% 22%, rgba(122, 27, 27, 0.16), transparent 27%),
    radial-gradient(circle at 88% 35%, rgba(212, 175, 55, 0.16), transparent 24%),
    linear-gradient(135deg, #fff8ec 0%, #f7e7bd 46%, #fffaf0 100%);
  color: #2b1a10;
  letter-spacing: normal;
  word-spacing: normal;
}

body.page-vastu::before,
body.page-vastu::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.page-vastu::before {
  z-index: -2;
  background:
    linear-gradient(rgba(255, 248, 236, 0.56), rgba(255, 241, 214, 0.62)),
    url("../images/heroes/vastu-hero.png") center top / cover no-repeat;
  opacity: 0.5;
}

body.page-vastu::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.2), transparent 35%),
    repeating-radial-gradient(circle at 50% 4%, rgba(122, 27, 27, 0.03) 0 1px, transparent 1px 26px),
    repeating-conic-gradient(from 0deg at 50% 4%, rgba(212, 175, 55, 0.034) 0deg 8deg, transparent 8deg 18deg),
    linear-gradient(180deg, rgba(255, 248, 236, 0.42), rgba(255, 241, 214, 0.58) 48%, rgba(255, 250, 240, 0.7));
}

body.page-vastu main {
  position: relative;
  z-index: 1;
}

body.page-vastu .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  text-align: left;
  border-bottom: 1px solid rgba(244, 201, 103, 0.34);
  background: linear-gradient(135deg, rgba(56, 12, 12, 0.86), rgba(122, 27, 27, 0.68));
  box-shadow: 0 18px 42px rgba(43, 26, 16, 0.22);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

body.page-vastu .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 0;
}

body.page-vastu .brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  padding: 0;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

body.page-vastu .brand::before {
  display: none;
}

body.page-vastu .brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 201, 103, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 236, 0.9), rgba(244, 201, 103, 0.2) 68%, transparent 70%);
  box-shadow: 0 0 24px rgba(244, 201, 103, 0.24);
}

body.page-vastu .brand-mark img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

body.page-vastu .brand-name {
  display: block;
  color: #f4c967;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 0 22px rgba(244, 201, 103, 0.22);
}

body.page-vastu .brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 236, 0.84);
  font-size: 0.78rem;
  line-height: 1.35;
}

body.page-vastu .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 0;
  background: transparent;
}

body.page-vastu .main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff8ec;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

body.page-vastu .main-nav a:hover,
body.page-vastu .main-nav a.active {
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.98), rgba(244, 201, 103, 0.84));
  border-color: rgba(244, 201, 103, 0.84);
  color: #7a1b1b;
  transform: translateY(-1px);
}

.vastu-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 34px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 48px;
}

.vastu-hero::before {
  content: "";
  position: absolute;
  inset: 36px -10px 16px;
  z-index: -1;
  border: 1px solid rgba(244, 201, 103, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(122, 27, 27, 0.12), transparent 26%),
    radial-gradient(circle at 78% 48%, rgba(244, 201, 103, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.54), rgba(255, 241, 214, 0.38));
  box-shadow: 0 26px 70px rgba(90, 45, 10, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.vastu-hero-copy {
  padding: 28px;
}

body.page-vastu .hero-badge,
body.page-vastu .section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(122, 27, 27, 0.16);
  border-radius: 999px;
  color: #7a1b1b;
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.9), rgba(244, 201, 103, 0.38));
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: normal;
}

.vastu-hero h1 {
  margin: 0 0 16px;
  color: #7a1b1b;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: normal;
}

.vastu-hero p,
.vastu-section p,
.vastu-section li {
  color: #5a3824;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: normal;
  word-spacing: normal;
}

.vastu-hero .hero-subtitle {
  max-width: 820px;
  color: #3f2417;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 800;
}

.vastu-hero .hero-actions {
  justify-content: flex-start;
}

.vastu-hero-visual {
  position: relative;
  display: grid;
  min-height: 456px;
  padding: 42px 28px 94px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(122, 27, 27, 0.2);
  border-radius: 28px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 201, 103, 0.3), transparent 42%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.88), rgba(122, 27, 27, 0.72) 54%, rgba(43, 26, 16, 0.88));
  box-shadow: 0 28px 70px rgba(68, 28, 12, 0.28), inset 0 1px 0 rgba(255, 248, 236, 0.2);
}

.vastu-hero-visual::before,
.vastu-hero-visual::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  pointer-events: none;
}

.vastu-hero-visual::before {
  inset: 24px 32px 84px;
  border: 1px solid rgba(244, 201, 103, 0.42);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(244, 201, 103, 0.24) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(244, 201, 103, 0.24) 49.7% 50.3%, transparent 50.3%),
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.12) 0deg 7deg, transparent 7deg 15deg);
}

.vastu-hero-visual::after {
  inset: 66px 74px 118px;
  border: 1px solid rgba(255, 248, 236, 0.16);
  box-shadow: 0 0 48px rgba(244, 201, 103, 0.2);
}

.vastu-compass span {
  position: absolute;
  z-index: 3;
  color: #f4c967;
  font-weight: 900;
}

.vastu-compass .north { top: 18px; left: 50%; transform: translateX(-50%); }
.vastu-compass .east { right: 22px; top: 50%; transform: translateY(-50%); }
.vastu-compass .south { bottom: 68px; left: 50%; transform: translateX(-50%); }
.vastu-compass .west { left: 22px; top: 50%; transform: translateY(-50%); }

.vastu-mandala-art {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(296px, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 201, 103, 0.7);
  box-shadow: 0 0 42px rgba(244, 201, 103, 0.2);
  transform: translateY(-16px);
}

.vastu-mandala-art span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.38);
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.06);
  font-weight: 800;
  text-align: center;
}

.vastu-mandala-art span:nth-child(5) {
  color: #7a1b1b;
  background: radial-gradient(circle, rgba(255, 248, 236, 0.95), rgba(244, 201, 103, 0.72));
  font-size: 2rem;
}

.panch-tatva-ring {
  position: absolute;
  inset: auto 22px 26px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.panch-tatva-ring span,
.paid-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 999px;
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.vastu-section {
  position: relative;
  max-width: 1180px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.vastu-section-heading {
  max-width: 860px;
  margin: 0 auto 26px;
  text-align: center;
}

.vastu-section-heading h2,
.vastu-final-cta h2 {
  margin: 0 0 12px;
  color: #7a1b1b;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.14;
}

.vastu-section-heading p {
  margin: 0 auto;
}

.vastu-trust-grid,
.vastu-feature-grid,
.tatva-grid,
.vastu-detail-grid {
  display: grid;
  gap: 18px;
}

.vastu-trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vastu-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tatva-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.vastu-detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.vastu-card,
.tatva-card,
.mandala-grid article,
.vastu-detail-grid article,
.structure-description,
.ai-vastu-panel,
.vastu-final-cta,
.vastu-disclaimer p {
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.78), rgba(255, 241, 214, 0.52));
  box-shadow:
    0 22px 50px rgba(90, 45, 10, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px) saturate(132%);
  -webkit-backdrop-filter: blur(20px) saturate(132%);
}

.vastu-card,
.tatva-card,
.mandala-grid article,
.vastu-detail-grid article {
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vastu-card:hover,
.tatva-card:hover,
.mandala-grid article:hover,
.vastu-detail-grid article:hover {
  border-color: rgba(122, 27, 27, 0.28);
  box-shadow: 0 28px 58px rgba(90, 45, 10, 0.18), 0 0 24px rgba(244, 201, 103, 0.15);
  transform: translateY(-3px);
}

.vastu-icon,
.tatva-card > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(122, 27, 27, 0.18);
  border-radius: 50%;
  color: #7a1b1b;
  background: radial-gradient(circle, rgba(244, 201, 103, 0.5), rgba(255, 248, 236, 0.92));
  font-size: 0.82rem;
  font-weight: 900;
}

.vastu-card h3,
.tatva-card h3,
.mandala-grid h3,
.vastu-detail-grid h3,
.structure-description h3,
.scan-includes h3 {
  margin: 0 0 10px;
  color: #7a1b1b;
  font-size: 1.18rem;
  line-height: 1.25;
}

.vastu-card p,
.tatva-card p,
.mandala-grid p,
.vastu-detail-grid p,
.structure-description p,
.scan-includes p {
  margin: 0 0 8px;
}

.mandala-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(122, 27, 27, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 201, 103, 0.2), transparent 42%),
    rgba(255, 248, 236, 0.32);
}

.mandala-grid article {
  min-height: 220px;
  border-radius: 14px;
}

.mandala-grid .center-zone {
  background:
    radial-gradient(circle at 50% 36%, rgba(244, 201, 103, 0.44), transparent 48%),
    linear-gradient(145deg, rgba(122, 27, 27, 0.9), rgba(59, 22, 15, 0.88));
}

.mandala-grid .center-zone h3,
.mandala-grid .center-zone p {
  color: #fff8ec;
}

.structure-selector {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.structure-selector button {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(122, 27, 27, 0.18);
  border-radius: 999px;
  color: #7a1b1b;
  background: rgba(255, 248, 236, 0.72);
  box-shadow: 0 12px 24px rgba(90, 45, 10, 0.1);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.structure-selector button.active,
.structure-selector button:hover {
  color: #fff8ec;
  background: linear-gradient(135deg, #7a1b1b, #9f2a22 55%, #d9932f);
  border-color: rgba(244, 201, 103, 0.72);
}

.structure-description {
  padding: 24px;
  text-align: center;
}

.ai-vastu-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 24px;
  padding: 26px;
  background:
    radial-gradient(circle at 22% 18%, rgba(244, 201, 103, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.9), rgba(122, 27, 27, 0.82) 52%, rgba(43, 26, 16, 0.92));
}

.ai-vastu-panel p,
.ai-vastu-panel h3 {
  color: #fff8ec;
}

.scan-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.scan-flow span {
  position: relative;
  display: grid;
  min-height: 90px;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 16px;
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.08);
  text-align: center;
  font-weight: 900;
}

.scan-flow span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  z-index: 2;
  color: #f4c967;
}

.paid-chip::before {
  content: "Lock";
  margin-right: 6px;
  color: #f4c967;
}

.scan-note,
.coming-soon-note {
  padding: 12px 14px;
  border: 1px solid rgba(244, 201, 103, 0.32);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.08);
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 12px;
}

.ai-actions .btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.scan-includes {
  display: grid;
  gap: 14px;
}

.scan-includes article {
  padding: 18px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 16px;
  background: rgba(255, 248, 236, 0.08);
}

.vastu-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.48), rgba(255, 241, 214, 0.28));
  box-shadow:
    0 22px 50px rgba(90, 45, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px) saturate(128%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
}

.vastu-product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid rgba(122, 27, 27, 0.18);
  border-radius: 18px;
  color: #7a1b1b;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.86), rgba(244, 201, 103, 0.28));
  box-shadow: 0 14px 28px rgba(90, 45, 10, 0.1);
}

.vastu-product-name {
  min-width: 0;
  font-weight: 900;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
}

.vastu-product-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(122, 27, 27, 0.18);
  border-radius: 999px;
  color: #7a1b1b;
  background: rgba(255, 248, 236, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.vastu-final-cta {
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.vastu-final-cta .hero-actions {
  margin-top: 22px;
}

.vastu-disclaimer {
  padding-top: 18px;
}

.vastu-disclaimer p {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #5a3824;
  text-align: center;
}

body.page-vastu footer {
  position: relative;
  z-index: 2;
}

@media (max-width: 1080px) {
  .vastu-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .structure-selector {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .scan-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scan-flow span:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  body.page-vastu .header-inner,
  .vastu-hero {
    grid-template-columns: 1fr;
  }

  body.page-vastu .header-inner {
    display: grid;
    justify-items: center;
  }

  body.page-vastu .brand {
    min-width: 0;
  }

  body.page-vastu .main-nav {
    justify-content: center;
  }

  .vastu-hero {
    padding-top: 34px;
  }

  .vastu-hero-copy {
    padding: 18px 8px;
    text-align: center;
  }

  .vastu-hero .hero-actions {
    justify-content: center;
  }

  .vastu-hero-visual {
    min-height: 394px;
    padding-bottom: 86px;
  }

  .mandala-grid,
  .ai-vastu-panel {
    grid-template-columns: 1fr;
  }

  .mandala-grid article {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  body.page-vastu .header-inner {
    width: min(100% - 22px, 1180px);
  }

  body.page-vastu .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  body.page-vastu .brand-mark img {
    width: 39px;
    height: 39px;
  }

  body.page-vastu .brand-subtitle {
    font-size: 0.72rem;
  }

  body.page-vastu .main-nav a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .vastu-hero {
    width: min(100% - 22px, 1180px);
    gap: 18px;
  }

  .vastu-hero::before {
    inset: 18px -4px 8px;
    border-radius: 22px;
  }

  .vastu-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.4rem);
  }

  .vastu-hero p,
  .vastu-section p,
  .vastu-section li {
    font-size: 16px;
  }

  .vastu-hero-visual {
    min-height: 360px;
    border-radius: 20px;
    padding: 30px 18px 24px;
  }

  .vastu-mandala-art {
    width: min(238px, 68vw);
    transform: translateY(-6px);
  }

  .vastu-section {
    padding: 34px 12px;
  }

  .vastu-trust-grid,
  .tatva-grid,
  .vastu-detail-grid,
  .vastu-feature-grid,
  .structure-selector,
  .scan-flow {
    grid-template-columns: 1fr;
  }

  .vastu-card,
  .tatva-card,
  .mandala-grid article,
  .vastu-detail-grid article,
  .ai-vastu-panel,
  .structure-description,
  .vastu-final-cta {
    border-radius: 14px;
  }

  body.page-vastu .hero-actions,
  .ai-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.page-vastu .hero-actions .btn,
  .ai-actions .btn {
    width: 100%;
    text-align: center;
  }

  .panch-tatva-ring {
    position: relative;
    inset: auto;
    margin-top: 24px;
    padding: 0 10px 18px;
    gap: 9px;
  }
}

/* Vastu premium universe alignment */
body.page-vastu {
  background:
    radial-gradient(circle at 50% -10%, rgba(244, 201, 103, 0.34), transparent 30rem),
    radial-gradient(circle at 12% 16%, rgba(122, 27, 27, 0.74), transparent 28rem),
    radial-gradient(circle at 90% 34%, rgba(217, 147, 47, 0.18), transparent 24rem),
    linear-gradient(145deg, #24080a 0%, #4f0d10 42%, #2b160d 74%, #160807 100%);
  color: #fff8ec;
}

body.page-vastu::before {
  background:
    linear-gradient(180deg, rgba(36, 8, 10, 0.64), rgba(43, 18, 10, 0.84)),
    url("../images/heroes/vastu-hero.png") center top / cover no-repeat;
  opacity: 0.42;
}

body.page-vastu::after {
  background:
    linear-gradient(90deg, rgba(244, 201, 103, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 201, 103, 0.04) 1px, transparent 1px),
    repeating-radial-gradient(circle at 50% 4%, rgba(244, 201, 103, 0.06) 0 1px, transparent 1px 29px),
    repeating-conic-gradient(from 10deg at 50% 3%, rgba(244, 201, 103, 0.045) 0deg 7deg, transparent 7deg 17deg),
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.26), transparent 34rem),
    linear-gradient(180deg, rgba(36, 8, 10, 0.2), rgba(22, 8, 7, 0.72));
  background-size: 84px 84px, 84px 84px, auto, auto, auto, auto;
}

body.page-vastu .site-header {
  border-bottom-color: rgba(244, 201, 103, 0.3);
  background:
    radial-gradient(circle at 50% -38%, rgba(244, 201, 103, 0.18), transparent 46%),
    linear-gradient(135deg, rgba(36, 8, 10, 0.9), rgba(80, 18, 16, 0.78));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.34);
}

body.page-vastu .main-nav a.active,
body.page-vastu .main-nav a:hover {
  color: #3f0c0f;
  background: linear-gradient(135deg, #fff8ec, #f4c967 58%, #d9932f);
  border-color: rgba(244, 201, 103, 0.86);
}

body.page-vastu .btn {
  color: #2b160d;
  background: linear-gradient(135deg, #fff1b8 0%, #f4c967 42%, #d9932f 74%, #8f3d14 100%);
  border: 1px solid rgba(255, 218, 142, 0.82);
  box-shadow: 0 16px 34px rgba(18, 6, 4, 0.3), 0 0 26px rgba(244, 201, 103, 0.18), inset 0 1px 0 rgba(255, 248, 236, 0.5);
}

body.page-vastu .btn.secondary {
  color: #fff8ec;
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.1), rgba(122, 27, 27, 0.28));
  border-color: rgba(244, 201, 103, 0.54);
}

body.page-vastu .btn:hover {
  box-shadow: 0 20px 38px rgba(18, 6, 4, 0.34), 0 0 32px rgba(244, 201, 103, 0.24), inset 0 1px 0 rgba(255, 248, 236, 0.5);
}

body.page-vastu .vastu-hero {
  padding: 62px 0 46px;
}

body.page-vastu .vastu-hero::before {
  inset: 28px -10px 8px;
  border-color: rgba(244, 201, 103, 0.36);
  background:
    radial-gradient(circle at 18% 18%, rgba(244, 201, 103, 0.14), transparent 28%),
    radial-gradient(circle at 78% 46%, rgba(217, 147, 47, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(36, 8, 10, 0.74), rgba(80, 18, 16, 0.58) 56%, rgba(43, 22, 13, 0.74));
  box-shadow: 0 28px 78px rgba(10, 3, 3, 0.34), inset 0 1px 0 rgba(255, 248, 236, 0.14);
}

body.page-vastu .vastu-hero-copy {
  padding: clamp(20px, 3vw, 34px);
}

body.page-vastu .hero-badge,
body.page-vastu .section-kicker {
  color: #fff1d6;
  border-color: rgba(244, 201, 103, 0.46);
  background: linear-gradient(135deg, rgba(244, 201, 103, 0.2), rgba(122, 27, 27, 0.32));
  box-shadow: 0 0 22px rgba(244, 201, 103, 0.12);
}

body.page-vastu .vastu-hero h1 {
  color: #fff8ec;
  font-size: clamp(2.45rem, 5.2vw, 4.85rem);
  text-shadow: 0 2px 28px rgba(244, 201, 103, 0.26), 0 12px 36px rgba(10, 3, 3, 0.36);
}

body.page-vastu .vastu-hero .hero-subtitle {
  color: #fff1d6;
}

body.page-vastu .vastu-hero p,
body.page-vastu .vastu-section p,
body.page-vastu .vastu-section li {
  color: rgba(255, 248, 236, 0.8);
  line-height: 1.7;
  letter-spacing: normal;
  word-spacing: normal;
}

body.page-vastu .vastu-hero-visual {
  border-color: rgba(244, 201, 103, 0.48);
  background:
    radial-gradient(circle at 50% 46%, rgba(244, 201, 103, 0.28), transparent 36%),
    radial-gradient(circle at 20% 18%, rgba(255, 248, 236, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(36, 8, 10, 0.92), rgba(80, 18, 16, 0.8) 54%, rgba(22, 8, 7, 0.92));
  box-shadow: 0 30px 74px rgba(10, 3, 3, 0.42), 0 0 42px rgba(244, 201, 103, 0.12), inset 0 1px 0 rgba(255, 248, 236, 0.16);
}

body.page-vastu .vastu-hero-visual::before {
  border-color: rgba(244, 201, 103, 0.5);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(244, 201, 103, 0.3) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(244, 201, 103, 0.3) 49.7% 50.3%, transparent 50.3%),
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.15) 0deg 7deg, transparent 7deg 15deg);
  box-shadow: inset 0 0 54px rgba(244, 201, 103, 0.1);
}

body.page-vastu .vastu-mandala-art {
  border-color: rgba(244, 201, 103, 0.78);
  background: rgba(22, 8, 7, 0.34);
  box-shadow: 0 0 46px rgba(244, 201, 103, 0.24), inset 0 0 28px rgba(244, 201, 103, 0.08);
}

body.page-vastu .vastu-mandala-art span {
  color: #fff1d6;
  border-color: rgba(244, 201, 103, 0.42);
  background: rgba(255, 248, 236, 0.055);
}

body.page-vastu .vastu-mandala-art span:nth-child(5) {
  color: #3f0c0f;
  background: radial-gradient(circle, #fff8ec, #f4c967 72%, #b97021);
  box-shadow: 0 0 28px rgba(244, 201, 103, 0.44);
}

body.page-vastu .panch-tatva-ring span,
body.page-vastu .paid-chip {
  color: #fff8ec;
  border-color: rgba(244, 201, 103, 0.5);
  background: rgba(255, 248, 236, 0.09);
}

body.page-vastu .vastu-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

body.page-vastu .vastu-section::before {
  content: "";
  position: absolute;
  inset: 18px 8px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(244, 201, 103, 0.13), transparent 46%),
    radial-gradient(circle at 12% 72%, rgba(255, 248, 236, 0.05), transparent 28%);
  filter: blur(14px);
}

body.page-vastu .vastu-section-heading h2,
body.page-vastu .vastu-final-cta h2 {
  color: #fff8ec;
  text-shadow: 0 2px 22px rgba(244, 201, 103, 0.14);
}

body.page-vastu .vastu-section-heading p {
  color: rgba(255, 248, 236, 0.78);
}

body.page-vastu .vastu-section p,
body.page-vastu .vastu-section li,
body.page-vastu .tatva-card p,
body.page-vastu .mandala-grid p,
body.page-vastu .vastu-detail-grid p,
body.page-vastu .structure-description p {
  letter-spacing: normal;
  word-spacing: normal;
  line-height: 1.68;
}

body.page-vastu .vastu-card,
body.page-vastu .tatva-card,
body.page-vastu .mandala-grid article,
body.page-vastu .vastu-detail-grid article,
body.page-vastu .structure-description,
body.page-vastu .ai-vastu-panel,
body.page-vastu .vastu-final-cta,
body.page-vastu .vastu-disclaimer p {
  border-color: rgba(244, 201, 103, 0.34);
  background:
    radial-gradient(circle at 18% 10%, rgba(244, 201, 103, 0.09), transparent 32%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.66), rgba(43, 22, 13, 0.54));
  box-shadow: 0 24px 58px rgba(10, 3, 3, 0.28), inset 0 1px 0 rgba(255, 248, 236, 0.13);
}

body.page-vastu .vastu-card:hover,
body.page-vastu .tatva-card:hover,
body.page-vastu .mandala-grid article:hover,
body.page-vastu .vastu-detail-grid article:hover {
  border-color: rgba(244, 201, 103, 0.58);
  box-shadow: 0 30px 66px rgba(10, 3, 3, 0.34), 0 0 30px rgba(244, 201, 103, 0.13), inset 0 1px 0 rgba(255, 248, 236, 0.14);
}

body.page-vastu .vastu-icon,
body.page-vastu .tatva-card > span {
  color: #3f0c0f;
  border-color: rgba(244, 201, 103, 0.58);
  background: radial-gradient(circle, #fff8ec, #f4c967 72%, #b97021);
  box-shadow: 0 0 22px rgba(244, 201, 103, 0.24);
}

body.page-vastu .vastu-card h3,
body.page-vastu .tatva-card h3,
body.page-vastu .mandala-grid h3,
body.page-vastu .vastu-detail-grid h3,
body.page-vastu .structure-description h3,
body.page-vastu .scan-includes h3 {
  color: #fff8ec;
}

body.page-vastu .vastu-card strong,
body.page-vastu .tatva-card strong,
body.page-vastu .mandala-grid strong,
body.page-vastu .vastu-detail-grid strong {
  color: #f4c967;
}

body.page-vastu .tatva-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(244, 201, 103, 0.36);
  background:
    radial-gradient(circle at 18% 0%, var(--tatva-glow, rgba(244, 201, 103, 0.12)), transparent 40%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.78), rgba(43, 22, 13, 0.58));
  box-shadow:
    0 24px 58px rgba(10, 3, 3, 0.24),
    inset 0 0 34px var(--tatva-inset, rgba(244, 201, 103, 0.08)),
    inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

body.page-vastu .tatva-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tatva-accent, #f4c967), transparent);
  opacity: 0.7;
}

body.page-vastu .tatva-card > span {
  border-color: var(--tatva-border, rgba(244, 201, 103, 0.48));
  color: #fff7df;
  background:
    radial-gradient(circle at 50% 36%, var(--tatva-badge, rgba(244, 201, 103, 0.34)), rgba(56, 12, 12, 0.62) 74%),
    linear-gradient(145deg, rgba(255, 248, 236, 0.1), rgba(70, 18, 12, 0.58));
  box-shadow:
    0 0 24px var(--tatva-glow, rgba(244, 201, 103, 0.13)),
    inset 0 1px 0 rgba(255, 248, 236, 0.16);
}

body.page-vastu .tatva-jal {
  --tatva-accent: #E0F2FE;
  --tatva-glow: rgba(224, 242, 254, 0.16);
  --tatva-inset: rgba(224, 242, 254, 0.08);
  --tatva-badge: rgba(224, 242, 254, 0.28);
  --tatva-border: rgba(224, 242, 254, 0.42);
}

body.page-vastu .tatva-agni {
  --tatva-accent: #FFEDD5;
  --tatva-glow: rgba(255, 237, 213, 0.16);
  --tatva-inset: rgba(255, 174, 66, 0.09);
  --tatva-badge: rgba(255, 174, 66, 0.3);
  --tatva-border: rgba(255, 237, 213, 0.42);
}

body.page-vastu .tatva-prithvi {
  --tatva-accent: #FEF3C7;
  --tatva-glow: rgba(254, 243, 199, 0.15);
  --tatva-inset: rgba(196, 151, 92, 0.1);
  --tatva-badge: rgba(196, 151, 92, 0.3);
  --tatva-border: rgba(254, 243, 199, 0.42);
}

body.page-vastu .tatva-vayu {
  --tatva-accent: #DCFCE7;
  --tatva-glow: rgba(220, 252, 231, 0.15);
  --tatva-inset: rgba(145, 184, 122, 0.09);
  --tatva-badge: rgba(145, 184, 122, 0.28);
  --tatva-border: rgba(220, 252, 231, 0.4);
}

body.page-vastu .tatva-akash {
  --tatva-accent: #FAF5FF;
  --tatva-glow: rgba(250, 245, 255, 0.14);
  --tatva-inset: rgba(255, 215, 106, 0.08);
  --tatva-badge: rgba(250, 245, 255, 0.24);
  --tatva-border: rgba(250, 245, 255, 0.38);
}

body.page-vastu .mandala-grid {
  border-color: rgba(244, 201, 103, 0.4);
  background:
    radial-gradient(circle at 50% 46%, rgba(244, 201, 103, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(36, 8, 10, 0.68), rgba(43, 22, 13, 0.5));
  box-shadow: 0 26px 64px rgba(10, 3, 3, 0.28), inset 0 1px 0 rgba(255, 248, 236, 0.1);
}

body.page-vastu .mandala-grid article {
  border-color: rgba(244, 201, 103, 0.32);
  background:
    linear-gradient(90deg, rgba(244, 201, 103, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 201, 103, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(56, 12, 12, 0.66), rgba(22, 8, 7, 0.46));
  background-size: 38px 38px, 38px 38px, auto;
}

body.page-vastu .mandala-grid .center-zone {
  background:
    radial-gradient(circle at 50% 34%, rgba(244, 201, 103, 0.4), transparent 48%),
    linear-gradient(145deg, rgba(122, 27, 27, 0.78), rgba(43, 22, 13, 0.74));
  box-shadow: 0 0 34px rgba(244, 201, 103, 0.16), inset 0 1px 0 rgba(255, 248, 236, 0.16);
}

body.page-vastu .structure-selector button {
  color: #fff1d6;
  border-color: rgba(244, 201, 103, 0.34);
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.08), rgba(80, 18, 16, 0.34));
  box-shadow: 0 14px 30px rgba(10, 3, 3, 0.18);
}

body.page-vastu .structure-selector button.active,
body.page-vastu .structure-selector button[aria-selected="true"],
body.page-vastu .structure-selector button:hover {
  color: #2b160d;
  background: linear-gradient(135deg, #fff1b8, #f4c967 58%, #d9932f);
  border-color: rgba(255, 218, 142, 0.86);
}

body.page-vastu .structure-selector button:focus-visible {
  outline: 2px solid rgba(255, 248, 236, 0.9);
  outline-offset: 3px;
}

body.page-vastu .structure-description {
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(36, 8, 10, 0.88), rgba(72, 18, 14, 0.74));
}

body.page-vastu .ai-vastu-panel {
  border-color: rgba(244, 201, 103, 0.48);
  background:
    radial-gradient(circle at 24% 14%, rgba(244, 201, 103, 0.2), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(217, 147, 47, 0.11), transparent 26%),
    linear-gradient(145deg, rgba(36, 8, 10, 0.86), rgba(122, 27, 27, 0.62) 52%, rgba(22, 8, 7, 0.9));
}

body.page-vastu .scan-flow span,
body.page-vastu .scan-includes article,
body.page-vastu .scan-note,
body.page-vastu .coming-soon-note {
  color: #fff8ec;
  border-color: rgba(244, 201, 103, 0.38);
  background: rgba(255, 248, 236, 0.075);
}

body.page-vastu .scan-flow span {
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.11);
}

body.page-vastu .scan-flow span:not(:last-child)::after {
  color: #f4c967;
  text-shadow: 0 0 12px rgba(244, 201, 103, 0.34);
}

body.page-vastu .paid-chip::before {
  color: #fff1b8;
}

body.page-vastu .vastu-product-grid {
  border-color: rgba(244, 201, 103, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.54), rgba(43, 22, 13, 0.42));
  box-shadow: 0 20px 48px rgba(10, 3, 3, 0.22), inset 0 1px 0 rgba(255, 248, 236, 0.1);
}

body.page-vastu .vastu-product-card {
  color: #fff1d6;
  border-color: rgba(244, 201, 103, 0.38);
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 201, 103, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(255, 248, 236, 0.075), rgba(122, 27, 27, 0.3));
  box-shadow: 0 12px 24px rgba(10, 3, 3, 0.18), inset 0 1px 0 rgba(255, 248, 236, 0.08);
}

body.page-vastu .vastu-product-status {
  color: #f4c967;
  border-color: rgba(244, 201, 103, 0.42);
  background: rgba(36, 8, 10, 0.34);
  box-shadow: 0 0 16px rgba(244, 201, 103, 0.1);
}

body.page-vastu .vastu-final-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(122, 27, 27, 0.68), rgba(43, 22, 13, 0.62));
}

body.page-vastu .vastu-disclaimer p {
  color: rgba(255, 248, 236, 0.76);
  background: linear-gradient(145deg, rgba(36, 8, 10, 0.54), rgba(43, 22, 13, 0.46));
}

body.page-vastu footer {
  background:
    radial-gradient(circle at 50% -12%, rgba(244, 201, 103, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(80, 18, 16, 0.92), rgba(43, 22, 13, 0.98) 42%, #160807);
}

body.page-vastu {
  --header-height: 76px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.page-vastu .vastu-section,
body.page-vastu section[id],
body.page-vastu #vastu-overview,
body.page-vastu #panch-tatva,
body.page-vastu #mandala-grid,
body.page-vastu #room-guide,
body.page-vastu #vastu-remedies,
body.page-vastu #ai-vastu-scan,
body.page-vastu #vastu-products,
body.page-vastu #vastu-imbalance {
  scroll-margin-top: 148px;
}

body.page-vastu .btn.ghost {
  color: #fff1d6;
  background: transparent;
  border-color: rgba(244, 201, 103, 0.38);
  box-shadow: none;
}

.vastu-subnav {
  position: sticky;
  top: var(--header-height, 76px);
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(218, 175, 82, 0.28);
  border-radius: 999px;
  background: rgba(55, 14, 10, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 248, 236, 0.12);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.vastu-subnav.is-fixed {
  position: fixed;
  top: var(--header-height, 76px);
  left: 50%;
  z-index: 90;
  width: min(1180px, calc(100% - 32px));
  margin: 0;
  transform: translateX(-50%);
}

.vastu-subnav-spacer {
  display: none;
  height: var(--vastu-subnav-height, 58px);
}

.vastu-subnav-spacer.is-active {
  display: block;
}

.vastu-subnav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vastu-subnav-inner::-webkit-scrollbar {
  display: none;
}

.vastu-subnav a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid rgba(244, 201, 103, 0.26);
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.84);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vastu-subnav a:hover,
.vastu-subnav a:focus-visible,
.vastu-subnav a.active {
  color: #2b160d;
  border-color: rgba(255, 218, 142, 0.86);
  background: linear-gradient(135deg, #fff1b8, #f4c967 58%, #d9932f);
  box-shadow: 0 0 18px rgba(244, 201, 103, 0.18);
  outline: none;
}

body.page-ai-vastu-checker .ai-vastu-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(218, 175, 82, 0.32);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(55, 14, 10, 0.92), rgba(95, 28, 20, 0.86));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 248, 236, 0.12);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

body.page-ai-vastu-checker .ai-vastu-stepper::before {
  content: "";
  position: absolute;
  top: 38px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(244, 201, 103, 0.68), rgba(255, 248, 236, 0.18), rgba(244, 201, 103, 0.36));
  pointer-events: none;
}

body.page-ai-vastu-checker .ai-vastu-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 72px;
  padding: 4px 10px 8px;
  color: rgba(255, 248, 236, 0.86);
  text-align: center;
  text-decoration: none;
  border-radius: 16px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

body.page-ai-vastu-checker .ai-vastu-step:hover,
body.page-ai-vastu-checker .ai-vastu-step:focus-visible,
body.page-ai-vastu-checker .ai-vastu-step.is-active {
  color: #fff3c7;
  background: rgba(255, 248, 236, 0.07);
  outline: none;
}

body.page-ai-vastu-checker .ai-vastu-step:hover,
body.page-ai-vastu-checker .ai-vastu-step:focus-visible {
  transform: translateY(-1px);
}

body.page-ai-vastu-checker .ai-vastu-stepper .ai-vastu-step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 201, 103, 0.38);
  border-radius: 50%;
  color: rgba(255, 248, 236, 0.84);
  background: #4b1510;
  box-shadow: 0 0 0 6px rgba(55, 14, 10, 0.96);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
}

body.page-ai-vastu-checker .ai-vastu-stepper .ai-vastu-step.is-active .ai-vastu-step-number,
body.page-ai-vastu-checker .ai-vastu-stepper .ai-vastu-step:hover .ai-vastu-step-number,
body.page-ai-vastu-checker .ai-vastu-stepper .ai-vastu-step:focus-visible .ai-vastu-step-number {
  color: #2b160d;
  border-color: rgba(255, 229, 166, 0.94);
  background: linear-gradient(135deg, #fff1b8, #f4c967 58%, #d9932f);
  box-shadow: 0 0 0 6px rgba(55, 14, 10, 0.96), 0 0 22px rgba(244, 201, 103, 0.26);
}

body.page-ai-vastu-checker .ai-vastu-step-label {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.2;
}

body.page-ai-vastu-checker .ai-vastu-product-hero {
  min-height: 0;
  padding-top: clamp(34px, 6vw, 72px);
  padding-bottom: clamp(22px, 4vw, 46px);
  gap: clamp(18px, 4vw, 34px);
}

body.page-ai-vastu-checker .ai-vastu-product-hero .hero-badge {
  margin-bottom: 10px;
}

body.page-ai-vastu-checker .ai-vastu-product-hero h1 {
  margin-bottom: 12px;
}

body.page-ai-vastu-checker .ai-vastu-product-hero .hero-subtitle {
  max-width: 720px;
  margin-bottom: 16px;
}

body.page-ai-vastu-checker .ai-vastu-trust-chips,
body.page-ai-vastu-checker .ai-vastu-quick-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.page-ai-vastu-checker .ai-vastu-trust-chips {
  margin: 0 0 18px;
}

body.page-ai-vastu-checker .ai-vastu-trust-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(244, 201, 103, 0.32);
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.9);
  background: rgba(255, 248, 236, 0.07);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.2;
}

body.page-ai-vastu-checker .ai-vastu-quick-values {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 14px;
}

body.page-ai-vastu-checker .ai-vastu-quick-values article {
  display: inline-flex;
  flex: 1 1 150px;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(218, 175, 82, 0.28);
  border-radius: 14px;
  color: #fff8ec;
  background: rgba(55, 14, 10, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.08);
}

body.page-ai-vastu-checker .ai-vastu-quick-values span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #2b160d;
  background: linear-gradient(135deg, #fff1b8, #f4c967 58%, #d9932f);
  font-size: 0.92rem;
  font-weight: 950;
}

body.page-ai-vastu-checker .ai-vastu-quick-values strong {
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

body.page-ai-vastu-checker .ai-vastu-checker-section {
  padding-top: clamp(28px, 4vw, 46px);
}

body.page-ai-vastu-checker .ai-vastu-checker-section > .vastu-section-heading {
  margin-bottom: 14px;
}

body.page-ai-vastu-checker .ai-vastu-methodology,
body.page-ai-vastu-checker .ai-vastu-fast-note {
  margin: 0 auto 12px;
  padding: 14px 16px;
}

body.page-ai-vastu-checker .ai-vastu-methodology .section-kicker {
  display: none;
}

body.page-ai-vastu-checker .ai-vastu-methodology h3,
body.page-ai-vastu-checker .ai-vastu-fast-note h3 {
  margin: 0 0 5px;
  font-size: 1.02rem;
}

body.page-ai-vastu-checker .ai-vastu-methodology p,
body.page-ai-vastu-checker .ai-vastu-fast-note p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

body.page-ai-vastu-checker .vastu-checker-instruction {
  margin-bottom: 12px;
}

body.page-ai-vastu-checker .ai-vastu-lower-info {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: 0;
}

body.page-ai-vastu-checker .ai-vastu-compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.page-ai-vastu-checker .ai-vastu-compact-grid .vastu-card {
  padding: 16px;
  border-radius: 14px;
}

body.page-ai-vastu-checker .ai-vastu-compact-grid .vastu-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

body.page-ai-vastu-checker .ai-vastu-compact-grid .vastu-card p {
  font-size: 0.92rem;
  line-height: 1.5;
}

body.page-ai-vastu-checker .ai-vastu-faq-list {
  display: grid;
  gap: 10px;
}

body.page-ai-vastu-checker .ai-vastu-faq-list details {
  padding: 0;
  overflow: hidden;
}

body.page-ai-vastu-checker .ai-vastu-faq-list summary {
  padding: 14px 16px;
  color: #fff8ec;
  font-weight: 950;
  cursor: pointer;
}

body.page-ai-vastu-checker .ai-vastu-faq-list p {
  margin: 0;
  padding: 0 16px 14px;
}

body.page-vastu:not(.page-ai-vastu-checker) .vastu-subnav {
  isolation: isolate;
}

body.page-vastu:not(.page-ai-vastu-checker) .vastu-subnav::before,
body.page-vastu:not(.page-ai-vastu-checker) .vastu-subnav::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 42px;
  pointer-events: none;
}

body.page-vastu:not(.page-ai-vastu-checker) .vastu-subnav::before {
  left: 0;
  background: linear-gradient(90deg, rgba(55, 14, 10, 0.96), rgba(55, 14, 10, 0));
}

body.page-vastu:not(.page-ai-vastu-checker) .vastu-subnav::after {
  right: 0;
  background: linear-gradient(270deg, rgba(55, 14, 10, 0.96), rgba(55, 14, 10, 0));
}

body.page-vastu:not(.page-ai-vastu-checker) .vastu-subnav-inner {
  scroll-padding: 0 18px;
  scroll-snap-type: x proximity;
}

body.page-vastu:not(.page-ai-vastu-checker) .vastu-subnav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  scroll-snap-align: start;
  white-space: nowrap;
}

.vastu-mandala-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 22px;
  align-items: stretch;
}

body.page-vastu .mandala-grid.vastu-mandala-map {
  min-width: 0;
}

body.page-vastu .mandala-grid button {
  display: grid;
  min-width: 0;
  min-height: 148px;
  place-items: center;
  gap: 8px;
  padding: 18px 10px;
  border: 1px solid rgba(244, 201, 103, 0.32);
  border-radius: 14px;
  color: #fff1d6;
  background:
    linear-gradient(90deg, rgba(244, 201, 103, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 201, 103, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(56, 12, 12, 0.66), rgba(22, 8, 7, 0.46));
  background-size: 38px 38px, 38px 38px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.08);
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body.page-vastu .mandala-grid button span {
  color: #f4c967;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 900;
  line-height: 1;
}

body.page-vastu .mandala-grid button strong {
  color: #fff8ec;
  font-size: 0.95rem;
  line-height: 1.2;
}

body.page-vastu .mandala-grid button:hover,
body.page-vastu .mandala-grid button:focus-visible,
body.page-vastu .mandala-grid button.active {
  border-color: rgba(255, 218, 142, 0.88);
  background:
    radial-gradient(circle at 50% 24%, rgba(244, 201, 103, 0.28), transparent 48%),
    linear-gradient(145deg, rgba(122, 27, 27, 0.82), rgba(43, 22, 13, 0.68));
  box-shadow: 0 0 28px rgba(244, 201, 103, 0.22), inset 0 1px 0 rgba(255, 248, 236, 0.16);
  transform: translateY(-2px);
}

body.page-vastu .mandala-grid button.center-zone {
  background:
    radial-gradient(circle at 50% 34%, rgba(244, 201, 103, 0.4), transparent 48%),
    linear-gradient(145deg, rgba(122, 27, 27, 0.78), rgba(43, 22, 13, 0.74));
}

.vastu-zone-panel,
.vastu-imbalance-grid article {
  border: 1px solid rgba(244, 201, 103, 0.38);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 10%, rgba(244, 201, 103, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.7), rgba(43, 22, 13, 0.56));
  box-shadow: 0 24px 58px rgba(10, 3, 3, 0.26), inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

.vastu-zone-panel {
  padding: clamp(22px, 3vw, 30px);
}

.vastu-zone-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(244, 201, 103, 0.38);
  border-radius: 999px;
  color: #f4c967;
  background: rgba(255, 248, 236, 0.07);
  font-size: 0.76rem;
  font-weight: 900;
}

.vastu-zone-panel h3 {
  margin: 0 0 18px;
  color: #fff8ec;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.vastu-zone-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.vastu-zone-panel div {
  padding: 14px;
  border: 1px solid rgba(244, 201, 103, 0.22);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.06);
}

.vastu-zone-panel dt {
  margin-bottom: 5px;
  color: #f4c967;
  font-weight: 900;
}

.vastu-zone-panel dd {
  margin: 0;
  color: rgba(255, 248, 236, 0.82);
  line-height: 1.6;
}

.vastu-imbalance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 16px;
}

.vastu-imbalance-grid article {
  padding: 20px;
}

.vastu-imbalance-grid h3 {
  margin: 0 0 10px;
  color: #fff8ec;
}

body.page-vastu .vastu-imbalance-grid p {
  margin: 0 0 9px;
  font-size: 0.98rem;
  line-height: 1.58;
}

.vastu-imbalance-grid a,
.notify-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 999px;
  color: #2b160d;
  background: linear-gradient(135deg, #fff1b8, #f4c967 62%, #d9932f);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

body.page-vastu .vastu-room-accordion details,
body.page-vastu .vastu-accordion-grid details {
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 16% 0%, rgba(244, 201, 103, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.62), rgba(43, 22, 13, 0.5));
  box-shadow: 0 16px 34px rgba(10, 3, 3, 0.2), inset 0 1px 0 rgba(255, 248, 236, 0.1);
}

body.page-vastu .vastu-room-accordion summary,
body.page-vastu .vastu-accordion-grid summary {
  padding: 15px 18px;
  color: #fff8ec;
  cursor: pointer;
  font-weight: 900;
}

body.page-vastu .vastu-room-accordion details p,
body.page-vastu .vastu-accordion-grid details p {
  margin: 0;
  padding: 0 18px 14px;
  font-size: 0.98rem;
  line-height: 1.58;
}

.ai-vastu-copy {
  align-self: center;
}

.ai-vastu-copy h3 {
  margin: 14px 0 10px;
  color: #fff8ec;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

body.page-vastu .ai-vastu-panel .scan-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

body.page-vastu .scan-flow article {
  position: relative;
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(244, 201, 103, 0.38);
  border-radius: 18px;
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.11);
}

.scan-step-number {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.62);
  border-radius: 50%;
  color: #2b160d;
  background: linear-gradient(135deg, #fff1b8, #f4c967);
  font-weight: 900;
}

.scan-step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.38);
  border-radius: 50%;
  color: #f4c967;
  background: rgba(36, 8, 10, 0.34);
  font-weight: 900;
}

body.page-vastu .scan-flow article h3 {
  margin: 0 38px 8px 0;
  color: #fff8ec;
  font-size: 1.05rem;
}

body.page-vastu .scan-flow article p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

body.page-vastu .ai-actions .btn:disabled {
  color: rgba(43, 22, 13, 0.8);
  cursor: not-allowed;
  filter: saturate(0.78);
  opacity: 0.78;
  transform: none;
}

.vastu-product-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: min(100%, 760px);
  margin: 0 auto 16px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.vastu-product-tabs::-webkit-scrollbar {
  display: none;
}

.vastu-product-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 999px;
  color: #fff1d6;
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.08), rgba(80, 18, 16, 0.34));
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.vastu-product-tabs button.active,
.vastu-product-tabs button:hover,
.vastu-product-tabs button:focus-visible {
  color: #2b160d;
  border-color: rgba(255, 218, 142, 0.86);
  background: linear-gradient(135deg, #fff1b8, #f4c967 58%, #d9932f);
}

body.page-vastu .vastu-product-grid[hidden] {
  display: none !important;
}

body.page-vastu .vastu-product-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  min-height: 0;
}

body.page-vastu .vastu-product-card p {
  grid-column: 2 / -1;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.52;
}

.vastu-product-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  grid-row: span 3;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.48);
  border-radius: 50%;
  color: #2b160d;
  background: radial-gradient(circle, #fff8ec, #f4c967 72%, #b97021);
  font-size: 0.82rem;
  font-weight: 900;
}

body.page-vastu .notify-link {
  grid-column: 2 / -1;
}

@media (max-width: 980px) {
  body.page-vastu {
    --header-height: 74px;
  }

  .vastu-subnav {
    width: min(100% - 24px, 1180px);
  }

  .vastu-subnav.is-fixed {
    width: min(100% - 24px, 1180px);
  }
}

@media (max-width: 860px) {
  body.page-vastu .vastu-hero {
    padding-top: 36px;
  }

  body.page-vastu .vastu-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.45rem);
  }

  .vastu-mandala-layout,
  body.page-vastu .ai-vastu-panel {
    grid-template-columns: 1fr;
  }

  body.page-vastu .ai-vastu-panel .scan-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.page-vastu {
    --header-height: 68px;
  }

  body.page-vastu .vastu-hero::before {
    inset: 14px -4px 0;
  }

  body.page-vastu .vastu-hero h1 {
    font-size: clamp(2.15rem, 13vw, 3.05rem);
  }

  body.page-vastu .vastu-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  body.page-vastu .vastu-section,
  body.page-vastu section[id],
  body.page-vastu #vastu-overview,
  body.page-vastu #panch-tatva,
  body.page-vastu #mandala-grid,
  body.page-vastu #room-guide,
  body.page-vastu #vastu-remedies,
  body.page-vastu #ai-vastu-scan,
  body.page-vastu #vastu-products,
  body.page-vastu #vastu-imbalance {
    scroll-margin-top: 132px;
  }

  .vastu-subnav {
    width: min(100% - 18px, 1180px);
    padding: 7px;
    border-radius: 18px;
  }

  .vastu-subnav.is-fixed {
    width: min(100% - 18px, 1180px);
  }

  .vastu-subnav a {
    padding: 8px 11px;
    font-size: 0.82rem;
  }

  body.page-ai-vastu-checker .ai-vastu-stepper {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(100% - 18px, 1180px);
    padding: 10px;
    border-radius: 18px;
  }

  body.page-ai-vastu-checker .ai-vastu-stepper::before {
    top: 28px;
    bottom: 28px;
    left: 33px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(244, 201, 103, 0.68), rgba(255, 248, 236, 0.18), rgba(244, 201, 103, 0.36));
  }

  body.page-ai-vastu-checker .ai-vastu-step {
    grid-template-columns: 48px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    min-height: 58px;
    padding: 6px 10px;
    text-align: left;
  }

  body.page-ai-vastu-checker .ai-vastu-step-label {
    font-size: 0.9rem;
  }

  body.page-vastu .mandala-grid {
    gap: 7px;
    padding: 8px;
    border-radius: 18px;
  }

  body.page-vastu .mandala-grid button {
    min-height: 96px;
    padding: 12px 5px;
    border-radius: 12px;
  }

  body.page-vastu .mandala-grid button strong {
    font-size: 0.78rem;
  }

  body.page-vastu .ai-vastu-panel .scan-flow,
  .vastu-imbalance-grid {
    grid-template-columns: 1fr;
  }

  body.page-vastu .vastu-product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
  }

  body.page-vastu .vastu-product-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 15px;
  }

  body.page-vastu .vastu-product-status {
    grid-column: 2;
    margin-left: 0;
  }

  body.page-vastu .vastu-product-card p,
  body.page-vastu .notify-link {
    grid-column: 1 / -1;
  }
}

/* Vastu storytelling and notify polish */
body.page-vastu .mandala-grid.vastu-mandala-map {
  position: relative;
  gap: 9px;
  padding: 14px;
  border-color: rgba(255, 215, 106, 0.48);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 215, 106, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(36, 8, 10, 0.76), rgba(70, 18, 13, 0.54));
}

body.page-vastu .mandala-grid.vastu-mandala-map::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(255, 215, 106, 0.18);
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(255, 215, 106, 0.14) 49.85% 50.15%, transparent 50.15%),
    linear-gradient(0deg, transparent 49.85%, rgba(255, 215, 106, 0.14) 49.85% 50.15%, transparent 50.15%);
}

body.page-vastu .mandala-grid.vastu-mandala-map button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 132px;
  border-color: rgba(255, 215, 106, 0.28);
  cursor: pointer;
  transform: translateY(0) scale(1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease;
}

body.page-vastu .mandala-grid.vastu-mandala-map button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.68;
  transition: opacity 180ms ease;
}

body.page-vastu .mandala-grid.vastu-mandala-map button[data-zone="north-east"]::before {
  background: radial-gradient(circle at 50% 18%, rgba(224, 242, 254, 0.26), transparent 58%), linear-gradient(145deg, rgba(255, 215, 106, 0.1), rgba(28, 70, 82, 0.2));
}

body.page-vastu .mandala-grid.vastu-mandala-map button[data-zone="south-east"]::before {
  background: radial-gradient(circle at 50% 18%, rgba(255, 237, 213, 0.28), transparent 58%), linear-gradient(145deg, rgba(255, 215, 106, 0.1), rgba(122, 50, 18, 0.18));
}

body.page-vastu .mandala-grid.vastu-mandala-map button[data-zone="south-west"]::before {
  background: radial-gradient(circle at 50% 18%, rgba(254, 243, 199, 0.24), transparent 58%), linear-gradient(145deg, rgba(255, 215, 106, 0.08), rgba(94, 59, 28, 0.22));
}

body.page-vastu .mandala-grid.vastu-mandala-map button[data-zone="north-west"]::before {
  background: radial-gradient(circle at 50% 18%, rgba(220, 252, 231, 0.22), transparent 58%), linear-gradient(145deg, rgba(255, 215, 106, 0.08), rgba(42, 82, 54, 0.18));
}

body.page-vastu .mandala-grid.vastu-mandala-map button[data-zone="brahmasthan"]::before {
  background: radial-gradient(circle at 50% 32%, rgba(250, 245, 255, 0.25), transparent 56%), radial-gradient(circle at 50% 46%, rgba(255, 215, 106, 0.24), transparent 58%), linear-gradient(145deg, rgba(122, 27, 27, 0.34), rgba(255, 215, 106, 0.08));
}

body.page-vastu .mandala-grid.vastu-mandala-map button:not([data-zone="north-east"]):not([data-zone="south-east"]):not([data-zone="south-west"]):not([data-zone="north-west"]):not([data-zone="brahmasthan"])::before {
  background: radial-gradient(circle at 50% 18%, rgba(255, 215, 106, 0.14), transparent 58%), linear-gradient(145deg, rgba(122, 27, 27, 0.2), rgba(255, 248, 236, 0.04));
}

body.page-vastu .mandala-grid.vastu-mandala-map button:hover,
body.page-vastu .mandala-grid.vastu-mandala-map button:focus-visible,
body.page-vastu .mandala-grid.vastu-mandala-map button.active,
body.page-vastu .mandala-grid.vastu-mandala-map button.is-active,
body.page-vastu .mandala-grid.vastu-mandala-map button[aria-selected="true"] {
  border-color: rgba(255, 215, 106, 0.92);
  box-shadow:
    0 0 0 2px rgba(255, 215, 106, 0.18),
    0 14px 30px rgba(255, 174, 66, 0.18),
    0 18px 34px rgba(10, 3, 3, 0.24),
    inset 0 0 28px rgba(255, 215, 106, 0.1),
    inset 0 1px 0 rgba(255, 248, 236, 0.18);
  transform: translateY(-2px) scale(1.015);
}

body.page-vastu .mandala-grid.vastu-mandala-map button:hover::before,
body.page-vastu .mandala-grid.vastu-mandala-map button:focus-visible::before,
body.page-vastu .mandala-grid.vastu-mandala-map button.active::before,
body.page-vastu .mandala-grid.vastu-mandala-map button.is-active::before,
body.page-vastu .mandala-grid.vastu-mandala-map button[aria-selected="true"]::before {
  opacity: 1;
}

body.page-vastu .mandala-grid.vastu-mandala-map button:focus-visible {
  outline: 2px solid rgba(255, 215, 106, 0.92);
  outline-offset: 3px;
}

body.page-vastu .mandala-grid.vastu-mandala-map button[aria-selected="true"] {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 215, 106, 0.22), transparent 50%),
    linear-gradient(145deg, rgba(122, 27, 27, 0.86), rgba(43, 22, 13, 0.74));
}

body.page-vastu .vastu-zone-dialog {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.page-vastu .vastu-zone-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 0%, var(--zone-glow, rgba(244, 201, 103, 0.12)), transparent 38%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.28), rgba(22, 8, 7, 0.16));
  opacity: 0.9;
  transition: background 180ms ease, opacity 180ms ease;
}

body.page-vastu .vastu-zone-panel.is-updating {
  opacity: 0.68;
  transform: translateY(8px);
}

body.page-vastu .vastu-zone-panel[data-active-zone="north-east"] {
  --zone-glow: rgba(224, 242, 254, 0.14);
  border-color: rgba(116, 186, 210, 0.46);
  box-shadow: 0 24px 58px rgba(10, 3, 3, 0.26), 0 0 26px rgba(116, 186, 210, 0.12), inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

body.page-vastu .vastu-zone-panel[data-active-zone="south-east"] {
  --zone-glow: rgba(255, 237, 213, 0.14);
  border-color: rgba(255, 157, 74, 0.48);
}

body.page-vastu .vastu-zone-panel[data-active-zone="south-west"] {
  --zone-glow: rgba(254, 243, 199, 0.14);
  border-color: rgba(196, 151, 92, 0.48);
}

body.page-vastu .vastu-zone-panel[data-active-zone="north-west"] {
  --zone-glow: rgba(220, 252, 231, 0.13);
  border-color: rgba(145, 184, 122, 0.44);
}

body.page-vastu .vastu-zone-panel[data-active-zone="brahmasthan"] {
  --zone-glow: rgba(250, 245, 255, 0.13);
  border-color: rgba(255, 215, 106, 0.64);
  box-shadow: 0 24px 58px rgba(10, 3, 3, 0.28), 0 0 30px rgba(255, 215, 106, 0.14), inset 0 1px 0 rgba(255, 248, 236, 0.14);
}

@media (max-width: 600px) {
  body.page-vastu .mandala-grid.vastu-mandala-map {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
    padding: 10px;
  }

  body.page-vastu .mandala-grid.vastu-mandala-map button {
    aspect-ratio: 1 / 1;
    min-height: 82px;
    padding: 9px 4px;
    gap: 5px;
    border-radius: 10px;
  }

  body.page-vastu .mandala-grid.vastu-mandala-map button span {
    font-size: 1rem;
  }

  body.page-vastu .mandala-grid.vastu-mandala-map button strong {
    font-size: 0.68rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
}

body.page-vastu .vastu-philosophy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 20px;
  align-items: stretch;
  margin: 0 auto 34px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 215, 106, 0.36);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 215, 106, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(43, 8, 10, 0.7), rgba(70, 18, 13, 0.52));
  box-shadow: 0 22px 52px rgba(10, 3, 3, 0.24), inset 0 1px 0 rgba(255, 248, 236, 0.11);
}

body.page-vastu .vastu-philosophy-copy h2 {
  margin: 0 0 10px;
  color: #fff7df;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.16;
}

body.page-vastu .vastu-philosophy-copy p,
body.page-vastu .vastu-philosophy-grid p {
  margin: 0;
  color: #f1e4c3;
  font-size: 0.98rem;
  line-height: 1.6;
}

body.page-vastu .vastu-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.page-vastu .vastu-philosophy-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 215, 106, 0.28);
  border-radius: 18px;
  background: rgba(255, 248, 236, 0.065);
}

body.page-vastu .vastu-philosophy-grid span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid rgba(255, 215, 106, 0.54);
  border-radius: 50%;
  color: #2b1208;
  background: linear-gradient(135deg, #fff7df, #ffd76a 72%, #d9932f);
  font-size: 0.78rem;
  font-weight: 900;
}

body.page-vastu .vastu-philosophy-grid h3 {
  margin: 0 0 7px;
  color: #fff7df;
  font-size: 1rem;
  line-height: 1.25;
}

body.page-vastu .notify-link {
  border: 1px solid rgba(255, 215, 106, 0.48);
  cursor: pointer;
  font: inherit;
}

.vastu-notify-modal[hidden] {
  display: none !important;
}

.vastu-notify-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.vastu-notify-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 4, 4, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.vastu-notify-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(255, 215, 106, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 215, 106, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(43, 8, 10, 0.96), rgba(86, 18, 16, 0.92));
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 248, 236, 0.14);
}

.vastu-notify-panel h2 {
  margin: 14px 0 10px;
  color: #fff7df;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
}

.vastu-notify-panel p {
  margin: 0 0 12px;
  color: #f1e4c3;
  line-height: 1.58;
}

.vastu-notify-honest {
  padding: 10px 12px;
  border: 1px solid rgba(255, 215, 106, 0.26);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.07);
  color: #dcc79d !important;
  font-size: 0.92rem;
}

.vastu-notify-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 215, 106, 0.36);
  border-radius: 50%;
  color: #fff7df;
  background: rgba(255, 248, 236, 0.08);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.vastu-notify-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.vastu-notify-form label {
  display: grid;
  gap: 6px;
  color: #ffd76a;
  font-weight: 900;
}

.vastu-notify-form input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 215, 106, 0.32);
  border-radius: 12px;
  color: #fff7df;
  background: rgba(255, 248, 236, 0.08);
  font: inherit;
  box-sizing: border-box;
}

.vastu-notify-form input[readonly] {
  color: #dcc79d;
}

.vastu-notify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

body.vastu-notify-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  body.page-vastu .vastu-philosophy-panel,
  body.page-vastu .vastu-philosophy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.page-vastu .mandala-grid.vastu-mandala-map button {
    min-height: 92px;
  }

  body.page-vastu .vastu-philosophy-panel {
    border-radius: 20px;
    padding: 18px;
  }

  .vastu-notify-actions {
    flex-direction: column;
  }

  .vastu-notify-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* AI Vastu Scan compact preview fix */
body.page-vastu #ai-vastu-scan .vastu-section-heading {
  margin-bottom: 20px;
}

body.page-vastu #ai-vastu-scan .vastu-section-heading h2 {
  color: #fff7df;
}

body.page-vastu #ai-vastu-scan .vastu-section-heading p {
  color: #f1e4c3;
}

body.page-vastu #ai-vastu-scan .ai-vastu-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  border-color: rgba(255, 215, 106, 0.44);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 215, 106, 0.14), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(255, 247, 223, 0.07), transparent 26%),
    linear-gradient(145deg, rgba(43, 8, 10, 0.9), rgba(86, 18, 16, 0.76) 54%, rgba(28, 9, 7, 0.92));
  box-shadow: 0 24px 58px rgba(10, 3, 3, 0.34), inset 0 1px 0 rgba(255, 247, 223, 0.14);
}

body.page-vastu #ai-vastu-scan .ai-vastu-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  align-self: center;
  max-width: 460px;
}

body.page-vastu #ai-vastu-scan .ai-vastu-copy h3 {
  margin: 0;
  color: #fff7df;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}

body.page-vastu #ai-vastu-scan .ai-vastu-copy p {
  margin: 0;
  color: #f1e4c3;
  font-size: 1rem;
  line-height: 1.62;
}

body.page-vastu #ai-vastu-scan .ai-vastu-feature-list {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

body.page-vastu #ai-vastu-scan .ai-vastu-feature-list li {
  position: relative;
  padding-left: 24px;
  color: #f1e4c3;
  font-size: 0.95rem;
  line-height: 1.45;
}

body.page-vastu #ai-vastu-scan .ai-vastu-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd76a;
  font-weight: 900;
}

body.page-vastu #ai-vastu-scan .ai-actions {
  gap: 10px;
  margin: 4px 0 0;
}

body.page-vastu #ai-vastu-scan .ai-actions .btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.94rem;
}

body.page-vastu #ai-vastu-scan .ai-actions .ai-coming-soon-btn:disabled {
  color: #2b1208;
  background: linear-gradient(135deg, #fff1b8, #ffd76a 58%, #d9932f);
  border-color: rgba(255, 215, 106, 0.72);
  cursor: not-allowed;
  opacity: 0.76;
  filter: saturate(0.85);
  box-shadow: inset 0 1px 0 rgba(255, 247, 223, 0.45);
}

body.page-vastu #ai-vastu-scan .scan-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

body.page-vastu #ai-vastu-scan .scan-flow article {
  position: relative;
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(255, 215, 106, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 215, 106, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(122, 27, 27, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 247, 223, 0.1);
}

body.page-vastu #ai-vastu-scan .scan-step-number {
  position: static;
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px solid rgba(255, 215, 106, 0.72);
  border-radius: 50%;
  color: #2b1208;
  background: linear-gradient(135deg, #fff7df, #ffd76a 72%, #d9932f);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 16px rgba(255, 215, 106, 0.18);
}

body.page-vastu #ai-vastu-scan .scan-step-icon {
  display: none;
}

body.page-vastu #ai-vastu-scan .scan-flow article h3 {
  margin: 0 0 7px;
  color: #fff7df;
  font-size: 1.02rem;
  line-height: 1.25;
}

body.page-vastu #ai-vastu-scan .scan-flow article p {
  margin: 0;
  color: #dcc79d;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  body.page-vastu #ai-vastu-scan .ai-vastu-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
    border-radius: 22px;
  }

  body.page-vastu #ai-vastu-scan .ai-vastu-copy {
    max-width: none;
  }
}

@media (max-width: 680px) {
  body.page-vastu #ai-vastu-scan .vastu-section-heading h2 {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  body.page-vastu #ai-vastu-scan .ai-vastu-panel {
    padding: 18px;
  }

  body.page-vastu #ai-vastu-scan .scan-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.page-vastu #ai-vastu-scan .scan-flow article {
    padding: 15px;
  }

  body.page-vastu #ai-vastu-scan .ai-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.page-vastu #ai-vastu-scan .ai-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Shared premium header/nav alignment for main pages */
body.page-rashifal .site-header,
body.page-panchang .site-header,
body.page-upay .site-header,
body.page-vastu .site-header,
body.page-kundli .site-header,
body.page-about .site-header,
body.page-contact .site-header,
body.page-privacy .site-header,
body.page-error .site-header {
  text-align: left;
  border-bottom: 1px solid rgba(239, 200, 107, 0.3);
  background:
    radial-gradient(circle at 50% -38%, rgba(239, 200, 107, 0.18), transparent 46%),
    linear-gradient(135deg, rgba(42, 8, 10, 0.88), rgba(80, 18, 16, 0.74));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.3);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

body.page-rashifal .header-inner,
body.page-panchang .header-inner,
body.page-upay .header-inner,
body.page-vastu .header-inner,
body.page-kundli .header-inner,
body.page-about .header-inner,
body.page-contact .header-inner,
body.page-privacy .header-inner,
body.page-error .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 0;
}

body.page-rashifal .main-nav,
body.page-panchang .main-nav,
body.page-upay .main-nav,
body.page-vastu .main-nav,
body.page-kundli .main-nav,
body.page-about .main-nav,
body.page-contact .main-nav,
body.page-privacy .main-nav,
body.page-error .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-rashifal .main-nav a,
body.page-panchang .main-nav a,
body.page-upay .main-nav a,
body.page-vastu .main-nav a,
body.page-kundli .main-nav a,
body.page-about .main-nav a,
body.page-contact .main-nav a,
body.page-privacy .main-nav a,
body.page-error .main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.88);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

body.page-rashifal .main-nav a:hover,
body.page-rashifal .main-nav a.active,
body.page-panchang .main-nav a:hover,
body.page-panchang .main-nav a.active,
body.page-upay .main-nav a:hover,
body.page-upay .main-nav a.active,
body.page-vastu .main-nav a:hover,
body.page-vastu .main-nav a.active,
body.page-kundli .main-nav a:hover,
body.page-kundli .main-nav a.active,
body.page-about .main-nav a:hover,
body.page-about .main-nav a.active,
body.page-contact .main-nav a:hover,
body.page-contact .main-nav a.active,
body.page-privacy .main-nav a:hover,
body.page-privacy .main-nav a.active,
body.page-error .main-nav a:hover,
body.page-error .main-nav a.active {
  color: #5f1411;
  border-color: rgba(239, 200, 107, 0.78);
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.98), rgba(239, 200, 107, 0.86));
  box-shadow: 0 8px 22px rgba(10, 3, 3, 0.18), 0 0 18px rgba(239, 200, 107, 0.18);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  body.page-rashifal .header-inner,
  body.page-panchang .header-inner,
  body.page-upay .header-inner,
  body.page-vastu .header-inner,
  body.page-kundli .header-inner,
  body.page-about .header-inner,
  body.page-contact .header-inner,
  body.page-privacy .header-inner,
  body.page-error .header-inner {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 24px, 1180px);
    gap: 12px;
  }

  body.page-rashifal .main-nav,
  body.page-panchang .main-nav,
  body.page-upay .main-nav,
  body.page-vastu .main-nav,
  body.page-kundli .main-nav,
  body.page-about .main-nav,
  body.page-contact .main-nav,
  body.page-privacy .main-nav,
  body.page-error .main-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.page-rashifal .main-nav a,
  body.page-panchang .main-nav a,
  body.page-upay .main-nav a,
  body.page-vastu .main-nav a,
  body.page-kundli .main-nav a,
  body.page-about .main-nav a,
  body.page-contact .main-nav a,
  body.page-privacy .main-nav a,
  body.page-error .main-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 680px) {
  body.page-rashifal .main-nav a,
  body.page-panchang .main-nav a,
  body.page-upay .main-nav a,
  body.page-vastu .main-nav a,
  body.page-kundli .main-nav a,
  body.page-about .main-nav a,
  body.page-contact .main-nav a,
  body.page-privacy .main-nav a,
  body.page-error .main-nav a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.84rem;
  }
}

/* Final mobile nav lock: override older horizontal-scroll header rules */
@media (max-width: 768px) {
  body.page-rashifal .site-header .header-inner,
  body.page-panchang .site-header .header-inner,
  body.page-upay .site-header .header-inner,
  body.page-vastu .site-header .header-inner,
  body.page-kundli .site-header .header-inner,
  body.page-about .site-header .header-inner,
  body.page-contact .site-header .header-inner,
  body.page-privacy .site-header .header-inner,
  body.page-error .site-header .header-inner {
    position: relative;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: min(100% - 24px, 1180px);
    gap: 10px;
    padding: 10px 0;
  }

  body.page-rashifal .site-header .brand,
  body.page-panchang .site-header .brand,
  body.page-upay .site-header .brand,
  body.page-vastu .site-header .brand,
  body.page-kundli .site-header .brand,
  body.page-about .site-header .brand,
  body.page-contact .site-header .brand,
  body.page-privacy .site-header .brand,
  body.page-error .site-header .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.page-rashifal .site-header .brand-name,
  body.page-rashifal .site-header .brand-subtitle,
  body.page-panchang .site-header .brand-name,
  body.page-panchang .site-header .brand-subtitle,
  body.page-upay .site-header .brand-name,
  body.page-upay .site-header .brand-subtitle,
  body.page-vastu .site-header .brand-name,
  body.page-vastu .site-header .brand-subtitle,
  body.page-kundli .site-header .brand-name,
  body.page-kundli .site-header .brand-subtitle,
  body.page-about .site-header .brand-name,
  body.page-about .site-header .brand-subtitle,
  body.page-contact .site-header .brand-name,
  body.page-contact .site-header .brand-subtitle,
  body.page-privacy .site-header .brand-name,
  body.page-privacy .site-header .brand-subtitle,
  body.page-error .site-header .brand-name,
  body.page-error .site-header .brand-subtitle {
    max-width: calc(100vw - 116px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.page-rashifal .site-header .mobile-nav-toggle,
  body.page-panchang .site-header .mobile-nav-toggle,
  body.page-upay .site-header .mobile-nav-toggle,
  body.page-vastu .site-header .mobile-nav-toggle,
  body.page-kundli .site-header .mobile-nav-toggle,
  body.page-about .site-header .mobile-nav-toggle,
  body.page-contact .site-header .mobile-nav-toggle,
  body.page-privacy .site-header .mobile-nav-toggle,
  body.page-error .site-header .mobile-nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  body.page-rashifal .site-header .main-nav,
  body.page-panchang .site-header .main-nav,
  body.page-upay .site-header .main-nav,
  body.page-vastu .site-header .main-nav,
  body.page-kundli .site-header .main-nav,
  body.page-about .site-header .main-nav,
  body.page-contact .site-header .main-nav,
  body.page-privacy .site-header .main-nav,
  body.page-error .site-header .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
    width: 100%;
    max-height: 0;
    gap: 8px;
    margin: 0;
    padding: 0 12px;
    overflow: hidden;
    flex-wrap: initial;
    border: 1px solid rgba(239, 200, 107, 0);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(42, 8, 10, 0.96), rgba(86, 18, 16, 0.94));
    box-shadow: 0 22px 48px rgba(10, 3, 3, 0.38), inset 0 1px 0 rgba(255, 248, 236, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
  }

  body.page-rashifal .site-header.mobile-nav-open .main-nav,
  body.page-panchang .site-header.mobile-nav-open .main-nav,
  body.page-upay .site-header.mobile-nav-open .main-nav,
  body.page-vastu .site-header.mobile-nav-open .main-nav,
  body.page-kundli .site-header.mobile-nav-open .main-nav,
  body.page-about .site-header.mobile-nav-open .main-nav,
  body.page-contact .site-header.mobile-nav-open .main-nav,
  body.page-privacy .site-header.mobile-nav-open .main-nav,
  body.page-error .site-header.mobile-nav-open .main-nav {
    max-height: 420px;
    padding: 12px;
    border-color: rgba(239, 200, 107, 0.42);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body.page-rashifal .site-header .main-nav a,
  body.page-panchang .site-header .main-nav a,
  body.page-upay .site-header .main-nav a,
  body.page-vastu .site-header .main-nav a,
  body.page-kundli .site-header .main-nav a,
  body.page-about .site-header .main-nav a,
  body.page-contact .site-header .main-nav a,
  body.page-privacy .site-header .main-nav a,
  body.page-error .site-header .main-nav a {
    flex: initial;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.92rem;
    white-space: nowrap;
  }
}

body.page-about .brand,
body.page-contact .brand,
body.page-privacy .brand,
body.page-error .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: #fff8ec;
  text-decoration: none;
}

body.page-about .brand::before,
body.page-contact .brand::before,
body.page-privacy .brand::before,
body.page-error .brand::before {
  display: none;
}

body.page-about .brand-mark,
body.page-contact .brand-mark,
body.page-privacy .brand-mark,
body.page-error .brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 200, 107, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, #fff8ec 0 22%, #f4c967 56%, #8b1e1e 100%);
  box-shadow: 0 0 24px rgba(239, 200, 107, 0.22), inset 0 1px 0 rgba(255, 248, 236, 0.42);
}

body.page-about .brand-mark img,
body.page-contact .brand-mark img,
body.page-privacy .brand-mark img,
body.page-error .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-about .brand-name,
body.page-contact .brand-name,
body.page-privacy .brand-name,
body.page-error .brand-name {
  display: block;
  color: #f4c967;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 0 22px rgba(244, 201, 103, 0.22);
}

body.page-about .brand-subtitle,
body.page-contact .brand-subtitle,
body.page-privacy .brand-subtitle,
body.page-error .brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 236, 0.84);
  font-size: 0.78rem;
  line-height: 1.35;
}

body.page-about,
body.page-contact,
body.page-privacy,
body.page-error {
  background:
    radial-gradient(circle at 50% -8%, rgba(244, 201, 103, 0.26), transparent 34%),
    linear-gradient(145deg, #24080a 0%, #4f0d10 42%, #2b160d 74%, #160807 100%);
  color: #fff8ec;
}

body.page-about .page-hero,
body.page-contact .page-hero,
body.page-privacy .page-hero,
body.page-error .page-hero {
  width: min(960px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.7), rgba(43, 22, 13, 0.56));
  box-shadow: 0 24px 58px rgba(10, 3, 3, 0.28), inset 0 1px 0 rgba(255, 248, 236, 0.12);
  backdrop-filter: blur(18px) saturate(128%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
}

body.page-about .page-hero h1,
body.page-contact .page-hero h1,
body.page-privacy .page-hero h1,
body.page-error .page-hero h1 {
  margin: 0 0 12px;
  color: #fff8ec;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.08;
  text-shadow: 0 2px 24px rgba(244, 201, 103, 0.2);
}

body.page-about .page-hero p,
body.page-contact .page-hero p,
body.page-privacy .page-hero p,
body.page-error .page-hero p,
body.page-about .content-panel p,
body.page-contact .content-panel p,
body.page-privacy .content-panel p,
body.page-error .content-panel p,
body.page-privacy .content-panel li {
  color: rgba(255, 248, 236, 0.82);
  letter-spacing: normal;
  word-spacing: normal;
  line-height: 1.68;
}

body.page-about .section,
body.page-contact .section,
body.page-privacy .section,
body.page-error .section {
  max-width: 1080px;
  padding-top: 34px;
  padding-bottom: 54px;
}

body.page-about .content-panel,
body.page-contact .content-panel,
body.page-privacy .content-panel,
body.page-error .content-panel,
body.page-contact .contact {
  border-color: rgba(244, 201, 103, 0.34);
  background:
    radial-gradient(circle at 18% 10%, rgba(244, 201, 103, 0.09), transparent 32%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.66), rgba(43, 22, 13, 0.54));
  box-shadow: 0 24px 58px rgba(10, 3, 3, 0.28), inset 0 1px 0 rgba(255, 248, 236, 0.13);
}

body.page-about .content-panel h2,
body.page-about .content-panel h3,
body.page-contact .content-panel h2,
body.page-contact .content-panel h3,
body.page-privacy .content-panel h2,
body.page-privacy .content-panel h3,
body.page-error .content-panel h2,
body.page-error .content-panel h3,
body.page-contact .contact h2 {
  color: #fff8ec;
}

body.page-contact .contact {
  width: min(960px, calc(100% - 32px));
  margin: 34px auto 54px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 22px;
}

body.page-contact .social-btn {
  border: 1px solid rgba(244, 201, 103, 0.56);
}

body.page-contact .social-btn.facebook {
  color: #2b160d;
}

body.page-contact .contact a:not(.social-btn) {
  color: #f4c967;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.page-about footer,
body.page-contact footer,
body.page-privacy footer,
body.page-error footer {
  background:
    radial-gradient(circle at 50% -12%, rgba(244, 201, 103, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(80, 18, 16, 0.92), rgba(43, 22, 13, 0.98) 42%, #160807);
}

/* Premium About page */
body.page-about {
  background:
    radial-gradient(circle at 50% -10%, rgba(244, 201, 103, 0.32), transparent 30rem),
    radial-gradient(circle at 14% 20%, rgba(122, 27, 27, 0.62), transparent 28rem),
    radial-gradient(circle at 86% 32%, rgba(217, 147, 47, 0.18), transparent 24rem),
    linear-gradient(145deg, #24080a 0%, #4f0d10 42%, #2b160d 74%, #160807 100%);
}

body.page-about::before {
  background:
    linear-gradient(180deg, rgba(36, 8, 10, 0.54), rgba(43, 18, 10, 0.82)),
    url("../images/heroes/home-hero.png") center top / cover no-repeat;
  opacity: 0.34;
}

body.page-about::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.24), transparent 34rem),
    repeating-radial-gradient(circle at 50% 4%, rgba(244, 201, 103, 0.06) 0 1px, transparent 1px 28px),
    repeating-conic-gradient(from 10deg at 50% 3%, rgba(244, 201, 103, 0.04) 0deg 7deg, transparent 7deg 17deg),
    linear-gradient(180deg, rgba(36, 8, 10, 0.18), rgba(22, 8, 7, 0.72));
}

body.page-about .about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto 18px;
  padding: clamp(30px, 5vw, 58px);
  text-align: left;
}

body.page-about .about-hero h1 {
  max-width: 720px;
  color: #fff8ec;
  font-size: clamp(2.25rem, 5.4vw, 4.6rem);
}

body.page-about .about-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 248, 236, 0.84);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

body.page-about .about-hero-symbol {
  --about-symbol-center-y: 42%;
  --about-symbol-ring-size: min(232px, 52vw);
  --about-symbol-core-size: 118px;
  --about-symbol-core-half: 59px;
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
}

body.page-about .about-symbol-ring {
  position: absolute;
  top: var(--about-symbol-center-y);
  left: 50%;
  z-index: 1;
  width: var(--about-symbol-ring-size);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 201, 103, 0.52);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.16) 0deg 7deg, transparent 7deg 17deg),
    radial-gradient(circle, rgba(244, 201, 103, 0.2), transparent 68%);
  box-shadow: 0 0 54px rgba(244, 201, 103, 0.2), inset 0 0 34px rgba(255, 248, 236, 0.08);
  transform: translate(-50%, -50%);
  animation: heroAuraRotate 58s linear infinite;
}

body.page-about .about-symbol-core {
  position: absolute;
  top: var(--about-symbol-center-y);
  left: 50%;
  z-index: 2;
  display: grid;
  width: var(--about-symbol-core-size);
  height: var(--about-symbol-core-size);
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.72);
  border-radius: 50%;
  color: #5f1411;
  font-size: 3.8rem;
  background: radial-gradient(circle, #fff8ec, #f4c967 72%, #b97021);
  box-shadow: 0 0 38px rgba(244, 201, 103, 0.34);
  transform: translate(-50%, -50%);
}

body.page-about .about-symbol-diya {
  position: absolute;
  top: calc(var(--about-symbol-center-y) + var(--about-symbol-core-half) + 38px);
  left: 50%;
  z-index: 2;
  width: 86px;
  height: 24px;
  border-radius: 0 0 60px 60px;
  background: linear-gradient(135deg, #7a1b1b, #d9932f);
  box-shadow: 0 -18px 38px rgba(244, 201, 103, 0.34);
  transform: translateX(-50%);
}

body.page-about .about-symbol-diya::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 18px;
  height: 42px;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, #fff8ec, #f4c967 62%, rgba(217, 147, 47, 0.2));
  transform: translateX(-50%);
  filter: drop-shadow(0 0 18px rgba(244, 201, 103, 0.75));
}

body.page-about .about-section {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px) 0;
}

body.page-about .about-section-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

body.page-about .about-section-heading h2,
body.page-about .about-trust-card h2,
body.page-about .about-cta-card h2 {
  margin: 10px 0 0;
  color: #fff8ec;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  text-shadow: 0 2px 22px rgba(244, 201, 103, 0.16);
}

body.page-about .section-kicker,
body.page-about .hero-badge {
  color: #fff1d6;
  border-color: rgba(244, 201, 103, 0.46);
  background: linear-gradient(135deg, rgba(244, 201, 103, 0.2), rgba(122, 27, 27, 0.32));
  box-shadow: 0 0 22px rgba(244, 201, 103, 0.12);
}

body.page-about .about-purpose-card,
body.page-about .about-trust-card,
body.page-about .about-cta-card,
body.page-about .about-disclaimer p {
  border-color: rgba(244, 201, 103, 0.4);
  background:
    radial-gradient(circle at 18% 10%, rgba(244, 201, 103, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.72), rgba(43, 22, 13, 0.6));
  box-shadow: 0 26px 64px rgba(10, 3, 3, 0.3), inset 0 1px 0 rgba(255, 248, 236, 0.13);
}

body.page-about .about-purpose-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
}

body.page-about .about-card-grid,
body.page-about .about-claim-grid {
  display: grid;
  gap: 16px;
}

body.page-about .about-services-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.page-about .about-pillars-grid,
body.page-about .about-claim-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-about .about-card,
body.page-about .about-claim-card,
body.page-about .about-process-card {
  border-color: rgba(244, 201, 103, 0.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 201, 103, 0.1), transparent 42%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.66), rgba(22, 8, 7, 0.48));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.24), inset 0 1px 0 rgba(255, 248, 236, 0.1);
}

body.page-about .about-card {
  padding: 20px;
}

body.page-about .about-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.6);
  border-radius: 50%;
  color: #3f0c0f;
  font-weight: 800;
  background: radial-gradient(circle, #fff8ec, #f4c967 72%, #b97021);
  box-shadow: 0 0 22px rgba(244, 201, 103, 0.22);
}

body.page-about .about-card h3,
body.page-about .about-process-card h3 {
  margin: 0 0 10px;
  color: #fff8ec;
}

body.page-about .about-card p,
body.page-about .about-process-card p,
body.page-about .about-purpose-card p,
body.page-about .about-trust-card p,
body.page-about .about-cta-card p,
body.page-about .about-disclaimer p {
  color: rgba(255, 248, 236, 0.82);
  line-height: 1.7;
  letter-spacing: normal;
  word-spacing: normal;
}

body.page-about .about-process-list {
  display: grid;
  gap: 14px;
  max-width: 930px;
  margin: 0 auto;
}

body.page-about .about-process-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
}

body.page-about .about-process-card strong {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.5);
  border-radius: 16px;
  color: #f4c967;
  background: rgba(255, 248, 236, 0.08);
}

body.page-about .about-trust-card,
body.page-about .about-cta-card {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
}

body.page-about .about-claim-card {
  position: relative;
  padding: 18px 18px 18px 48px;
  color: rgba(255, 248, 236, 0.86);
  line-height: 1.62;
}

body.page-about .about-claim-card::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 20px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(244, 201, 103, 0.7);
  border-radius: 50%;
  background: #f4c967;
  box-shadow: 0 0 16px rgba(244, 201, 103, 0.36);
}

body.page-about .about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

body.page-about .about-cta-actions .btn {
  min-width: 166px;
  text-align: center;
}

body.page-about .about-disclaimer {
  padding-top: 10px;
}

body.page-about .about-disclaimer p {
  max-width: 940px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 18px;
  text-align: center;
}

@media (max-width: 1080px) {
  body.page-about .about-services-grid,
  body.page-about .about-pillars-grid,
  body.page-about .about-claim-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-about .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.page-about .about-hero p {
    margin: 0 auto;
  }

  body.page-about .about-hero-symbol {
    --about-symbol-center-y: 41%;
    --about-symbol-ring-size: min(210px, 66vw);
    --about-symbol-core-size: 108px;
    --about-symbol-core-half: 54px;
    min-height: 250px;
  }

  body.page-about .about-services-grid,
  body.page-about .about-pillars-grid,
  body.page-about .about-claim-grid {
    grid-template-columns: 1fr;
  }

  body.page-about .about-process-card {
    grid-template-columns: 1fr;
  }

  body.page-about .about-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.page-about .about-cta-actions .btn {
    width: 100%;
  }
}

/* Global master header/nav: mirrors the Home page header geometry and active state */
body.page-rashifal .site-header,
body.page-panchang .site-header,
body.page-upay .site-header,
body.page-vastu .site-header,
body.page-kundli .site-header,
body.page-about .site-header,
body.page-contact .site-header,
body.page-privacy .site-header,
body.page-error .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  text-align: left;
  border-bottom: 1px solid rgba(239, 200, 107, 0.28);
  background: linear-gradient(135deg, rgba(42, 8, 10, 0.82), rgba(80, 18, 16, 0.68));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.26);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

body.page-rashifal .header-inner,
body.page-panchang .header-inner,
body.page-upay .header-inner,
body.page-vastu .header-inner,
body.page-kundli .header-inner,
body.page-about .header-inner,
body.page-contact .header-inner,
body.page-privacy .header-inner,
body.page-error .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 0;
}

body.page-rashifal .brand,
body.page-panchang .brand,
body.page-upay .brand,
body.page-vastu .brand,
body.page-kundli .brand,
body.page-about .brand,
body.page-contact .brand,
body.page-privacy .brand,
body.page-error .brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  gap: 12px;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

body.page-rashifal .brand::before,
body.page-panchang .brand::before,
body.page-upay .brand::before,
body.page-vastu .brand::before,
body.page-kundli .brand::before,
body.page-about .brand::before,
body.page-contact .brand::before,
body.page-privacy .brand::before,
body.page-error .brand::before {
  content: none;
  display: none;
}

body.page-rashifal .brand-mark,
body.page-panchang .brand-mark,
body.page-upay .brand-mark,
body.page-vastu .brand-mark,
body.page-kundli .brand-mark,
body.page-about .brand-mark,
body.page-contact .brand-mark,
body.page-privacy .brand-mark,
body.page-error .brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 200, 107, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 236, 0.9), rgba(239, 200, 107, 0.2) 68%, transparent 70%);
  box-shadow: 0 0 24px rgba(239, 200, 107, 0.26);
}

body.page-rashifal .brand-mark img,
body.page-panchang .brand-mark img,
body.page-upay .brand-mark img,
body.page-vastu .brand-mark img,
body.page-kundli .brand-mark img,
body.page-about .brand-mark img,
body.page-contact .brand-mark img,
body.page-privacy .brand-mark img,
body.page-error .brand-mark img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

body.page-rashifal .brand-name,
body.page-panchang .brand-name,
body.page-upay .brand-name,
body.page-vastu .brand-name,
body.page-kundli .brand-name,
body.page-about .brand-name,
body.page-contact .brand-name,
body.page-privacy .brand-name,
body.page-error .brand-name {
  display: block;
  color: #efc86b;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-shadow: 0 0 22px rgba(239, 200, 107, 0.22);
}

body.page-rashifal .brand-subtitle,
body.page-panchang .brand-subtitle,
body.page-upay .brand-subtitle,
body.page-vastu .brand-subtitle,
body.page-kundli .brand-subtitle,
body.page-about .brand-subtitle,
body.page-contact .brand-subtitle,
body.page-privacy .brand-subtitle,
body.page-error .brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 236, 0.82);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.page-rashifal .main-nav,
body.page-panchang .main-nav,
body.page-upay .main-nav,
body.page-vastu .main-nav,
body.page-kundli .main-nav,
body.page-about .main-nav,
body.page-contact .main-nav,
body.page-privacy .main-nav,
body.page-error .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-rashifal .main-nav a,
body.page-panchang .main-nav a,
body.page-upay .main-nav a,
body.page-vastu .main-nav a,
body.page-kundli .main-nav a,
body.page-about .main-nav a,
body.page-contact .main-nav a,
body.page-privacy .main-nav a,
body.page-error .main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.86);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

body.page-rashifal .main-nav a:hover,
body.page-rashifal .main-nav a.active,
body.page-panchang .main-nav a:hover,
body.page-panchang .main-nav a.active,
body.page-upay .main-nav a:hover,
body.page-upay .main-nav a.active,
body.page-vastu .main-nav a:hover,
body.page-vastu .main-nav a.active,
body.page-kundli .main-nav a:hover,
body.page-kundli .main-nav a.active,
body.page-about .main-nav a:hover,
body.page-about .main-nav a.active,
body.page-contact .main-nav a:hover,
body.page-contact .main-nav a.active,
body.page-privacy .main-nav a:hover,
body.page-privacy .main-nav a.active,
body.page-error .main-nav a:hover,
body.page-error .main-nav a.active {
  border-color: rgba(239, 200, 107, 0.46);
  background: rgba(255, 248, 236, 0.08);
  color: #efc86b;
  box-shadow: 0 0 18px rgba(239, 200, 107, 0.14);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  body.page-rashifal .header-inner,
  body.page-panchang .header-inner,
  body.page-upay .header-inner,
  body.page-vastu .header-inner,
  body.page-kundli .header-inner,
  body.page-about .header-inner,
  body.page-contact .header-inner,
  body.page-privacy .header-inner,
  body.page-error .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-rashifal .main-nav,
  body.page-panchang .main-nav,
  body.page-upay .main-nav,
  body.page-vastu .main-nav,
  body.page-kundli .main-nav,
  body.page-about .main-nav,
  body.page-contact .main-nav,
  body.page-privacy .main-nav,
  body.page-error .main-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.page-rashifal .main-nav a,
  body.page-panchang .main-nav a,
  body.page-upay .main-nav a,
  body.page-vastu .main-nav a,
  body.page-kundli .main-nav a,
  body.page-about .main-nav a,
  body.page-contact .main-nav a,
  body.page-privacy .main-nav a,
  body.page-error .main-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  body.page-rashifal .header-inner,
  body.page-panchang .header-inner,
  body.page-upay .header-inner,
  body.page-vastu .header-inner,
  body.page-kundli .header-inner,
  body.page-about .header-inner,
  body.page-contact .header-inner,
  body.page-privacy .header-inner,
  body.page-error .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 12px;
    padding: 11px 0;
  }

  body.page-rashifal .brand,
  body.page-panchang .brand,
  body.page-upay .brand,
  body.page-vastu .brand,
  body.page-kundli .brand,
  body.page-about .brand,
  body.page-contact .brand,
  body.page-privacy .brand,
  body.page-error .brand {
    min-width: 0;
  }

  body.page-rashifal .brand-mark,
  body.page-panchang .brand-mark,
  body.page-upay .brand-mark,
  body.page-vastu .brand-mark,
  body.page-kundli .brand-mark,
  body.page-about .brand-mark,
  body.page-contact .brand-mark,
  body.page-privacy .brand-mark,
  body.page-error .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.page-rashifal .brand-mark img,
  body.page-panchang .brand-mark img,
  body.page-upay .brand-mark img,
  body.page-vastu .brand-mark img,
  body.page-kundli .brand-mark img,
  body.page-about .brand-mark img,
  body.page-contact .brand-mark img,
  body.page-privacy .brand-mark img,
  body.page-error .brand-mark img {
    width: 40px;
    height: 40px;
  }

  body.page-rashifal .brand-subtitle,
  body.page-panchang .brand-subtitle,
  body.page-upay .brand-subtitle,
  body.page-vastu .brand-subtitle,
  body.page-kundli .brand-subtitle,
  body.page-about .brand-subtitle,
  body.page-contact .brand-subtitle,
  body.page-privacy .brand-subtitle,
  body.page-error .brand-subtitle {
    max-width: min(100%, 260px);
    font-size: 0.72rem;
  }

  body.page-rashifal .main-nav,
  body.page-panchang .main-nav,
  body.page-upay .main-nav,
  body.page-vastu .main-nav,
  body.page-kundli .main-nav,
  body.page-about .main-nav,
  body.page-contact .main-nav,
  body.page-privacy .main-nav,
  body.page-error .main-nav {
    gap: 5px;
  }

  body.page-rashifal .main-nav a,
  body.page-panchang .main-nav a,
  body.page-upay .main-nav a,
  body.page-vastu .main-nav a,
  body.page-kundli .main-nav a,
  body.page-about .main-nav a,
  body.page-contact .main-nav a,
  body.page-privacy .main-nav a,
  body.page-error .main-nav a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.84rem;
  }
}

/* Mobile launch UX fixes */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  gap: 5px;
  border: 1px solid rgba(239, 200, 107, 0.54);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.12), rgba(122, 27, 27, 0.34));
  box-shadow: 0 12px 28px rgba(10, 3, 3, 0.22), inset 0 1px 0 rgba(255, 248, 236, 0.16);
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: #f4c967;
  box-shadow: 0 0 10px rgba(244, 201, 103, 0.3);
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
  }

  .site-header {
    overflow: visible;
  }

  .site-header .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: min(100% - 24px, 1180px);
    gap: 10px;
    padding: 10px 0;
  }

  .site-header .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-header .brand-name,
  .site-header .brand-subtitle {
    max-width: calc(100vw - 116px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-header .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-height: 0;
    gap: 8px;
    margin: 0;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid rgba(239, 200, 107, 0);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(42, 8, 10, 0.96), rgba(86, 18, 16, 0.94));
    box-shadow: 0 22px 48px rgba(10, 3, 3, 0.38), inset 0 1px 0 rgba(255, 248, 236, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height 240ms ease, opacity 180ms ease, padding 180ms ease, transform 180ms ease, border-color 180ms ease, visibility 180ms ease;
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
  }

  .site-header.mobile-nav-open .main-nav {
    max-height: 520px;
    padding: 12px;
    border-color: rgba(239, 200, 107, 0.42);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(239, 200, 107, 0.2);
    border-radius: 999px;
    background: rgba(255, 248, 236, 0.06);
    color: rgba(255, 248, 236, 0.9);
    font-size: 0.92rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .site-header .main-nav a:hover,
  .site-header .main-nav a.active {
    border-color: rgba(239, 200, 107, 0.58);
    background: rgba(244, 201, 103, 0.14);
    color: #f4c967;
    box-shadow: 0 0 18px rgba(244, 201, 103, 0.16);
  }

  .site-header .main-nav .language-switcher {
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid rgba(239, 200, 107, 0.2);
    border-radius: 14px;
    background: rgba(255, 248, 236, 0.06);
  }

  .site-header .main-nav .language-switcher select {
    width: 150px;
    max-width: 52%;
    min-height: 36px;
  }

  .section,
  .page-hero,
  .hero,
  .content-panel,
  .glass-panel,
  .glass-card,
  .premium-card,
  .kundli-glass-section,
  .card {
    max-width: 100%;
  }

  .btn,
  button,
  input,
  select,
  textarea {
    font-size: max(16px, 1rem);
  }

  body.page-kundli .kundli-create-section {
    padding-top: 24px;
  }

  body.page-kundli .kundli-create-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 18px;
  }

  body.page-kundli .kundli-panel {
    padding: 18px;
    border-color: rgba(212, 175, 55, 0.48);
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(255, 241, 214, 0.88));
    color: #3b2a20;
  }

  body.page-kundli .kundli-panel::after {
    inset: 8px;
    border-color: rgba(212, 175, 55, 0.2);
  }

  body.page-kundli .kundli-panel-heading {
    margin-bottom: 16px;
  }

  body.page-kundli .kundli-panel-heading h2,
  body.page-kundli .kundli-panel .section-kicker {
    color: #4b1f16;
    text-shadow: none;
  }

  body.page-kundli .kundli-panel-heading p,
  body.page-kundli .kundli-panel p {
    color: #3b2a20;
  }

  body.page-kundli .kundli-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  body.page-kundli .form-field {
    gap: 7px;
  }

  body.page-kundli .form-field label {
    color: #7a4218;
    font-size: 0.95rem;
  }

  body.page-kundli .field-helper {
    color: #6e5845;
    font-size: 0.86rem;
  }

  body.page-kundli .form-field input,
  body.page-kundli .form-field select {
    min-height: 54px;
    padding: 13px 14px;
    border-color: rgba(138, 90, 31, 0.34);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    color: #2f2118;
    font-size: 16px;
  }

  body.page-kundli .form-field input::placeholder {
    color: #7a7068;
    opacity: 1;
  }

  body.page-kundli .kundli-submit {
    min-height: 52px;
    margin-top: 2px;
  }

  body.page-kundli .kundli-benefit-card {
    min-height: auto;
    padding: 20px;
    border-color: rgba(244, 201, 103, 0.48);
    background:
      radial-gradient(circle at 18% 0%, rgba(244, 201, 103, 0.16), transparent 38%),
      linear-gradient(145deg, rgba(56, 12, 12, 0.9), rgba(42, 8, 10, 0.86));
    color: #fff8ec;
  }

  body.page-kundli .kundli-benefit-card h2,
  body.page-kundli .kundli-benefit-card .section-kicker {
    color: #fff8ec;
    text-shadow: 0 2px 16px rgba(10, 3, 3, 0.32);
  }

  body.page-kundli .kundli-benefit-list {
    gap: 10px;
    margin-top: 14px;
  }

  body.page-kundli .kundli-benefit-card .kundli-benefit-list li {
    color: rgba(255, 244, 214, 0.92);
    font-size: 15px;
    line-height: 1.55;
  }

  footer {
    padding: 24px 14px;
    font-size: 13px;
  }

  .footer-links {
    gap: 8px;
    margin-bottom: 12px;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid rgba(244, 201, 103, 0.22);
    border-radius: 999px;
    background: rgba(255, 248, 236, 0.05);
  }

  footer p {
    margin: 6px auto;
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

/* My AI Pandit dashboard readability overrides */
body.page-ai-pandit .ai-pandit-dashboard-section {
  width: min(1180px, calc(100% - 32px));
  padding: clamp(36px, 5vw, 56px) 0;
}

body.page-ai-pandit .ai-pandit-heading {
  margin-bottom: 22px;
}

body.page-ai-pandit .ai-pandit-heading h2 {
  color: #fff7df;
  font-size: clamp(2.05rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: 0;
}

body.page-ai-pandit .ai-pandit-heading p {
  color: #eadfc8;
  font-size: 1.04rem;
  line-height: 1.55;
}

body.page-ai-pandit .ai-dashboard-content {
  gap: 18px;
}

body.page-ai-pandit .ai-dashboard-summary,
body.page-ai-pandit .ai-credit-card,
body.page-ai-pandit .ai-dashboard-panel,
body.page-ai-pandit .ai-payment-help,
body.page-ai-pandit .ai-history-section,
body.page-ai-pandit .ai-dashboard-login-card {
  color: #f3e6cf;
}

body.page-ai-pandit .ai-dashboard-summary,
body.page-ai-pandit .ai-dashboard-panel,
body.page-ai-pandit .ai-payment-help,
body.page-ai-pandit .ai-history-section {
  padding: 22px 24px;
}

body.page-ai-pandit .ai-credit-card {
  min-height: 0;
  padding: 22px 24px;
  gap: 8px;
}

body.page-ai-pandit .ai-credit-card > strong {
  color: #ffd76a;
  font-size: clamp(2.05rem, 3vw, 2.65rem);
  line-height: 1;
}

body.page-ai-pandit .ai-credit-card p,
body.page-ai-pandit .ai-credit-note,
body.page-ai-pandit .ai-dashboard-summary p,
body.page-ai-pandit .ai-dashboard-panel p,
body.page-ai-pandit .ai-payment-help p,
body.page-ai-pandit .ai-history-section p,
body.page-ai-pandit .ai-empty-state,
body.page-ai-pandit [data-dashboard-payment],
body.page-ai-pandit [data-dashboard-plan],
body.page-ai-pandit [data-dashboard-history] {
  color: #eadfc8;
  font-size: 1rem;
  line-height: 1.55;
}

body.page-ai-pandit .ai-card-label,
body.page-ai-pandit .section-kicker,
body.page-ai-pandit .ai-status-meta dt,
body.page-ai-pandit .ai-order-meta dt {
  color: #e0c47a;
  letter-spacing: 0;
}

body.page-ai-pandit .ai-panel-heading h3,
body.page-ai-pandit .ai-dashboard-panel h3,
body.page-ai-pandit .ai-payment-help h3,
body.page-ai-pandit .ai-history-section h3,
body.page-ai-pandit .ai-dashboard-login-card h3 {
  color: #fff7df;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0;
}

body.page-ai-pandit .ai-status-detail h4,
body.page-ai-pandit .ai-history-card h4,
body.page-ai-pandit .ai-order-main strong {
  color: #fff7df;
}

body.page-ai-pandit .ai-status-detail p {
  color: #f3e6cf;
}

body.page-ai-pandit .ai-status-meta dd,
body.page-ai-pandit .ai-order-meta dd,
body.page-ai-pandit .ai-dashboard-summary strong {
  color: #f3e6cf;
}

body.page-ai-pandit .ai-dashboard-summary strong,
body.page-ai-pandit .ai-payment-reference dd {
  color: #ffd76a;
}

body.page-ai-pandit .ai-credit-card .btn,
body.page-ai-pandit .ai-dashboard-actions .btn,
body.page-ai-pandit .ai-dashboard-login-card .btn {
  color: #fff7df;
}

body.page-ai-pandit .ai-credit-card .btn.secondary,
body.page-ai-pandit .ai-dashboard-actions .btn.secondary {
  border-color: rgba(255, 215, 106, 0.58);
  background: rgba(255, 215, 106, 0.1);
}

body.page-ai-pandit .ai-payment-help {
  max-width: 900px;
  padding: 20px 22px;
}

body.page-ai-pandit .ai-order-row {
  color: #f3e6cf;
  background: rgba(20, 5, 6, 0.24);
}

body.page-ai-pandit .ai-orders-more,
body.page-ai-pandit .ai-history-date {
  color: #d8c29a;
}

body.page-ai-pandit .ai-payment-reference dd {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  body.page-ai-pandit .ai-pandit-dashboard-section {
    width: min(100% - 24px, 1180px);
    padding: 28px 0 36px;
  }

  body.page-ai-pandit .ai-pandit-heading h2 {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  body.page-ai-pandit .ai-pandit-heading p {
    font-size: 0.98rem;
  }

  body.page-ai-pandit .ai-dashboard-summary,
  body.page-ai-pandit .ai-credit-card,
  body.page-ai-pandit .ai-dashboard-panel,
  body.page-ai-pandit .ai-payment-help,
  body.page-ai-pandit .ai-history-section,
  body.page-ai-pandit .ai-dashboard-login-card {
    padding: 18px;
  }

  body.page-ai-pandit .ai-credit-card > strong {
    font-size: 2.1rem;
  }

  body.page-ai-pandit .ai-credit-card p,
  body.page-ai-pandit .ai-dashboard-summary p,
  body.page-ai-pandit .ai-dashboard-panel p,
  body.page-ai-pandit .ai-payment-help p,
  body.page-ai-pandit .ai-history-section p {
    font-size: 0.96rem;
  }

  body.page-ai-pandit .ai-payment-reference dd {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
  }
}

/* My AI Pandit final scoped dashboard override */
.my-ai-pandit-page .ai-pandit-dashboard-section {
  width: min(1180px, calc(100% - 32px)) !important;
  padding: clamp(34px, 5vw, 54px) 0 !important;
}

.my-ai-pandit-page .ai-dashboard-content {
  display: grid !important;
  gap: 20px !important;
}

.my-ai-pandit-page .dashboard-card,
.my-ai-pandit-page .status-card,
.my-ai-pandit-page .plan-card {
  max-width: 1180px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 24px 28px !important;
  color: #eadfc8 !important;
}

.my-ai-pandit-page .dashboard-card.compact,
.my-ai-pandit-page .status-card.compact,
.my-ai-pandit-page .plan-card.compact {
  padding: 22px 26px !important;
}

.my-ai-pandit-page .ai-credit-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 14px 0 0 !important;
}

.my-ai-pandit-page .ai-credit-card,
.my-ai-pandit-page .credit-card {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 24px !important;
  border: 1px solid rgba(218, 175, 82, 0.38) !important;
  border-radius: 22px !important;
  color: #eadfc8 !important;
  background: rgba(70, 18, 12, 0.82) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18) !important;
}

.my-ai-pandit-page .dashboard-card,
.my-ai-pandit-page .ai-credit-card,
.my-ai-pandit-page .status-card,
.my-ai-pandit-page .plan-card {
  color: #eadfc8 !important;
}

.my-ai-pandit-page .dashboard-card *:not(button):not(a),
.my-ai-pandit-page .ai-credit-card *:not(button):not(a),
.my-ai-pandit-page .status-card *:not(button):not(a),
.my-ai-pandit-page .plan-card *:not(button):not(a) {
  color: inherit;
}

.my-ai-pandit-page .dashboard-card h1,
.my-ai-pandit-page .dashboard-card h2,
.my-ai-pandit-page .dashboard-card h3,
.my-ai-pandit-page .dashboard-card h4,
.my-ai-pandit-page .ai-credit-card h1,
.my-ai-pandit-page .ai-credit-card h2,
.my-ai-pandit-page .ai-credit-card h3,
.my-ai-pandit-page .status-card h1,
.my-ai-pandit-page .status-card h2,
.my-ai-pandit-page .status-card h3,
.my-ai-pandit-page .ai-panel-heading h3,
.my-ai-pandit-page .ai-status-detail h4,
.my-ai-pandit-page .ai-history-card h4,
.my-ai-pandit-page .ai-order-main strong,
.my-ai-pandit-page .credit-label {
  color: #fff7df !important;
}

.my-ai-pandit-page .credit-number,
.my-ai-pandit-page .amount,
.my-ai-pandit-page .highlight-value,
.my-ai-pandit-page .ai-payment-reference dd,
.my-ai-pandit-page [data-dashboard-intro-used] {
  color: #ffd76a !important;
}

.my-ai-pandit-page .credit-number {
  display: block !important;
  margin: 12px 0 8px !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.my-ai-pandit-page .credit-number-text {
  font-size: 30px !important;
  line-height: 1.15 !important;
}

.my-ai-pandit-page .credit-helper,
.my-ai-pandit-page .premium-report-message,
.my-ai-pandit-page .empty-state,
.my-ai-pandit-page .helper-text,
.my-ai-pandit-page .meta,
.my-ai-pandit-page .note,
.my-ai-pandit-page .status-message,
.my-ai-pandit-page .plan-meta {
  color: #dcc79d !important;
  opacity: 1 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.my-ai-pandit-page .section-kicker,
.my-ai-pandit-page .ai-status-meta dt,
.my-ai-pandit-page .ai-order-meta dt {
  color: #e0c47a !important;
}

.my-ai-pandit-page .ai-status-meta dd,
.my-ai-pandit-page .ai-order-meta dd,
.my-ai-pandit-page .ai-dashboard-summary strong {
  color: #f6ead2 !important;
}

.my-ai-pandit-page .ai-orders-list {
  display: grid !important;
  gap: 12px !important;
}

.my-ai-pandit-page .ai-order-row {
  min-height: 0 !important;
  padding: 14px !important;
  color: #eadfc8 !important;
  background: rgba(36, 9, 8, 0.42) !important;
}

.my-ai-pandit-page .ai-payment-help {
  max-width: 900px !important;
}

@media (max-width: 768px) {
  .my-ai-pandit-page .ai-pandit-dashboard-section {
    width: min(100% - 24px, 1180px) !important;
    padding: 26px 0 36px !important;
  }

  .my-ai-pandit-page .ai-credit-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 14px 0 0 !important;
  }

  .my-ai-pandit-page .dashboard-card,
  .my-ai-pandit-page .status-card,
  .my-ai-pandit-page .plan-card,
  .my-ai-pandit-page .ai-credit-card {
    padding: 18px !important;
  }

  .my-ai-pandit-page .credit-number {
    font-size: 36px !important;
  }

  .my-ai-pandit-page .credit-number-text {
    font-size: 26px !important;
  }
}

/* Final Vastu storytelling cascade lock */
body.page-vastu .vastu-product-card .notify-link {
  display: inline-flex;
  grid-column: 2 / -1;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 215, 106, 0.48);
  border-radius: 999px;
  color: #2b1208;
  background: linear-gradient(135deg, #fff1b8, #ffd76a 62%, #d9932f);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

body.page-vastu .vastu-zone-panel.is-updating {
  opacity: 0.68;
  transform: translateY(8px);
}

body.page-vastu .mandala-grid.vastu-mandala-map button.active {
  border-color: rgba(255, 215, 106, 0.92);
  box-shadow: 0 0 30px rgba(255, 215, 106, 0.24), 0 18px 34px rgba(10, 3, 3, 0.24), inset 0 1px 0 rgba(255, 248, 236, 0.18);
}

.vastu-notify-modal[hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  body.page-vastu .vastu-product-card .notify-link {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Final Vastu interactive hub overrides */
body.page-vastu .vastu-subnav {
  max-width: calc(100% - 32px);
}

body.page-vastu .mandala-grid.vastu-mandala-map button {
  display: grid;
}

body.page-vastu .mandala-grid.vastu-mandala-map button.active {
  border-color: rgba(255, 218, 142, 0.9);
  box-shadow: 0 0 30px rgba(244, 201, 103, 0.24), inset 0 1px 0 rgba(255, 248, 236, 0.16);
}

body.page-vastu .ai-vastu-panel .scan-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-vastu .ai-vastu-panel .scan-flow article {
  display: block;
}

body.page-vastu .vastu-product-grid[hidden] {
  display: none !important;
}

body.page-vastu .vastu-product-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

body.page-vastu .vastu-product-card p {
  grid-column: 2 / -1;
}

body.page-vastu .notify-link {
  grid-column: 2 / -1;
}

@media (max-width: 680px) {
  body.page-vastu .vastu-subnav {
    max-width: calc(100% - 18px);
  }

  body.page-vastu .ai-vastu-panel .scan-flow {
    grid-template-columns: 1fr;
  }

  body.page-vastu .vastu-product-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.page-vastu .vastu-product-card p,
  body.page-vastu .notify-link {
    grid-column: 1 / -1;
  }
}

/* Kundli compact AI Pandit status preview */
.kundli-ai-status,
.kundli-ai-status * {
  box-sizing: border-box;
}

.kundli-ai-status [hidden] {
  display: none !important;
}

body.page-kundli .kundli-ai-status {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) 0;
}

body.page-kundli .kundli-ai-heading {
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}

body.page-kundli .kundli-ai-heading h2 {
  margin: 10px 0 12px;
  color: #fff7df;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 2px 22px rgba(244, 201, 103, 0.16);
}

body.page-kundli .kundli-ai-heading p {
  margin: 0 auto;
  max-width: 700px;
  color: #f1e4c3;
  line-height: 1.6;
}

body.page-kundli .kundli-ai-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kundli-ai-status-card {
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 22px;
  color: #f1e4c3 !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 201, 103, 0.13), transparent 36%),
    linear-gradient(145deg, rgba(63, 12, 15, 0.88), rgba(40, 20, 9, 0.76));
  box-shadow:
    0 20px 48px rgba(8, 2, 2, 0.28),
    inset 0 1px 0 rgba(255, 248, 236, 0.12);
  backdrop-filter: blur(16px) saturate(126%);
  -webkit-backdrop-filter: blur(16px) saturate(126%);
}

body.page-kundli .kundli-ai-login {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

body.page-kundli .kundli-ai-login .btn {
  justify-self: center;
  margin-top: 4px;
}

body.page-kundli .kundli-ai-inline-status {
  width: fit-content;
  max-width: min(100%, 680px);
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(244, 201, 103, 0.28);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.08);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

body.page-kundli .kundli-ai-status-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.kundli-ai-status-card h1,
.kundli-ai-status-card h2,
.kundli-ai-status-card h3,
.kundli-ai-status-card .kundli-ai-title {
  color: #fff7df !important;
}

.kundli-ai-status-card p,
.kundli-ai-status-card span,
.kundli-ai-status-card div,
.kundli-ai-status-card small {
  color: #f1e4c3 !important;
}

body.page-kundli .kundli-ai-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.kundli-ai-muted,
.kundli-ai-empty {
  color: #dcc79d !important;
  opacity: 1 !important;
}

body.page-kundli .kundli-ai-muted,
body.page-kundli .kundli-ai-empty {
  margin: 0;
  line-height: 1.55;
}

.kundli-ai-number {
  color: #ffd76a !important;
}

body.page-kundli .kundli-ai-number {
  display: block;
  font-size: clamp(2.05rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

body.page-kundli .kundli-ai-plan-preview {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

body.page-kundli .kundli-ai-plan-preview strong {
  color: #fff7df;
  line-height: 1.3;
}

body.page-kundli .kundli-ai-plan-preview small {
  display: block;
  flex-basis: 100%;
  font-size: 0.95rem;
  font-weight: 800;
}

body.page-kundli .kundli-ai-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.kundli-ai-status .kundli-ai-btn,
.kundli-ai-status button,
.kundli-ai-status a {
  border-color: rgba(255, 215, 106, 0.76) !important;
  color: #2b1208 !important;
  background: linear-gradient(135deg, #ffd76a 0%, #f0a522 55%, #c94b24 100%) !important;
  box-shadow: 0 12px 28px rgba(8, 2, 2, 0.26), 0 0 18px rgba(255, 215, 106, 0.18) !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.kundli-ai-status .kundli-ai-btn:hover,
.kundli-ai-status button:hover,
.kundli-ai-status a:hover {
  color: #2b1208 !important;
  background: linear-gradient(135deg, #ffe38a 0%, #f5b43a 58%, #d75a2c 100%) !important;
  box-shadow: 0 14px 32px rgba(8, 2, 2, 0.3), 0 0 22px rgba(255, 215, 106, 0.25) !important;
  text-shadow: none !important;
}

@media (max-width: 900px) {
  body.page-kundli .kundli-ai-status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.page-kundli .kundli-ai-status {
    width: min(100% - 24px, 1180px);
    padding: 24px 0;
  }

  body.page-kundli .kundli-ai-heading {
    margin-bottom: 16px;
  }

  .kundli-ai-status-card {
    padding: 18px;
    border-radius: 18px;
  }

  body.page-kundli .kundli-ai-actions .btn,
  body.page-kundli .kundli-ai-login .btn {
    width: 100%;
  }

  body.page-kundli .kundli-ai-inline-status {
    width: 100%;
    border-radius: 16px;
  }
}

/* My AI Pandit dashboard true final cascade lock */
.my-ai-pandit-page .my-ai-dashboard,
.my-ai-pandit-page .my-ai-dashboard * {
  box-sizing: border-box;
}

.my-ai-pandit-page .my-ai-dashboard {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 48px 20px 64px !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-content {
  display: block !important;
}

.my-ai-pandit-page .my-ai-dashboard .profile-card {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 24px !important;
  align-items: center !important;
  padding: 28px 32px !important;
  border-radius: 24px !important;
  background: rgba(55, 14, 10, 0.82) !important;
  border: 1px solid rgba(218, 175, 82, 0.4) !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin-top: 24px !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-card {
  min-height: 0 !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 26px 28px !important;
  border-radius: 24px !important;
  background: rgba(75, 22, 13, 0.78) !important;
  border: 1px solid rgba(218, 175, 82, 0.36) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18) !important;
  color: #f1e4c3 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-card h1,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card h2,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card h3,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card h4,
.my-ai-pandit-page .my-ai-dashboard .dashboard-title {
  color: #fff7df !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-card p,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card span,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card div,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card small,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card dd,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card li {
  color: #f1e4c3 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-title {
  margin: 0 0 12px !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-number {
  margin: 8px 0 !important;
  color: #ffd76a !important;
  font-size: 44px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-muted,
.my-ai-pandit-page .my-ai-dashboard .empty-state,
.my-ai-pandit-page .my-ai-dashboard .helper-text {
  color: #dcc79d !important;
  opacity: 1 !important;
}

.my-ai-pandit-page .my-ai-dashboard .empty-state,
.my-ai-pandit-page .my-ai-dashboard .helper-text {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-number,
.my-ai-pandit-page .my-ai-dashboard .gold-value {
  color: #ffd76a !important;
}

.my-ai-pandit-page .my-ai-dashboard button,
.my-ai-pandit-page .my-ai-dashboard .btn,
.my-ai-pandit-page .my-ai-dashboard .premium-btn {
  color: #2b1208 !important;
}

.my-ai-pandit-page .my-ai-dashboard .full-width-card {
  margin-top: 24px !important;
}

@media (max-width: 768px) {
  .my-ai-pandit-page .my-ai-dashboard {
    padding: 32px 16px 48px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .profile-card {
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .dashboard-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .dashboard-card {
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .dashboard-number {
    font-size: 38px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .profile-actions {
    display: grid !important;
    gap: 12px !important;
    justify-content: stretch !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .profile-actions a,
  .my-ai-pandit-page .my-ai-dashboard .profile-actions button {
    width: 100% !important;
  }
}

/* My AI Pandit dashboard final cascade lock */
.my-ai-pandit-page .my-ai-dashboard,
.my-ai-pandit-page .my-ai-dashboard * {
  box-sizing: border-box;
}

.my-ai-pandit-page .my-ai-dashboard {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 48px 20px 64px !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-content {
  display: block !important;
}

.my-ai-pandit-page .my-ai-dashboard .profile-card {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 24px !important;
  align-items: center !important;
  padding: 28px 32px !important;
  border-radius: 24px !important;
  background: rgba(55, 14, 10, 0.82) !important;
  border: 1px solid rgba(218, 175, 82, 0.4) !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin-top: 24px !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-card {
  min-height: 0 !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 26px 28px !important;
  border-radius: 24px !important;
  background: rgba(75, 22, 13, 0.78) !important;
  border: 1px solid rgba(218, 175, 82, 0.36) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18) !important;
  color: #f1e4c3 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-card h1,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card h2,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card h3,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card h4,
.my-ai-pandit-page .my-ai-dashboard .dashboard-title {
  color: #fff7df !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-card p,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card span,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card div,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card small,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card dd,
.my-ai-pandit-page .my-ai-dashboard .dashboard-card li {
  color: #f1e4c3 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-title {
  margin: 0 0 12px !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-number {
  margin: 8px 0 !important;
  color: #ffd76a !important;
  font-size: 44px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-muted,
.my-ai-pandit-page .my-ai-dashboard .empty-state,
.my-ai-pandit-page .my-ai-dashboard .helper-text {
  color: #dcc79d !important;
  opacity: 1 !important;
}

.my-ai-pandit-page .my-ai-dashboard .empty-state,
.my-ai-pandit-page .my-ai-dashboard .helper-text {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.my-ai-pandit-page .my-ai-dashboard .dashboard-number,
.my-ai-pandit-page .my-ai-dashboard .gold-value {
  color: #ffd76a !important;
}

.my-ai-pandit-page .my-ai-dashboard button,
.my-ai-pandit-page .my-ai-dashboard .btn,
.my-ai-pandit-page .my-ai-dashboard .premium-btn {
  color: #2b1208 !important;
}

.my-ai-pandit-page .my-ai-dashboard .full-width-card {
  margin-top: 24px !important;
}

@media (max-width: 768px) {
  .my-ai-pandit-page .my-ai-dashboard {
    padding: 32px 16px 48px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .profile-card {
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .dashboard-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .dashboard-card {
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .dashboard-number {
    font-size: 38px !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .profile-actions {
    display: grid !important;
    gap: 12px !important;
    justify-content: stretch !important;
  }

  .my-ai-pandit-page .my-ai-dashboard .profile-actions a,
  .my-ai-pandit-page .my-ai-dashboard .profile-actions button {
    width: 100% !important;
  }
}

/* My AI Pandit rebuilt dashboard - final page scoped layer */
.my-ai-dashboard,
.my-ai-dashboard * {
  box-sizing: border-box;
}

.my-ai-dashboard {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.my-ai-dashboard .ai-pandit-heading {
  margin: 0 0 22px;
}

.my-ai-dashboard .ai-pandit-heading h2 {
  color: #fff7df !important;
}

.my-ai-dashboard .ai-pandit-heading p {
  color: #f1e4c3 !important;
}

.my-ai-dashboard .dashboard-content {
  display: block !important;
}

.my-ai-dashboard .profile-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  background: rgba(55, 14, 10, 0.82);
  border: 1px solid rgba(218, 175, 82, 0.4);
}

.my-ai-dashboard .profile-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.my-ai-dashboard .profile-avatar {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffd76a, #b77924);
  color: #2b1208 !important;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}

.my-ai-dashboard .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-ai-dashboard .profile-copy {
  min-width: 0;
}

.my-ai-dashboard .profile-copy p {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}

.my-ai-dashboard .profile-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.my-ai-dashboard .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.my-ai-dashboard .dashboard-card {
  min-height: 0 !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(75, 22, 13, 0.78);
  border: 1px solid rgba(218, 175, 82, 0.36);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  color: #f1e4c3 !important;
}

.my-ai-dashboard .dashboard-card h1,
.my-ai-dashboard .dashboard-card h2,
.my-ai-dashboard .dashboard-card h3,
.my-ai-dashboard .dashboard-card h4,
.my-ai-dashboard .dashboard-title {
  color: #fff7df !important;
}

.my-ai-dashboard .dashboard-card p,
.my-ai-dashboard .dashboard-card span,
.my-ai-dashboard .dashboard-card div,
.my-ai-dashboard .dashboard-card small,
.my-ai-dashboard .dashboard-card dd,
.my-ai-dashboard .dashboard-card li {
  color: #f1e4c3 !important;
}

.my-ai-dashboard .dashboard-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.my-ai-dashboard .dashboard-number {
  margin: 8px 0;
  color: #ffd76a !important;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.my-ai-dashboard .dashboard-muted,
.my-ai-dashboard .empty-state,
.my-ai-dashboard .helper-text {
  color: #dcc79d !important;
  opacity: 1 !important;
}

.my-ai-dashboard .empty-state,
.my-ai-dashboard .helper-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.my-ai-dashboard .dashboard-number,
.my-ai-dashboard .gold-value {
  color: #ffd76a !important;
}

.my-ai-dashboard button,
.my-ai-dashboard .btn,
.my-ai-dashboard .premium-btn {
  color: #2b1208 !important;
}

.my-ai-dashboard .profile-actions .btn,
.my-ai-dashboard .profile-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe08a, #d99a2b);
  color: #2b1208 !important;
  font-weight: 800;
  text-decoration: none;
}

.my-ai-dashboard .full-width-card {
  margin-top: 24px !important;
}

.my-ai-dashboard .dashboard-plan,
.my-ai-dashboard .dashboard-payment {
  display: grid;
  gap: 12px;
}

.my-ai-dashboard .dashboard-plan strong,
.my-ai-dashboard .dashboard-payment h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.my-ai-dashboard .dashboard-meta {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
}

.my-ai-dashboard .dashboard-meta div {
  display: grid;
  gap: 3px;
}

.my-ai-dashboard .dashboard-meta dt {
  color: #dcc79d !important;
  font-size: 13px;
  line-height: 1.35;
}

.my-ai-dashboard .dashboard-meta dd {
  margin: 0;
  color: #f1e4c3 !important;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.my-ai-dashboard .ai-status-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 215, 106, 0.16);
  border: 1px solid rgba(255, 215, 106, 0.32);
  color: #ffd76a !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.my-ai-dashboard .ai-history-card {
  padding: 16px 0;
  border-top: 1px solid rgba(218, 175, 82, 0.22);
}

.my-ai-dashboard .ai-history-card:first-child {
  margin-top: 4px;
}

.my-ai-dashboard .ai-history-card h4 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.35;
}

.my-ai-dashboard .ai-history-card p {
  margin: 0;
  line-height: 1.6;
}

.my-ai-dashboard .ai-history-date {
  margin-bottom: 8px !important;
  color: #dcc79d !important;
  font-size: 14px;
}

@media (max-width: 768px) {
  .my-ai-dashboard {
    padding: 32px 16px 48px;
  }

  .my-ai-dashboard .profile-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .my-ai-dashboard .profile-main {
    grid-template-columns: 1fr;
  }

  .my-ai-dashboard .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .my-ai-dashboard .dashboard-card {
    padding: 22px;
    border-radius: 20px;
  }

  .my-ai-dashboard .dashboard-number {
    font-size: 38px;
  }

  .my-ai-dashboard .profile-actions {
    display: grid;
    gap: 12px;
    justify-content: stretch;
  }

  .my-ai-dashboard .profile-actions a,
  .my-ai-dashboard .profile-actions button {
    width: 100%;
  }
}

/* My AI Pandit final scoped dashboard override */
.my-ai-pandit-page .ai-pandit-dashboard-section {
  width: min(1180px, calc(100% - 32px)) !important;
  padding: clamp(34px, 5vw, 54px) 0 !important;
}

.my-ai-pandit-page .ai-dashboard-content {
  display: grid !important;
  gap: 20px !important;
}

.my-ai-pandit-page .dashboard-card,
.my-ai-pandit-page .status-card,
.my-ai-pandit-page .plan-card {
  max-width: 1180px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 24px 28px !important;
  color: #eadfc8 !important;
}

.my-ai-pandit-page .dashboard-card.compact,
.my-ai-pandit-page .status-card.compact,
.my-ai-pandit-page .plan-card.compact {
  padding: 22px 26px !important;
}

.my-ai-pandit-page .ai-credit-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 14px 0 0 !important;
}

.my-ai-pandit-page .ai-credit-card,
.my-ai-pandit-page .credit-card {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 24px !important;
  border: 1px solid rgba(218, 175, 82, 0.38) !important;
  border-radius: 22px !important;
  color: #eadfc8 !important;
  background: rgba(70, 18, 12, 0.82) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18) !important;
}

.my-ai-pandit-page .credit-label {
  color: #fff7df !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.my-ai-pandit-page .credit-number,
.my-ai-pandit-page .amount,
.my-ai-pandit-page .highlight-value {
  display: block !important;
  margin: 12px 0 8px !important;
  color: #ffd76a !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.my-ai-pandit-page .credit-number-text {
  font-size: 30px !important;
  line-height: 1.15 !important;
}

.my-ai-pandit-page .credit-helper,
.my-ai-pandit-page .premium-report-message,
.my-ai-pandit-page .empty-state,
.my-ai-pandit-page .helper-text,
.my-ai-pandit-page .meta,
.my-ai-pandit-page .note,
.my-ai-pandit-page .status-message,
.my-ai-pandit-page .plan-meta {
  color: #dcc79d !important;
  opacity: 1 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.my-ai-pandit-page .dashboard-card,
.my-ai-pandit-page .ai-credit-card,
.my-ai-pandit-page .status-card,
.my-ai-pandit-page .plan-card {
  color: #eadfc8 !important;
}

.my-ai-pandit-page .dashboard-card *:not(button):not(a),
.my-ai-pandit-page .ai-credit-card *:not(button):not(a),
.my-ai-pandit-page .status-card *:not(button):not(a),
.my-ai-pandit-page .plan-card *:not(button):not(a) {
  color: inherit;
}

.my-ai-pandit-page .dashboard-card h1,
.my-ai-pandit-page .dashboard-card h2,
.my-ai-pandit-page .dashboard-card h3,
.my-ai-pandit-page .dashboard-card h4,
.my-ai-pandit-page .ai-credit-card h1,
.my-ai-pandit-page .ai-credit-card h2,
.my-ai-pandit-page .ai-credit-card h3,
.my-ai-pandit-page .status-card h1,
.my-ai-pandit-page .status-card h2,
.my-ai-pandit-page .status-card h3,
.my-ai-pandit-page .ai-panel-heading h3,
.my-ai-pandit-page .ai-status-detail h4,
.my-ai-pandit-page .ai-history-card h4,
.my-ai-pandit-page .ai-order-main strong {
  color: #fff7df !important;
}

.my-ai-pandit-page .dashboard-card p,
.my-ai-pandit-page .dashboard-card span,
.my-ai-pandit-page .dashboard-card li,
.my-ai-pandit-page .dashboard-card div,
.my-ai-pandit-page .ai-credit-card p,
.my-ai-pandit-page .ai-credit-card span,
.my-ai-pandit-page .ai-credit-card li,
.my-ai-pandit-page .ai-credit-card div,
.my-ai-pandit-page .status-card p,
.my-ai-pandit-page .status-card span,
.my-ai-pandit-page .status-card div {
  color: #eadfc8;
}

.my-ai-pandit-page .credit-number,
.my-ai-pandit-page .amount,
.my-ai-pandit-page .highlight-value {
  color: #ffd76a !important;
}

.my-ai-pandit-page .credit-helper,
.my-ai-pandit-page .premium-report-message,
.my-ai-pandit-page .empty-state,
.my-ai-pandit-page .helper-text,
.my-ai-pandit-page .meta,
.my-ai-pandit-page .note,
.my-ai-pandit-page .status-message,
.my-ai-pandit-page .plan-meta {
  color: #dcc79d !important;
}

.my-ai-pandit-page .section-kicker,
.my-ai-pandit-page .ai-status-meta dt,
.my-ai-pandit-page .ai-order-meta dt {
  color: #e0c47a !important;
}

.my-ai-pandit-page .ai-status-meta dd,
.my-ai-pandit-page .ai-order-meta dd,
.my-ai-pandit-page .ai-dashboard-summary strong {
  color: #f6ead2 !important;
}

.my-ai-pandit-page .ai-payment-reference dd,
.my-ai-pandit-page [data-dashboard-intro-used] {
  color: #ffd76a !important;
}

.my-ai-pandit-page .ai-orders-list {
  display: grid !important;
  gap: 12px !important;
}

.my-ai-pandit-page .ai-order-row {
  min-height: 0 !important;
  padding: 14px !important;
  color: #eadfc8 !important;
  background: rgba(36, 9, 8, 0.42) !important;
}

.my-ai-pandit-page .ai-payment-help {
  max-width: 900px !important;
}

@media (max-width: 768px) {
  .my-ai-pandit-page .ai-pandit-dashboard-section {
    width: min(100% - 24px, 1180px) !important;
    padding: 26px 0 36px !important;
  }

  .my-ai-pandit-page .ai-credit-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 14px 0 0 !important;
  }

  .my-ai-pandit-page .dashboard-card,
  .my-ai-pandit-page .status-card,
  .my-ai-pandit-page .plan-card,
  .my-ai-pandit-page .ai-credit-card {
    padding: 18px !important;
  }

  .my-ai-pandit-page .credit-number {
    font-size: 36px !important;
  }

  .my-ai-pandit-page .credit-number-text {
    font-size: 26px !important;
  }
}

@media (max-width: 680px) {
  body.page-about .brand-mark,
  body.page-contact .brand-mark,
  body.page-privacy .brand-mark,
  body.page-error .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  body.page-about .brand-subtitle,
  body.page-contact .brand-subtitle,
  body.page-privacy .brand-subtitle,
  body.page-error .brand-subtitle {
    max-width: min(100%, 260px);
    font-size: 0.72rem;
  }
}

/* Vastu hero mandala center alignment */
body.page-vastu .vastu-hero-visual {
  --vastu-compass-size: min(360px, calc(100% - 70px));
  --vastu-compass-top: 42px;
  --vastu-mandala-size: min(248px, 70%);
  min-height: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 116px);
  padding: var(--vastu-compass-top) 28px 28px;
  overflow: hidden;
}

body.page-vastu .vastu-compass {
  position: absolute;
  top: var(--vastu-compass-top);
  left: 50%;
  z-index: 3;
  width: var(--vastu-compass-size);
  height: var(--vastu-compass-size);
  border: 1px solid rgba(244, 201, 103, 0.46);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(244, 201, 103, 0.24) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(244, 201, 103, 0.24) 49.7% 50.3%, transparent 50.3%),
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.12) 0deg 7deg, transparent 7deg 15deg),
    radial-gradient(circle at 50% 50%, rgba(244, 201, 103, 0.12), transparent 68%);
  box-shadow:
    0 0 54px rgba(244, 201, 103, 0.16),
    inset 0 0 38px rgba(255, 248, 236, 0.08);
  transform: translateX(-50%);
  pointer-events: none;
}

body.page-vastu .vastu-compass > span {
  position: absolute;
  z-index: 4;
}

body.page-vastu .vastu-compass::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 248, 236, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 48px rgba(244, 201, 103, 0.18);
  pointer-events: none;
}

body.page-vastu .vastu-hero-visual::before,
body.page-vastu .vastu-hero-visual::after {
  display: none;
}

body.page-vastu .vastu-compass .north {
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

body.page-vastu .vastu-compass .east {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

body.page-vastu .vastu-compass .west {
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}

body.page-vastu .vastu-compass .south {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}

body.page-vastu .vastu-mandala-art {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: var(--vastu-mandala-size);
  max-width: 70%;
  transform: translate(-50%, -50%);
}

body.page-vastu .vastu-mandala-art span {
  position: static;
  z-index: auto;
}

body.page-vastu .vastu-mandala-art span:nth-child(5) {
  position: relative;
}

body.page-vastu .panch-tatva-ring {
  position: absolute;
  top: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 24px);
  right: 20px;
  bottom: auto;
  left: 20px;
  z-index: 4;
  margin-top: 0;
  padding: 0;
}

@media (max-width: 860px) {
  body.page-vastu .vastu-hero-visual {
    --vastu-compass-size: min(330px, calc(100% - 56px));
    --vastu-compass-top: 34px;
    --vastu-mandala-size: min(232px, 70%);
  }
}

@media (max-width: 680px) {
  body.page-vastu .vastu-hero-visual {
    --vastu-compass-size: min(294px, calc(100% - 34px));
    --vastu-compass-top: 26px;
    --vastu-mandala-size: min(206px, 70%);
    padding-right: 18px;
    padding-left: 18px;
  }

  body.page-vastu .vastu-compass .north {
    top: 9px;
  }

  body.page-vastu .vastu-compass .east {
    right: 10px;
  }

  body.page-vastu .vastu-compass .west {
    left: 10px;
  }

  body.page-vastu .vastu-compass .south {
    bottom: 9px;
  }

  body.page-vastu .panch-tatva-ring {
    top: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 20px);
    right: 12px;
    left: 12px;
    gap: 6px;
  }

body.page-vastu .panch-tatva-ring span {
    padding: 6px 9px;
    font-size: 0.78rem;
  }
}

/* Vastu premium UX polish */
body.page-vastu .vastu-hero {
  gap: clamp(22px, 4vw, 38px);
  padding: clamp(38px, 6vw, 64px) 0 clamp(32px, 5vw, 48px);
}

body.page-vastu .vastu-hero h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 5.6vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}

body.page-vastu .vastu-hero .hero-subtitle {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.58;
}

body.page-vastu .vastu-hero-visual {
  --vastu-compass-size: min(342px, calc(100% - 64px));
  --vastu-mandala-size: min(230px, 68%);
  border-radius: 26px;
}

body.page-vastu .vastu-compass > span {
  min-width: 54px;
  padding: 5px 8px;
  border: 1px solid rgba(244, 201, 103, 0.44);
  border-radius: 999px;
  color: #fff1d6;
  background: rgba(36, 8, 10, 0.52);
  font-size: 0.74rem;
  line-height: 1;
  text-align: center;
}

body.page-vastu .vastu-mandala-art span {
  min-width: 0;
  padding: 6px;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  line-height: 1.2;
}

body.page-vastu .vastu-mandala-art span:nth-child(5) {
  display: grid;
  place-items: center;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
}

body.page-vastu .panch-tatva-ring {
  gap: 8px;
}

body.page-vastu .panch-tatva-ring span {
  min-height: 30px;
  padding: 6px 11px;
}

/* Vastu mandala direction badge spacing */
body.page-vastu .vastu-compass .east {
  right: -10px;
}

body.page-vastu .vastu-compass .west {
  left: -10px;
}

body.page-vastu .vastu-compass .north {
  top: 8px;
}

body.page-vastu .vastu-compass .south {
  bottom: 8px;
}

body.page-vastu .vastu-compass > span {
  min-width: 48px;
  padding: 4px 7px;
  font-size: 0.7rem;
}

body.page-vastu .vastu-section {
  padding-top: clamp(36px, 5vw, 52px);
  padding-bottom: clamp(36px, 5vw, 52px);
}

body.page-vastu .vastu-section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

body.page-vastu .vastu-section-heading h2,
body.page-vastu .vastu-final-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

body.page-vastu .vastu-section-heading p {
  font-size: 1rem;
  line-height: 1.58;
}

body.page-vastu .vastu-card,
body.page-vastu .tatva-card {
  min-height: 0;
  padding: 20px;
}

body.page-vastu .vastu-card p,
body.page-vastu .tatva-card p {
  font-size: 0.98rem;
  line-height: 1.55;
}

body.page-vastu .vastu-trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

body.page-vastu .vastu-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

body.page-vastu .tatva-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

body.page-vastu .tatva-card > span,
body.page-vastu .vastu-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}

body.page-vastu .vastu-mandala-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

body.page-vastu .vastu-mandala-map {
  aspect-ratio: 1;
  gap: 8px;
  padding: 10px;
}

body.page-vastu .vastu-mandala-map article {
  display: grid;
  min-height: 0;
  place-items: center;
  align-content: center;
  padding: 12px 8px;
  text-align: center;
}

body.page-vastu .vastu-mandala-map h3 {
  margin: 0 0 5px;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

body.page-vastu .vastu-mandala-map p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.25;
}

body.page-vastu .vastu-mandala-map .center-zone h3 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

body.page-vastu .vastu-direction-list,
body.page-vastu .vastu-accordion-grid {
  display: grid;
  gap: 12px;
}

body.page-vastu .vastu-accordion-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-vastu .vastu-direction-list details,
body.page-vastu .vastu-accordion-grid details {
  overflow: hidden;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 201, 103, 0.09), transparent 42%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.62), rgba(22, 8, 7, 0.46));
  box-shadow: 0 16px 34px rgba(10, 3, 3, 0.18), inset 0 1px 0 rgba(255, 248, 236, 0.09);
}

body.page-vastu .vastu-direction-list summary,
body.page-vastu .vastu-accordion-grid summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  color: #fff8ec;
  font-weight: 900;
  line-height: 1.35;
}

body.page-vastu .vastu-direction-list summary::-webkit-details-marker,
body.page-vastu .vastu-accordion-grid summary::-webkit-details-marker {
  display: none;
}

body.page-vastu .vastu-direction-list summary::after,
body.page-vastu .vastu-accordion-grid summary::after {
  content: "+";
  float: right;
  color: #f4c967;
  font-weight: 900;
}

body.page-vastu .vastu-direction-list details[open] summary::after,
body.page-vastu .vastu-accordion-grid details[open] summary::after {
  content: "-";
}

body.page-vastu .vastu-direction-list p,
body.page-vastu .vastu-accordion-grid p {
  margin: 0;
  padding: 0 18px 16px;
  color: rgba(255, 248, 236, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

body.page-vastu .structure-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

body.page-vastu .structure-selector button {
  min-height: 42px;
  padding: 9px 15px;
}

body.page-vastu .structure-description {
  max-width: 780px;
  margin: 0 auto;
  padding: 22px;
}

body.page-vastu .ai-vastu-panel {
  gap: 22px;
  padding: clamp(22px, 4vw, 30px);
}

body.page-vastu .scan-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

body.page-vastu .scan-flow span {
  min-height: 78px;
  padding: 12px 10px;
  font-size: 0.9rem;
}

body.page-vastu .scan-flow .paid-chip::before {
  display: none;
  content: "";
}

body.page-vastu .scan-flow .paid-chip::after {
  content: "Coming Soon";
  display: block;
  margin-top: 5px;
  color: #f4c967;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

body.page-vastu .scan-includes article {
  display: grid;
  gap: 8px;
}

body.page-vastu .scan-includes .vastu-product-status {
  justify-self: start;
}

body.page-vastu .vastu-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.page-vastu .vastu-product-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 150px;
  padding: 18px;
}

body.page-vastu .vastu-product-card p {
  margin: 0;
  color: rgba(255, 248, 236, 0.74);
  font-size: 0.92rem;
  line-height: 1.45;
}

body.page-vastu .vastu-product-status {
  justify-self: start;
  margin: 0;
}

body.page-vastu .vastu-final-cta {
  max-width: 960px;
  margin: 0 auto;
}

body.page-vastu .vastu-final-cta p,
body.page-vastu .vastu-disclaimer p {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  body.page-vastu .vastu-trust-grid,
  body.page-vastu .vastu-feature-grid,
  body.page-vastu .tatva-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.page-vastu .scan-flow,
  body.page-vastu .vastu-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-vastu .scan-flow span:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  body.page-vastu .vastu-mandala-layout,
  body.page-vastu .ai-vastu-panel {
    grid-template-columns: 1fr;
  }

  body.page-vastu .vastu-mandala-map {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  body.page-vastu .vastu-accordion-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.page-vastu .vastu-hero {
    width: min(100% - 24px, 1180px);
  }

  body.page-vastu .vastu-hero h1 {
    font-size: clamp(2.15rem, 13vw, 3.1rem);
  }

  body.page-vastu .vastu-hero-visual {
    --vastu-compass-size: min(286px, calc(100% - 32px));
    --vastu-mandala-size: min(198px, 68%);
    min-height: 426px;
  }

  body.page-vastu .vastu-compass > span {
    min-width: 46px;
    padding: 4px 7px;
    font-size: 0.68rem;
  }

  body.page-vastu .vastu-compass .east {
    right: -6px;
  }

  body.page-vastu .vastu-compass .west {
    left: -6px;
  }

  body.page-vastu .vastu-compass .north {
    top: 7px;
  }

  body.page-vastu .vastu-compass .south {
    bottom: 7px;
  }

  body.page-vastu .vastu-trust-grid,
  body.page-vastu .vastu-feature-grid,
  body.page-vastu .tatva-grid,
  body.page-vastu .scan-flow,
  body.page-vastu .vastu-product-grid {
    grid-template-columns: 1fr;
  }

  body.page-vastu .vastu-mandala-map {
    gap: 5px;
    padding: 7px;
  }

  body.page-vastu .vastu-mandala-map article {
    padding: 8px 4px;
  }

  body.page-vastu .vastu-mandala-map h3 {
    font-size: 0.94rem;
  }

  body.page-vastu .vastu-mandala-map p {
    font-size: 0.74rem;
  }

  body.page-vastu .structure-selector {
    justify-content: flex-start;
  }

  body.page-vastu .structure-selector button {
    flex: 1 1 auto;
  }

  body.page-vastu .vastu-product-card {
    min-height: 0;
  }
}

/* Vastu hero mandala premium polish */
body.page-vastu .vastu-hero-visual {
  --vastu-compass-size: min(356px, calc(100% - 104px));
  --vastu-compass-top: 38px;
  --vastu-mandala-size: min(238px, 66%);
  min-height: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 108px);
  padding: var(--vastu-compass-top) 44px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(244, 201, 103, 0.24), transparent 34%),
    radial-gradient(circle at 18% 14%, rgba(255, 248, 236, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(36, 8, 10, 0.94), rgba(80, 18, 16, 0.82) 54%, rgba(22, 8, 7, 0.94));
  box-shadow:
    0 30px 74px rgba(10, 3, 3, 0.42),
    0 0 42px rgba(244, 201, 103, 0.12),
    inset 0 1px 0 rgba(255, 248, 236, 0.16),
    inset 0 0 46px rgba(244, 201, 103, 0.06);
}

body.page-vastu .vastu-compass {
  border-color: rgba(244, 201, 103, 0.42);
  background:
    linear-gradient(90deg, transparent 49.75%, rgba(244, 201, 103, 0.18) 49.75% 50.25%, transparent 50.25%),
    linear-gradient(0deg, transparent 49.75%, rgba(244, 201, 103, 0.18) 49.75% 50.25%, transparent 50.25%),
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.09) 0deg 6deg, transparent 6deg 15deg),
    radial-gradient(circle at 50% 50%, rgba(244, 201, 103, 0.1), transparent 66%);
  box-shadow:
    0 0 54px rgba(244, 201, 103, 0.14),
    inset 0 0 38px rgba(255, 248, 236, 0.07);
}

body.page-vastu .vastu-compass::after {
  inset: 13%;
  border-color: rgba(255, 248, 236, 0.14);
  box-shadow: 0 0 42px rgba(244, 201, 103, 0.14);
}

body.page-vastu .vastu-compass > span {
  min-width: 46px;
  padding: 5px 10px;
  border-color: rgba(244, 201, 103, 0.56);
  color: #fff1d6;
  background: rgba(36, 8, 10, 0.72);
  box-shadow: 0 0 16px rgba(244, 201, 103, 0.12), inset 0 1px 0 rgba(255, 248, 236, 0.1);
  font-size: 0.76rem;
  font-weight: 900;
}

body.page-vastu .vastu-compass .north {
  top: -2px;
  left: 50%;
  transform: translate(-50%, -50%);
}

body.page-vastu .vastu-compass .south {
  bottom: -2px;
  left: 50%;
  transform: translate(-50%, 50%);
}

body.page-vastu .vastu-compass .east {
  top: 50%;
  right: -14px;
  transform: translate(50%, -50%);
}

body.page-vastu .vastu-compass .west {
  top: 50%;
  left: -14px;
  transform: translate(-50%, -50%);
}

body.page-vastu .vastu-mandala-art {
  width: var(--vastu-mandala-size);
  max-width: 66%;
  border-color: rgba(244, 201, 103, 0.7);
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 201, 103, 0.12), transparent 48%),
    rgba(22, 8, 7, 0.36);
  box-shadow:
    0 0 36px rgba(244, 201, 103, 0.2),
    inset 0 0 24px rgba(244, 201, 103, 0.08);
}

body.page-vastu .vastu-mandala-art span {
  padding: 7px 5px;
  color: #fff1d6;
  border-color: rgba(244, 201, 103, 0.36);
  background: rgba(255, 248, 236, 0.052);
  font-size: clamp(0.82rem, 1.35vw, 0.94rem);
  font-weight: 850;
  line-height: 1.18;
  text-shadow: 0 1px 12px rgba(244, 201, 103, 0.18);
}

body.page-vastu .vastu-mandala-art span:nth-child(5) {
  color: #3f0c0f;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 248, 236, 0.98), rgba(244, 201, 103, 0.82) 62%, rgba(185, 112, 33, 0.9));
  box-shadow:
    0 0 24px rgba(244, 201, 103, 0.34),
    inset 0 1px 0 rgba(255, 248, 236, 0.6);
  font-size: clamp(1.8rem, 4vw, 2.32rem);
  text-shadow: none;
}

body.page-vastu .panch-tatva-ring {
  top: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 22px);
  right: 28px;
  left: 28px;
  justify-content: center;
  gap: 9px;
}

body.page-vastu .panch-tatva-ring span {
  min-height: 30px;
  padding: 6px 12px;
  border-color: rgba(244, 201, 103, 0.48);
  background: rgba(36, 8, 10, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.08);
  font-size: 0.82rem;
}

/* AI Vastu Checker Normal Mode */
body.page-vastu .ai-vastu-checker-section {
  position: relative;
}

body.page-vastu .vastu-checker-instruction {
  max-width: 980px;
  margin: 0 auto 22px;
  padding: clamp(18px, 3vw, 26px);
  border-color: rgba(244, 201, 103, 0.34);
  background:
    radial-gradient(circle at 8% 0%, rgba(244, 201, 103, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.72), rgba(22, 8, 7, 0.58));
}

body.page-vastu .vastu-checker-instruction h3 {
  margin: 0 0 10px;
  color: #fff8ec;
  font-size: clamp(1.14rem, 2vw, 1.36rem);
}

body.page-vastu .vastu-checker-instruction p {
  margin: 0;
  color: rgba(255, 248, 236, 0.82);
  font-size: 0.98rem;
  line-height: 1.58;
}

body.page-vastu .vastu-checker-instruction p + p {
  margin-top: 10px;
}

body.page-vastu .vastu-checker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 22px;
  align-items: start;
}

body.page-vastu .vastu-checker-form,
body.page-vastu .vastu-live-mandala-panel,
body.page-vastu .vastu-report-card {
  border: 1px solid rgba(244, 201, 103, 0.32);
  background:
    radial-gradient(circle at 14% 0%, rgba(244, 201, 103, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.66), rgba(22, 8, 7, 0.54));
  box-shadow: 0 20px 44px rgba(10, 3, 3, 0.2), inset 0 1px 0 rgba(255, 248, 236, 0.08);
}

body.page-vastu .vastu-checker-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
}

body.page-vastu .vastu-checker-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(244, 201, 103, 0.2);
}

body.page-vastu .vastu-checker-form fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

body.page-vastu .vastu-checker-form legend {
  margin: 0 0 14px;
  color: #f4c967;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

body.page-vastu .vastu-form-grid,
body.page-vastu .vastu-placement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.page-vastu .vastu-checker-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

body.page-vastu .vastu-checker-form label > span,
body.page-vastu .vastu-field-question {
  color: rgba(255, 248, 236, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

body.page-vastu .vastu-checker-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(244, 201, 103, 0.36);
  border-radius: 12px;
  padding: 9px 12px;
  color: #fff8ec;
  background: rgba(28, 8, 8, 0.78);
  font: inherit;
  outline: none;
}

body.page-vastu .vastu-checker-form select:focus {
  border-color: rgba(244, 201, 103, 0.82);
  box-shadow: 0 0 0 3px rgba(244, 201, 103, 0.14);
}

body.page-vastu .vastu-rectangle-orientation[hidden] {
  display: none;
}

body.page-vastu .vastu-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-vastu .vastu-radio-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 201, 103, 0.3);
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.9);
  background: rgba(255, 248, 236, 0.055);
  cursor: pointer;
}

body.page-vastu .vastu-radio-row input {
  accent-color: #f4c967;
}

body.page-vastu .vastu-confidence-helper {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(244, 201, 103, 0.22);
  border-radius: 14px;
  color: rgba(255, 248, 236, 0.82);
  background: rgba(255, 248, 236, 0.06);
  font-size: 0.92rem;
  line-height: 1.45;
}

body.page-vastu .vastu-checker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-vastu .vastu-live-mandala-panel {
  position: sticky;
  top: calc(var(--header-height, 76px) + var(--vastu-subnav-height, 0px) + 18px);
  padding: clamp(18px, 3vw, 26px);
}

body.page-vastu .vastu-live-mandala-heading h3 {
  margin: 4px 0 16px;
  color: #fff8ec;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

body.page-vastu .vastu-shape-helper {
  margin: -4px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(244, 201, 103, 0.22);
  border-radius: 14px;
  color: rgba(255, 248, 236, 0.8);
  background: rgba(255, 248, 236, 0.052);
  font-size: 0.9rem;
  line-height: 1.42;
}

body.page-ai-vastu-checker .vastu-mandala-view-control {
  display: grid;
  gap: 10px;
  margin: -4px 0 14px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 16px;
  color: rgba(255, 248, 236, 0.86);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 201, 103, 0.12), transparent 38%),
    rgba(255, 248, 236, 0.06);
}

body.page-ai-vastu-checker .vastu-mandala-view-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

body.page-ai-vastu-checker .vastu-mandala-view-header strong {
  color: #fff8ec;
  font-size: 0.92rem;
  font-weight: 950;
}

body.page-ai-vastu-checker .vastu-mandala-view-header span {
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
}

body.page-ai-vastu-checker .vastu-mandala-view-header b {
  color: #f4c967;
}

body.page-ai-vastu-checker .vastu-mandala-view-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

body.page-ai-vastu-checker .vastu-mandala-view-options label {
  flex: 1 1 140px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(244, 201, 103, 0.28);
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.82);
  background: rgba(55, 14, 10, 0.48);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
}

body.page-ai-vastu-checker .vastu-mandala-view-options label.is-active,
body.page-ai-vastu-checker .vastu-mandala-view-options label:has(input:checked) {
  color: #2b160d;
  border-color: rgba(255, 229, 166, 0.9);
  background: linear-gradient(135deg, #fff1b8, #f4c967 58%, #d9932f);
  box-shadow: 0 0 18px rgba(244, 201, 103, 0.18);
}

body.page-ai-vastu-checker .vastu-mandala-view-options input {
  accent-color: #7a1b1b;
}

body.page-ai-vastu-checker .vastu-mandala-view-control p {
  margin: 0;
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.82rem;
  line-height: 1.42;
}

body.page-ai-vastu-checker .vastu-mandala-nearest-note {
  color: #f4c967;
  font-weight: 850;
}

body.page-ai-vastu-checker .ai-vastu-unlock-card {
  display: grid;
  gap: 14px;
  border-color: rgba(244, 201, 103, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 201, 103, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(65, 13, 13, 0.94), rgba(36, 8, 10, 0.92));
}

body.page-ai-vastu-checker .ai-vastu-unlock-card h2 {
  margin: 0;
  color: #fff8ec;
}

body.page-ai-vastu-checker .ai-vastu-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body.page-ai-vastu-checker .ai-vastu-unlock-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-ai-vastu-checker .ai-vastu-unlock-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 248, 236, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

body.page-ai-vastu-checker .ai-vastu-unlock-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4c967;
  box-shadow: 0 0 10px rgba(244, 201, 103, 0.32);
}

body.page-ai-vastu-checker .ai-vastu-price-row strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #2b160d;
  background: linear-gradient(135deg, #fff1b8, #f4c967 58%, #d9932f);
  font-weight: 950;
}

body.page-ai-vastu-checker .ai-vastu-price-row span {
  color: rgba(255, 248, 236, 0.72);
  font-weight: 850;
  text-decoration: line-through;
}

body.page-ai-vastu-checker .ai-vastu-pricing-clarity {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.055);
}

body.page-ai-vastu-checker .ai-vastu-pricing-clarity h3,
body.page-ai-vastu-checker .ai-vastu-pricing-clarity h4 {
  margin: 0;
  color: #fff8ec;
}

body.page-ai-vastu-checker .ai-vastu-pricing-clarity p {
  margin: 0;
  color: rgba(255, 248, 236, 0.78);
  line-height: 1.5;
}

body.page-ai-vastu-checker .ai-vastu-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.page-ai-vastu-checker .ai-vastu-comparison-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(244, 201, 103, 0.18);
  border-radius: 12px;
  background: rgba(36, 8, 10, 0.34);
}

body.page-ai-vastu-checker .ai-vastu-comparison-grid h4 {
  font-size: 0.95rem;
  line-height: 1.25;
}

body.page-ai-vastu-checker .ai-vastu-comparison-grid ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.88rem;
  line-height: 1.35;
}

body.page-ai-vastu-checker .ai-vastu-pricing-disclaimer {
  padding: 10px 12px;
  border-left: 3px solid #f4c967;
  background: rgba(244, 201, 103, 0.08);
  font-weight: 850;
}

body.page-ai-vastu-checker .ai-vastu-payment-message {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(244, 201, 103, 0.28);
  border-radius: 12px;
  color: rgba(255, 248, 236, 0.86);
  background: rgba(255, 248, 236, 0.06);
  font-weight: 800;
}

body.page-ai-vastu-checker .ai-vastu-restore-line,
body.page-ai-vastu-checker .ai-vastu-access-status {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 12px;
  color: rgba(255, 248, 236, 0.84);
  background: rgba(255, 248, 236, 0.055);
  font-size: 0.9rem;
  line-height: 1.4;
}

body.page-ai-vastu-checker .ai-vastu-restore-line strong {
  color: #f4c967;
}

body.page-ai-vastu-checker .ai-vastu-access-status[data-access-status="found"] {
  border-color: rgba(103, 214, 154, 0.42);
  color: #c8ffe0;
}

body.page-ai-vastu-checker .ai-vastu-access-status[data-access-status="not_found"] {
  border-color: rgba(244, 201, 103, 0.28);
}

body.page-ai-vastu-checker .ai-vastu-payment-faq {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

body.page-ai-vastu-checker .ai-vastu-payment-faq h3 {
  margin: 0 0 2px;
  color: #fff8ec;
  font-size: 1rem;
}

body.page-ai-vastu-checker .ai-vastu-payment-faq details {
  border: 1px solid rgba(244, 201, 103, 0.2);
  border-radius: 12px;
  background: rgba(255, 248, 236, 0.045);
}

body.page-ai-vastu-checker .ai-vastu-payment-faq summary {
  min-height: 42px;
  padding: 10px 12px;
  color: rgba(255, 248, 236, 0.9);
  font-weight: 900;
  cursor: pointer;
}

body.page-ai-vastu-checker .ai-vastu-payment-faq p {
  margin: 0;
  padding: 0 12px 12px;
  color: rgba(255, 248, 236, 0.76);
  line-height: 1.45;
}

body.page-ai-vastu-checker .ai-vastu-payment-message[data-tone="success"] {
  border-color: rgba(103, 214, 154, 0.42);
  color: #c8ffe0;
}

body.page-ai-vastu-checker .ai-vastu-payment-message[data-tone="error"] {
  border-color: rgba(255, 138, 118, 0.48);
  color: #ffd2c9;
}

body.page-ai-vastu-checker .vastu-detailed-report {
  display: grid;
  gap: 16px;
}

body.page-ai-vastu-checker .vastu-room-observation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-ai-vastu-checker .vastu-room-observation {
  padding: 12px;
  border: 1px solid rgba(244, 201, 103, 0.22);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.05);
}

body.page-ai-vastu-checker .vastu-room-observation h4,
body.page-ai-vastu-checker .vastu-room-observation p {
  margin: 0 0 8px;
}

body.page-vastu .vastu-shape-stage {
  position: relative;
  width: 100%;
}

body.page-vastu .vastu-layout-canvas,
body.page-vastu .vastu-property-canvas {
  position: relative;
  width: min(100%, 540px);
  margin: 28px auto 0;
  padding: 10px;
  border: 1.5px solid rgba(255, 210, 108, 0.55);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 210, 108, 0.08), transparent 42%),
    rgba(36, 8, 10, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 210, 108, 0.12),
    0 18px 45px rgba(0, 0, 0, 0.22),
    inset 0 0 40px rgba(255, 210, 108, 0.05);
  aspect-ratio: 1 / 1;
  transition: width 250ms ease, aspect-ratio 250ms ease;
}

body.page-vastu .vastu-property-canvas.canvas-square {
  width: min(100%, 540px);
  aspect-ratio: 1 / 1;
}

body.page-vastu .vastu-property-canvas.canvas-rectangle-wide {
  width: min(100%, 640px);
  aspect-ratio: 16 / 10;
}

body.page-vastu .vastu-property-canvas.canvas-rectangle-tall {
  width: min(100%, 460px);
  aspect-ratio: 3 / 4;
}

body.page-vastu .vastu-property-canvas.canvas-irregular {
  width: min(100%, 540px);
  aspect-ratio: 1 / 1;
}

body.page-vastu .vastu-irregular-editor {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 20px;
  pointer-events: none;
}

body.page-vastu .vastu-irregular-boundary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

body.page-vastu .vastu-irregular-boundary polygon {
  fill: rgba(244, 201, 103, 0.08);
  stroke: rgba(244, 201, 103, 0.72);
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
  filter: drop-shadow(0 0 12px rgba(244, 201, 103, 0.16));
}

body.page-vastu .vastu-corner-point,
body.page-vastu .irregular-point {
  position: absolute;
  z-index: 20;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 248, 236, 0.88);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff2c6, #f4c967);
  box-shadow: 0 0 16px rgba(244, 201, 103, 0.32);
  cursor: grab;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  touch-action: none;
}

body.page-vastu .vastu-corner-point:active,
body.page-vastu .irregular-point:active {
  cursor: grabbing;
}

body.page-vastu .vastu-live-mandala,
body.page-vastu .vastu-mandala-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto !important;
}

body.page-vastu .vastu-live-cell {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  min-height: 0;
  padding: 12px 9px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 14px;
  color: inherit;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.13), transparent 42%),
    rgba(255, 248, 236, 0.06);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

body.page-vastu .vastu-live-cell:hover,
body.page-vastu .vastu-live-cell:focus-visible {
  border-color: rgba(244, 201, 103, 0.74);
  box-shadow: 0 0 0 3px rgba(244, 201, 103, 0.12), inset 0 1px 0 rgba(255, 248, 236, 0.1);
  outline: none;
}

body.page-vastu .vastu-live-cell strong {
  color: #fff8ec;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  line-height: 1.15;
}

body.page-vastu .vastu-live-cell > span {
  color: #f4c967;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.2;
}

body.page-vastu .vastu-live-cell small {
  color: rgba(255, 248, 236, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
}

body.page-vastu .vastu-live-center {
  background:
    radial-gradient(circle at 50% 42%, rgba(244, 201, 103, 0.26), transparent 62%),
    rgba(255, 248, 236, 0.08);
}

body.page-vastu .vastu-live-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
}

body.page-vastu .vastu-live-tag {
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid rgba(244, 201, 103, 0.36);
  border-radius: 999px;
  color: #3f0c0f;
  background: linear-gradient(135deg, #fff2c6, #f4c967);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

body.page-vastu .vastu-report-output,
body.page-ai-vastu-checker .vastu-report-output {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

body.page-vastu .vastu-report-summary,
body.page-ai-vastu-checker .vastu-report-summary {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

body.page-vastu .vastu-score-card,
body.page-ai-vastu-checker .vastu-score-card {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 178px;
  border-color: rgba(244, 201, 103, 0.5);
  text-align: center;
}

body.page-vastu .vastu-score-value,
body.page-ai-vastu-checker .vastu-score-value {
  color: #f4c967;
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 950;
  line-height: 1;
}

body.page-vastu .vastu-score-label,
body.page-ai-vastu-checker .vastu-score-label {
  margin-top: 8px;
  color: #fff8ec;
  font-size: 1.08rem;
  font-weight: 900;
}

body.page-vastu .vastu-report-card,
body.page-ai-vastu-checker .vastu-report-card {
  padding: clamp(18px, 3vw, 24px);
  border-radius: 18px;
}

body.page-vastu .vastu-report-card h3,
body.page-ai-vastu-checker .vastu-report-card h3 {
  margin: 0 0 12px;
  color: #fff8ec;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  overflow-wrap: anywhere;
}

body.page-vastu .vastu-report-card p,
body.page-vastu .vastu-report-card li,
body.page-ai-vastu-checker .vastu-report-card p,
body.page-ai-vastu-checker .vastu-report-card li {
  color: rgba(255, 248, 236, 0.82);
  font-size: 0.96rem;
  line-height: 1.56;
  overflow-wrap: anywhere;
}

body.page-vastu .vastu-report-card ul,
body.page-ai-vastu-checker .vastu-report-card ul {
  margin: 0;
  padding-left: 18px;
}

body.page-vastu .vastu-report-grid,
body.page-ai-vastu-checker .vastu-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.page-vastu .vastu-issue-list,
body.page-ai-vastu-checker .vastu-issue-list {
  display: grid;
  gap: 12px;
}

body.page-vastu .vastu-issue-card,
body.page-ai-vastu-checker .vastu-issue-card {
  padding: 14px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.055);
}

body.page-vastu .vastu-issue-card h4,
body.page-ai-vastu-checker .vastu-issue-card h4 {
  margin: 0 0 8px;
  color: #fff8ec;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

body.page-ai-vastu-checker .vastu-solution-list {
  gap: 14px;
}

body.page-ai-vastu-checker .vastu-solution-card {
  display: grid;
  gap: 12px;
}

body.page-ai-vastu-checker .vastu-solution-card-head {
  display: grid;
  gap: 5px;
}

body.page-ai-vastu-checker .vastu-solution-card-head h4 {
  margin-bottom: 0;
}

body.page-ai-vastu-checker .vastu-solution-label {
  color: #f4c967;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.page-ai-vastu-checker .vastu-solution-section {
  padding: 12px;
  border: 1px solid rgba(244, 201, 103, 0.2);
  border-radius: 12px;
  background: rgba(36, 8, 10, 0.28);
}

body.page-ai-vastu-checker .vastu-solution-section strong {
  display: block;
  margin-bottom: 5px;
  color: #f4c967;
  font-size: 0.86rem;
  font-weight: 950;
}

body.page-ai-vastu-checker .vastu-solution-section p {
  margin: 0;
}

body.page-ai-vastu-checker .vastu-solution-section.is-free {
  border-color: rgba(103, 214, 154, 0.32);
  background: rgba(103, 214, 154, 0.08);
}

body.page-ai-vastu-checker .vastu-solution-section.is-detailed {
  border-color: rgba(244, 201, 103, 0.34);
  background: rgba(244, 201, 103, 0.08);
}

body.page-ai-vastu-checker .vastu-solution-section.is-product {
  border-style: dashed;
}

body.page-ai-vastu-checker .vastu-solution-locked-hint {
  margin: 0;
  padding: 11px 12px;
  border: 1px dashed rgba(244, 201, 103, 0.38);
  border-radius: 12px;
  color: #fff1d6;
  background: rgba(244, 201, 103, 0.075);
  font-weight: 850;
}

body.page-vastu .vastu-issue-meta,
body.page-ai-vastu-checker .vastu-issue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

body.page-vastu .vastu-issue-meta span,
body.page-vastu .vastu-kit-chip,
body.page-ai-vastu-checker .vastu-issue-meta span,
body.page-ai-vastu-checker .vastu-kit-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 201, 103, 0.3);
  border-radius: 999px;
  color: #fff1d6;
  background: rgba(36, 8, 10, 0.44);
  font-size: 0.76rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

body.page-ai-vastu-checker .vastu-severity-badge.severity-low {
  border-color: rgba(103, 214, 154, 0.42);
  color: #d8ffe8;
  background: rgba(23, 105, 67, 0.62);
}

body.page-ai-vastu-checker .vastu-severity-badge.severity-medium {
  border-color: rgba(244, 201, 103, 0.55);
  color: #2b160d;
  background: linear-gradient(135deg, #fff1b8, #f4c967);
}

body.page-ai-vastu-checker .vastu-severity-badge.severity-high {
  border-color: rgba(255, 174, 128, 0.62);
  color: #fff7ef;
  background: rgba(138, 43, 31, 0.78);
}

body.page-ai-vastu-checker .ai-vastu-product-support-section {
  display: grid;
  gap: 14px;
}

body.page-ai-vastu-checker .ai-vastu-support-note {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 12px;
  color: rgba(255, 248, 236, 0.86);
  background: rgba(244, 201, 103, 0.075);
  font-weight: 850;
}

body.page-ai-vastu-checker .ai-vastu-product-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.page-ai-vastu-checker .ai-vastu-product-support-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.055);
}

body.page-ai-vastu-checker .ai-vastu-support-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

body.page-ai-vastu-checker .ai-vastu-support-card-head h4 {
  margin: 0;
  color: #fff8ec;
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

body.page-ai-vastu-checker .ai-vastu-element-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 999px;
  color: #2b160d;
  background: linear-gradient(135deg, #fff1b8, #f4c967);
  font-size: 0.78rem;
  font-weight: 950;
}

body.page-ai-vastu-checker .ai-vastu-product-support-card p {
  margin: 0;
}

body.page-ai-vastu-checker .ai-vastu-support-line {
  padding: 10px 11px;
  border: 1px solid rgba(103, 214, 154, 0.28);
  border-radius: 12px;
  color: rgba(255, 248, 236, 0.9);
  background: rgba(103, 214, 154, 0.08);
  font-weight: 850;
}

body.page-ai-vastu-checker .ai-vastu-product-support-card strong {
  color: #f4c967;
}

body.page-ai-vastu-checker .ai-vastu-support-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

body.page-ai-vastu-checker .ai-vastu-support-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 999px;
  color: #fff1d6;
  background: rgba(36, 8, 10, 0.44);
  font-size: 0.78rem;
  font-weight: 850;
}

body.page-ai-vastu-checker .ai-vastu-product-link-placeholder[disabled] {
  justify-self: start;
  opacity: 0.72;
  cursor: not-allowed;
}

body.page-ai-vastu-checker .ai-vastu-affiliate-disclosure[hidden] {
  display: none;
}

body.page-vastu .vastu-kit-list,
body.page-ai-vastu-checker .vastu-kit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.page-vastu .vastu-note,
body.page-ai-vastu-checker .vastu-note {
  margin: 10px 0 0;
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.88rem;
}

body.page-vastu .vastu-premium-report-lock,
body.page-ai-vastu-checker .vastu-premium-report-lock {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

body.page-vastu .vastu-premium-locked-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
}

body.page-vastu .vastu-premium-locked-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(22, 8, 7, 0.34), rgba(22, 8, 7, 0.72)),
    repeating-linear-gradient(135deg, rgba(244, 201, 103, 0.06) 0 1px, transparent 1px 12px);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  pointer-events: none;
  content: "";
}

body.page-vastu .vastu-premium-locked-card h3,
body.page-vastu .vastu-premium-locked-card p,
body.page-vastu .vastu-premium-locked-card .vastu-lock-badge {
  position: relative;
  z-index: 1;
}

body.page-vastu .vastu-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 999px;
  color: #3f0c0f;
  background: linear-gradient(135deg, #fff2c6, #f4c967);
  font-size: 0.76rem;
  font-weight: 950;
}

body.page-vastu .vastu-premium-unlock,
body.page-ai-vastu-checker .vastu-premium-unlock {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
  border-color: rgba(244, 201, 103, 0.38);
  text-align: center;
}

body.page-vastu .vastu-premium-unlock p,
body.page-ai-vastu-checker .vastu-premium-unlock p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 248, 236, 0.76);
  font-size: 0.94rem;
  line-height: 1.55;
}

body.page-ai-vastu-checker .ai-vastu-benefits {
  padding-top: clamp(34px, 6vw, 66px);
}

body.page-ai-vastu-checker .ai-vastu-product-hero .hero-actions {
  margin-top: 24px;
}

body.page-ai-vastu-checker .ai-vastu-kit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-ai-vastu-checker {
  overflow-x: hidden;
}

body.page-ai-vastu-checker .ai-vastu-product-hero {
  align-items: stretch;
}

body.page-ai-vastu-checker .ai-vastu-trust-note {
  display: inline-flex;
  width: fit-content;
  margin: 16px 0 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 215, 106, 0.45);
  border-radius: 999px;
  color: #f7e6bd;
  background: rgba(70, 18, 12, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 10px 26px rgba(43, 10, 7, 0.16), inset 0 1px 0 rgba(255, 248, 236, 0.08);
}

body.page-ai-vastu-checker .ai-vastu-hero-tool-visual {
  display: grid;
  place-items: center;
  min-height: 390px;
  padding-bottom: 80px;
}

body.page-ai-vastu-checker .ai-vastu-hero-mandala,
body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-hero-mandala {
  position: relative;
  top: auto;
  left: auto;
  width: min(100%, 520px);
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

body.page-ai-vastu-checker .ai-vastu-hero-mandala::after {
  display: none;
}

body.page-ai-vastu-checker .ai-vastu-mandala-aura {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.75%, rgba(244, 201, 103, 0.18) 49.75% 50.25%, transparent 50.25%),
    linear-gradient(0deg, transparent 49.75%, rgba(244, 201, 103, 0.18) 49.75% 50.25%, transparent 50.25%),
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.09) 0deg 6deg, transparent 6deg 15deg),
    radial-gradient(circle at 50% 50%, rgba(244, 201, 103, 0.12), transparent 66%);
  box-shadow:
    0 0 54px rgba(244, 201, 103, 0.14),
    inset 0 0 38px rgba(255, 248, 236, 0.07);
}

body.page-ai-vastu-checker .ai-vastu-mandala-aura::after {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(244, 201, 103, 0.14);
  content: "";
}

body.page-ai-vastu-checker .ai-vastu-hero-grid,
body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .vastu-mandala-art.ai-vastu-hero-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 62%;
  max-width: none;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  z-index: 2;
}

body.page-ai-vastu-checker .ai-vastu-direction-badge,
body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-direction-badge {
  position: absolute;
  z-index: 3;
  min-width: 46px;
  padding: 5px 10px;
  border: 1px solid rgba(244, 201, 103, 0.56);
  border-radius: 999px;
  color: #fff1d6;
  background: rgba(36, 8, 10, 0.72);
  box-shadow: 0 0 16px rgba(244, 201, 103, 0.12), inset 0 1px 0 rgba(255, 248, 236, 0.1);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

body.page-ai-vastu-checker .ai-vastu-dir-north,
body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-dir-north {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

body.page-ai-vastu-checker .ai-vastu-dir-south,
body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-dir-south {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

body.page-ai-vastu-checker .ai-vastu-dir-east,
body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-dir-east {
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
}

body.page-ai-vastu-checker .ai-vastu-dir-west,
body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-dir-west {
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
}

body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .vastu-mandala-art span {
  min-width: 0;
  padding-right: 4px;
  padding-left: 4px;
  font-size: clamp(0.62rem, 1.2vw, 0.82rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

body.page-ai-vastu-checker .ai-vastu-visual-status {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 201, 103, 0.38);
  border-radius: 16px;
  color: #fff8ec;
  background: rgba(36, 8, 10, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.08);
}

body.page-ai-vastu-checker .ai-vastu-visual-status span,
body.page-ai-vastu-checker .ai-vastu-visual-status small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 248, 236, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

body.page-ai-vastu-checker .ai-vastu-visual-status strong {
  min-width: 0;
  color: #f4c967;
  font-size: 0.98rem;
  font-weight: 950;
  text-align: center;
  overflow-wrap: anywhere;
}

body.page-ai-vastu-checker .ai-vastu-steps .vastu-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
}

body.page-ai-vastu-checker .ai-vastu-step-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(122, 27, 27, 0.18);
  border-radius: 999px;
  color: #7a1b1b;
  background: rgba(255, 248, 236, 0.86);
  font-size: 0.9rem;
  font-weight: 950;
}

body.page-ai-vastu-checker .vastu-checker-instruction {
  display: block;
  padding: 0;
  overflow: hidden;
}

body.page-ai-vastu-checker .vastu-checker-instruction summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 17px 20px;
  color: #fff8ec;
  font-size: 1rem;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

body.page-ai-vastu-checker .vastu-checker-instruction summary::-webkit-details-marker {
  display: none;
}

body.page-ai-vastu-checker .vastu-checker-instruction summary::after {
  flex: 0 0 auto;
  color: #f4c967;
  font-size: 1.1rem;
  content: "+";
}

body.page-ai-vastu-checker .vastu-checker-instruction[open] summary::after {
  content: "-";
}

body.page-ai-vastu-checker .vastu-checker-instruction > div {
  padding: 0 20px 18px;
}

body.page-ai-vastu-checker .vastu-checker-form fieldset {
  padding: 16px;
  border: 1px solid rgba(244, 201, 103, 0.2);
  border-radius: 16px;
  background: rgba(255, 248, 236, 0.045);
}

body.page-ai-vastu-checker .vastu-checker-form fieldset:last-of-type {
  border-bottom: 1px solid rgba(244, 201, 103, 0.2);
}

body.page-ai-vastu-checker .vastu-checker-form select {
  min-height: 48px;
  border-radius: 10px;
}

body.page-ai-vastu-checker .vastu-live-mandala-panel {
  scroll-margin-top: calc(var(--header-height, 76px) + 18px);
}

body.page-ai-vastu-checker .vastu-free-report-section {
  margin-top: 26px;
}

body.page-ai-vastu-checker #vastuReportOutput {
  scroll-margin-top: calc(var(--header-height, 76px) + var(--vastu-subnav-height, 0px) + 20px);
}

body.page-ai-vastu-checker .vastu-report-placeholder {
  min-height: 0;
  text-align: center;
}

body.page-ai-vastu-checker .vastu-report-placeholder h3 {
  margin-bottom: 8px;
}

body.page-ai-vastu-checker .vastu-responsible-report-note {
  border-color: rgba(244, 201, 103, 0.42);
}

body.page-ai-vastu-checker .ai-vastu-report-teaser .vastu-premium-unlock h2,
body.page-ai-vastu-checker .ai-vastu-full-report-teaser .vastu-final-cta h2 {
  margin: 10px 0 10px;
  color: #fff8ec;
}

body.page-ai-vastu-checker .ai-vastu-report-teaser .vastu-premium-unlock .btn[disabled],
body.page-ai-vastu-checker .ai-vastu-full-report-teaser .btn[disabled] {
  cursor: not-allowed;
  opacity: 0.78;
}

body.page-ai-vastu-checker .ai-vastu-kit-grid .vastu-product-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
}

body.page-ai-vastu-checker .ai-vastu-kit-grid .vastu-product-symbol {
  grid-row: span 2;
}

body.page-ai-vastu-checker .ai-vastu-kit-grid .vastu-product-status {
  justify-self: start;
}

body.page-ai-vastu-checker .ai-vastu-kit-grid .notify-link {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
}

body.page-vastu .vastu-confirm-list,
body.page-ai-vastu-checker .vastu-confirm-list,
body.page-ai-vastu-checker .vastu-direction-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.page-vastu .vastu-confirm-item,
body.page-ai-vastu-checker .vastu-confirm-item {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(244, 201, 103, 0.22);
  border-radius: 12px;
  background: rgba(255, 248, 236, 0.052);
}

body.page-vastu .vastu-confirm-item strong,
body.page-ai-vastu-checker .vastu-confirm-item strong {
  color: #fff8ec;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

body.page-vastu .vastu-confirm-item span,
body.page-ai-vastu-checker .vastu-confirm-item span {
  color: #f4c967;
  font-size: 0.82rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

body.page-ai-vastu-checker .vastu-kit-recommendations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

body.page-ai-vastu-checker .vastu-kit-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.055);
}

body.page-ai-vastu-checker .vastu-kit-card strong {
  color: #fff8ec;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

body.page-ai-vastu-checker .vastu-kit-card p {
  margin: 0;
}

body.page-ai-vastu-checker .vastu-kit-card .notify-link {
  width: 100%;
  justify-content: center;
}

body.page-vastu .vastu-zone-modal[hidden] {
  display: none;
}

body.page-vastu .vastu-zone-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

body.page-vastu .vastu-zone-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 3, 3, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.page-vastu .vastu-zone-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 20px;
  background:
    radial-gradient(circle at 14% 0%, rgba(244, 201, 103, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.96), rgba(22, 8, 7, 0.94));
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 248, 236, 0.1);
}

body.page-vastu .vastu-zone-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 201, 103, 0.32);
  border-radius: 999px;
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.08);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

body.page-vastu .vastu-zone-dialog h3 {
  margin: 4px 42px 16px 0;
  color: #fff8ec;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
}

body.page-vastu .vastu-zone-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.page-vastu .vastu-zone-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  border-radius: 12px;
  color: rgba(255, 248, 236, 0.88);
  background: rgba(255, 248, 236, 0.055);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

body.page-vastu .vastu-zone-options input {
  accent-color: #f4c967;
  flex: 0 0 auto;
}

body.page-vastu .vastu-zone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  body.page-vastu .vastu-checker-layout,
  body.page-vastu .vastu-report-summary,
  body.page-vastu .vastu-report-grid,
  body.page-ai-vastu-checker .vastu-report-summary,
  body.page-ai-vastu-checker .vastu-report-grid,
  body.page-ai-vastu-checker .ai-vastu-product-support-grid {
    grid-template-columns: 1fr;
  }

  body.page-ai-vastu-checker .ai-vastu-kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-ai-vastu-checker .ai-vastu-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-vastu .vastu-live-mandala-panel {
    position: static;
  }

  body.page-ai-vastu-checker .ai-vastu-product-hero {
    align-items: center;
  }

  body.page-ai-vastu-checker .ai-vastu-visual-status {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.page-ai-vastu-checker .vastu-confirm-list,
  body.page-ai-vastu-checker .vastu-direction-summary-list,
  body.page-ai-vastu-checker .vastu-kit-recommendations {
    grid-template-columns: 1fr;
  }

  body.page-vastu .vastu-confirm-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.page-ai-vastu-checker .ai-vastu-product-hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 12px;
  }

  body.page-ai-vastu-checker .ai-vastu-product-hero .hero-badge {
    display: none;
  }

  body.page-ai-vastu-checker .ai-vastu-product-hero h1 {
    font-size: clamp(2rem, 12vw, 2.7rem);
  }

  body.page-ai-vastu-checker .ai-vastu-product-hero .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }

  body.page-ai-vastu-checker .ai-vastu-trust-chips span {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  body.page-ai-vastu-checker .ai-vastu-hero-tool-visual {
    display: none;
  }

  body.page-ai-vastu-checker .ai-vastu-stepper {
    width: min(100% - 24px, 520px);
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 16px;
  }

  body.page-ai-vastu-checker .ai-vastu-stepper::before {
    display: none;
  }

  body.page-ai-vastu-checker .ai-vastu-step {
    min-height: 50px;
    gap: 4px;
    padding: 5px;
  }

  body.page-ai-vastu-checker .ai-vastu-stepper .ai-vastu-step-number {
    width: 28px;
    height: 28px;
    box-shadow: none;
    font-size: 0.7rem;
  }

  body.page-ai-vastu-checker .ai-vastu-step-label {
    font-size: 0.72rem;
  }

  body.page-ai-vastu-checker .ai-vastu-quick-values {
    width: min(100% - 24px, 520px);
    margin-bottom: 6px;
    gap: 6px;
  }

  body.page-ai-vastu-checker .ai-vastu-quick-values article {
    flex-basis: calc(50% - 6px);
    min-height: 38px;
    padding: 7px 8px;
    border-radius: 12px;
  }

  body.page-ai-vastu-checker .ai-vastu-quick-values span {
    width: 23px;
    height: 23px;
    font-size: 0.76rem;
  }

  body.page-ai-vastu-checker .ai-vastu-quick-values strong {
    font-size: 0.84rem;
  }

  body.page-ai-vastu-checker .ai-vastu-checker-section {
    padding-top: 18px;
  }

  body.page-ai-vastu-checker .ai-vastu-checker-section > .vastu-section-heading {
    margin-bottom: 10px;
  }

  body.page-ai-vastu-checker .ai-vastu-checker-section > .vastu-section-heading .section-kicker,
  body.page-ai-vastu-checker .ai-vastu-fast-note {
    display: none;
  }

  body.page-ai-vastu-checker .ai-vastu-methodology {
    margin-bottom: 8px;
    padding: 12px;
    border-radius: 14px;
  }

  body.page-ai-vastu-checker .ai-vastu-methodology p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  body.page-ai-vastu-checker .vastu-checker-instruction {
    margin-bottom: 8px;
  }

  body.page-ai-vastu-checker .ai-vastu-compact-grid {
    grid-template-columns: 1fr;
  }

  body.page-ai-vastu-checker .ai-vastu-trust-note {
    width: 100%;
    border-radius: 12px;
  }

  body.page-ai-vastu-checker .ai-vastu-hero-tool-visual {
    min-height: 338px;
    padding-bottom: 74px;
  }

  body.page-ai-vastu-checker .ai-vastu-visual-status {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 10px 12px;
    text-align: center;
  }

  body.page-ai-vastu-checker .ai-vastu-visual-status strong {
    text-align: center;
  }

  body.page-ai-vastu-checker .vastu-checker-instruction summary {
    align-items: flex-start;
    min-height: 0;
    padding: 15px 16px;
    line-height: 1.35;
  }

  body.page-ai-vastu-checker .vastu-checker-instruction > div {
    padding: 0 16px 16px;
  }

  body.page-ai-vastu-checker .ai-vastu-methodology {
    margin: 20px auto 24px;
    padding: 18px 16px;
    border-radius: 18px;
  }

  body.page-ai-vastu-checker .ai-vastu-methodology h3 {
    font-size: 1.1rem;
  }

  body.page-ai-vastu-checker .ai-vastu-methodology p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  body.page-ai-vastu-checker .vastu-checker-form {
    padding: 14px;
  }

  body.page-ai-vastu-checker .vastu-checker-form fieldset {
    padding: 14px;
  }

  body.page-vastu .vastu-form-grid,
  body.page-vastu .vastu-placement-grid {
    grid-template-columns: 1fr;
  }

  body.page-vastu .vastu-radio-row label {
    flex: 1 1 100%;
  }

  body.page-vastu .vastu-live-mandala {
    gap: 5px;
  }

  body.page-vastu .vastu-live-cell {
    min-height: 0;
    padding: 9px 5px;
    border-radius: 11px;
  }

  body.page-vastu .vastu-live-cell strong {
    font-size: 0.74rem;
  }

  body.page-vastu .vastu-live-cell > span {
    font-size: 0.64rem;
  }

  body.page-vastu .vastu-live-tag {
    padding: 3px 5px;
    font-size: 0.6rem;
  }

  body.page-ai-vastu-checker .ai-vastu-unlock-card .btn {
    width: 100%;
    justify-content: center;
  }

  body.page-ai-vastu-checker .ai-vastu-unlock-list {
    grid-template-columns: 1fr;
  }

  body.page-ai-vastu-checker .ai-vastu-comparison-grid {
    grid-template-columns: 1fr;
  }

  body.page-ai-vastu-checker .vastu-room-observation-list {
    grid-template-columns: 1fr;
  }

  body.page-vastu .vastu-shape-stage {
    padding: 0;
  }

  body.page-ai-vastu-checker .vastu-layout-canvas,
  body.page-ai-vastu-checker .vastu-property-canvas {
    width: 100% !important;
    max-width: 100%;
    padding: 7px;
    border-radius: 16px;
  }

  body.page-ai-vastu-checker .vastu-checker-actions,
  body.page-ai-vastu-checker .vastu-zone-actions,
  body.page-ai-vastu-checker .vastu-notify-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.page-ai-vastu-checker .vastu-checker-actions .btn,
  body.page-ai-vastu-checker .vastu-zone-actions .btn,
  body.page-ai-vastu-checker .vastu-notify-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  body.page-vastu .vastu-zone-options,
  body.page-vastu .vastu-confirm-list {
    grid-template-columns: 1fr;
  }

  body.page-ai-vastu-checker .ai-vastu-kit-grid {
    grid-template-columns: 1fr;
  }

  body.page-ai-vastu-checker .ai-vastu-kit-grid .vastu-product-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.page-vastu .vastu-zone-modal {
    align-items: end;
    padding: 10px;
  }

  body.page-vastu .vastu-zone-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 18px;
  }
}

@media (max-width: 860px) {
  body.page-vastu .vastu-hero-visual {
    --vastu-compass-size: min(330px, calc(100% - 88px));
    --vastu-compass-top: 34px;
    --vastu-mandala-size: min(218px, 66%);
    min-height: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 104px);
    padding-right: 36px;
    padding-left: 36px;
  }

  body.page-vastu .vastu-compass > span {
    padding: 5px 9px;
    font-size: 0.72rem;
  }
}

@media (max-width: 680px) {
  body.page-vastu .vastu-hero-visual {
    --vastu-compass-size: min(292px, calc(100% - 60px));
    --vastu-compass-top: 30px;
    --vastu-mandala-size: min(188px, 64%);
    min-height: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 112px);
    padding-right: 24px;
    padding-left: 24px;
  }

  body.page-vastu .vastu-compass > span {
    min-width: 40px;
    padding: 4px 8px;
    font-size: 0.66rem;
  }

  body.page-vastu .vastu-compass .east {
    right: -8px;
  }

  body.page-vastu .vastu-compass .west {
    left: -8px;
  }

  body.page-vastu .vastu-mandala-art span {
    padding: 5px 3px;
    font-size: 0.76rem;
  }

  body.page-vastu .vastu-mandala-art span:nth-child(5) {
    font-size: 1.72rem;
  }

  body.page-vastu .panch-tatva-ring {
    top: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 20px);
    right: 16px;
    left: 16px;
    gap: 7px;
  }

  body.page-vastu .panch-tatva-ring span {
    padding: 5px 10px;
    font-size: 0.76rem;
  }
}

/* Final global header lock: keep every shared-CSS page aligned to the Home header */
body.page-rashifal .site-header,
body.page-panchang .site-header,
body.page-upay .site-header,
body.page-vastu .site-header,
body.page-kundli .site-header,
body.page-about .site-header,
body.page-contact .site-header,
body.page-privacy .site-header,
body.page-error .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  text-align: left;
  border-bottom: 1px solid rgba(239, 200, 107, 0.28);
  background: linear-gradient(135deg, rgba(42, 8, 10, 0.82), rgba(80, 18, 16, 0.68));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.26);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

body.page-rashifal .header-inner,
body.page-panchang .header-inner,
body.page-upay .header-inner,
body.page-vastu .header-inner,
body.page-kundli .header-inner,
body.page-about .header-inner,
body.page-contact .header-inner,
body.page-privacy .header-inner,
body.page-error .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 0;
}

body.page-rashifal .brand,
body.page-panchang .brand,
body.page-upay .brand,
body.page-vastu .brand,
body.page-kundli .brand,
body.page-about .brand,
body.page-contact .brand,
body.page-privacy .brand,
body.page-error .brand {
  display: flex;
  align-items: center;
  min-width: 230px;
  gap: 12px;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

body.page-rashifal .brand::before,
body.page-panchang .brand::before,
body.page-upay .brand::before,
body.page-vastu .brand::before,
body.page-kundli .brand::before,
body.page-about .brand::before,
body.page-contact .brand::before,
body.page-privacy .brand::before,
body.page-error .brand::before {
  content: none;
  display: none;
}

body.page-rashifal .brand-mark,
body.page-panchang .brand-mark,
body.page-upay .brand-mark,
body.page-vastu .brand-mark,
body.page-kundli .brand-mark,
body.page-about .brand-mark,
body.page-contact .brand-mark,
body.page-privacy .brand-mark,
body.page-error .brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 200, 107, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 236, 0.9), rgba(239, 200, 107, 0.2) 68%, transparent 70%);
  box-shadow: 0 0 24px rgba(239, 200, 107, 0.26);
}

body.page-rashifal .brand-mark img,
body.page-panchang .brand-mark img,
body.page-upay .brand-mark img,
body.page-vastu .brand-mark img,
body.page-kundli .brand-mark img,
body.page-about .brand-mark img,
body.page-contact .brand-mark img,
body.page-privacy .brand-mark img,
body.page-error .brand-mark img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

body.page-rashifal .brand-name,
body.page-panchang .brand-name,
body.page-upay .brand-name,
body.page-vastu .brand-name,
body.page-kundli .brand-name,
body.page-about .brand-name,
body.page-contact .brand-name,
body.page-privacy .brand-name,
body.page-error .brand-name {
  display: block;
  color: #efc86b;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-shadow: 0 0 22px rgba(239, 200, 107, 0.22);
}

body.page-rashifal .brand-subtitle,
body.page-panchang .brand-subtitle,
body.page-upay .brand-subtitle,
body.page-vastu .brand-subtitle,
body.page-kundli .brand-subtitle,
body.page-about .brand-subtitle,
body.page-contact .brand-subtitle,
body.page-privacy .brand-subtitle,
body.page-error .brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 236, 0.82);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.page-rashifal .main-nav,
body.page-panchang .main-nav,
body.page-upay .main-nav,
body.page-vastu .main-nav,
body.page-kundli .main-nav,
body.page-about .main-nav,
body.page-contact .main-nav,
body.page-privacy .main-nav,
body.page-error .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-rashifal .main-nav a,
body.page-panchang .main-nav a,
body.page-upay .main-nav a,
body.page-vastu .main-nav a,
body.page-kundli .main-nav a,
body.page-about .main-nav a,
body.page-contact .main-nav a,
body.page-privacy .main-nav a,
body.page-error .main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.86);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

body.page-rashifal .main-nav a:hover,
body.page-rashifal .main-nav a.active,
body.page-panchang .main-nav a:hover,
body.page-panchang .main-nav a.active,
body.page-upay .main-nav a:hover,
body.page-upay .main-nav a.active,
body.page-vastu .main-nav a:hover,
body.page-vastu .main-nav a.active,
body.page-kundli .main-nav a:hover,
body.page-kundli .main-nav a.active,
body.page-about .main-nav a:hover,
body.page-about .main-nav a.active,
body.page-contact .main-nav a:hover,
body.page-contact .main-nav a.active,
body.page-privacy .main-nav a:hover,
body.page-privacy .main-nav a.active,
body.page-error .main-nav a:hover,
body.page-error .main-nav a.active {
  border-color: rgba(239, 200, 107, 0.46);
  background: rgba(255, 248, 236, 0.08);
  color: #efc86b;
  box-shadow: 0 0 18px rgba(239, 200, 107, 0.14);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  body.page-rashifal .header-inner,
  body.page-panchang .header-inner,
  body.page-upay .header-inner,
  body.page-vastu .header-inner,
  body.page-kundli .header-inner,
  body.page-about .header-inner,
  body.page-contact .header-inner,
  body.page-privacy .header-inner,
  body.page-error .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-rashifal .main-nav,
  body.page-panchang .main-nav,
  body.page-upay .main-nav,
  body.page-vastu .main-nav,
  body.page-kundli .main-nav,
  body.page-about .main-nav,
  body.page-contact .main-nav,
  body.page-privacy .main-nav,
  body.page-error .main-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.page-rashifal .main-nav a,
  body.page-panchang .main-nav a,
  body.page-upay .main-nav a,
  body.page-vastu .main-nav a,
  body.page-kundli .main-nav a,
  body.page-about .main-nav a,
  body.page-contact .main-nav a,
  body.page-privacy .main-nav a,
  body.page-error .main-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  body.page-rashifal .header-inner,
  body.page-panchang .header-inner,
  body.page-upay .header-inner,
  body.page-vastu .header-inner,
  body.page-kundli .header-inner,
  body.page-about .header-inner,
  body.page-contact .header-inner,
  body.page-privacy .header-inner,
  body.page-error .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 12px;
    padding: 11px 0;
  }

  body.page-rashifal .brand,
  body.page-panchang .brand,
  body.page-upay .brand,
  body.page-vastu .brand,
  body.page-kundli .brand,
  body.page-about .brand,
  body.page-contact .brand,
  body.page-privacy .brand,
  body.page-error .brand {
    min-width: 0;
  }

  body.page-rashifal .brand-mark,
  body.page-panchang .brand-mark,
  body.page-upay .brand-mark,
  body.page-vastu .brand-mark,
  body.page-kundli .brand-mark,
  body.page-about .brand-mark,
  body.page-contact .brand-mark,
  body.page-privacy .brand-mark,
  body.page-error .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.page-rashifal .brand-mark img,
  body.page-panchang .brand-mark img,
  body.page-upay .brand-mark img,
  body.page-vastu .brand-mark img,
  body.page-kundli .brand-mark img,
  body.page-about .brand-mark img,
  body.page-contact .brand-mark img,
  body.page-privacy .brand-mark img,
  body.page-error .brand-mark img {
    width: 40px;
    height: 40px;
  }

  body.page-rashifal .brand-subtitle,
  body.page-panchang .brand-subtitle,
  body.page-upay .brand-subtitle,
  body.page-vastu .brand-subtitle,
  body.page-kundli .brand-subtitle,
  body.page-about .brand-subtitle,
  body.page-contact .brand-subtitle,
  body.page-privacy .brand-subtitle,
  body.page-error .brand-subtitle {
    max-width: min(100%, 260px);
    font-size: 0.72rem;
  }

  body.page-rashifal .main-nav,
  body.page-panchang .main-nav,
  body.page-upay .main-nav,
  body.page-vastu .main-nav,
  body.page-kundli .main-nav,
  body.page-about .main-nav,
  body.page-contact .main-nav,
  body.page-privacy .main-nav,
  body.page-error .main-nav {
    gap: 5px;
  }

  body.page-rashifal .main-nav a,
  body.page-panchang .main-nav a,
  body.page-upay .main-nav a,
  body.page-vastu .main-nav a,
  body.page-kundli .main-nav a,
  body.page-about .main-nav a,
  body.page-contact .main-nav a,
  body.page-privacy .main-nav a,
  body.page-error .main-nav a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.84rem;
  }
}

/* Premium Contact page */
body.page-contact {
  background:
    radial-gradient(circle at 50% -10%, rgba(244, 201, 103, 0.3), transparent 30rem),
    radial-gradient(circle at 12% 22%, rgba(122, 27, 27, 0.58), transparent 28rem),
    radial-gradient(circle at 88% 30%, rgba(217, 147, 47, 0.18), transparent 24rem),
    linear-gradient(145deg, #24080a 0%, #4f0d10 42%, #2b160d 74%, #160807 100%);
}

body.page-contact::before {
  background:
    linear-gradient(180deg, rgba(36, 8, 10, 0.58), rgba(43, 18, 10, 0.84)),
    url("../images/heroes/home-hero.png") center top / cover no-repeat;
  opacity: 0.32;
}

body.page-contact::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 103, 0.22), transparent 34rem),
    repeating-radial-gradient(circle at 50% 4%, rgba(244, 201, 103, 0.055) 0 1px, transparent 1px 28px),
    repeating-conic-gradient(from 10deg at 50% 3%, rgba(244, 201, 103, 0.04) 0deg 7deg, transparent 7deg 17deg),
    linear-gradient(180deg, rgba(36, 8, 10, 0.18), rgba(22, 8, 7, 0.74));
}

body.page-contact .contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
  width: min(1040px, calc(100% - 32px));
  margin: 34px auto 8px;
  padding: clamp(26px, 4.5vw, 44px);
  text-align: left;
}

body.page-contact .contact-hero h1 {
  max-width: 720px;
  font-size: clamp(2.15rem, 5vw, 4.1rem);
}

body.page-contact .contact-hero p {
  max-width: 710px;
  margin: 0;
  color: rgba(255, 248, 236, 0.84);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

body.page-contact .contact-hero-symbol {
  position: relative;
  min-height: 180px;
}

body.page-contact .contact-symbol-ring,
body.page-contact .contact-symbol-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body.page-contact .contact-symbol-ring {
  width: min(160px, 32vw);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 201, 103, 0.52);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(244, 201, 103, 0.16) 0deg 7deg, transparent 7deg 17deg),
    radial-gradient(circle, rgba(244, 201, 103, 0.2), transparent 68%);
  box-shadow: 0 0 52px rgba(244, 201, 103, 0.18), inset 0 0 34px rgba(255, 248, 236, 0.08);
}

body.page-contact .contact-symbol-core {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.72);
  border-radius: 50%;
  color: #5f1411;
  font-size: 2.8rem;
  background: radial-gradient(circle, #fff8ec, #f4c967 72%, #b97021);
  box-shadow: 0 0 38px rgba(244, 201, 103, 0.34);
}

body.page-contact .contact-section {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px) 0;
}

body.page-contact .contact-section-heading {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

body.page-contact .contact-section-heading h2,
body.page-contact .contact-main-card h2,
body.page-contact .contact-responsible-note h2 {
  margin: 10px 0 0;
  color: #fff8ec;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  text-shadow: 0 2px 22px rgba(244, 201, 103, 0.16);
}

body.page-contact .contact-section-heading p,
body.page-contact .contact-main-card p,
body.page-contact .contact-info-card p,
body.page-contact .contact-follow-card p,
body.page-contact .contact-responsible-note p {
  color: rgba(255, 248, 236, 0.82);
  line-height: 1.7;
  letter-spacing: 0;
  word-spacing: 0;
}

body.page-contact .section-kicker,
body.page-contact .hero-badge {
  color: #fff1d6;
  border-color: rgba(244, 201, 103, 0.46);
  background: linear-gradient(135deg, rgba(244, 201, 103, 0.2), rgba(122, 27, 27, 0.32));
  box-shadow: 0 0 22px rgba(244, 201, 103, 0.12);
}

body.page-contact .contact-main-card,
body.page-contact .contact-follow-card,
body.page-contact .contact-responsible-note {
  border-color: rgba(244, 201, 103, 0.4);
  background:
    radial-gradient(circle at 18% 10%, rgba(244, 201, 103, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.72), rgba(43, 22, 13, 0.6));
  box-shadow: 0 26px 64px rgba(10, 3, 3, 0.3), inset 0 1px 0 rgba(255, 248, 236, 0.13);
}

body.page-contact .contact-main-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: center;
  gap: clamp(20px, 4vw, 36px);
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
}

body.page-contact .contact-card-copy p {
  max-width: 650px;
  margin: 14px 0 0;
}

body.page-contact .contact-email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 201, 103, 0.3);
  border-radius: 16px;
  background: rgba(255, 248, 236, 0.06);
}

body.page-contact .contact-email-row span {
  color: #f4c967;
  font-weight: 800;
}

body.page-contact .contact-email-row a,
body.page-contact .contact-quick-link {
  color: #fff1d6;
  text-decoration: none;
}

body.page-contact .contact-email-row a {
  overflow-wrap: anywhere;
  font-weight: 800;
}

body.page-contact .contact-action-stack {
  display: grid;
  gap: 12px;
}

body.page-contact .contact-social-btn {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(244, 201, 103, 0.56);
  color: #33100c;
  background: linear-gradient(135deg, #fff4c6, #f4c967 54%, #d9932f);
  box-shadow: 0 16px 34px rgba(10, 3, 3, 0.24), 0 0 22px rgba(244, 201, 103, 0.18);
}

body.page-contact .contact-social-btn.secondary-social {
  color: #fff8ec;
  background:
    linear-gradient(135deg, rgba(255, 248, 236, 0.1), rgba(244, 201, 103, 0.12)),
    rgba(122, 27, 27, 0.42);
}

body.page-contact .contact-card-grid,
body.page-contact .contact-follow-grid,
body.page-contact .contact-quick-grid {
  display: grid;
  gap: 16px;
}

body.page-contact .why-connect-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-contact .contact-info-card,
body.page-contact .contact-quick-link {
  border-color: rgba(244, 201, 103, 0.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 201, 103, 0.1), transparent 42%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.66), rgba(22, 8, 7, 0.48));
  box-shadow: 0 18px 42px rgba(10, 3, 3, 0.24), inset 0 1px 0 rgba(255, 248, 236, 0.1);
}

body.page-contact .contact-info-card {
  padding: 20px;
}

body.page-contact .contact-info-card > span,
body.page-contact .contact-platform-icon,
body.page-contact .contact-quick-link span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.6);
  border-radius: 50%;
  color: #3f0c0f;
  font-weight: 800;
  background: radial-gradient(circle, #fff8ec, #f4c967 72%, #b97021);
  box-shadow: 0 0 22px rgba(244, 201, 103, 0.22);
}

body.page-contact .contact-info-card h3,
body.page-contact .contact-follow-card h3 {
  margin: 0 0 10px;
  color: #fff8ec;
}

body.page-contact .contact-info-card p,
body.page-contact .contact-follow-card p {
  margin: 0;
}

body.page-contact .contact-follow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto;
}

body.page-contact .contact-follow-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
  padding: clamp(22px, 4vw, 30px);
}

body.page-contact .contact-quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-contact .contact-quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.page-contact .contact-quick-link:hover {
  border-color: rgba(244, 201, 103, 0.58);
  box-shadow: 0 22px 48px rgba(10, 3, 3, 0.28), 0 0 20px rgba(244, 201, 103, 0.14);
  transform: translateY(-2px);
}

body.page-contact .contact-quick-link span {
  flex: 0 0 48px;
  margin: 0;
}

body.page-contact .contact-quick-link strong {
  color: #fff8ec;
  font-size: 1.02rem;
  line-height: 1.35;
}

body.page-contact .contact-note-section {
  padding-top: 16px;
}

body.page-contact .contact-responsible-note {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 38px);
  text-align: center;
}

body.page-contact .contact-responsible-note p {
  max-width: 820px;
  margin: 14px auto 0;
}

@media (max-width: 1040px) {
  body.page-contact .why-connect-grid,
  body.page-contact .contact-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-contact .contact-hero,
  body.page-contact .contact-main-card,
  body.page-contact .contact-follow-grid,
  body.page-contact .why-connect-grid,
  body.page-contact .contact-quick-grid {
    grid-template-columns: 1fr;
  }

  body.page-contact .contact-hero {
    text-align: center;
  }

  body.page-contact .contact-hero p {
    margin: 0 auto;
  }

  body.page-contact .contact-hero-symbol {
    min-height: 132px;
  }

  body.page-contact .contact-symbol-ring {
    width: min(132px, 52vw);
  }

  body.page-contact .contact-symbol-core {
    width: 74px;
    height: 74px;
    font-size: 2.35rem;
  }

  body.page-contact .contact-main-card,
  body.page-contact .contact-responsible-note {
    text-align: center;
  }

  body.page-contact .contact-email-row {
    justify-content: center;
  }

  body.page-contact .contact-quick-link {
    min-height: 84px;
  }
}

/* Critical launch mobile UX fixes. Keep this block at EOF. */
body.page-kundli .kundli-panel {
  border-color: rgba(212, 175, 55, 0.48);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(255, 241, 214, 0.9));
  color: #3b2a20;
}

body.page-kundli .kundli-panel-heading h2,
body.page-kundli .kundli-panel .section-kicker {
  color: #4b1f16;
  text-shadow: none;
}

body.page-kundli .kundli-panel-heading p,
body.page-kundli .kundli-panel p {
  color: #3b2a20;
}

body.page-kundli .form-field label {
  color: #7a4218;
}

body.page-kundli .field-helper {
  color: #6e5845;
}

body.page-kundli .form-field input,
body.page-kundli .form-field select {
  border-color: rgba(138, 90, 31, 0.34);
  background: rgba(255, 255, 255, 0.9);
  color: #2f2118;
}

body.page-kundli .form-field input::placeholder {
  color: #7a7068;
  opacity: 1;
}

body.page-kundli .kundli-benefit-card {
  border-color: rgba(244, 201, 103, 0.52);
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 201, 103, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.92), rgba(42, 8, 10, 0.88));
  color: #fff8ec;
}

body.page-kundli .kundli-benefit-card h2,
body.page-kundli .kundli-benefit-card .section-kicker {
  color: #fff8ec;
  text-shadow: 0 2px 16px rgba(10, 3, 3, 0.32);
}

body.page-kundli .kundli-benefit-card > p {
  color: rgba(255, 244, 220, 0.9);
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(10, 3, 3, 0.28);
}

body.page-kundli .kundli-benefit-card .kundli-benefit-list li {
  color: rgba(255, 244, 214, 0.92);
}

/* AI Pandit payment-ready foundation */
body.page-kundli .ai-pandit-section,
body.page-kundli .ai-pandit-dashboard-section {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 68px) 0;
}

body.page-kundli .ai-pandit-heading {
  max-width: 780px;
  margin: 0 auto 22px;
  text-align: center;
}

body.page-kundli .ai-pandit-heading h2 {
  margin: 10px 0 12px;
  color: #fff8ec;
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  text-shadow: 0 2px 22px rgba(244, 201, 103, 0.16);
}

body.page-kundli .ai-pandit-heading p,
body.page-kundli .ai-pandit-plan-card p,
body.page-kundli .ai-credit-card p,
body.page-kundli .ai-dashboard-panel p,
body.page-kundli .ai-payment-help p,
body.page-kundli .ai-dashboard-login-card p,
body.page-kundli .ai-dashboard-summary p {
  color: rgba(255, 241, 209, 0.9);
  line-height: 1.55;
}

body.page-kundli .ai-pandit-auth-note {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 8px 13px;
  border: 1px solid rgba(244, 201, 103, 0.36);
  border-radius: 999px;
  color: #ffe6a3;
  background: rgba(255, 248, 236, 0.08);
  font-weight: 800;
}

body.page-kundli .ai-pandit-plan-grid,
body.page-kundli .ai-credit-overview {
  display: grid;
  gap: 14px;
}

body.page-kundli .ai-pandit-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

body.page-kundli .ai-credit-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-kundli .ai-pandit-plan-card,
body.page-kundli .ai-credit-card,
body.page-kundli .ai-dashboard-panel,
body.page-kundli .ai-dashboard-login-card,
body.page-kundli .ai-dashboard-summary,
body.page-kundli .ai-payment-help,
body.page-kundli .ai-history-section {
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 201, 103, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(63, 12, 15, 0.82), rgba(40, 20, 9, 0.68));
  box-shadow:
    0 24px 58px rgba(8, 2, 2, 0.34),
    inset 0 1px 0 rgba(255, 248, 236, 0.12);
  backdrop-filter: blur(18px) saturate(128%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
}

body.page-kundli .ai-pandit-plan-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 24px 20px;
  border-radius: 24px;
}

body.page-kundli .ai-pandit-plan-card.featured {
  border-color: rgba(244, 201, 103, 0.72);
  box-shadow:
    0 22px 52px rgba(8, 2, 2, 0.34),
    0 0 34px rgba(244, 201, 103, 0.16),
    inset 0 1px 0 rgba(255, 248, 236, 0.14);
}

body.page-kundli .ai-plan-card--premium {
  border-color: rgba(255, 213, 111, 0.82);
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 213, 111, 0.24), transparent 34%),
    radial-gradient(circle at 100% 18%, rgba(126, 48, 106, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(54, 10, 38, 0.94), rgba(89, 14, 29, 0.9) 48%, rgba(45, 10, 13, 0.88));
  box-shadow:
    0 24px 60px rgba(8, 2, 2, 0.42),
    0 0 34px rgba(255, 213, 111, 0.22),
    inset 0 1px 0 rgba(255, 248, 236, 0.18);
}

body.page-kundli .ai-plan-card--premium .ai-plan-badge {
  border-color: rgba(255, 226, 150, 0.82);
  color: #fff3c0;
  background: linear-gradient(135deg, rgba(255, 213, 111, 0.22), rgba(122, 27, 27, 0.42));
  box-shadow: 0 0 18px rgba(255, 213, 111, 0.18);
}

body.page-kundli .ai-plan-card--premium .ai-plan-price span {
  color: #ffd970;
  text-shadow: 0 0 18px rgba(255, 213, 111, 0.2);
}

body.page-kundli .ai-plan-card--premium .ai-plan-button {
  border-color: rgba(255, 226, 150, 0.82);
  color: #321008;
  background: linear-gradient(135deg, #fff0b8 0%, #f4c967 52%, #b97021 100%);
  box-shadow: 0 14px 30px rgba(8, 2, 2, 0.3), 0 0 22px rgba(255, 213, 111, 0.22);
  text-shadow: none;
}

body.page-kundli .ai-plan-card--premium .ai-plan-button:hover {
  color: #321008;
  background: linear-gradient(135deg, #fff6cf 0%, #ffd970 54%, #c98227 100%);
}

body.page-kundli .ai-plan-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid rgba(244, 201, 103, 0.5);
  border-radius: 999px;
  color: #ffe6a3;
  background: rgba(255, 248, 236, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

body.page-kundli .ai-pandit-plan-card h3,
body.page-kundli .ai-credit-card h3,
body.page-kundli .ai-dashboard-panel h3,
body.page-kundli .ai-payment-help h3,
body.page-kundli .ai-history-section h3,
body.page-kundli .ai-dashboard-login-card h3,
body.page-kundli .ai-dashboard-summary h3 {
  margin: 0;
  color: #fff8ec;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

body.page-kundli .ai-pandit-plan-card h3 {
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
}

body.page-kundli .ai-pandit-plan-card p {
  margin: 0;
  font-size: 0.94rem;
}

body.page-kundli .ai-plan-description {
  color: rgba(255, 241, 209, 0.86);
  line-height: 1.5;
}

body.page-kundli .ai-plan-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 0;
}

body.page-kundli .ai-plan-price span {
  color: #f4c967;
  font-size: clamp(1.65rem, 2.4vw, 1.95rem);
  font-weight: 900;
  line-height: 1;
}

body.page-kundli .ai-plan-price del {
  color: rgba(255, 248, 236, 0.55);
  font-weight: 800;
}

body.page-kundli .ai-plan-intro-line {
  width: fit-content;
  margin: -4px 0 0;
  padding: 5px 9px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 999px;
  color: #ffe6a3;
  background: rgba(244, 201, 103, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
}

body.page-kundli .regular-price-active .ai-plan-badge {
  color: rgba(255, 248, 236, 0.78);
}

body.page-kundli .regular-price-active .ai-plan-price del {
  display: none;
}

body.page-kundli .regular-price-active .ai-plan-intro-line {
  display: none;
}

body.page-kundli .ai-plan-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 11px 14px;
}

body.page-kundli .ai-plan-button.is-loading {
  opacity: 0.72;
  cursor: wait;
}

body.page-kundli .ai-pandit-dashboard-link {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

body.page-kundli .ai-dashboard-login-card,
body.page-kundli .ai-payment-help,
body.page-kundli .ai-history-section {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(18px, 3.2vw, 28px);
  text-align: center;
}

body.page-kundli .ai-dashboard-content {
  display: grid;
  gap: 16px;
}

body.page-kundli .ai-dashboard-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

body.page-kundli .ai-account-profile {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}

body.page-kundli .ai-account-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 201, 103, 0.52);
  border-radius: 50%;
  color: #3f0c0f;
  background: radial-gradient(circle, #fff8ec, #efc86b 74%, #a9621e);
  font-weight: 900;
}

body.page-kundli .ai-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-kundli .ai-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

body.page-kundli .ai-credit-card,
body.page-kundli .ai-dashboard-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
}

body.page-kundli .ai-credit-card {
  align-content: start;
  min-height: 0;
}

body.page-kundli .ai-card-label {
  color: rgba(255, 230, 163, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

body.page-kundli .ai-credit-card > strong {
  color: #f4c967;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

body.page-kundli .ai-credit-card .btn {
  width: fit-content;
  min-height: 38px;
  margin-top: 2px;
  padding: 9px 14px;
}

body.page-kundli .ai-credit-note {
  margin-top: -2px;
  color: rgba(255, 241, 209, 0.88);
  font-size: 0.92rem;
}

body.page-kundli .ai-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

body.page-kundli .ai-status-detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
}

body.page-kundli .ai-status-detail p,
body.page-kundli .ai-order-row p,
body.page-kundli .ai-empty-state {
  margin: 0;
  color: rgba(255, 241, 209, 0.92);
}

body.page-kundli .ai-status-detail h4 {
  margin: 0 0 5px;
  color: #fff8ec;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.2;
}

body.page-kundli .ai-status-meta,
body.page-kundli .ai-order-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

body.page-kundli .ai-status-meta {
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-top: 10px;
  border-top: 1px solid rgba(244, 201, 103, 0.18);
}

body.page-kundli .ai-status-meta div,
body.page-kundli .ai-order-meta div {
  min-width: 0;
}

body.page-kundli .ai-status-meta dt,
body.page-kundli .ai-order-meta dt {
  color: rgba(255, 220, 142, 0.88);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.page-kundli .ai-status-meta dd,
body.page-kundli .ai-order-meta dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: rgba(255, 248, 236, 0.96);
  font-weight: 800;
}

body.page-kundli .ai-status-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 999px;
  color: #ffe6a3;
  background: rgba(244, 201, 103, 0.1);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
}

body.page-kundli .ai-status-badge.is-paid {
  border-color: rgba(162, 205, 132, 0.5);
  color: #d8f0b0;
  background: rgba(99, 136, 72, 0.18);
}

body.page-kundli .ai-status-badge.is-failed {
  border-color: rgba(214, 118, 91, 0.48);
  color: #f2b09b;
  background: rgba(151, 49, 35, 0.16);
}

body.page-kundli .ai-status-badge.is-refunded,
body.page-kundli .ai-status-badge.is-cancelled {
  border-color: rgba(255, 248, 236, 0.26);
  color: rgba(255, 248, 236, 0.76);
  background: rgba(255, 248, 236, 0.07);
}

body.page-kundli .ai-orders-list {
  display: grid;
  gap: 10px;
}

body.page-kundli .ai-order-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.05fr) minmax(0, 2fr);
  gap: 12px 16px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(244, 201, 103, 0.18);
  border-radius: 16px;
  background: rgba(10, 3, 3, 0.18);
}

body.page-kundli .ai-order-row:first-child {
  padding-top: 14px;
}

body.page-kundli .ai-order-main {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.page-kundli .ai-order-main strong {
  color: #fff8ec;
  line-height: 1.25;
}

body.page-kundli .ai-order-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-kundli .ai-payment-reference dd {
  max-width: 160px;
  color: #f4c967;
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0;
  white-space: nowrap;
}

body.page-kundli .ai-orders-more {
  margin: 8px 0 0;
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.92rem;
}

body.page-kundli .ai-dashboard-panel .ai-empty-state,
body.page-kundli .ai-payment-help p {
  font-size: 0.98rem;
}

.ai-pandit-modal[hidden] {
  display: none;
}

.ai-pandit-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 14px;
}

.ai-pandit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 2, 2, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ai-pandit-modal-panel {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid rgba(244, 201, 103, 0.5);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 201, 103, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(63, 12, 15, 0.96), rgba(40, 20, 9, 0.94));
  box-shadow: 0 28px 70px rgba(8, 2, 2, 0.52), inset 0 1px 0 rgba(255, 248, 236, 0.14);
  color: #fff8ec;
}

.ai-pandit-modal-panel h2 {
  margin: 0 42px 10px 0;
  color: #fff8ec;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.15;
}

.ai-header-auth {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.ai-header-login,
.ai-header-logout,
.ai-logout-button {
  cursor: pointer;
}

.ai-header-login,
.ai-header-logout {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 200, 107, 0.5);
  border-radius: 999px;
  color: #efc86b;
  background: rgba(255, 248, 236, 0.08);
  font-family: Arial, "Noto Sans Devanagari", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease;
}

.ai-header-login {
  padding: 8px 14px;
}

.ai-header-logout {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

.ai-header-login:hover,
.ai-header-logout:hover {
  border-color: rgba(239, 200, 107, 0.76);
  background: rgba(239, 200, 107, 0.14);
  transform: translateY(-1px);
}

.ai-header-user {
  display: inline-flex;
  max-width: 260px;
  align-items: center;
  gap: 8px;
  padding: 4px 5px 4px 4px;
  border: 1px solid rgba(239, 200, 107, 0.34);
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.92);
  background: rgba(8, 2, 2, 0.22);
}

.ai-header-avatar,
.ai-header-photo {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
}

.ai-header-avatar {
  color: #3f0c0f;
  background: radial-gradient(circle, #fff8ec, #efc86b 74%, #a9621e);
  font-size: 0.82rem;
  font-weight: 900;
}

.ai-header-photo {
  object-fit: cover;
  background: rgba(255, 248, 236, 0.14);
}

.ai-header-name {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 248, 236, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-pandit-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(239, 200, 107, 0.5);
  border-radius: 999px;
  color: #fff8ec;
  background: linear-gradient(135deg, rgba(63, 12, 15, 0.96), rgba(40, 20, 9, 0.94));
  box-shadow: 0 20px 42px rgba(8, 2, 2, 0.38);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ai-pandit-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .ai-header-auth,
  .ai-header-user,
  .ai-header-login {
    width: 100%;
  }

  .ai-header-user {
    max-width: none;
  }

  .ai-header-name {
    flex: 1 1 auto;
  }
}

@media (max-width: 640px) {
  body.page-kundli .ai-dashboard-summary,
  body.page-kundli .ai-dashboard-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.page-kundli .ai-dashboard-actions .btn {
    width: 100%;
  }

  .ai-pandit-toast {
    right: 12px;
    bottom: 12px;
    border-radius: 18px;
  }
}

.ai-pandit-modal-panel p,
.ai-modal-note {
  color: rgba(255, 248, 236, 0.82);
  line-height: 1.55;
}

.ai-modal-lead {
  margin: 0 0 8px;
  font-size: 1rem;
}

.ai-modal-trust {
  margin: 0;
  color: rgba(255, 248, 236, 0.74);
  font-size: 0.93rem;
}

.ai-pandit-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 999px;
  color: #f4c967;
  background: rgba(255, 248, 236, 0.08);
  cursor: pointer;
  font-size: 1.4rem;
}

.ai-login-form {
  display: grid;
  gap: 11px;
  margin-top: 12px;
}

.ai-login-options {
  display: grid;
  gap: 12px;
  margin: 16px 0 12px;
}

.ai-google-login {
  width: 100%;
}

.ai-login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 4px 0 10px;
  color: rgba(255, 248, 236, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
}

.ai-login-divider::before,
.ai-login-divider::after {
  content: "";
  height: 1px;
  background: rgba(244, 201, 103, 0.24);
}

.ai-login-form label {
  display: grid;
  gap: 6px;
  color: #ffe6a3;
  font-size: 0.94rem;
  font-weight: 800;
}

.ai-login-form input {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(244, 201, 103, 0.5);
  border-radius: 12px;
  padding: 10px 13px;
  background: rgba(255, 248, 236, 0.94);
  color: #2b1a10;
  font: inherit;
}

.ai-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.ai-modal-actions .btn {
  flex: 1 1 160px;
}

body.ai-pandit-modal-open {
  overflow: hidden;
}

.ai-history-card {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(244, 201, 103, 0.2);
  text-align: left;
}

.ai-history-card h4 {
  margin: 0 0 6px;
  color: #fff8ec;
  font-size: 1rem;
  line-height: 1.3;
}

.ai-history-date {
  margin: 0;
  color: rgba(255, 230, 163, 0.68);
  font-size: 0.88rem;
}

.ai-payment-history-list {
  display: grid;
  gap: 10px;
}

.ai-payment-history-card {
  display: grid;
  gap: 6px;
  padding: 13px 0;
  border-top: 1px solid rgba(244, 201, 103, 0.2);
  text-align: left;
}

.ai-payment-history-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.ai-payment-history-card div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ai-payment-history-card strong {
  color: #fff8ec;
}

.ai-payment-history-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 999px;
  color: #ffe6a3;
  background: rgba(255, 248, 236, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.ai-modal-message {
  color: rgba(255, 248, 236, 0.84);
}

@media (max-width: 1100px) {
  body.page-kundli .ai-credit-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-kundli .ai-credit-overview .ai-credit-card:last-child {
    grid-column: 1 / -1;
  }

  body.page-kundli .ai-status-meta,
  body.page-kundli .ai-order-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-kundli .ai-payment-reference dd {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  body.page-kundli .ai-pandit-section,
  body.page-kundli .ai-pandit-dashboard-section {
    width: min(100% - 24px, 1180px);
    padding: 26px 0;
  }

  body.page-kundli .ai-pandit-heading {
    margin-bottom: 16px;
  }

  body.page-kundli .ai-pandit-heading h2 {
    font-size: 1.55rem;
  }

  body.page-kundli .ai-pandit-plan-grid,
  body.page-kundli .ai-credit-overview {
    grid-template-columns: 1fr;
  }

  body.page-kundli .ai-credit-overview .ai-credit-card:last-child {
    grid-column: auto;
  }

  body.page-kundli .ai-pandit-plan-card {
    min-height: 0;
  }

  body.page-kundli .ai-dashboard-login-card,
  body.page-kundli .ai-payment-help,
  body.page-kundli .ai-history-section,
  body.page-kundli .ai-dashboard-panel,
  body.page-kundli .ai-credit-card {
    border-radius: 16px;
    padding: 16px;
  }

  body.page-kundli .ai-dashboard-summary {
    align-items: stretch;
    flex-direction: column;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
  }

  body.page-kundli .ai-account-profile {
    align-items: center;
    text-align: left;
  }

  body.page-kundli .ai-credit-card > strong {
    font-size: 2.2rem;
  }

  body.page-kundli .ai-credit-card .btn,
  body.page-kundli .ai-dashboard-actions .btn {
    width: 100%;
  }

  body.page-kundli .ai-status-detail {
    grid-template-columns: 1fr;
  }

  body.page-kundli .ai-status-meta,
  body.page-kundli .ai-order-meta {
    grid-template-columns: 1fr 1fr;
  }

  body.page-kundli .ai-order-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  body.page-kundli .ai-payment-reference {
    grid-column: 1 / -1;
  }

  body.page-kundli .ai-payment-reference dd {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  body.page-kundli .ai-panel-heading {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .ai-modal-actions {
    flex-direction: column;
  }

  .ai-modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
  }

  body.page-rashifal .site-header,
  body.page-panchang .site-header,
  body.page-upay .site-header,
  body.page-vastu .site-header,
  body.page-kundli .site-header,
  body.page-about .site-header,
  body.page-contact .site-header,
  body.page-privacy .site-header,
  body.page-error .site-header {
    overflow: visible;
  }

  body.page-rashifal .site-header .header-inner,
  body.page-panchang .site-header .header-inner,
  body.page-upay .site-header .header-inner,
  body.page-vastu .site-header .header-inner,
  body.page-kundli .site-header .header-inner,
  body.page-about .site-header .header-inner,
  body.page-contact .site-header .header-inner,
  body.page-privacy .site-header .header-inner,
  body.page-error .site-header .header-inner {
    position: relative;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: min(100% - 24px, 1180px);
    gap: 10px;
    padding: 10px 0;
  }

  body.page-rashifal .site-header .brand,
  body.page-panchang .site-header .brand,
  body.page-upay .site-header .brand,
  body.page-vastu .site-header .brand,
  body.page-kundli .site-header .brand,
  body.page-about .site-header .brand,
  body.page-contact .site-header .brand,
  body.page-privacy .site-header .brand,
  body.page-error .site-header .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.page-rashifal .site-header .brand-name,
  body.page-rashifal .site-header .brand-subtitle,
  body.page-panchang .site-header .brand-name,
  body.page-panchang .site-header .brand-subtitle,
  body.page-upay .site-header .brand-name,
  body.page-upay .site-header .brand-subtitle,
  body.page-vastu .site-header .brand-name,
  body.page-vastu .site-header .brand-subtitle,
  body.page-kundli .site-header .brand-name,
  body.page-kundli .site-header .brand-subtitle,
  body.page-about .site-header .brand-name,
  body.page-about .site-header .brand-subtitle,
  body.page-contact .site-header .brand-name,
  body.page-contact .site-header .brand-subtitle,
  body.page-privacy .site-header .brand-name,
  body.page-privacy .site-header .brand-subtitle,
  body.page-error .site-header .brand-name,
  body.page-error .site-header .brand-subtitle {
    max-width: calc(100vw - 116px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.page-rashifal .site-header .mobile-nav-toggle,
  body.page-panchang .site-header .mobile-nav-toggle,
  body.page-upay .site-header .mobile-nav-toggle,
  body.page-vastu .site-header .mobile-nav-toggle,
  body.page-kundli .site-header .mobile-nav-toggle,
  body.page-about .site-header .mobile-nav-toggle,
  body.page-contact .site-header .mobile-nav-toggle,
  body.page-privacy .site-header .mobile-nav-toggle,
  body.page-error .site-header .mobile-nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  body.page-rashifal .site-header .main-nav,
  body.page-panchang .site-header .main-nav,
  body.page-upay .site-header .main-nav,
  body.page-vastu .site-header .main-nav,
  body.page-kundli .site-header .main-nav,
  body.page-about .site-header .main-nav,
  body.page-contact .site-header .main-nav,
  body.page-privacy .site-header .main-nav,
  body.page-error .site-header .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
    width: 100%;
    max-height: 0;
    gap: 8px;
    margin: 0;
    padding: 0 12px;
    overflow: hidden;
    flex-wrap: initial;
    border: 1px solid rgba(239, 200, 107, 0);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(42, 8, 10, 0.96), rgba(86, 18, 16, 0.94));
    box-shadow: 0 22px 48px rgba(10, 3, 3, 0.38), inset 0 1px 0 rgba(255, 248, 236, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
  }

  body.page-rashifal .site-header.mobile-nav-open .main-nav,
  body.page-panchang .site-header.mobile-nav-open .main-nav,
  body.page-upay .site-header.mobile-nav-open .main-nav,
  body.page-vastu .site-header.mobile-nav-open .main-nav,
  body.page-kundli .site-header.mobile-nav-open .main-nav,
  body.page-about .site-header.mobile-nav-open .main-nav,
  body.page-contact .site-header.mobile-nav-open .main-nav,
  body.page-privacy .site-header.mobile-nav-open .main-nav,
  body.page-error .site-header.mobile-nav-open .main-nav {
    max-height: 420px;
    padding: 12px;
    border-color: rgba(239, 200, 107, 0.42);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body.page-rashifal .site-header .main-nav a,
  body.page-panchang .site-header .main-nav a,
  body.page-upay .site-header .main-nav a,
  body.page-vastu .site-header .main-nav a,
  body.page-kundli .site-header .main-nav a,
  body.page-about .site-header .main-nav a,
  body.page-contact .site-header .main-nav a,
  body.page-privacy .site-header .main-nav a,
  body.page-error .site-header .main-nav a {
    flex: initial;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .section,
  .page-hero,
  .hero-glass-content,
  .content-panel,
  .glass-panel,
  .glass-card,
  .premium-card,
  .kundli-glass-section,
  .card {
    max-width: 100%;
  }

  .page-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-glass-content h1,
  .page-hero h1,
  .page-hero h2 {
    overflow-wrap: anywhere;
  }

  .btn,
  button,
  input,
  select,
  textarea {
    font-size: max(16px, 1rem);
  }

  body.page-kundli .kundli-create-section {
    padding-top: 24px;
  }

  body.page-kundli .kundli-create-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 18px;
  }

  body.page-kundli .kundli-panel {
    padding: 18px;
  }

  body.page-kundli .kundli-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  body.page-kundli .form-field {
    gap: 7px;
  }

  body.page-kundli .form-field label {
    font-size: 0.95rem;
  }

  body.page-kundli .field-helper {
    font-size: 0.86rem;
  }

  body.page-kundli .form-field input,
  body.page-kundli .form-field select {
    min-height: 54px;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 16px;
  }

  body.page-kundli .kundli-submit {
    min-height: 52px;
    margin-top: 2px;
  }

  body.page-kundli .kundli-benefit-card {
    min-height: auto;
    padding: 20px;
  }

  body.page-kundli .kundli-benefit-list {
    gap: 10px;
    margin-top: 14px;
  }

  body.page-kundli .kundli-benefit-card .kundli-benefit-list li {
    font-size: 15px;
    line-height: 1.55;
  }

  footer {
    padding: 24px 14px;
    font-size: 13px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid rgba(244, 201, 103, 0.22);
    border-radius: 999px;
    background: rgba(255, 248, 236, 0.05);
  }

  footer p {
    max-width: 680px;
    margin: 6px auto;
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

/* My AI Pandit final scoped dashboard override */
.my-ai-pandit-page .ai-pandit-dashboard-section {
  width: min(1180px, calc(100% - 32px)) !important;
  padding: clamp(34px, 5vw, 54px) 0 !important;
}

.my-ai-pandit-page .ai-dashboard-content {
  display: grid !important;
  gap: 20px !important;
}

.my-ai-pandit-page .dashboard-card,
.my-ai-pandit-page .status-card,
.my-ai-pandit-page .plan-card {
  max-width: 1180px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 24px 28px !important;
  color: #eadfc8 !important;
}

.my-ai-pandit-page .dashboard-card.compact,
.my-ai-pandit-page .status-card.compact,
.my-ai-pandit-page .plan-card.compact {
  padding: 22px 26px !important;
}

.my-ai-pandit-page .ai-credit-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 14px 0 0 !important;
}

.my-ai-pandit-page .ai-credit-card,
.my-ai-pandit-page .credit-card {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 24px !important;
  border: 1px solid rgba(218, 175, 82, 0.38) !important;
  border-radius: 22px !important;
  color: #eadfc8 !important;
  background: rgba(70, 18, 12, 0.82) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18) !important;
}

.my-ai-pandit-page .dashboard-card,
.my-ai-pandit-page .ai-credit-card,
.my-ai-pandit-page .status-card,
.my-ai-pandit-page .plan-card {
  color: #eadfc8 !important;
}

.my-ai-pandit-page .dashboard-card *:not(button):not(a),
.my-ai-pandit-page .ai-credit-card *:not(button):not(a),
.my-ai-pandit-page .status-card *:not(button):not(a),
.my-ai-pandit-page .plan-card *:not(button):not(a) {
  color: inherit;
}

.my-ai-pandit-page .dashboard-card h1,
.my-ai-pandit-page .dashboard-card h2,
.my-ai-pandit-page .dashboard-card h3,
.my-ai-pandit-page .dashboard-card h4,
.my-ai-pandit-page .ai-credit-card h1,
.my-ai-pandit-page .ai-credit-card h2,
.my-ai-pandit-page .ai-credit-card h3,
.my-ai-pandit-page .status-card h1,
.my-ai-pandit-page .status-card h2,
.my-ai-pandit-page .status-card h3,
.my-ai-pandit-page .ai-panel-heading h3,
.my-ai-pandit-page .ai-status-detail h4,
.my-ai-pandit-page .ai-history-card h4,
.my-ai-pandit-page .ai-order-main strong,
.my-ai-pandit-page .credit-label {
  color: #fff7df !important;
}

.my-ai-pandit-page .credit-number,
.my-ai-pandit-page .amount,
.my-ai-pandit-page .highlight-value,
.my-ai-pandit-page .ai-payment-reference dd,
.my-ai-pandit-page [data-dashboard-intro-used] {
  color: #ffd76a !important;
}

.my-ai-pandit-page .credit-number {
  display: block !important;
  margin: 12px 0 8px !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.my-ai-pandit-page .credit-number-text {
  font-size: 30px !important;
  line-height: 1.15 !important;
}

.my-ai-pandit-page .credit-helper,
.my-ai-pandit-page .premium-report-message,
.my-ai-pandit-page .empty-state,
.my-ai-pandit-page .helper-text,
.my-ai-pandit-page .meta,
.my-ai-pandit-page .note,
.my-ai-pandit-page .status-message,
.my-ai-pandit-page .plan-meta {
  color: #dcc79d !important;
  opacity: 1 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.my-ai-pandit-page .section-kicker,
.my-ai-pandit-page .ai-status-meta dt,
.my-ai-pandit-page .ai-order-meta dt {
  color: #e0c47a !important;
}

.my-ai-pandit-page .ai-status-meta dd,
.my-ai-pandit-page .ai-order-meta dd,
.my-ai-pandit-page .ai-dashboard-summary strong {
  color: #f6ead2 !important;
}

.my-ai-pandit-page .ai-orders-list {
  display: grid !important;
  gap: 12px !important;
}

.my-ai-pandit-page .ai-order-row {
  min-height: 0 !important;
  padding: 14px !important;
  color: #eadfc8 !important;
  background: rgba(36, 9, 8, 0.42) !important;
}

.my-ai-pandit-page .ai-payment-help {
  max-width: 900px !important;
}

@media (max-width: 768px) {
  .my-ai-pandit-page .ai-pandit-dashboard-section {
    width: min(100% - 24px, 1180px) !important;
    padding: 26px 0 36px !important;
  }

  .my-ai-pandit-page .ai-credit-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 14px 0 0 !important;
  }

  .my-ai-pandit-page .dashboard-card,
  .my-ai-pandit-page .status-card,
  .my-ai-pandit-page .plan-card,
  .my-ai-pandit-page .ai-credit-card {
    padding: 18px !important;
  }

  .my-ai-pandit-page .credit-number {
    font-size: 36px !important;
  }

  .my-ai-pandit-page .credit-number-text {
    font-size: 26px !important;
  }
}
 
/* Final Vastu Mandala mobile geometry lock */
body.page-vastu .mandala-grid.vastu-mandala-map {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 600px) {
  body.page-vastu .mandala-grid.vastu-mandala-map {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  body.page-vastu .mandala-grid.vastu-mandala-map button {
    min-width: 0 !important;
    min-height: 82px !important;
    aspect-ratio: 1 / 1;
    padding: 9px 4px !important;
  }

  body.page-vastu .mandala-grid.vastu-mandala-map button strong {
    font-size: 0.68rem !important;
    line-height: 1.12 !important;
  }
}

/* Kundli conversion UX polish */
body.page-kundli .kundli-trust-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 22px;
  padding: clamp(18px, 3vw, 24px);
  border-color: rgba(244, 201, 103, 0.44);
  color: #fff8ec;
  background:
    radial-gradient(circle at 14% 0%, rgba(244, 201, 103, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(56, 12, 12, 0.86), rgba(42, 8, 10, 0.78));
}

body.page-kundli .kundli-trust-heading {
  max-width: 760px;
  margin: 0 auto 16px;
  text-align: center;
}

body.page-kundli .kundli-trust-heading h2,
body.page-kundli .ai-pandit-persona h3 {
  margin: 8px 0 8px;
  color: #fff8ec;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.18;
}

body.page-kundli .kundli-trust-heading p,
body.page-kundli .kundli-trust-grid p,
body.page-kundli .ai-pandit-persona p,
body.page-kundli .ai-pandit-persona-list li {
  color: rgba(255, 241, 209, 0.9);
}

body.page-kundli .kundli-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.page-kundli .kundli-trust-grid article {
  padding: 15px;
  border: 1px solid rgba(244, 201, 103, 0.3);
  border-radius: 18px;
  background: rgba(255, 248, 236, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.1);
}

body.page-kundli .kundli-trust-grid span,
body.page-kundli .ai-pandit-persona-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.45);
  border-radius: 50%;
  color: #f4c967;
  background: radial-gradient(circle, rgba(244, 201, 103, 0.2), rgba(56, 12, 12, 0.5));
  font-size: 0.9rem;
  font-weight: 900;
}

body.page-kundli .kundli-trust-grid h3 {
  margin: 10px 0 6px;
  color: #fff8ec;
  font-size: 1rem;
}

body.page-kundli .kundli-trust-grid p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

body.page-kundli .kundli-form-microcopy {
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(138, 90, 31, 0.22);
  border-radius: 14px;
  background: rgba(122, 66, 24, 0.07);
  font-weight: 800;
}

body.page-kundli .form-field input,
body.page-kundli .form-field select {
  min-height: 54px;
  font-size: 16px;
}

body.page-kundli .kundli-submit {
  min-height: 52px;
}

body.page-kundli .ai-pandit-persona {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto 22px;
  padding: clamp(18px, 3vw, 24px);
  border-color: rgba(244, 201, 103, 0.42);
  color: #fff8ec;
  background:
    radial-gradient(circle at 10% 12%, rgba(244, 201, 103, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(63, 12, 15, 0.84), rgba(40, 20, 9, 0.72));
}

body.page-kundli .ai-pandit-persona-mark {
  width: 76px;
  height: 76px;
  font-size: 2rem;
  box-shadow: 0 0 34px rgba(244, 201, 103, 0.14);
}

body.page-kundli .ai-pandit-persona-list,
body.page-kundli .ai-plan-benefits {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

body.page-kundli .ai-pandit-persona-list li,
body.page-kundli .ai-plan-benefits li {
  position: relative;
  padding-left: 24px;
  line-height: 1.45;
}

body.page-kundli .ai-pandit-persona-list li::before,
body.page-kundli .ai-plan-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f4c967;
  font-weight: 900;
}

body.page-kundli .ai-pandit-responsible-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 201, 103, 0.18);
  font-size: 0.92rem;
}

body.page-kundli .ai-plan-benefits {
  margin-bottom: 14px;
}

body.page-kundli .ai-plan-benefits li {
  color: rgba(255, 241, 209, 0.92);
  font-size: 0.92rem;
}

body.page-kundli .ai-pandit-plan-card.featured {
  border-color: rgba(255, 215, 106, 0.9);
  box-shadow:
    0 28px 62px rgba(8, 2, 2, 0.38),
    0 0 42px rgba(244, 201, 103, 0.22),
    inset 0 1px 0 rgba(255, 248, 236, 0.16);
}

body.page-kundli .ai-pandit-plan-card.featured .ai-plan-badge {
  color: #321008;
  border-color: rgba(255, 226, 150, 0.82);
  background: linear-gradient(135deg, #fff1b8, #f4c967 64%, #d9932f);
}

body.page-kundli .ai-pandit-pricing-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.kundli-sample-modal[hidden] {
  display: none !important;
}

.kundli-sample-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 14px;
}

.kundli-sample-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 2, 2, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.kundli-sample-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(244, 201, 103, 0.5);
  border-radius: 24px;
  color: #fff8ec;
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 201, 103, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(63, 12, 15, 0.97), rgba(40, 20, 9, 0.95));
  box-shadow: 0 28px 70px rgba(8, 2, 2, 0.52), inset 0 1px 0 rgba(255, 248, 236, 0.14);
}

.kundli-sample-panel h2 {
  margin: 8px 42px 10px 0;
  color: #fff8ec;
  font-size: clamp(1.45rem, 4vw, 2.05rem);
}

.kundli-sample-note,
.kundli-sample-panel p {
  color: rgba(255, 241, 209, 0.9);
}

.kundli-sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.kundli-sample-grid article {
  padding: 15px;
  border: 1px solid rgba(244, 201, 103, 0.28);
  border-radius: 16px;
  background: rgba(255, 248, 236, 0.07);
}

.kundli-sample-preview {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 28px 32px;
  border: 1px solid rgba(244, 201, 103, 0.24);
  color: rgba(255, 244, 220, 0.92);
}

.kundli-sample-preview-head h3 {
  margin: 8px 0 8px;
  color: #ffe08a;
}

.kundli-sample-preview-copy {
  margin: 0;
  color: rgba(255, 244, 220, 0.92);
  line-height: 1.58;
}

.kundli-sample-report {
  display: grid;
  gap: 16px;
}

.kundli-sample-report-block {
  margin-top: 0;
  padding: 22px 24px;
  border-color: rgba(255, 215, 106, 0.28);
  background: rgba(70, 18, 12, 0.72);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 248, 236, 0.08);
}

.kundli-sample-preview .kundli-result-block,
.kundli-sample-preview .kundli-result-block p,
.kundli-sample-preview .kundli-result-block li,
.kundli-sample-preview .kundli-reading-card p,
.kundli-sample-preview .kundli-info-item span {
  color: rgba(255, 244, 220, 0.92);
}

.kundli-sample-preview .kundli-result-block h3,
.kundli-sample-preview .kundli-result-block h4,
.kundli-sample-preview .kundli-result-block h5,
.kundli-sample-preview .kundli-info-item strong {
  color: #ffe08a;
}

.kundli-sample-preview .kundli-result-block h3 {
  font-size: 1.3rem;
}

.kundli-sample-preview .kundli-result-block h3::after {
  background: linear-gradient(90deg, rgba(255, 215, 106, 0.95), rgba(255, 215, 106, 0));
}

.kundli-sample-preview-note,
.kundli-sample-preview .kundli-section-note {
  color: rgba(255, 244, 220, 0.82);
}

.kundli-sample-preview .kundli-info-grid,
.kundli-sample-preview .kundli-reading-grid {
  margin-bottom: 0;
}

.kundli-sample-preview .kundli-info-item,
.kundli-sample-preview .kundli-reading-card {
  background: rgba(255, 244, 220, 0.94);
  border-color: rgba(255, 215, 106, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.24);
}

.kundli-sample-preview .kundli-info-item strong,
.kundli-sample-preview .kundli-reading-card h4 {
  color: #7a1f1f;
}

.kundli-sample-preview .kundli-info-item span,
.kundli-sample-preview .kundli-reading-card p {
  color: #4a160f;
}

.kundli-sample-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.kundli-sample-planet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kundli-sample-planet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
  padding: 10px 12px;
  border: 1px solid rgba(174, 121, 42, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 248, 226, 0.96), rgba(255, 235, 180, 0.88));
  box-shadow: 0 10px 24px rgba(60, 20, 10, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.kundli-sample-planet-card strong {
  color: #7a1f1f;
  font-size: 0.96rem;
  font-weight: 800;
  position: relative;
  padding-left: 14px;
}

.kundli-sample-planet-card strong::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6a13a, #8f4d1c);
  box-shadow: 0 0 0 3px rgba(214, 161, 58, 0.18);
  transform: translateY(-50%);
}

.kundli-sample-planet-card span {
  color: #4a160f;
  opacity: 0.94;
  font-weight: 700;
  text-align: right;
}

.kundli-sample-grah-value {
  color: #4a160f !important;
  opacity: 1 !important;
  font-weight: 800;
}

.kundli-sample-guidance-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.kundli-sample-grid h3 {
  margin: 0 0 8px;
  color: #f4c967;
  font-size: 1rem;
}

.kundli-sample-grid p {
  margin: 0;
  color: rgba(255, 244, 220, 0.88);
  line-height: 1.58;
}

.kundli-sample-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 201, 103, 0.42);
  border-radius: 999px;
  color: #f4c967;
  background: rgba(255, 248, 236, 0.08);
  cursor: pointer;
  font-size: 1.4rem;
}

body.kundli-sample-modal-open {
  overflow: hidden;
}

body.page-kundli-milan .kundli-milan-hero .hero-glass-content {
  max-width: 920px;
}

body.page-kundli-milan .kundli-milan-hinglish {
  margin-top: 10px;
  color: rgba(255, 248, 224, 0.86);
}

body.page-kundli-milan .kundli-milan-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

body.page-kundli-milan .kundli-milan-chips span {
  border: 1px solid rgba(244, 196, 90, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff7dc;
  padding: 8px 13px;
  font-size: 0.88rem;
  font-weight: 700;
}

body.page-kundli-milan .kundli-milan-tool {
  position: relative;
  padding-top: 44px;
}

body.page-kundli-milan .kundli-milan-form-panel {
  max-width: 1080px;
  margin: 0 auto;
}

body.page-kundli-milan .kundli-milan-form fieldset {
  min-width: 0;
  border: 1px solid rgba(123, 27, 42, 0.16);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.62);
  padding: 20px;
}

body.page-kundli-milan .kundli-milan-form legend {
  padding: 0 8px;
  color: var(--maroon, #7b1b2a);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
}

body.page-kundli-milan .kundli-milan-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.page-kundli-milan .kundli-milan-score-grid {
  margin-bottom: 18px;
}

body.page-kundli-milan .kundli-milan-preview-note {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(176, 124, 31, 0.38);
  border-left: 4px solid rgba(123, 27, 42, 0.82);
  border-radius: 14px;
  background: #fff7df;
  color: #532218;
}

body.page-kundli-milan .kundli-milan-preview-note strong,
body.page-kundli-milan .kundli-milan-preview-note p {
  margin: 0;
  color: #532218;
}

body.page-kundli-milan .kundli-milan-preview-note strong {
  font-size: 0.92rem;
  font-weight: 850;
}

body.page-kundli-milan .kundli-milan-preview-note p {
  line-height: 1.66;
}

body.page-kundli-milan .kundli-milan-table td:last-child {
  min-width: 210px;
}

body.page-kundli-milan .kundli-milan-guidance {
  margin: 0;
  padding-left: 20px;
  color: #4c2430;
  line-height: 1.72;
}

body.page-kundli-milan .kundli-milan-responsible p {
  color: #4c2430;
  line-height: 1.75;
}

body.page-kundli-milan {
  overflow-x: hidden;
}

body.page-kundli-milan .kundli-milan-hero {
  min-height: auto;
  padding: clamp(110px, 12vw, 138px) 18px 54px;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(244, 196, 90, 0.22), transparent 30%),
    radial-gradient(circle at 82% 34%, rgba(255, 248, 224, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(70, 12, 22, 0.94), rgba(42, 12, 18, 0.98)),
    url("../images/heroes/kundli-hero.png");
  background-size: cover;
  background-position: center;
}

body.page-kundli-milan .kundli-milan-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  width: min(1160px, 100%);
  margin: 0 auto;
}

body.page-kundli-milan .kundli-milan-hero .hero-glass-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  text-align: left;
  border: 1px solid rgba(244, 196, 90, 0.36);
  background:
    linear-gradient(145deg, rgba(82, 16, 28, 0.88), rgba(47, 12, 17, 0.9)),
    radial-gradient(circle at 18% 0%, rgba(244, 196, 90, 0.14), transparent 40%);
  box-shadow: 0 28px 70px rgba(20, 2, 8, 0.34), inset 0 1px 0 rgba(255, 248, 224, 0.14);
}

body.page-kundli-milan .kundli-milan-hero h1 {
  color: #fff7df;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.34);
}

body.page-kundli-milan .kundli-milan-hero .hero-subtitle,
body.page-kundli-milan .kundli-milan-hinglish {
  max-width: 660px;
  color: rgba(255, 248, 224, 0.94);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

body.page-kundli-milan .kundli-milan-hero .hero-actions {
  justify-content: flex-start;
}

body.page-kundli-milan .kundli-milan-chips {
  justify-content: flex-start;
}

body.page-kundli-milan .kundli-milan-tool {
  padding: 34px 18px 58px;
}

body.page-kundli-milan .kundli-milan-form-panel {
  width: min(1060px, 100%);
  padding: clamp(20px, 3vw, 30px);
  border-color: rgba(123, 27, 42, 0.18);
  background:
    radial-gradient(circle at 15% 0%, rgba(244, 196, 90, 0.16), transparent 30%),
    rgba(255, 249, 232, 0.94);
}

body.page-kundli-milan .kundli-milan-form {
  gap: 18px;
}

body.page-kundli-milan .kundli-milan-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

body.page-kundli-milan .kundli-milan-form fieldset {
  display: grid;
  gap: 13px;
  padding: 18px;
  border-color: rgba(123, 27, 42, 0.22);
  background: rgba(255, 253, 245, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 14px 36px rgba(84, 27, 20, 0.08);
}

body.page-kundli-milan .kundli-panel-heading {
  margin-bottom: 16px;
}

body.page-kundli-milan .kundli-panel-heading h2 {
  color: #631524;
}

body.page-kundli-milan .kundli-panel-heading p {
  max-width: 720px;
  color: #553228;
}

body.page-kundli-milan .kundli-milan-form .form-field {
  gap: 6px;
}

body.page-kundli-milan .kundli-milan-form .form-field label {
  color: #5d1825;
  font-weight: 800;
}

body.page-kundli-milan .kundli-milan-form .form-field input {
  border-color: rgba(107, 29, 38, 0.24);
  background: rgba(255, 255, 252, 0.98);
  color: #321813;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.page-kundli-milan .kundli-milan-form .form-field input::placeholder {
  color: rgba(74, 37, 30, 0.58);
}

body.page-kundli-milan .kundli-milan-submit-row {
  display: flex;
  justify-content: center;
}

body.page-kundli-milan .kundli-milan-submit-row .kundli-submit {
  width: min(420px, 100%);
  margin-top: 0;
}

body.page-kundli-milan .kundli-milan-preview-info,
body.page-kundli-milan .kundli-milan-page-note {
  width: min(1060px, 100%);
  margin: 18px auto 0;
}

body.page-kundli-milan .kundli-milan-preview-info {
  padding: 18px;
  border: 1px solid rgba(123, 27, 42, 0.14);
  border-radius: 20px;
  background: rgba(255, 249, 232, 0.86);
  box-shadow: 0 18px 42px rgba(81, 25, 18, 0.08);
}

body.page-kundli-milan .kundli-milan-preview-info h2 {
  margin: 0 0 14px;
  color: #631524;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

body.page-kundli-milan .kundli-milan-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.page-kundli-milan .kundli-milan-preview-grid article {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(176, 124, 31, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 250, 0.9);
}

body.page-kundli-milan .kundli-milan-preview-grid strong {
  display: block;
  color: #4f1b18;
  font-size: 0.94rem;
  line-height: 1.35;
}

body.page-kundli-milan .kundli-milan-page-note {
  color: #4c241d;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 860px) {
  body.page-kundli-milan .kundli-milan-hero {
    padding: 96px 14px 38px;
  }

  body.page-kundli-milan .kundli-milan-hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.page-kundli-milan .kundli-milan-hero .hero-glass-content {
    text-align: center;
  }

  body.page-kundli-milan .kundli-milan-hero .hero-actions,
  body.page-kundli-milan .kundli-milan-chips {
    justify-content: center;
  }

  body.page-kundli-milan .kundli-milan-columns {
    grid-template-columns: 1fr;
  }

  body.page-kundli-milan .kundli-milan-form fieldset {
    padding: 16px;
  }

  body.page-kundli-milan .kundli-milan-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body.page-kundli-milan .kundli-milan-hero .hero-glass-content,
  body.page-kundli-milan .kundli-milan-form-panel,
  body.page-kundli-milan .kundli-milan-preview-info {
    padding: 16px;
  }

  body.page-kundli-milan .kundli-milan-chips {
    justify-content: stretch;
  }

  body.page-kundli-milan .kundli-milan-chips span {
    flex: 1 1 100%;
    text-align: center;
  }

  body.page-kundli-milan .kundli-milan-preview-grid {
    grid-template-columns: 1fr;
  }

  body.page-kundli-milan .kundli-milan-submit-row .kundli-submit {
    width: 100%;
  }
}

body.kundli-milan-page .kundli-milan-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 62vw, 640px);
  padding: clamp(108px, 11vw, 132px) 18px clamp(44px, 6vw, 64px);
  overflow: hidden;
  background-image:
    radial-gradient(circle at 36% 48%, rgba(214, 152, 60, 0.16), transparent 45%),
    radial-gradient(circle at 24% 18%, rgba(244, 196, 90, 0.24), transparent 30%),
    radial-gradient(circle at 84% 26%, rgba(255, 244, 214, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(45, 8, 10, 0.68), rgba(35, 6, 8, 0.78)),
    url("../images/kundli-milan-hero.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body.kundli-milan-page .kundli-milan-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(52, 9, 18, 0.74), rgba(70, 14, 24, 0.46) 48%, rgba(30, 5, 9, 0.62)),
    radial-gradient(circle at 38% 20%, rgba(244, 196, 90, 0.16), transparent 34%);
}

body.kundli-milan-page .kundli-milan-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 248, 236, 0.2));
}

body.kundli-milan-page .kundli-milan-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
}

body.kundli-milan-page .kundli-milan-hero .hero-glass-content {
  width: min(720px, 100%);
  max-width: 720px;
  margin: 0;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(244, 196, 90, 0.34);
  background:
    linear-gradient(145deg, rgba(64, 10, 14, 0.78), rgba(41, 9, 15, 0.86)),
    radial-gradient(circle at 15% 0%, rgba(244, 196, 90, 0.18), transparent 42%);
  color: #fff4d8;
  text-align: left;
  box-shadow: 0 28px 76px rgba(18, 2, 7, 0.42), inset 0 1px 0 rgba(255, 248, 224, 0.14);
  backdrop-filter: blur(12px);
}

body.kundli-milan-page .kundli-milan-hero h1 {
  color: #fff7df;
}

body.kundli-milan-page .kundli-milan-hero .hero-subtitle,
body.kundli-milan-page .kundli-milan-hinglish {
  color: rgba(255, 248, 224, 0.95);
}

body.kundli-milan-page .kundli-milan-hero .hero-actions,
body.kundli-milan-page .kundli-milan-chips {
  justify-content: flex-start;
}

body.kundli-milan-page .kundli-milan-chips span {
  border-color: rgba(244, 196, 90, 0.44);
  background: rgba(255, 248, 224, 0.12);
  color: #fff7dc;
}

body.kundli-milan-page .kundli-milan-tool {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px) 18px 56px;
}

body.kundli-milan-page .kundli-milan-form-panel {
  width: min(980px, 100%);
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 4vw, 42px);
  border: 1px solid rgba(117, 28, 40, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 196, 90, 0.14), transparent 34%),
    rgba(255, 249, 232, 0.96);
  color: #421a17;
  box-shadow: 0 22px 56px rgba(64, 20, 16, 0.12);
}

body.kundli-milan-page .kundli-panel-heading {
  margin: 0 0 22px;
  text-align: center;
}

body.kundli-milan-page .kundli-panel-heading .section-kicker {
  color: #8a4b12;
}

body.kundli-milan-page .kundli-panel-heading h2 {
  margin: 8px 0;
  color: #661827;
  text-align: center;
  text-shadow: none;
}

body.kundli-milan-page .kundli-panel-heading p {
  max-width: 640px;
  margin: 0 auto;
  color: #5b312b;
  text-align: center;
}

body.kundli-milan-page .kundli-milan-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

body.kundli-milan-page .kundli-milan-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}

body.kundli-milan-page .kundli-milan-form fieldset,
body.kundli-milan-page .match-person-card {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 14px;
  padding: 34px 24px 24px;
  border: 1px solid rgba(117, 28, 40, 0.2);
  border-radius: 18px;
  background: rgba(255, 253, 246, 0.95);
  box-shadow: 0 14px 34px rgba(89, 34, 24, 0.08);
}

body.kundli-milan-page .kundli-milan-form legend {
  padding: 0 8px;
  color: #74192a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.24rem;
  font-weight: 800;
}

body.kundli-milan-page .match-person-title {
  position: static;
  display: block;
  margin: 0 0 18px;
  color: #7b1f2c;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.2;
}

body.kundli-milan-page .kundli-milan-form .form-field label {
  color: #5d1d23;
  font-weight: 800;
}

body.kundli-milan-page .kundli-milan-form .form-field input {
  width: 100%;
  min-height: 52px;
  border-color: rgba(111, 31, 38, 0.25);
  background: rgba(255, 255, 252, 0.98);
  color: #2f1812;
}

body.kundli-milan-page .kundli-milan-form .form-field input::placeholder {
  color: rgba(73, 39, 33, 0.58);
}

body.kundli-milan-page .kundli-error,
body.kundli-milan-page .kundli-loading {
  margin: 0;
}

body.kundli-milan-page .kundli-milan-submit-row {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  width: 100%;
  margin-top: 2px;
}

body.kundli-milan-page .kundli-milan-submit-row .kundli-submit {
  width: min(520px, 100%);
  min-height: 52px;
  margin: 0;
  justify-content: center;
}

body.kundli-milan-page .kundli-milan-preview-info {
  width: min(980px, 100%);
  margin: 4px auto 0;
  padding: 22px;
  border: 1px solid rgba(117, 28, 40, 0.15);
  border-radius: 20px;
  background: rgba(255, 249, 232, 0.92);
  box-shadow: 0 16px 38px rgba(72, 25, 18, 0.08);
}

body.kundli-milan-page .kundli-milan-preview-info h2 {
  margin: 0 0 18px;
  color: #661827;
  text-align: center;
}

body.kundli-milan-page .kundli-milan-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.kundli-milan-page .kundli-milan-preview-grid article {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(176, 124, 31, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 250, 0.94);
  text-align: center;
}

body.kundli-milan-page .kundli-milan-preview-grid strong {
  color: #4f1b18;
  line-height: 1.4;
}

body.kundli-milan-page .kundli-milan-page-note {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid rgba(244, 196, 90, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(105, 22, 37, 0.96), rgba(75, 17, 26, 0.96));
  color: #fff4d8;
  line-height: 1.65;
  text-align: center;
  box-shadow: 0 16px 34px rgba(59, 12, 18, 0.16);
}

body.kundli-milan-page .kundli-milan-result-section {
  padding-top: clamp(24px, 4vw, 40px);
}

body.kundli-milan-page .kundli-milan-result-section .kundli-result {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 28px);
  border-color: rgba(117, 28, 40, 0.18);
  background: rgba(255, 250, 236, 0.96);
  color: #3f1713;
}

body.kundli-milan-page .kundli-milan-result-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 18px;
}

body.kundli-milan-page .kundli-milan-summary-card {
  display: flex;
  min-width: 0;
  min-height: 142px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(176, 124, 31, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf7 0%, #fff7df 100%);
  box-shadow: 0 14px 30px rgba(72, 25, 18, 0.08);
}

body.kundli-milan-page .kundli-milan-score-card {
  border-color: rgba(123, 27, 42, 0.28);
  background:
    radial-gradient(circle at 78% 18%, rgba(244, 196, 90, 0.28), transparent 34%),
    linear-gradient(145deg, #fffdf8 0%, #fff3cf 100%);
}

body.kundli-milan-page .kundli-milan-summary-label {
  color: #6d1b24;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

body.kundli-milan-page .kundli-milan-score-value {
  color: #74192a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  font-weight: 900;
  line-height: 0.98;
}

body.kundli-milan-page .kundli-milan-score-caption,
body.kundli-milan-page .kundli-milan-summary-value {
  color: #3f1713;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

body.kundli-milan-page .kundli-milan-summary-value {
  font-size: 1rem;
  font-weight: 700;
}

body.kundli-milan-page .kundli-milan-interpretation {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(176, 124, 31, 0.28);
  border-radius: 14px;
  background: #fffaf0;
}

body.kundli-milan-page .kundli-milan-interpretation p,
body.kundli-milan-page .kundli-milan-score-note {
  margin: 0;
  color: #4a2119;
  line-height: 1.72;
}

body.kundli-milan-page .kundli-milan-result-section .kundli-result-block {
  border-color: rgba(176, 124, 31, 0.24);
  background: rgba(255, 253, 247, 0.84);
}

body.kundli-milan-page .kundli-milan-result-section .kundli-result-block h3 {
  color: #6d1b24;
}

body.kundli-milan-page .kundli-milan-result-section .kundli-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(176, 124, 31, 0.26);
  border-radius: 12px;
  background: #fffaf0;
  -webkit-overflow-scrolling: touch;
}

body.kundli-milan-page .kundli-milan-table {
  min-width: 620px;
  background: #fffaf0;
}

body.kundli-milan-page .kundli-milan-table th,
body.kundli-milan-page .kundli-milan-table td {
  border-bottom: 1px solid rgba(176, 124, 31, 0.22);
  color: #3f1713;
  white-space: normal;
}

body.kundli-milan-page .kundli-milan-table th {
  background: linear-gradient(135deg, #74192a, #8a4b12);
  color: #fff3cf;
  font-weight: 850;
}

body.kundli-milan-page .kundli-milan-table tr:last-child td {
  border-bottom: 0;
}

body.kundli-milan-page .kundli-milan-score-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(176, 124, 31, 0.2);
  border-radius: 12px;
  background: #fff7df;
}

body.kundli-milan-page .kundli-milan-dashboard {
  display: grid;
  gap: 18px;
}

body.kundli-milan-page .kundli-milan-dashboard-block {
  min-width: 0;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(176, 124, 31, 0.24);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 14px 30px rgba(72, 25, 18, 0.07);
}

body.kundli-milan-page .kundli-milan-hero-score {
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
}

body.kundli-milan-page .kundli-milan-score-badge {
  --score-progress: 0%;
  display: grid;
  width: clamp(170px, 24vw, 220px);
  aspect-ratio: 1;
  place-items: center;
  padding: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fffdf7 0 58%, transparent 59%),
    conic-gradient(#b07c1f var(--score-progress), rgba(176, 124, 31, 0.18) 0);
  box-shadow: 0 18px 36px rgba(82, 28, 20, 0.14);
}

body.kundli-milan-page .kundli-milan-score-badge strong {
  color: #74192a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.05rem);
  font-weight: 900;
  line-height: 1;
}

body.kundli-milan-page .kundli-milan-score-badge span {
  color: #5b312b;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.25;
}

body.kundli-milan-page .kundli-milan-status-tag {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(176, 124, 31, 0.32);
  border-radius: 999px;
  background: #fff7df;
  color: #5a241b;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

body.kundli-milan-page .kundli-milan-status-tag.is-low,
body.kundli-milan-page .kundli-milan-status-tag.is-average {
  border-color: rgba(176, 124, 31, 0.42);
  background: #fff4d2;
}

body.kundli-milan-page .kundli-milan-status-tag.is-good,
body.kundli-milan-page .kundli-milan-status-tag.is-excellent {
  border-color: rgba(91, 121, 58, 0.32);
  background: #f3f8dc;
  color: #33451f;
}

body.kundli-milan-page .kundli-milan-dashboard-guidance {
  max-width: 720px;
  margin: 0;
  color: #722F37;
  line-height: 1.72;
}

body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-dashboard-guidance {
  color: #722F37;
  font-weight: 750;
}

body.kundli-milan-page .kundli-milan-ashtakoot-block h3,
body.kundli-milan-page .kundli-milan-dosha-block h3 {
  margin: 0 0 14px;
  color: #6d1b24;
}

body.kundli-milan-page .kundli-milan-dashboard-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.kundli-milan-page .kundli-milan-dashboard-table-wrap .kundli-milan-table {
  min-width: 760px;
}

body.kundli-milan-page .kundli-milan-table .kundli-milan-param {
  color: #6d1b24;
  font-weight: 850;
}

body.kundli-milan-page .kundli-milan-table .kundli-milan-max,
body.kundli-milan-page .kundli-milan-table .kundli-milan-obtained {
  width: 132px;
  text-align: center;
  font-weight: 800;
}

body.kundli-milan-page .kundli-milan-table tr.is-caution td {
  background: #fff4d2;
}

body.kundli-milan-page .kundli-milan-table tr.is-caution .kundli-milan-obtained {
  color: #7b1b2a;
}

body.kundli-milan-page .kundli-milan-ai-chat {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(123, 27, 42, 0.2);
  border-radius: 14px;
  background: rgba(255, 250, 236, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 12px 26px rgba(72, 25, 18, 0.07);
}

body.kundli-milan-page .kundli-milan-ai-chat.is-auth-locked {
  min-height: 330px;
  overflow: hidden;
}

body.kundli-milan-page .kundli-milan-ai-blur-preview {
  filter: blur(3px);
  opacity: 0.56;
  pointer-events: none;
  user-select: none;
}

body.kundli-milan-page .kundli-milan-ai-login-gate {
  position: absolute;
  inset: 18px;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(123, 27, 42, 0.24);
  border-radius: 14px;
  background: rgba(255, 250, 236, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  text-align: center;
}

body.kundli-milan-page .kundli-milan-ai-login-gate p,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-login-gate p {
  max-width: 620px;
  margin: 0;
  color: #722F37;
  font-weight: 800;
  line-height: 1.62;
}

body.kundli-milan-page .kundli-milan-ai-login-btn {
  min-height: 46px;
}

body.kundli-milan-page .kundli-milan-ai-heading {
  display: grid;
  gap: 6px;
}

body.kundli-milan-page .kundli-milan-ai-heading h3 {
  margin: 0;
  color: #722F37;
}

body.kundli-milan-page .kundli-milan-ai-heading p,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-heading p {
  margin: 0;
  color: #5b312b;
  line-height: 1.58;
}

body.kundli-milan-page .kundli-milan-ai-output,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-output {
  min-height: 112px;
  padding: 15px 16px;
  border: 1px solid rgba(176, 124, 31, 0.3);
  border-radius: 12px;
  background: #fffdf7;
  color: #722F37;
  font-weight: 700;
  line-height: 1.68;
  white-space: normal;
}

body.kundli-milan-page .kundli-milan-ai-output .ai-response-paragraph,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-output .ai-response-paragraph,
body.page-ai-pandit .ai-response-text .ai-response-paragraph,
.my-ai-pandit-page .ai-response-text .ai-response-paragraph {
  margin: 0 0 12px;
  color: inherit;
  font-weight: 700;
  line-height: 1.68;
}

body.kundli-milan-page .kundli-milan-ai-output .ai-response-paragraph:last-child,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-output .ai-response-paragraph:last-child,
body.page-ai-pandit .ai-response-text .ai-response-paragraph:last-child,
.my-ai-pandit-page .ai-response-text .ai-response-paragraph:last-child {
  margin-bottom: 0;
}

body.kundli-milan-page .kundli-milan-ai-output .ai-response-heading,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-output .ai-response-heading,
body.page-ai-pandit .ai-response-text .ai-response-heading,
.my-ai-pandit-page .ai-response-text .ai-response-heading {
  display: inline-block;
  margin: 4px 0 2px;
  color: inherit;
  font-weight: 900;
}

body.kundli-milan-page .kundli-milan-ai-output.is-error,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-output.is-error {
  border-color: rgba(123, 27, 42, 0.42);
  background: #fff4d2;
  color: #722F37;
}

body.kundli-milan-page .kundli-milan-ai-form {
  display: grid;
  gap: 10px;
}

body.kundli-milan-page .kundli-milan-ai-loading,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-loading {
  margin: 0;
  color: #722F37;
  font-weight: 850;
  line-height: 1.45;
}

body.kundli-milan-page .kundli-milan-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.kundli-milan-page .kundli-milan-ai-chip {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(123, 27, 42, 0.24);
  border-radius: 999px;
  background: #fff7df;
  color: #722F37;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
}

body.kundli-milan-page .kundli-milan-ai-chip:hover,
body.kundli-milan-page .kundli-milan-ai-chip:focus-visible {
  background: #fff0c5;
  border-color: rgba(123, 27, 42, 0.42);
}

body.kundli-milan-page .kundli-milan-ai-label {
  color: #722F37;
  font-weight: 850;
}

body.kundli-milan-page .kundli-milan-ai-textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid rgba(117, 28, 40, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 252, 0.98);
  color: #722F37;
  font: inherit;
  font-weight: 700;
  line-height: 1.55;
}

body.kundli-milan-page .kundli-milan-ai-textarea::placeholder {
  color: rgba(73, 39, 33, 0.58);
}

body.kundli-milan-page .kundli-milan-ai-submit {
  justify-self: start;
  min-height: 44px;
}

body.kundli-milan-page .kundli-milan-ai-paywall {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(123, 27, 42, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 196, 90, 0.18), transparent 34%),
    #fff7df;
}

body.kundli-milan-page .kundli-milan-ai-credit-notice,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-credit-notice {
  padding: 12px 14px;
  border: 1px solid rgba(176, 124, 31, 0.44);
  border-radius: 12px;
  background: #fff4d2;
  color: #722F37;
  font-weight: 850;
  line-height: 1.5;
}

body.kundli-milan-page .kundli-milan-ai-paywall p,
body.page-kundli.kundli-milan-page .kundli-milan-result-section .kundli-result .kundli-milan-ai-paywall p {
  margin: 0;
  color: #722F37;
  font-weight: 800;
  line-height: 1.62;
}

body.kundli-milan-page .kundli-milan-ai-paywall-title {
  margin: 0;
  color: #722F37;
  font-size: 1.2rem;
  line-height: 1.25;
}

body.kundli-milan-page .kundli-milan-ai-price-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

body.kundli-milan-page .kundli-milan-ai-intro-price {
  color: #722F37;
  font-size: 1.08rem;
  line-height: 1.25;
}

body.kundli-milan-page .kundli-milan-ai-regular-price {
  color: rgba(73, 39, 33, 0.74);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: line-through;
}

body.kundli-milan-page .kundli-milan-coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

body.kundli-milan-page .kundli-milan-coupon-input {
  min-width: min(100%, 220px);
  flex: 1 1 220px;
  border: 1px solid rgba(117, 28, 40, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 252, 0.98);
  color: #722F37;
  font: inherit;
  font-weight: 750;
  min-height: 44px;
  padding: 10px 12px;
}

body.kundli-milan-page .kundli-milan-coupon-input::placeholder {
  color: rgba(73, 39, 33, 0.58);
}

body.kundli-milan-page .kundli-milan-coupon-apply {
  min-height: 44px;
}

body.kundli-milan-page .kundli-milan-coupon-message {
  margin: -4px 0 0;
  font-weight: 850;
}

body.kundli-milan-page .kundli-milan-coupon-message.is-success {
  color: #176b3a;
}

body.kundli-milan-page .kundli-milan-coupon-message.is-error {
  color: #9d1f2d;
}

body.kundli-milan-page .kundli-milan-ai-premium {
  justify-self: start;
  min-height: 46px;
}

body.kundli-milan-page .kundli-milan-dosha-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.kundli-milan-page .kundli-milan-dosha-card {
  min-width: 0;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(176, 124, 31, 0.24);
  border-radius: 14px;
  background: #fffaf0;
}

body.kundli-milan-page .kundli-milan-dosha-card.is-caution {
  border-color: rgba(123, 27, 42, 0.3);
  background: #fff4d2;
}

body.kundli-milan-page .kundli-milan-dosha-card strong {
  display: block;
  margin-bottom: 8px;
  color: #6d1b24;
  font-weight: 850;
}

body.kundli-milan-page .kundli-milan-dosha-card p {
  margin: 0;
  color: #4a2119;
  line-height: 1.62;
}

body.kundli-milan-page .kundli-milan-education {
  display: grid;
  width: min(1040px, calc(100% - 32px));
  gap: 22px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0 clamp(44px, 6vw, 78px);
}

body.kundli-milan-page .kundli-milan-education-heading {
  max-width: 780px;
  margin: 0 auto 4px;
  text-align: center;
}

body.kundli-milan-page .kundli-milan-education-heading .section-kicker,
body.kundli-milan-page .kundli-milan-faq .section-kicker {
  color: #ffe6a3;
}

body.kundli-milan-page .kundli-milan-education-heading h2 {
  margin: 8px 0 10px;
  color: #fff8ec;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.14;
  text-shadow: 0 2px 18px rgba(8, 2, 2, 0.2);
}

body.kundli-milan-page .kundli-milan-education-heading p {
  margin: 0;
  color: rgba(255, 241, 209, 0.9);
  line-height: 1.68;
}

body.kundli-milan-page .kundli-milan-edu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.kundli-milan-page .kundli-milan-edu-card,
body.kundli-milan-page .kundli-milan-score-guide,
body.kundli-milan-page .kundli-milan-faq {
  border: 1px solid rgba(244, 196, 90, 0.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 196, 90, 0.16), transparent 34%),
    rgba(255, 249, 232, 0.96);
  color: #421a17;
  box-shadow: 0 18px 44px rgba(39, 8, 12, 0.16);
}

body.kundli-milan-page .kundli-milan-edu-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
}

body.kundli-milan-page .kundli-milan-edu-card-wide {
  grid-column: 1 / -1;
}

body.kundli-milan-page .kundli-milan-edu-card h3,
body.kundli-milan-page .kundli-milan-score-guide h3,
body.kundli-milan-page .kundli-milan-faq h3 {
  margin: 0 0 10px;
  color: #661827;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.24rem, 2.2vw, 1.65rem);
  line-height: 1.22;
  text-shadow: none;
}

body.kundli-milan-page .kundli-milan-edu-card h3::after,
body.kundli-milan-page .kundli-milan-score-guide h3::after,
body.kundli-milan-page .kundli-milan-faq h3::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b07c1f, rgba(176, 124, 31, 0));
  content: "";
}

body.kundli-milan-page .kundli-milan-edu-card p,
body.kundli-milan-page .kundli-milan-faq p {
  margin: 0;
  color: #4a2119;
  font-weight: 650;
  line-height: 1.74;
}

body.kundli-milan-page .kundli-milan-score-guide {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
}

body.kundli-milan-page .kundli-milan-score-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.kundli-milan-page .kundli-milan-score-guide-grid article {
  display: grid;
  min-width: 0;
  min-height: 132px;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(176, 124, 31, 0.26);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdf7 0%, #fff7df 100%);
}

body.kundli-milan-page .kundli-milan-score-guide-grid strong {
  color: #74192a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.24rem, 2vw, 1.5rem);
  line-height: 1.1;
}

body.kundli-milan-page .kundli-milan-score-guide-grid span {
  color: #4a2119;
  font-weight: 750;
  line-height: 1.48;
}

body.kundli-milan-page .kundli-milan-faq {
  padding: clamp(20px, 3vw, 28px);
}

body.kundli-milan-page .kundli-milan-faq .section-kicker {
  color: #8a4b12;
}

body.kundli-milan-page .kundli-milan-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

body.kundli-milan-page .kundli-milan-faq-list details {
  border: 1px solid rgba(176, 124, 31, 0.24);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.9);
  overflow: hidden;
}

body.kundli-milan-page .kundli-milan-faq-list summary {
  min-height: 52px;
  padding: 15px 18px;
  color: #661827;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
}

body.kundli-milan-page .kundli-milan-faq-list p {
  padding: 0 18px 16px;
}

body.kundli-milan-page .kundli-milan-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 4px;
}

body.kundli-milan-page .kundli-milan-next-links .btn {
  min-width: 148px;
  justify-content: center;
}

body.kundli-milan-page footer {
  margin-top: 0;
}

@media (max-width: 860px) {
  body.kundli-milan-page .kundli-milan-hero {
    min-height: 540px;
    padding: 96px 14px 42px;
    background-image:
      radial-gradient(circle at 50% 42%, rgba(214, 152, 60, 0.14), transparent 42%),
      radial-gradient(circle at 24% 18%, rgba(244, 196, 90, 0.18), transparent 30%),
      linear-gradient(135deg, rgba(45, 8, 10, 0.74), rgba(35, 6, 8, 0.84)),
      url("../images/kundli-milan-hero.png");
    background-position: center center;
  }

  body.kundli-milan-page .kundli-milan-hero-grid {
    grid-template-columns: 1fr;
  }

  body.kundli-milan-page .kundli-milan-hero-copy {
    order: 1;
  }

  body.kundli-milan-page .kundli-milan-columns {
    grid-template-columns: 1fr;
  }

  body.kundli-milan-page .kundli-milan-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.kundli-milan-page .kundli-milan-result-summary {
    grid-template-columns: 1fr;
  }

  body.kundli-milan-page .kundli-milan-summary-card {
    min-height: 118px;
  }

  body.kundli-milan-page .kundli-milan-dosha-grid {
    grid-template-columns: 1fr;
  }

  body.kundli-milan-page .kundli-milan-edu-grid,
  body.kundli-milan-page .kundli-milan-score-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body.kundli-milan-page .kundli-milan-hero {
    min-height: 500px;
  }

  body.kundli-milan-page .kundli-milan-hero .hero-glass-content {
    width: 100%;
    padding: 20px 16px;
  }

  body.kundli-milan-page .kundli-milan-hero .hero-actions,
  body.kundli-milan-page .kundli-milan-chips {
    justify-content: center;
  }

  body.kundli-milan-page .kundli-milan-tool {
    padding-right: 14px;
    padding-left: 14px;
  }

  body.kundli-milan-page .kundli-milan-form-panel {
    padding: 34px 16px;
  }

  body.kundli-milan-page .kundli-milan-preview-info {
    padding: 16px;
  }

  body.kundli-milan-page .kundli-milan-form fieldset {
    padding: 28px 16px 18px;
  }

  body.kundli-milan-page .match-person-card {
    padding: 28px 16px 18px;
  }

  body.kundli-milan-page .match-person-title {
    margin-bottom: 16px;
  }

  body.kundli-milan-page .kundli-milan-preview-grid {
    grid-template-columns: 1fr;
  }

  body.kundli-milan-page .kundli-milan-submit-row .kundli-submit {
    width: 100%;
    min-height: 52px;
  }

  body.kundli-milan-page .kundli-milan-result-section .kundli-result {
    width: calc(100% - 20px);
    padding: 16px;
  }

  body.kundli-milan-page .kundli-milan-summary-card {
    min-height: 112px;
    padding: 16px;
  }

  body.kundli-milan-page .kundli-milan-score-value {
    font-size: 2.35rem;
  }

  body.kundli-milan-page .kundli-milan-interpretation,
  body.kundli-milan-page .kundli-milan-preview-note {
    padding: 14px;
  }

  body.kundli-milan-page .kundli-milan-dashboard-block {
    padding: 16px;
  }

  body.kundli-milan-page .kundli-milan-score-badge {
    width: 168px;
  }

  body.kundli-milan-page .kundli-milan-dashboard-table-wrap .kundli-milan-table {
    min-width: 720px;
  }

  body.kundli-milan-page .kundli-milan-ai-submit {
    width: 100%;
    justify-content: center;
  }

  body.kundli-milan-page .kundli-milan-ai-login-gate {
    inset: 14px;
    padding: 16px;
  }

  body.kundli-milan-page .kundli-milan-ai-login-btn,
  body.kundli-milan-page .kundli-milan-ai-premium {
    width: 100%;
    justify-content: center;
  }

  body.kundli-milan-page .kundli-milan-education {
    width: calc(100% - 24px);
  }

  body.kundli-milan-page .kundli-milan-edu-card,
  body.kundli-milan-page .kundli-milan-score-guide,
  body.kundli-milan-page .kundli-milan-faq {
    border-radius: 16px;
  }

  body.kundli-milan-page .kundli-milan-next-links .btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  body.page-kundli .kundli-trust-grid,
  body.page-kundli .ai-pandit-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-kundli .ai-pandit-plan-card.featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  body.page-kundli .kundli-trust-strip {
    width: min(100% - 24px, 1180px);
    padding: 16px;
  }

  body.page-kundli .kundli-trust-grid,
  body.page-kundli .ai-pandit-plan-grid,
  .kundli-sample-grid,
  .kundli-sample-guidance-grid {
    grid-template-columns: 1fr;
  }

  .kundli-sample-planet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .kundli-sample-preview,
  .kundli-sample-report-block {
    padding: 18px 14px;
  }

  .kundli-sample-report,
  .kundli-sample-summary-grid,
  .kundli-sample-guidance-grid {
    gap: 12px;
  }

  body.page-kundli .ai-pandit-persona {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.page-kundli .ai-pandit-persona-mark {
    margin: 0 auto;
  }

  body.page-kundli .ai-pandit-persona-list,
  body.page-kundli .ai-plan-benefits {
    text-align: left;
  }

  body.page-kundli .ai-plan-button,
  body.page-kundli .ai-pandit-pricing-actions .btn,
  body.page-kundli .kundli-submit {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .kundli-sample-planet-grid {
    grid-template-columns: 1fr;
  }

  .kundli-sample-planet-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .kundli-sample-planet-card span {
    text-align: left;
  }
}

.ai-vastu-methodology {
  display: grid;
  gap: 10px;
  max-width: 1120px;
  margin: 24px auto 28px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 215, 106, 0.35);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(70, 18, 12, 0.92), rgba(35, 8, 5, 0.96));
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

.ai-vastu-methodology h3,
.ai-vastu-methodology p {
  margin: 0;
}

body.page-ai-vastu-checker .ai-vastu-methodology .section-kicker {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(255, 215, 106, 0.45);
  border-radius: 999px;
  background: rgba(255, 215, 106, 0.14);
  color: #ffe08a;
  box-shadow: none;
}

body.page-ai-vastu-checker .ai-vastu-methodology h3 {
  color: #ffe08a;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
}

body.page-ai-vastu-checker .ai-vastu-methodology p {
  max-width: 92ch;
  color: rgba(255, 244, 220, 0.88);
  font-size: 1rem;
  line-height: 1.72;
}

body.page-ai-vastu-checker .ai-vastu-fast-note {
  margin-top: 16px;
  padding: 18px 20px;
}

body.page-ai-vastu-checker .ai-vastu-fast-note h3 {
  margin: 0 0 8px;
  color: #ffe08a;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.35;
}

body.page-ai-vastu-checker .ai-vastu-fast-note p {
  margin: 0;
  color: rgba(255, 244, 220, 0.88);
  line-height: 1.7;
}

.about-trust-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.about-trust-meta strong {
  display: inline-block;
  margin-bottom: 6px;
  color: #f4c967;
}

.contact-support-grid .contact-info-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(239, 200, 107, 0.5);
  border-radius: 999px;
  color: #fff4c6;
  background:
    linear-gradient(135deg, rgba(239, 200, 107, 0.16), rgba(122, 27, 27, 0.24)),
    rgba(18, 6, 5, 0.36);
  box-shadow: 0 10px 24px rgba(8, 2, 2, 0.22), inset 0 1px 0 rgba(255, 248, 236, 0.1);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-support-grid .contact-info-card a:hover,
.contact-support-grid .contact-info-card a:focus-visible {
  border-color: rgba(239, 200, 107, 0.78);
  color: #2b1a10;
  background: linear-gradient(135deg, #fff4c6, #efc86b 56%, #b97021);
  box-shadow: 0 16px 34px rgba(8, 2, 2, 0.28), 0 0 24px rgba(239, 200, 107, 0.18);
  text-decoration: none;
  transform: translateY(-1px);
}

.contact-support-note {
  margin-top: 16px;
}

/* Contact page collision/contrast polish */
body.page-contact .contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.page-contact .contact-hero-copy {
  position: relative;
  z-index: 2;
}

body.page-contact .contact-hero-symbol {
  z-index: 1;
  opacity: 0.42;
  pointer-events: none;
}

body.page-contact .contact-symbol-ring {
  width: min(138px, 24vw);
}

body.page-contact .contact-symbol-core {
  width: 72px;
  height: 72px;
  font-size: 2.25rem;
}

@media (max-width: 980px) {
  body.page-contact .contact-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-right: clamp(22px, 5vw, 44px);
    text-align: center;
  }

  body.page-contact .contact-hero h1,
  body.page-contact .contact-hero p {
    margin-right: auto;
    margin-left: auto;
  }

  body.page-contact .contact-hero-symbol {
    position: absolute;
    right: -18px;
    bottom: -22px;
    width: 126px;
    height: 126px;
    min-height: 0;
    opacity: 0.16;
  }

  body.page-contact .contact-symbol-ring {
    width: 126px;
  }

  body.page-contact .contact-symbol-core {
    width: 58px;
    height: 58px;
    font-size: 1.85rem;
  }
}

@media (max-width: 520px) {
  body.page-contact .contact-hero-symbol {
    right: -34px;
    bottom: -30px;
    width: 112px;
    height: 112px;
    opacity: 0.12;
  }

  .contact-support-grid .contact-info-card a {
    width: 100%;
  }
}

.ai-loading-skeleton {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ai-loading-skeleton span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 201, 103, 0.12), rgba(255, 248, 236, 0.26), rgba(244, 201, 103, 0.12));
  background-size: 200% 100%;
  animation: aiSkeletonPulse 1.4s ease-in-out infinite;
}

.ai-loading-skeleton span:nth-child(2) {
  width: 82%;
}

.ai-loading-skeleton span:nth-child(3) {
  width: 68%;
}

@keyframes aiSkeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 768px) {
  .about-trust-meta {
    grid-template-columns: 1fr;
  }
}

/* Vastu mobile overflow and hit-area containment */
body.page-vastu,
body.page-vastu main,
body.page-vastu main * {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  body.page-vastu {
    overflow-x: hidden;
  }

  body.page-vastu main,
  body.page-vastu .vastu-hero,
  body.page-vastu .vastu-section,
  body.page-vastu .vastu-section > *,
  body.page-vastu .vastu-final-cta,
  body.page-vastu .ai-vastu-panel,
  body.page-vastu .vastu-philosophy-panel {
    max-width: 100%;
  }

  body.page-vastu .vastu-hero {
    width: min(100% - 24px, 1180px);
    padding-right: 0;
    padding-left: 0;
  }

  body.page-vastu .vastu-hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 2.85rem);
    line-height: 1.04;
  }

  body.page-vastu .vastu-hero .hero-actions,
  body.page-vastu .vastu-final-cta .hero-actions {
    width: 100%;
  }

  body.page-vastu .vastu-hero .hero-actions .btn,
  body.page-vastu .vastu-final-cta .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  body.page-vastu .vastu-hero-visual {
    --vastu-compass-size: min(280px, calc(100% - 28px));
    --vastu-compass-top: 28px;
    --vastu-mandala-size: min(202px, 72%);
    width: 100%;
    max-width: 100%;
    min-height: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 106px);
    padding: var(--vastu-compass-top) 12px 22px;
    overflow: hidden;
    border-radius: 22px;
  }

  body.page-vastu .vastu-compass {
    width: var(--vastu-compass-size);
    height: var(--vastu-compass-size);
    max-width: calc(100% - 28px);
  }

  body.page-vastu .vastu-compass > span {
    min-width: 38px;
    max-width: 68px;
    padding: 4px 7px;
    font-size: 0.66rem;
    line-height: 1;
    white-space: nowrap;
  }

  body.page-vastu .vastu-compass .north {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
  }

  body.page-vastu .vastu-compass .south {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
  }

  body.page-vastu .vastu-compass .east {
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
  }

  body.page-vastu .vastu-compass .west {
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
  }

  body.page-vastu .vastu-mandala-art {
    width: var(--vastu-mandala-size);
    max-width: 72%;
  }

  body.page-vastu .vastu-mandala-art span {
    min-width: 0;
    padding: 5px 3px;
    font-size: 0.74rem;
    overflow-wrap: anywhere;
  }

  body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .vastu-mandala-art span {
    font-size: 0.62rem;
    line-height: 1.05;
  }

  body.page-vastu .vastu-mandala-art span:nth-child(5) {
    font-size: 1.65rem;
  }

  body.page-vastu .panch-tatva-ring {
    right: 10px;
    left: 10px;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 20px);
  }

  body.page-vastu .panch-tatva-ring span {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  body.page-vastu .vastu-subnav,
  body.page-vastu .vastu-subnav.is-fixed {
    left: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 0;
    overflow: hidden;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    transform: none;
  }

  body.page-vastu .vastu-subnav-inner {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px;
    scroll-padding: 0 16px;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.page-vastu .vastu-subnav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  body.page-vastu .vastu-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  body.page-vastu .vastu-section-heading {
    width: 100%;
    max-width: 100%;
  }

  body.page-vastu .vastu-section-heading h2,
  body.page-vastu .vastu-final-cta h2,
  body.page-vastu .vastu-philosophy-copy h2,
  body.page-vastu #ai-vastu-scan .vastu-section-heading h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  body.page-vastu .vastu-product-tabs {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 10px;
    scroll-padding: 0 16px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  body.page-vastu .vastu-product-tabs button {
    flex: 0 0 auto;
    max-width: none;
    min-height: 44px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  body.page-vastu .vastu-product-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 16px;
    padding: 0;
    overflow: visible;
  }

  body.page-vastu .vastu-product-card {
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px;
  }

  body.page-vastu .vastu-product-name,
  body.page-vastu .vastu-product-card p,
  body.page-vastu .vastu-product-status {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.page-vastu .vastu-product-name {
    font-size: 1.05rem;
    line-height: 1.28;
  }

  body.page-vastu .vastu-product-card p,
  body.page-vastu .vastu-product-card .notify-link,
  body.page-vastu .notify-link {
    grid-column: 1 / -1;
  }

  body.page-vastu .vastu-product-card .notify-link,
  body.page-vastu .notify-link {
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 430px) {
  body.page-vastu .vastu-hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.65rem);
  }

  body.page-vastu .vastu-hero-visual {
    --vastu-compass-size: min(258px, calc(100% - 24px));
    --vastu-mandala-size: min(184px, 71%);
    min-height: calc(var(--vastu-compass-top) + var(--vastu-compass-size) + 112px);
  }

  body.page-vastu .vastu-compass > span {
    max-width: 60px;
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  body.page-vastu .vastu-compass .east {
    right: 2px;
  }

  body.page-vastu .vastu-compass .west {
    left: 2px;
  }

  body.page-vastu .vastu-mandala-art span {
    font-size: 0.7rem;
  }

  body.page-vastu .vastu-section-heading h2,
  body.page-vastu .vastu-final-cta h2,
  body.page-vastu .vastu-philosophy-copy h2,
  body.page-vastu #ai-vastu-scan .vastu-section-heading h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.15rem);
  }
}

/* Vastu mandalas must remain spatial 3x3 layouts on mobile. */
@media (max-width: 768px) {
  body.page-vastu .vastu-mandala-art,
  body.page-vastu .mandala-grid.vastu-mandala-map {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.page-vastu .mandala-grid.vastu-mandala-map {
    width: min(100%, 430px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 430px) {
  body.page-vastu .mandala-grid.vastu-mandala-map {
    gap: 5px;
    padding: 7px;
  }

  body.page-vastu .mandala-grid.vastu-mandala-map button {
    min-width: 0;
    min-height: 76px;
    padding: 8px 3px;
  }
}

/* AI Vastu Checker hero mandala alignment lock */
body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-hero-mandala {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: min(100%, 520px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto 22px !important;
  transform: none !important;
}

body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-hero-grid {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 62% !important;
  aspect-ratio: 1 / 1 !important;
  transform: translate(-50%, -50%) !important;
}

body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-dir-north {
  top: 5% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-dir-south {
  bottom: 5% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-dir-east {
  top: 50% !important;
  right: 3% !important;
  transform: translateY(-50%) !important;
}

body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-dir-west {
  top: 50% !important;
  left: 3% !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 768px) {
  body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-hero-mandala {
    width: min(100%, 330px) !important;
  }

  body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-hero-grid {
    width: 64% !important;
  }

  body.page-ai-vastu-checker .ai-vastu-hero-tool-visual .ai-vastu-direction-badge {
    min-width: 0;
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* Phase 3 upay detail pages */
.upay-breadcrumb-wrap {
  padding-bottom: 0;
}

.upay-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
  border: 1px solid rgba(255, 215, 106, 0.35);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(82, 22, 14, 0.92), rgba(42, 10, 7, 0.96));
  color: #f8ead0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: normal;
}

.upay-breadcrumb a {
  color: #ffd36b;
  text-decoration: none;
}

.upay-breadcrumb a:hover,
.upay-breadcrumb a:focus-visible {
  color: #ffe29a;
}

.upay-breadcrumb strong {
  color: #fff4dc;
  font-weight: 700;
}

.upay-breadcrumb span {
  color: rgba(255, 233, 186, 0.78);
  flex: 0 0 auto;
}

.page-upay-detail .upay-detail-hero {
  min-height: 280px;
}

.upay-summary-grid,
.upay-detail-grid,
.upay-related-grid,
.upay-hub-grid {
  display: grid;
  gap: 16px;
}

.upay-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.upay-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upay-related-grid,
.upay-hub-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upay-summary-card,
.upay-detail-section,
.upay-related-card,
.upay-hub-card {
  border-color: rgba(244, 201, 103, 0.34);
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 201, 103, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 248, 236, 0.14), rgba(122, 27, 27, 0.2));
  color: rgba(255, 244, 214, 0.88);
}

.upay-summary-card,
.upay-detail-section,
.upay-hub-card {
  padding: 20px;
}

.upay-summary-label,
.upay-related-eyebrow,
.upay-hub-mini-grid strong {
  color: #f4c967;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.upay-summary-card p,
.upay-hub-card p,
.upay-detail-section p,
.upay-rich-copy p,
.upay-related-card strong {
  margin: 0;
}

.upay-summary-card p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.upay-detail-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.upay-detail-heading h2,
.upay-related-card strong,
.upay-hub-card h3 {
  margin: 0;
  color: #fff4d6;
}

.upay-rich-copy {
  display: grid;
  gap: 12px;
}

.upay-bullet-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.upay-bullet-list li,
.upay-rich-copy p,
.upay-detail-note,
.upay-hub-mini-grid span,
.upay-hub-card p {
  color: rgba(255, 244, 214, 0.84);
  line-height: 1.65;
  font-size: 15.5px;
}

.upay-mantra {
  margin-bottom: 10px;
  color: #fff4d6;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.upay-detail-note a {
  color: #f4c967;
}

.upay-related-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.upay-related-card:hover,
.upay-hub-link:hover {
  transform: translateY(-2px);
}

.upay-related-arrow,
.upay-hub-link {
  color: #f4c967;
  font-weight: 800;
  text-decoration: none;
}

.upay-hub-card {
  display: grid;
  gap: 16px;
}

.upay-hub-card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.upay-hub-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.upay-hub-mini-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(244, 201, 103, 0.22);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.05);
}

.upay-hub-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(244, 201, 103, 0.34);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.08);
}

.upay-hub-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .upay-summary-grid,
  .upay-related-grid,
  .upay-hub-grid,
  .upay-hub-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upay-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .upay-summary-grid,
  .upay-related-grid,
  .upay-hub-grid,
  .upay-hub-trust-grid,
  .upay-hub-mini-grid {
    grid-template-columns: 1fr;
  }

  .upay-summary-card,
  .upay-detail-section,
  .upay-hub-card,
  .upay-related-card {
    padding: 16px;
  }

  .upay-breadcrumb {
    font-size: 13px;
    padding: 14px 16px;
  }

  .upay-mantra {
    font-size: 18px;
  }
}

/* Phase 9 mobile UX and speed polish */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.btn,
.social-btn,
.notify-link,
.upay-category-chip,
.upay-back-link,
.upay-hub-link,
.footer-links a,
summary,
button,
[role="button"] {
  touch-action: manipulation;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  p,
  li {
    overflow-wrap: anywhere;
  }

  .btn,
  .social-btn,
  .notify-link,
  .upay-category-chip,
  .upay-back-link,
  .upay-hub-link,
  .quick-card,
  .card-link,
  .footer-links a,
  summary,
  button {
    min-height: 44px;
  }

  .btn,
  .social-btn,
  .notify-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
  }

  .hero-actions,
  .final-actions,
  .panchang-cta-actions,
  .vastu-checker-actions,
  .vastu-zone-actions,
  .vastu-notify-actions {
    gap: 12px;
  }

  .hero,
  .page-hero,
  body.page-kundli .hero-kundli,
  body.page-upay .hero-upay,
  body.page-rashifal .hero-rashifal,
  body.page-panchang .hero-panchang,
  body.page-vastu .vastu-hero {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 38px;
  }

  .hero-glass-content,
  body.page-kundli .hero-glass-content,
  body.page-upay .hero-glass-content,
  body.page-rashifal .hero-glass-content,
  body.page-panchang .hero-glass-content {
    padding: 20px 16px;
  }

  .hero h1,
  .hero h2,
  .page-hero h1,
  .page-hero h2,
  .vastu-hero h1,
  body.page-kundli .hero-glass-content h1,
  body.page-upay .hero-glass-content h1,
  body.page-rashifal .hero-glass-content h1,
  body.page-panchang .hero-glass-content h1 {
    font-size: clamp(1.85rem, 8.6vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .hero-subtitle,
  .hero p,
  .page-hero p,
  .vastu-hero .hero-subtitle,
  .vastu-hero p,
  .section-intro,
  .section p,
  .section li {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-note,
  body.page-ai-vastu-checker .ai-vastu-trust-note {
    margin-top: 12px;
  }

  .section,
  body.page-upay .section,
  body.page-vastu .vastu-section,
  .panchang-control-section,
  .panchang-main-section,
  .panchang-grid-section,
  .panchang-time-section,
  .panchang-festival-section,
  .panchang-guidance-section,
  .panchang-education-section,
  .panchang-cta-section {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .section h2,
  .vastu-section-heading h2,
  .upay-section-heading h2,
  .panchang-section-heading h2,
  .rashifal-results-heading h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.16;
  }

  .content-panel,
  .glass-panel,
  .glass-card,
  .premium-card,
  .kundli-glass-section,
  .card,
  .vastu-card,
  .upay-daily-card,
  .upay-method-card,
  .upay-detail-card,
  .upay-path-card,
  .upay-summary-card,
  .upay-related-card,
  .upay-hub-card {
    box-shadow:
      0 14px 30px rgba(18, 6, 4, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .cards,
  .services-grid,
  .trust-grid,
  .ecosystem-grid,
  .upay-featured-grid,
  .upay-niyam-grid,
  .upay-method-grid,
  .vastu-feature-grid,
  .vastu-product-grid,
  .footer-links {
    max-width: 100%;
  }

  .form-field,
  .vastu-checker-form label,
  .vastu-notify-form label,
  .ai-login-form label {
    gap: 7px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea,
  .vastu-checker-form input,
  .vastu-checker-form select,
  .vastu-notify-form input,
  .ai-login-form input {
    min-height: 50px;
    font-size: 16px;
    line-height: 1.35;
  }

  body.page-rashifal .rashifal-form,
  .panchang-form,
  body.page-kundli .kundli-form,
  body.page-vastu .vastu-form-grid,
  body.page-vastu .vastu-placement-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-rashifal .rashifal-results-grid,
  .panchang-data-grid,
  .panchang-guidance-grid,
  .panchang-ang-grid,
  .panchang-timeline,
  .rashifal-category-grid,
  .kundli-sample-grid,
  .kundli-sample-summary-grid,
  .kundli-sample-guidance-grid,
  .about-trust-meta,
  body.page-contact .contact-follow-grid,
  body.page-contact .contact-quick-grid,
  body.page-contact .why-connect-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header .main-nav {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.mobile-nav-open .main-nav,
  body.page-rashifal .site-header.mobile-nav-open .main-nav,
  body.page-panchang .site-header.mobile-nav-open .main-nav,
  body.page-upay .site-header.mobile-nav-open .main-nav,
  body.page-vastu .site-header.mobile-nav-open .main-nav,
  body.page-kundli .site-header.mobile-nav-open .main-nav,
  body.page-about .site-header.mobile-nav-open .main-nav,
  body.page-contact .site-header.mobile-nav-open .main-nav,
  body.page-privacy .site-header.mobile-nav-open .main-nav,
  body.page-error .site-header.mobile-nav-open .main-nav {
    max-height: min(78vh, 640px);
  }

  .site-header .main-nav a,
  .language-switcher,
  .ai-header-auth,
  .ai-header-user,
  .ai-header-login,
  .ai-header-logout {
    min-width: 0;
    min-height: 44px;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    padding: 8px 10px;
    border: 1px solid rgba(239, 200, 107, 0.22);
    border-radius: 14px;
    background: rgba(255, 248, 236, 0.06);
  }

  .language-switcher select {
    width: 100%;
    max-width: none;
    min-height: 38px;
  }

  .ai-header-auth {
    grid-column: 1 / -1;
  }

  .ai-header-user,
  .ai-header-login,
  .ai-header-logout {
    width: 100%;
    justify-content: center;
  }

  .ai-header-name {
    max-width: calc(100vw - 140px);
  }

  footer,
  .site-footer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    line-height: 1.2;
  }

  body.page-ai-vastu-checker #ai-vastu-checker {
    scroll-margin-top: calc(var(--header-height, 76px) + 16px);
    padding-top: 22px;
  }

  body.page-ai-vastu-checker .ai-vastu-benefits,
  body.page-ai-vastu-checker .vastu-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body.page-ai-vastu-checker .ai-vastu-methodology,
  body.page-ai-vastu-checker .vastu-checker-instruction,
  body.page-ai-vastu-checker .ai-vastu-fast-note {
    margin-top: 12px;
    margin-bottom: 14px;
  }

  body.page-ai-vastu-checker .vastu-checker-layout {
    gap: 18px;
  }

  body.page-ai-vastu-checker .vastu-layout-canvas,
  body.page-ai-vastu-checker .vastu-property-canvas {
    width: 100% !important;
    max-width: min(100%, 420px);
    margin-top: 14px;
    overflow: hidden;
  }

  body.page-vastu .vastu-live-mandala {
    aspect-ratio: 1 / 1 !important;
  }

  body.page-vastu .vastu-live-cell {
    min-height: 0;
    overflow: hidden;
  }

  body.page-vastu .vastu-live-cell strong,
  body.page-vastu .vastu-live-cell > span,
  body.page-vastu .vastu-live-cell small {
    overflow-wrap: anywhere;
  }

  body.page-vastu .vastu-zone-dialog,
  .ai-pandit-modal-panel {
    max-width: calc(100vw - 20px);
  }

  .upay-detail-hero,
  .page-upay-detail .upay-detail-hero {
    min-height: auto;
  }

  .upay-breadcrumb-wrap {
    padding-top: 14px;
  }
}

@media (max-width: 430px) {
  .hero,
  .page-hero,
  body.page-kundli .hero-kundli,
  body.page-upay .hero-upay,
  body.page-rashifal .hero-rashifal,
  body.page-panchang .hero-panchang,
  body.page-vastu .vastu-hero {
    padding-top: 26px;
    padding-bottom: 32px;
  }

  .hero-glass-content,
  .content-panel,
  .glass-panel,
  .glass-card,
  .premium-card,
  .kundli-glass-section,
  .card {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero h1,
  .hero h2,
  .page-hero h1,
  .page-hero h2,
  .vastu-hero h1,
  body.page-kundli .hero-glass-content h1,
  body.page-upay .hero-glass-content h1,
  body.page-rashifal .hero-glass-content h1,
  body.page-panchang .hero-glass-content h1 {
    font-size: clamp(1.72rem, 9vw, 2.25rem);
  }

  body.page-vastu .vastu-live-cell {
    padding: 7px 3px;
  }

  body.page-vastu .vastu-live-cell small {
    display: none;
  }
}

/* Contact hero text-zone separation lock */
body.page-contact .contact-hero {
  grid-template-columns: minmax(0, 1fr) minmax(96px, 132px) !important;
  align-items: center;
  gap: clamp(28px, 5vw, 54px);
  overflow: hidden;
}

body.page-contact .contact-hero-copy {
  z-index: 2;
  max-width: 760px;
  min-width: 0;
}

body.page-contact .contact-hero h1,
body.page-contact .contact-hero p {
  max-width: 720px;
}

body.page-contact .contact-hero-symbol {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1;
  display: grid;
  width: min(132px, 100%) !important;
  height: auto !important;
  min-height: 132px !important;
  place-items: center;
  justify-self: end;
  opacity: 0.28;
  pointer-events: none;
}

body.page-contact .contact-symbol-ring {
  width: 118px !important;
  max-width: 100%;
}

body.page-contact .contact-symbol-core {
  width: 58px !important;
  height: 58px !important;
  font-size: 1.8rem !important;
}

@media (max-width: 980px) {
  body.page-contact .contact-hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-contact .contact-hero-symbol {
    display: none !important;
  }
}

/* AI Vastu Checker Kundli Milan-inspired layout */
body.page-ai-vastu-checker .ai-vastu-product-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(500px, 58vw, 620px);
  padding: clamp(104px, 11vw, 128px) 18px clamp(42px, 6vw, 62px);
  overflow: hidden;
  background-image:
    radial-gradient(circle at center, rgba(214, 152, 60, 0.16), transparent 45%),
    radial-gradient(circle at 78% 24%, rgba(255, 244, 214, 0.1), transparent 30%),
    linear-gradient(rgba(42, 7, 9, 0.72), rgba(28, 5, 6, 0.88)),
    url("../images/ai-vastu-hero-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.page-ai-vastu-checker .ai-vastu-product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(244, 196, 90, 0.12), transparent 42%),
    linear-gradient(90deg, rgba(52, 9, 18, 0.56), rgba(70, 14, 24, 0.34) 48%, rgba(30, 5, 9, 0.58)),
    repeating-conic-gradient(from 0deg at 72% 44%, rgba(244, 196, 90, 0.035) 0deg 8deg, transparent 8deg 18deg);
}

body.page-ai-vastu-checker .ai-vastu-product-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 110px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 248, 236, 0.18));
}

body.page-ai-vastu-checker .ai-vastu-product-hero .vastu-hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(244, 196, 90, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(64, 10, 14, 0.8), rgba(41, 9, 15, 0.88)),
    radial-gradient(circle at 15% 0%, rgba(244, 196, 90, 0.18), transparent 42%);
  color: #fff4d8;
  text-align: left;
  box-shadow: 0 28px 76px rgba(18, 2, 7, 0.42), inset 0 1px 0 rgba(255, 248, 224, 0.14);
  backdrop-filter: blur(12px);
}

body.page-ai-vastu-checker .ai-vastu-product-hero h1 {
  margin: 8px 0 12px;
  color: #fff7df;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.34);
}

body.page-ai-vastu-checker .ai-vastu-product-hero .hero-subtitle {
  max-width: 660px;
  margin: 0 0 18px;
  color: rgba(255, 248, 224, 0.95);
}

body.page-ai-vastu-checker .ai-vastu-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

body.page-ai-vastu-checker .ai-vastu-trust-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(244, 196, 90, 0.44);
  border-radius: 999px;
  background: rgba(255, 248, 224, 0.12);
  color: #fff7dc;
  font-size: 0.88rem;
  font-weight: 800;
}

body.page-ai-vastu-checker .ai-vastu-product-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 0;
}

body.page-ai-vastu-checker .ai-vastu-checker-section {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px) 18px 56px;
}

body.page-ai-vastu-checker .ai-vastu-checker-section > .vastu-section-heading,
body.page-ai-vastu-checker .vastu-checker-layout,
body.page-ai-vastu-checker .vastu-free-report-section,
body.page-ai-vastu-checker .ai-vastu-lower-info > .vastu-section-heading,
body.page-ai-vastu-checker .ai-vastu-compact-grid,
body.page-ai-vastu-checker .ai-vastu-faq-list,
body.page-ai-vastu-checker .vastu-disclaimer {
  width: min(1100px, 100%);
  margin-right: auto;
  margin-left: auto;
}

body.page-ai-vastu-checker .ai-vastu-checker-section > .vastu-section-heading {
  margin-bottom: 0;
}

body.page-ai-vastu-checker .ai-vastu-checker-section > .vastu-section-heading .section-kicker {
  display: none;
}

body.page-ai-vastu-checker .ai-vastu-checker-section > .vastu-section-heading h2,
body.page-ai-vastu-checker .ai-vastu-lower-info .vastu-section-heading h2 {
  color: #661827;
}

body.page-ai-vastu-checker .ai-vastu-checker-section > .vastu-section-heading p,
body.page-ai-vastu-checker .ai-vastu-lower-info .vastu-section-heading p {
  color: #5b312b;
}

body.page-ai-vastu-checker .vastu-checker-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 24px;
  align-items: start;
}

body.page-ai-vastu-checker .vastu-checker-form,
body.page-ai-vastu-checker .vastu-live-mandala-panel,
body.page-ai-vastu-checker .vastu-report-output,
body.page-ai-vastu-checker .ai-vastu-lower-info .vastu-card,
body.page-ai-vastu-checker .ai-vastu-faq-list details {
  border: 1px solid rgba(117, 28, 40, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 196, 90, 0.12), transparent 34%),
    rgba(255, 249, 232, 0.96);
  color: #421a17;
  box-shadow: 0 18px 46px rgba(64, 20, 16, 0.1);
}

body.page-ai-vastu-checker .vastu-checker-form fieldset {
  border-color: rgba(117, 28, 40, 0.18);
  background: rgba(255, 253, 246, 0.86);
}

body.page-ai-vastu-checker .vastu-checker-form legend,
body.page-ai-vastu-checker .vastu-live-mandala-heading h3,
body.page-ai-vastu-checker .ai-vastu-lower-info .vastu-card h3,
body.page-ai-vastu-checker .ai-vastu-faq-list summary {
  color: #74192a;
}

body.page-ai-vastu-checker .vastu-checker-form label > span,
body.page-ai-vastu-checker .vastu-field-question {
  color: #5d1d23;
}

body.page-ai-vastu-checker .vastu-free-report-section {
  margin-top: 2px;
}

body.page-ai-vastu-checker .vastu-free-report-section .vastu-section-heading {
  margin-bottom: 14px;
}

body.page-ai-vastu-checker .ai-vastu-lower-info {
  padding: clamp(28px, 4vw, 46px) 18px 0;
}

body.page-ai-vastu-checker .ai-vastu-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.page-ai-vastu-checker .ai-vastu-lower-info .vastu-card {
  min-height: 120px;
  padding: 18px;
  text-align: center;
}

body.page-ai-vastu-checker .ai-vastu-lower-info .vastu-card p,
body.page-ai-vastu-checker .ai-vastu-faq-list p {
  color: #5b312b;
}

body.page-ai-vastu-checker .vastu-checker-instruction {
  width: min(1100px, 100%);
  margin: 18px auto 0;
  border-color: rgba(117, 28, 40, 0.18);
  background: rgba(255, 249, 232, 0.94);
}

body.page-ai-vastu-checker .vastu-checker-instruction summary {
  color: #74192a;
}

body.page-ai-vastu-checker .vastu-disclaimer {
  padding: 16px 20px;
  border: 1px solid rgba(244, 196, 90, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(105, 22, 37, 0.96), rgba(75, 17, 26, 0.96));
  box-shadow: 0 16px 34px rgba(59, 12, 18, 0.16);
}

body.page-ai-vastu-checker .vastu-disclaimer p {
  margin: 0;
  color: #fff4d8;
  text-align: center;
}

@media (max-width: 980px) {
  body.page-ai-vastu-checker .vastu-checker-layout,
  body.page-ai-vastu-checker .ai-vastu-compact-grid {
    grid-template-columns: 1fr;
  }

  body.page-ai-vastu-checker .ai-vastu-product-hero {
    min-height: 500px;
    padding: 96px 14px 42px;
    background-image:
      radial-gradient(circle at 50% 42%, rgba(214, 152, 60, 0.12), transparent 42%),
      linear-gradient(rgba(42, 7, 9, 0.78), rgba(28, 5, 6, 0.9)),
      url("../images/ai-vastu-hero-bg.png");
  }
}

@media (max-width: 520px) {
  body.page-ai-vastu-checker .ai-vastu-product-hero .vastu-hero-copy {
    width: 100%;
    padding: 20px 16px;
  }

  body.page-ai-vastu-checker .ai-vastu-trust-chips span,
  body.page-ai-vastu-checker .ai-vastu-product-hero .btn {
    width: 100%;
    justify-content: center;
  }

  body.page-ai-vastu-checker .ai-vastu-checker-section,
  body.page-ai-vastu-checker .ai-vastu-lower-info {
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* AI Vastu readability and compact cards */
body.ai-vastu-page .ai-vastu-checker-section > .vastu-section-heading h2,
body.ai-vastu-page .vastu-free-report-section > .vastu-section-heading h2,
body.ai-vastu-page .ai-vastu-lower-info > .vastu-section-heading h2 {
  color: #fff4dc;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

body.ai-vastu-page .ai-vastu-checker-section > .vastu-section-heading p,
body.ai-vastu-page .vastu-free-report-section > .vastu-section-heading p,
body.ai-vastu-page .ai-vastu-lower-info > .vastu-section-heading p {
  color: rgba(255, 244, 220, 0.84);
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

body.ai-vastu-page .ai-vastu-compact-grid {
  align-items: stretch;
  gap: 12px;
}

body.ai-vastu-page #ai-vastu-how-it-works .ai-vastu-compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.ai-vastu-page .ai-vastu-lower-info .vastu-card {
  display: grid;
  align-content: center;
  min-height: auto;
  padding: 18px 20px;
  gap: 8px;
}

body.ai-vastu-page .ai-vastu-lower-info .vastu-card h3 {
  margin: 0;
  color: #74192a;
  font-size: 1.02rem;
  line-height: 1.25;
  text-shadow: none;
}

body.ai-vastu-page .ai-vastu-lower-info .vastu-card p {
  margin: 0;
  color: #5b312b;
  font-size: 0.94rem;
  line-height: 1.45;
}

body.ai-vastu-page .ai-vastu-price-benefits .vastu-card {
  min-height: 0;
}

body.ai-vastu-page .ai-vastu-faq-list {
  gap: 10px;
}

body.ai-vastu-page .ai-vastu-faq-list details {
  padding: 0;
  min-height: 0;
}

body.ai-vastu-page .ai-vastu-faq-list summary {
  min-height: 46px;
  padding: 12px 16px;
  color: #74192a;
  line-height: 1.35;
}

body.ai-vastu-page .ai-vastu-faq-list p {
  margin: 0;
  padding: 0 16px 14px;
  color: #5b312b;
  line-height: 1.5;
}

body.ai-vastu-page .vastu-report-placeholder {
  min-height: 0;
  padding: 18px 20px;
}

body.ai-vastu-page .vastu-report-placeholder h3 {
  margin: 0 0 6px;
  color: #74192a;
  font-size: 1.05rem;
}

body.ai-vastu-page .vastu-report-placeholder p {
  margin: 0;
  color: #5b312b;
  line-height: 1.5;
}

body.ai-vastu-page .vastu-disclaimer.ai-vastu-lower-info {
  padding-top: 16px;
  padding-bottom: 16px;
}

body.ai-vastu-page .vastu-disclaimer p {
  color: #fff4d8;
  line-height: 1.55;
}

@media (max-width: 980px) {
  body.ai-vastu-page #ai-vastu-how-it-works .ai-vastu-compact-grid {
    grid-template-columns: 1fr;
  }
}

/* AI Vastu final readability lock */
body.ai-vastu-page .ai-vastu-checker-section > .vastu-section-heading h2,
body.ai-vastu-page .vastu-free-report-section > .vastu-section-heading h2,
body.ai-vastu-page .ai-vastu-lower-info > .vastu-section-heading h2 {
  color: #fff4dc !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45) !important;
}

body.ai-vastu-page .ai-vastu-checker-section > .vastu-section-heading p,
body.ai-vastu-page .vastu-free-report-section > .vastu-section-heading p,
body.ai-vastu-page .ai-vastu-lower-info > .vastu-section-heading p {
  color: rgba(255, 244, 220, 0.84) !important;
  line-height: 1.55 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32) !important;
}

body.ai-vastu-page .ai-vastu-lower-info .vastu-card,
body.ai-vastu-page .ai-vastu-price-benefits .vastu-card {
  min-height: 0 !important;
  padding: 18px 20px !important;
  align-content: start !important;
}

body.ai-vastu-page .ai-vastu-lower-info .vastu-card h3,
body.ai-vastu-page .ai-vastu-lower-info .vastu-card p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.ai-vastu-page .ai-vastu-faq-list details,
body.ai-vastu-page .vastu-report-placeholder {
  min-height: 0 !important;
}

/* AI Vastu light-panel text contrast lock */
body.ai-vastu-page .vastu-checker-form,
body.ai-vastu-page .vastu-checker-form fieldset,
body.ai-vastu-page .vastu-live-mandala-panel,
body.ai-vastu-page .vastu-mandala-view-control,
body.ai-vastu-page .vastu-layout-canvas,
body.ai-vastu-page .vastu-live-mandala {
  color: #4b231f !important;
}

body.ai-vastu-page .vastu-checker-form legend,
body.ai-vastu-page .vastu-checker-form label > span,
body.ai-vastu-page .vastu-field-question,
body.ai-vastu-page .vastu-radio-row label,
body.ai-vastu-page .vastu-live-mandala-heading h3,
body.ai-vastu-page .vastu-mandala-view-header strong,
body.ai-vastu-page .vastu-mandala-view-header span,
body.ai-vastu-page .vastu-mandala-view-options label,
body.ai-vastu-page .vastu-live-cell strong {
  color: #5a241f !important;
}

body.ai-vastu-page .vastu-confidence-helper,
body.ai-vastu-page .vastu-shape-helper,
body.ai-vastu-page .vastu-mandala-view-control p,
body.ai-vastu-page .vastu-mandala-nearest-note,
body.ai-vastu-page .vastu-live-cell small {
  color: rgba(75, 35, 31, 0.72) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

body.ai-vastu-page .vastu-radio-row label,
body.ai-vastu-page .vastu-confidence-helper,
body.ai-vastu-page .vastu-shape-helper,
body.ai-vastu-page .vastu-mandala-view-control {
  border-color: rgba(117, 28, 40, 0.18) !important;
  background: rgba(255, 253, 246, 0.76) !important;
}

body.ai-vastu-page .vastu-mandala-view-options label:has(input:checked),
body.ai-vastu-page .vastu-mandala-view-options label.is-active {
  color: #3f160f !important;
  border-color: rgba(176, 124, 31, 0.46) !important;
  background: linear-gradient(135deg, rgba(255, 241, 184, 0.96), rgba(244, 201, 103, 0.88)) !important;
}

body.ai-vastu-page .vastu-live-cell {
  color: #4b231f !important;
  background:
    linear-gradient(145deg, rgba(255, 253, 246, 0.9), rgba(255, 244, 220, 0.82)) !important;
  border-color: rgba(117, 28, 40, 0.18) !important;
}

body.ai-vastu-page .vastu-live-cell > span:not(.vastu-live-tags) {
  color: #9a651d !important;
  font-weight: 800 !important;
}

body.ai-vastu-page .vastu-checker-actions button[type="reset"],
body.ai-vastu-page button[type="reset"].btn.secondary {
  color: #6b241f !important;
  background: rgba(255, 244, 220, 0.86) !important;
  border: 1px solid rgba(126, 42, 32, 0.32) !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 8px 20px rgba(84, 27, 20, 0.08) !important;
}

body.ai-vastu-page .vastu-checker-actions button[type="reset"]:hover,
body.ai-vastu-page .vastu-checker-actions button[type="reset"]:focus-visible {
  color: #5b201d !important;
  background: rgba(255, 236, 184, 0.94) !important;
  border-color: rgba(176, 124, 31, 0.46) !important;
}

body.ai-vastu-page .vastu-checker-actions button[type="reset"]:disabled {
  color: rgba(91, 32, 29, 0.74) !important;
  opacity: 0.55 !important;
}

body.ai-vastu-page .vastu-live-mandala-panel .section-kicker {
  color: #9a651d !important;
}

body.ai-vastu-page .vastu-mandala-view-header b {
  color: #8b5413 !important;
}

body.ai-vastu-page .vastu-mandala-view-options label:not(.is-active):not(:has(input:checked)) {
  color: #5a241f !important;
  background: rgba(255, 250, 236, 0.88) !important;
}

body.ai-vastu-page .vastu-live-cell {
  background: rgba(255, 250, 236, 0.92) !important;
  border: 1px solid rgba(214, 154, 60, 0.35) !important;
}

body.ai-vastu-page .vastu-live-cell:hover,
body.ai-vastu-page .vastu-live-cell:focus-visible {
  background: rgba(255, 241, 207, 0.96) !important;
  border-color: rgba(176, 124, 31, 0.52) !important;
}

body.ai-vastu-page .vastu-live-cell strong {
  color: #5b201d !important;
  font-weight: 800 !important;
}

body.ai-vastu-page .vastu-live-cell small {
  color: rgba(75, 35, 31, 0.78) !important;
  font-weight: 600 !important;
}

body.ai-vastu-page .is-hidden {
  display: none !important;
}

/* AI Vastu hero image visibility lock */
body.ai-vastu-page section.vastu-hero.ai-vastu-product-hero,
body.page-ai-vastu-checker.ai-vastu-page section.vastu-hero.ai-vastu-product-hero {
  position: relative !important;
  overflow: hidden !important;
  background:
    linear-gradient(rgba(45, 8, 10, 0.36), rgba(28, 5, 6, 0.58)),
    url("/assets/images/ai-vastu-hero-bg.png") center center / cover no-repeat !important;
}

body.ai-vastu-page section.vastu-hero.ai-vastu-product-hero::before,
body.page-ai-vastu-checker.ai-vastu-page section.vastu-hero.ai-vastu-product-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background:
    radial-gradient(circle at center, rgba(214, 152, 60, 0.18), transparent 48%) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

body.ai-vastu-page section.vastu-hero.ai-vastu-product-hero::after,
body.page-ai-vastu-checker.ai-vastu-page section.vastu-hero.ai-vastu-product-hero::after {
  z-index: 0 !important;
  opacity: 0.12 !important;
  pointer-events: none !important;
}

body.ai-vastu-page section.vastu-hero.ai-vastu-product-hero > *,
body.page-ai-vastu-checker.ai-vastu-page section.vastu-hero.ai-vastu-product-hero > * {
  position: relative !important;
  z-index: 1 !important;
}

body.ai-vastu-page section.vastu-hero.ai-vastu-product-hero .vastu-hero-copy,
body.page-ai-vastu-checker.ai-vastu-page section.vastu-hero.ai-vastu-product-hero .vastu-hero-copy {
  background: rgba(55, 7, 11, 0.82) !important;
  border: 1px solid rgba(214, 154, 60, 0.38) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

@media (max-width: 980px) {
  body.ai-vastu-page section.vastu-hero.ai-vastu-product-hero,
  body.page-ai-vastu-checker.ai-vastu-page section.vastu-hero.ai-vastu-product-hero {
    background:
      linear-gradient(rgba(45, 8, 10, 0.58), rgba(28, 5, 6, 0.78)),
      url("/assets/images/ai-vastu-hero-bg.png") center center / cover no-repeat !important;
  }
}

/* Kundli mobile readability fix. Scoped to kundli.html only. */
@media (max-width: 680px) {
  body.page-kundli.kundli-page .kundli-guidance-section,
  body.page-kundli.kundli-page .kundli-result-section,
  body.page-kundli.kundli-page .ai-pandit-section {
    color: rgba(75, 35, 31, 0.86);
  }

  body.page-kundli.kundli-page .kundli-guidance-section .ai-pandit-heading h2,
  body.page-kundli.kundli-page .ai-pandit-section > .ai-pandit-heading h2,
  body.page-kundli.kundli-page .kundli-result-header h2,
  body.page-kundli.kundli-page .kundli-trust-grid h3,
  body.page-kundli.kundli-page .kundli-result-block h3,
  body.page-kundli.kundli-page .kundli-result-block h4,
  body.page-kundli.kundli-page .kundli-result-block h5,
  body.page-kundli.kundli-page .kundli-subheading,
  body.page-kundli.kundli-page .kundli-info-item strong,
  body.page-kundli.kundli-page .kundli-reading-card h4,
  body.page-kundli.kundli-page .kundli-chart-card h4,
  body.page-kundli.kundli-page .kundli-chart-detail h5,
  body.page-kundli.kundli-page .kundli-chart-accordion > summary,
  body.page-kundli.kundli-page .kundli-dasha-accordion > summary {
    color: #7b1f2c !important;
    text-shadow: none !important;
  }

  body.page-kundli.kundli-page .kundli-result-header {
    align-items: stretch;
    flex-direction: column;
  }

  body.page-kundli.kundli-page .kundli-pdf-button {
    width: 100%;
  }

  body.page-kundli.kundli-page .kundli-guidance-section .ai-pandit-heading p,
  body.page-kundli.kundli-page .ai-pandit-section > .ai-pandit-heading p,
  body.page-kundli.kundli-page .kundli-trust-grid p,
  body.page-kundli.kundli-page .kundli-result,
  body.page-kundli.kundli-page .kundli-result p,
  body.page-kundli.kundli-page .kundli-result li,
  body.page-kundli.kundli-page .kundli-result-block,
  body.page-kundli.kundli-page .kundli-result-block p,
  body.page-kundli.kundli-page .kundli-result-block li,
  body.page-kundli.kundli-page .kundli-section-note,
  body.page-kundli.kundli-page .kundli-chart-heading small,
  body.page-kundli.kundli-page .kundli-chart-technical,
  body.page-kundli.kundli-page .kundli-chart-purpose,
  body.page-kundli.kundli-page .kundli-reading-card p,
  body.page-kundli.kundli-page .kundli-info-item span,
  body.page-kundli.kundli-page .kundli-table td {
    color: rgba(75, 35, 31, 0.86) !important;
    text-shadow: none !important;
  }

  body.page-kundli.kundli-page .kundli-guidance-section .section-kicker,
  body.page-kundli.kundli-page .ai-pandit-section > .ai-pandit-heading .section-kicker,
  body.page-kundli.kundli-page .kundli-result-section .section-kicker,
  body.page-kundli.kundli-page .kundli-section-note,
  body.page-kundli.kundli-page .kundli-chart-heading small,
  body.page-kundli.kundli-page .kundli-chart-technical {
    color: #9a5c18 !important;
    text-shadow: none !important;
  }

  body.page-kundli.kundli-page .kundli-guidance-section .ai-pandit-heading,
  body.page-kundli.kundli-page .ai-pandit-section > .ai-pandit-heading {
    padding: 0 4px;
  }

  body.page-kundli.kundli-page .kundli-trust-grid article,
  body.page-kundli.kundli-page .kundli-result,
  body.page-kundli.kundli-page .kundli-result-block,
  body.page-kundli.kundli-page .kundli-info-item,
  body.page-kundli.kundli-page .kundli-reading-card,
  body.page-kundli.kundli-page .kundli-chart-card,
  body.page-kundli.kundli-page .kundli-chart-accordion,
  body.page-kundli.kundli-page .kundli-dasha-accordion {
    border-color: rgba(154, 92, 24, 0.28) !important;
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(255, 243, 219, 0.9)) !important;
    box-shadow: 0 12px 28px rgba(90, 45, 10, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
  }

  body.page-kundli.kundli-page .kundli-result-nav {
    gap: 8px;
    padding: 8px;
    border-color: rgba(154, 92, 24, 0.34) !important;
    background: rgba(255, 248, 236, 0.92) !important;
    box-shadow: 0 10px 24px rgba(90, 45, 10, 0.12) !important;
  }

  body.page-kundli.kundli-page button.kundli-result-nav-link,
  body.page-kundli.kundli-page .kundli-result-nav-link {
    border-color: rgba(154, 92, 24, 0.35) !important;
    background: rgba(255, 253, 248, 0.92) !important;
    color: #7b1f2c !important;
    text-shadow: none !important;
  }

  body.page-kundli.kundli-page button.kundli-result-nav-link:hover,
  body.page-kundli.kundli-page button.kundli-result-nav-link.active,
  body.page-kundli.kundli-page .kundli-result-nav-link:hover,
  body.page-kundli.kundli-page .kundli-result-nav-link.active {
    border-color: rgba(123, 31, 44, 0.42) !important;
    background: linear-gradient(135deg, #7b1f2c, #b55d21) !important;
    color: #fff8ec !important;
  }

  body.kundli-page .kundli-ai-status .kundli-ai-heading .section-kicker {
    color: #9a5c18 !important;
    text-shadow: none !important;
  }

  body.kundli-page .kundli-ai-status .kundli-ai-heading h2 {
    color: #7b1f2c !important;
    text-shadow: none !important;
  }

  body.kundli-page .kundli-ai-status .kundli-ai-heading p {
    color: rgba(75, 35, 31, 0.86) !important;
    text-shadow: none !important;
  }
}

/* Scroll repaint stability: keep mobile backgrounds static and glass surfaces cheap to composite. */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    background-attachment: scroll !important;
  }

  html::before {
    position: absolute !important;
    background-attachment: scroll !important;
    transform: none !important;
  }

  body,
  body::before,
  body::after,
  .hero-section,
  .hero-section::before,
  .hero-section::after,
  .page-bg,
  .page-bg::before,
  .page-bg::after {
    background-attachment: scroll !important;
    transform: none !important;
  }

  body.page-home::before,
  body.page-home::after,
  body.page-kundli::before,
  body.page-kundli::after,
  body.page-upay::before,
  body.page-upay::after,
  body.page-rashifal::before,
  body.page-rashifal::after,
  body.page-panchang::before,
  body.page-panchang::after,
  body.page-vastu::before,
  body.page-vastu::after,
  body.page-about::before,
  body.page-about::after,
  body.page-contact::before,
  body.page-contact::after,
  body.page-privacy::before,
  body.page-privacy::after,
  body.page-error::before,
  body.page-error::after {
    position: absolute !important;
    background-attachment: scroll !important;
    transform: none !important;
  }

  .glass-card,
  .glass-panel,
  .site-header,
  .main-header,
  .premium-card,
  .result-card,
  .form-card,
  .content-panel,
  .kundli-glass-section,
  .vastu-checker-form,
  .vastu-live-mandala-panel {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .glass-card,
  .glass-panel,
  .premium-card,
  .result-card,
  .form-card,
  .content-panel,
  .kundli-glass-section,
  .kundli-result,
  .vastu-checker-form,
  .vastu-live-mandala-panel,
  .panchang-sacred-card,
  .rashifal-control-panel,
  .upay-hub-card {
    box-shadow: 0 10px 24px rgba(48, 15, 10, 0.18) !important;
  }

  .hero-particles,
  .hero-particles span,
  .vastu-hero::after,
  body.ai-vastu-page section.vastu-hero.ai-vastu-product-hero::after,
  body.page-ai-vastu-checker.ai-vastu-page section.vastu-hero.ai-vastu-product-hero::after {
    animation: none !important;
    transform: none !important;
  }
}

/* Final desktop header spacing */
@media (min-width: 1025px) {
  body .site-header {
    min-height: 72px;
  }

  body .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    width: min(1360px, calc(100% - 32px));
  }

  body .site-header .brand {
    justify-self: start;
    width: 100%;
    min-width: 300px;
    max-width: 360px;
    margin-right: 0;
    overflow: visible;
  }

  body .site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 14px;
    padding-left: 0;
    overflow: visible;
  }

  body .site-header .main-nav a {
    white-space: nowrap;
  }

  body .site-header .main-nav .language-switcher,
  body .site-header .main-nav .ai-header-auth {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  }

  body .site-header .main-nav .language-switcher {
    margin-left: auto;
  }
}

@media (min-width: 1025px) {
  body .site-header .main-nav a {
    font-size: 14px;
  }
}

@media (min-width: 1025px) and (max-width: 1400px) {
  body .site-header .header-inner {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    column-gap: 18px;
  }

  body .site-header .brand {
    min-width: 260px;
    max-width: 300px;
  }

  body .site-header .brand-name,
  body .site-header .brand .site-title,
  body .site-header .brand h1 {
    font-size: 26px;
  }

  body .site-header .brand-subtitle,
  body .site-header .brand p {
    font-size: 12px;
    line-height: 1.1;
  }

  body .site-header .main-nav {
    gap: 9px;
  }

  body .site-header .main-nav a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12.5px;
  }

  body .site-header .main-nav .language-switcher,
  body .site-header .main-nav .ai-header-auth {
    gap: 8px;
  }
}

@media (min-width: 1401px) {
  body .site-header .header-inner {
    grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
    column-gap: 34px;
  }

  body .site-header .brand {
    min-width: 340px;
    max-width: 420px;
  }

  body .site-header .main-nav {
    gap: 16px;
  }
}

/* Logged-in account dropdown viewport guard */
.site-header,
.main-header,
.site-header .header-inner,
.site-header .ai-header-auth,
.site-header .ai-header-user {
  overflow: visible;
}

.site-header .ai-header-auth,
.site-header .ai-header-user {
  position: relative;
}

.site-header .ai-header-account-button {
  max-width: 180px;
  overflow: hidden;
}

.site-header .ai-header-name {
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .ai-account-menu {
  right: 0;
  left: auto;
  width: min(360px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  z-index: 9999;
}

.site-header .ai-account-menu *,
.site-header .ai-account-menu-link,
.site-header .ai-account-menu-actions .ai-header-logout {
  box-sizing: border-box;
}

.site-header .ai-account-menu-email,
.site-header .ai-account-menu-row span,
.site-header .ai-account-menu-row strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-header .ai-account-menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-header .ai-account-menu-link,
.site-header .ai-account-menu-actions .ai-header-logout {
  flex: 1 1 auto;
  min-width: 110px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .site-header .ai-header-user.is-open .ai-account-menu {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .site-header .ai-account-menu-actions {
    flex-direction: column;
  }

  .site-header .ai-account-menu-link,
  .site-header .ai-account-menu-actions .ai-header-logout {
    width: 100%;
  }
}

/* Header default-zoom responsiveness lock */
.site-header,
.main-header,
.site-header .header-inner {
  overflow: visible;
}

@media (min-width: 1501px) {
  body .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(330px, 390px) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    width: min(1440px, calc(100% - 32px));
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
  }

  body .site-header .brand {
    min-width: 0;
    max-width: 390px;
    white-space: nowrap;
  }

  body .site-header .mobile-nav-toggle {
    display: none;
  }

  body .site-header .main-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 14px;
    min-width: 0;
    width: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body .site-header .main-nav a {
    display: block;
    padding: 9px 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  body .site-header .main-nav .language-switcher,
  body .site-header .main-nav .ai-header-auth {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    justify-self: end;
    white-space: nowrap;
  }

  body .site-header .main-nav .language-switcher {
    margin-left: auto;
  }
}

@media (max-width: 1500px) {
  body .site-header {
    min-height: 0;
  }

  body .site-header .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 20px;
    box-sizing: border-box;
    overflow: visible;
  }

  body .site-header .brand {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 0;
    max-width: 320px;
    width: auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
    text-align: left;
  }

  body .site-header .brand::before {
    display: none;
  }

  body .site-header .brand-name,
  body .site-header .brand .site-title,
  body .site-header .brand h1 {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 26px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body .site-header .brand-subtitle,
  body .site-header .brand p {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body .site-header .mobile-nav-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    flex: 0 0 auto;
  }

  body .site-header .main-nav {
    position: static;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
    min-width: 0;
    max-width: min(360px, 40vw);
    width: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    flex-wrap: nowrap;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body .site-header .main-nav > a {
    display: none;
  }

  body .site-header .main-nav .language-switcher,
  body .site-header .main-nav .ai-header-auth {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }

  body .site-header .main-nav .language-switcher {
    margin-left: 0;
  }

  body .site-header .main-nav .language-switcher-label {
    display: none;
  }

  body .site-header .main-nav .language-switcher select {
    max-width: 112px;
  }

  body .site-header.mobile-nav-open .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    z-index: 9998;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: initial;
    width: auto;
    max-width: none;
    max-height: min(78vh, 640px);
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(239, 200, 107, 0.42);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(42, 8, 10, 0.98), rgba(86, 18, 16, 0.96));
    box-shadow: 0 22px 48px rgba(10, 3, 3, 0.38), inset 0 1px 0 rgba(255, 248, 236, 0.14);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body .site-header.mobile-nav-open .main-nav > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  body .site-header.mobile-nav-open .main-nav .language-switcher {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(239, 200, 107, 0.22);
    border-radius: 14px;
    background: rgba(255, 248, 236, 0.06);
  }

  body .site-header.mobile-nav-open .main-nav .language-switcher-label {
    display: block;
  }

  body .site-header.mobile-nav-open .main-nav .language-switcher select {
    width: 100%;
    max-width: none;
    min-height: 38px;
  }

  body .site-header.mobile-nav-open .main-nav .ai-header-auth {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
  }

  body .site-header.mobile-nav-open .main-nav .ai-header-login,
  body .site-header.mobile-nav-open .main-nav .ai-header-user {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  body .site-header .ai-header-account-button {
    max-width: 190px;
  }

  body .site-header .ai-header-name {
    max-width: 110px;
  }
}

@media (max-width: 680px) {
  body .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  body .site-header .brand {
    max-width: calc(100vw - 82px);
  }

  body .site-header .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: stretch;
    max-width: none;
    width: 100%;
  }

  body .site-header .main-nav .language-switcher,
  body .site-header .main-nav .ai-header-auth {
    flex: 1 1 auto;
  }

  body .site-header.mobile-nav-open .main-nav {
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    grid-template-columns: minmax(0, 1fr);
  }
}
