/* ═══════════════════════════════════════════════════════════
   DHYAVA HOMEPAGE — INTERNATIONAL LUXURY UI/UX DESIGN SYSTEM
   Uncluttered · Multi-tonal Depth · Precision Spacing & Contrast
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── TOKENS & COLOR PALETTE ──────────────────────────── */
:root {
  --cream:          #FAF6F0;
  --cream-2:        #F3ECE0;
  --cream-3:        #E7DDD0;
  --parchment:      #EDE3D4;
  --dark:           #120F0D;
  --dark-2:         #1A1613;
  --dark-3:         #241F1A;
  --gold:           #B88D52;
  --gold-2:         #D4AF77;
  --gold-3:         #F0D8AA;
  --gold-pale:      #F7F0E1;
  --ink:            #1A1714;
  --ink-2:          #423B33;
  --ink-3:          #73685C;
  --ink-4:          #A39688;
  --snow:           #FBF9F5;
  --white:          #FFFFFF;

  --f-serif: 'Playfair Display', Georgia, serif;
  --f-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Responsive Content Toggles ── */
.desktop-text { display: block; }
.desktop-text-inline { display: inline; }
.mobile-text { display: none !important; }
.mobile-text-inline { display: none !important; }

/* ─── RESET & BASE ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--f-sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: none; }

/* ─── CUSTOM CURSOR ───────────────────────────────────── */
#cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold-2);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--spring), height 0.3s var(--spring), background 0.3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed; width: 38px; height: 38px;
  border: 1px solid rgba(212, 175, 119, 0.45);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease), width 0.35s var(--spring), height 0.35s var(--spring), border-color 0.3s;
}
body.cursor-hover #cursor-dot  { width: 14px; height: 14px; background: var(--gold-3); }
body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: rgba(212, 175, 119, 0.3); }

@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
  button, a { cursor: pointer; }
}

/* ─── ANIMATED REVEAL ────────────────────────────────── */
[data-reveal] { opacity: 0; will-change: transform, opacity; }
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="down"]  { transform: translateY(-30px); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.95); }

[data-reveal].revealed {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].revealed[data-delay="1"] { transition-delay: 0.08s; }
[data-reveal].revealed[data-delay="2"] { transition-delay: 0.16s; }
[data-reveal].revealed[data-delay="3"] { transition-delay: 0.24s; }
[data-reveal].revealed[data-delay="4"] { transition-delay: 0.32s; }
[data-reveal].revealed[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 0 clamp(24px, 5vw, 72px);
  height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(18, 15, 13, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(212, 175, 119, 0.2);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.solid {
  background: rgba(18, 15, 13, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo-svg {
  width: 32px; height: 32px; display: block;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 119, 0.3));
  transition: transform 0.4s var(--spring);
}
.nav-logo:hover .nav-logo-svg { transform: rotate(15deg) scale(1.1); }

.nav-logo-text {
  font-family: var(--f-sans); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--snow);
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-link {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em;
  color: rgba(251, 249, 245, 0.75); transition: color 0.25s, font-weight 0.25s;
  position: relative; padding: 6px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1.5px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: #FFFFFF; font-weight: 500;
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1); transform-origin: left;
}

.nav-ai-badge {
  font-size: 0.62rem; font-weight: 600;
  color: var(--gold-3); background: rgba(212, 175, 119, 0.2);
  border: 1px solid rgba(212, 175, 119, 0.4);
  padding: 2px 7px; border-radius: 999px; margin-left: 4px;
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-pill {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  color: var(--dark); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 10px 22px; border-radius: 100px;
  box-shadow: 0 4px 16px rgba(212, 175, 119, 0.25);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.nav-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 119, 0.4);
}

.nav-burger {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center; cursor: pointer;
  background: rgba(26, 23, 20, 0.08) !important;
  border: 1px solid rgba(184, 141, 82, 0.35) !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 12px rgba(26, 23, 20, 0.06) !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 510 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}
.nav-burger span {
  width: 18px !important; height: 2px !important;
  background: #1A1714 !important; /* Dark ink color - 100% visible on light cream top bar */
  border-radius: 2px !important;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease) !important;
  pointer-events: none !important;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}
.nav-burger.open span:nth-child(2) {
  opacity: 0 !important;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none; position: fixed; inset: 0; top: 68px; z-index: 9999;
  background: var(--dark); padding: 24px 24px 48px 24px; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(212, 175, 119, 0.2);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  max-height: calc(100vh - 68px);
  max-height: calc(100dvh - 68px);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-family: var(--f-serif); font-size: 1.08rem; font-weight: 400; color: var(--snow);
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: block;
  min-height: 48px;
}
.mobile-drawer a:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: -2px;
}
.mobile-drawer .drawer-sec {
  font-family: var(--f-sans); font-size: 1.05rem; font-weight: 500;
  color: var(--gold-3); margin-top: 16px; border-bottom: none;
}
.mobile-drawer .drawer-cta {
  margin-top: 24px; background: var(--gold-2); color: var(--dark); font-family: var(--f-sans);
  font-size: 1.05rem; font-weight: 600; padding: 16px; border-radius: 100px; text-align: center;
  min-height: 48px; display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   HERO — UNCLUTTERED, SERENE, DRAMATIC
═══════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 94vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding-top: 110px; padding-bottom: 80px;
  background:
    linear-gradient(180deg, rgba(18, 15, 13, 0.82) 0%, rgba(18, 15, 13, 0.68) 55%, rgba(18, 15, 13, 0.94) 100%),
    url('hero_bg.jpg') center/cover no-repeat !important;
  background-attachment: fixed !important;
  color: var(--snow);
}

.hero-mesh { display: none; }

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px); width: 100%;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-3);
  border: 1px solid rgba(212, 175, 119, 0.35);
  background: rgba(18, 15, 13, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 32px;
}
.label-dot {
  width: 6px; height: 6px; background: var(--gold-2); border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-2);
}

.hero-headline {
  font-family: var(--f-serif);
  font-size: clamp(3.2rem, 7.2vw, 6.4rem);
  font-weight: 400; line-height: 1.02; letter-spacing: -0.03em;
  color: var(--snow); margin-bottom: 36px; max-width: 900px;
}
.hero-headline em {
  font-style: italic; color: var(--gold-3); position: relative;
}

.hero-sub-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.hero-sub-text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(251, 249, 245, 0.82); line-height: 1.8; max-width: 480px;
}
.hero-sub-actions {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}

.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  color: var(--dark); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 14px 28px; border-radius: 100px;
  box-shadow: 0 8px 24px rgba(212, 175, 119, 0.3);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.btn-dark:hover {
  transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212, 175, 119, 0.45);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--snow); font-size: 0.82rem; font-weight: 500;
  padding: 14px 22px; border-radius: 100px;
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18); border-color: var(--gold-3);
}

.hero-cards-row { display: none; }

.hero-scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(18, 15, 13, 0.85); border: 1px solid rgba(212, 175, 119, 0.3);
  padding: 6px 16px; border-radius: 100px; backdrop-filter: blur(10px);
  color: var(--gold-3); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════════════ */
.section {
  padding: clamp(36px, 4vw, 56px) 0 clamp(48px, 6vw, 80px) 0 !important;
  scroll-margin-top: 74px;
}
.container {
  max-width: 1240px; margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
}

.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-kicker-line {
  display: block; width: 28px; height: 1px; background: var(--gold-2);
}

.section-heading {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.08;
  letter-spacing: -0.025em; color: var(--ink); margin-bottom: 14px;
}
.section-heading em { font-style: italic; color: var(--gold); }

.section-body {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem); color: var(--ink-2);
  line-height: 1.8; max-width: 520px;
}

/* ═══════════════════════════════════════════════════════
   1. THE FOUR SACRED PILLARS (WARM IVORY & JEWEL ACCENTS)
═══════════════════════════════════════════════════════ */
#pillars {
  background: var(--cream);
}

.alignment-header {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: flex-end; margin-bottom: 36px;
}

/* ── Domino Realignment Control Bar ── */
.pillar-interactive-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(245, 242, 237, 0.85);
  border: 1px solid rgba(184, 141, 82, 0.3);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(26, 23, 20, 0.03);
}

.pib-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.pib-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B88D52;
  background: rgba(184, 141, 82, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pib-text {
  font-size: 0.84rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.pib-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pib-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--snow);
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 14px rgba(26, 23, 20, 0.15);
}

.pib-btn:hover {
  background: #2D2722;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 23, 20, 0.25);
}

.pib-btn-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  border: 1.5px solid var(--gold);
  opacity: 0;
  animation: pibPulse 2s infinite;
}

@keyframes pibPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.08, 1.25); opacity: 0; }
}

.pib-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--ink-3);
  border: 1px solid var(--cream-3);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.pib-reset-btn:hover {
  background: var(--cream-2);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── Energy Conduit Connection Line ── */
.pillar-conduit-wrapper {
  position: relative;
}

.pillar-conduit-line {
  position: relative;
  width: 100%;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
}

.pillar-conduit-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(45, 106, 79, 0.25) 0%, 
    rgba(123, 44, 191, 0.25) 33%, 
    rgba(192, 86, 33, 0.25) 66%, 
    rgba(183, 121, 31, 0.25) 100%
  );
  border-radius: 10px;
}

.pillar-pulse-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2D6A4F, #52B788, #7B2CBF, #9D4EDD, #C05621, #DD6B20, #B7791F, #D69E2E);
  border-radius: 10px;
  box-shadow: 0 0 12px var(--gold), 0 0 20px rgba(184, 141, 82, 0.6);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop container wrapper for mobile oval layout */
.pillars-oval-wrapper {
  display: contents;
}

/* ── 4-Column Side-by-Side Grid ── */
.al-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.al-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px 24px;
  border: 1px solid var(--cream-3);
  box-shadow: 0 8px 30px rgba(26, 23, 20, 0.04);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.al-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 23, 20, 0.08);
}

/* ── SVG 4-Corner Loop Border Tracing Animation ── */
.pillar-loop-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  border-radius: 24px;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.al-card.tracing .pillar-loop-svg {
  opacity: 1;
}

.pillar-loop-rect {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  fill: none;
  stroke: #2D6A4F;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.al-card[data-pillar] {
  cursor: pointer;
  border: 1.5px solid var(--cream-3);
}

/* All 4 Aligned Cards Turn Green on Completion */
.al-card.pillar-aligned {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(45, 106, 79, 0.22), 0 0 0 2px #2D6A4F !important;
  border: 2px solid #2D6A4F !important;
}

.al-card.pillar-aligned .pillar-loop-svg {
  opacity: 0;
}

.al-card.pillar-aligned .al-icon {
  background: #E8F5E9 !important;
  color: #2D6A4F !important;
}

.al-card.pillar-aligned .al-bar-fill {
  background: linear-gradient(90deg, #2D6A4F, #52B788) !important;
  transform: scaleX(1) !important;
}

.al-card.pillar-aligned .pillar-status-badge {
  background: #E8F5E9 !important;
  color: #2D6A4F !important;
  border-color: #52B788 !important;
}

/* Card Header Row & Badges */
.pillar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.al-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--spring);
  margin-bottom: 10px;
}
.al-card:hover .al-icon { transform: scale(1.08); }

.al-card:nth-child(1) .al-icon { background: #E8F5E9; color: #2D6A4F; }
.al-card:nth-child(2) .al-icon { background: #F3E5F5; color: #7B2CBF; }
.al-card:nth-child(3) .al-icon { background: #FEEBC8; color: #C05621; }
.al-card:nth-child(4) .al-icon { background: #FEFCBF; color: #B7791F; }

.pillar-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--cream-2);
  color: var(--ink-3);
  border: 1px solid var(--cream-3);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.status-clickable {
  background: rgba(184, 141, 82, 0.12);
  color: var(--ink);
  border-color: rgba(184, 141, 82, 0.35);
}

.al-card:hover .status-clickable {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: scale(1.04);
}

.status-p1 {
  background: rgba(45, 106, 79, 0.1);
  color: #2D6A4F;
  border-color: rgba(45, 106, 79, 0.3);
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2D6A4F;
  animation: statusBlink 1.5s infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
}

.pillar-status-badge.aligned {
  background: #E8F5E9;
  color: #2D6A4F;
  border-color: #52B788;
}
.pillar-status-badge.aligned .status-dot,
.pillar-status-badge.aligned .status-pulse {
  background: #2D6A4F;
}

.hindi-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 500; color: var(--gold); margin-bottom: 8px;
}
.hindi-text {
  font-size: 1.15rem; font-weight: 600; color: var(--ink);
  font-family: "Noto Sans Devanagari", -apple-system, sans-serif; line-height: 1;
}

.al-title {
  font-family: var(--f-serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 400; color: var(--ink); margin-bottom: 10px;
}

.al-body {
  font-size: 0.84rem; color: var(--ink-2); line-height: 1.65; margin-bottom: 0; flex: 1;
}

.pc-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pc-pill {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-3); background: var(--cream-2); border: 1px solid var(--cream-3);
  padding: 4px 10px; border-radius: 100px;
}

.al-bar-wrap { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.al-bar-track {
  flex: 1; height: 5px; background: var(--cream-2); border-radius: 10px; overflow: hidden;
}
.al-bar-fill {
  height: 100%; border-radius: 10px; transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease);
}
.al-bar-fill.animated { transform: scaleX(1); }
.al-card:nth-child(1) .al-bar-fill { background: linear-gradient(90deg, #2D6A4F, #52B788); }
.al-card:nth-child(2) .al-bar-fill { background: linear-gradient(90deg, #7B2CBF, #9D4EDD); }
.al-card:nth-child(3) .al-bar-fill { background: linear-gradient(90deg, #C05621, #DD6B20); }
.al-card:nth-child(4) .al-bar-fill { background: linear-gradient(90deg, #B7791F, #D69E2E); }

.al-pct { font-size: 0.7rem; font-weight: 600; color: var(--ink-3); flex-shrink: 0; }

/* Dynamic Alignment Completion Banner */
.alignment-complete-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, #181410 0%, #26201A 100%);
  border: 1px solid rgba(184, 141, 82, 0.4);
  border-radius: 20px;
  padding: 20px 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.alignment-complete-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.acb-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.acb-star {
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  filter: drop-shadow(0 0 8px var(--gold));
  animation: starSpin 6s linear infinite;
}

@keyframes starSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

.acb-title {
  display: block;
  font-family: var(--f-serif);
  font-size: 1.15rem;
  color: #FAF6F0;
  margin-bottom: 4px;
}

.acb-desc {
  font-size: 0.84rem;
  color: rgba(250, 246, 240, 0.75);
  margin: 0;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   2. 5-STEP METHOD (DEEP MIDNIGHT OBSIDIAN)
═══════════════════════════════════════════════════════ */
#method {
  background: var(--dark); color: var(--snow);
}

.practice-header {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: flex-end; margin-bottom: 36px;
}
.practice-header .section-heading { color: var(--snow); }
.practice-header .section-body    { color: rgba(251, 249, 245, 0.82); }

.practice-grid {
  display: grid; gap: 20px;
}
.practice-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.practice-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.pc {
  background: var(--dark-2); border-radius: 24px; padding: clamp(28px, 3.5vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.08); position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.pc:hover {
  transform: translateY(-6px); border-color: rgba(212, 175, 119, 0.35);
}

.pc-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-3));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.pc:hover .pc-accent { transform: scaleX(1); }

.pc-time {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 16px;
}

.pc-title {
  font-family: var(--f-serif); font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 400; color: #FFFFFF; margin-bottom: 12px; line-height: 1.2;
}

.pc-body {
  font-size: 0.88rem; color: rgba(251, 249, 245, 0.82); line-height: 1.75;
}

.pc-num {
  position: absolute; bottom: 12px; right: 20px;
  font-family: var(--f-serif); font-size: 4.5rem; font-weight: 700;
  color: rgba(212, 175, 119, 0.22); line-height: 1; pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   3. 3-6-9 SCRIPTING HUB (PARCHMENT & OBSIDIAN CARD)
═══════════════════════════════════════════════════════ */
#scripting {
  background: var(--cream);
}

.journal-header {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: flex-end; margin-bottom: 36px;
}

.journal-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px;
}

.jc-large {
  background: var(--dark-2); color: var(--snow);
  border-radius: 24px; padding: clamp(32px, 4vw, 44px);
  border: 1px solid rgba(212, 175, 119, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.jc-tag {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 16px;
}

.jc-title {
  font-family: var(--f-serif); font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400; color: #FFFFFF; margin-bottom: 14px; line-height: 1.2;
}

.jc-body {
  font-size: 0.9rem; color: rgba(251, 249, 245, 0.82); line-height: 1.75; margin-bottom: 28px;
}

.if-list { display: flex; flex-direction: column; gap: 0; }
.if-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.08);
}
.if-num-badge {
  font-family: var(--f-serif); font-size: 1.05rem; font-weight: 600;
  color: var(--gold-3); background: rgba(212, 175, 119, 0.18);
  border: 1px solid rgba(212, 175, 119, 0.35); padding: 4px 14px; border-radius: 100px;
  animation: badgePulse 3.2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(212, 175, 119, 0); }
  50% { transform: scale(1.06); box-shadow: 0 0 12px rgba(212, 175, 119, 0.35); }
}

.if-title-bright { font-size: 1.05rem; font-weight: 600; color: #FFFFFF; margin-bottom: 4px; }
.if-desc-bright  { font-size: 0.88rem; color: rgba(251, 249, 245, 0.82); line-height: 1.65; }

.journal-right-col { display: flex; flex-direction: column; gap: 24px; }

.jc {
  background: var(--white); border-radius: 24px; padding: clamp(28px, 3.5vw, 36px);
  border: 1px solid var(--cream-3); box-shadow: 0 8px 30px rgba(26, 23, 20, 0.04);
}
.jc .jc-tag { color: var(--gold); }
.jc .jc-title { color: var(--ink); }
.jc .jc-body  { color: var(--ink-2); }

/* ═══════════════════════════════════════════════════════
   4. ARIA AI MENTOR (WARM SOFT CREAM & DEEP EMBLEM CARD)
═══════════════════════════════════════════════════════ */
#aria {
  background: var(--cream-2);
}

.insights-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}

.aria-clean-card {
  background: var(--dark-2); border-radius: 24px; padding: clamp(30px, 4vw, 42px);
  border: 1px solid rgba(212, 175, 119, 0.3); color: var(--snow);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25); display: flex; flex-direction: column; gap: 20px;
}

.aria-card-header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 14px;
}
.aria-tag   { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; color: var(--gold-3); }
.aria-topic { font-size: 0.75rem; color: rgba(251, 249, 245, 0.7); }

.aria-block {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; padding: 18px 20px;
}
.aria-block-gold {
  background: rgba(212, 175, 119, 0.15) !important;
  border-color: rgba(212, 175, 119, 0.35) !important;
}
.aria-block-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 8px;
}
.aria-block-text {
  font-size: 0.92rem; line-height: 1.65; color: var(--snow);
}
.aria-block-text.bold-text { font-weight: 500; color: #FFFFFF; }
.aria-block-sub  { font-size: 0.86rem; line-height: 1.6; color: rgba(251, 249, 245, 0.85); }

/* ═══════════════════════════════════════════════════════
   5. DAILY ROTATING AFFIRMATIONS (SANS-SERIF CRISP CARDS)
═══════════════════════════════════════════════════════ */
#affirmations {
  background: var(--cream);
}

.aff-clean-text {
  font-family: var(--f-sans) !important; font-style: normal !important;
  font-weight: 400 !important; font-size: 0.95rem !important; line-height: 1.75 !important;
  color: var(--ink) !important; margin-top: 12px !important;
}

/* ═══════════════════════════════════════════════════════
   6. DARK CTA / DHYAVA PRO
═══════════════════════════════════════════════════════ */
.cta-section {
  background: var(--dark); color: var(--snow); position: relative; overflow: hidden;
  padding: clamp(80px, 10vw, 120px) 0; text-align: center;
}
.cta-inner {
  position: relative; z-index: 2; max-width: 760px; margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}
.cta-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 24px;
}
.cta-headline {
  font-family: var(--f-serif); font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400; line-height: 1.08; color: #FFFFFF; margin-bottom: 20px;
}
.cta-headline em { font-style: italic; color: var(--gold-3); }
.cta-sub {
  font-size: 0.98rem; color: rgba(251, 249, 245, 0.82); line-height: 1.8; margin-bottom: 36px;
}

.cta-btns {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.cta-btn-light {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  color: var(--dark); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 15px 30px; border-radius: 100px;
  box-shadow: 0 8px 28px rgba(212, 175, 119, 0.35); transition: transform 0.3s var(--spring);
}
.cta-btn-light:hover { transform: translateY(-2px); }

.cta-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--snow); font-size: 0.82rem; font-weight: 500;
  padding: 15px 26px; border-radius: 100px; backdrop-filter: blur(8px);
}
.cta-btn-ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: var(--gold-3); }

.cta-trust {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 0.72rem; color: rgba(251, 249, 245, 0.7); flex-wrap: wrap;
}
.cta-trust-dot { width: 3px; height: 3px; background: var(--gold-3); border-radius: 50%; }

/* ═══════════════════════════════════════════════════════
   7. FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--ink); padding: 36px 0 24px;
  border-top: 1px solid var(--cream-3);
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; margin-bottom: 28px; flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 8px;
}
.footer-logo-svg { width: 36px; height: 36px; display: block; margin-bottom: 0; }
.footer-logo-text {
  font-family: var(--f-sans); font-size: 1.08rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  margin-top: 4px;
}
.footer-tagline {
  font-family: var(--f-serif); font-style: italic; font-size: 0.92rem;
  color: var(--gold); margin-top: 4px; margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%; background: var(--cream-2);
  border: 1px solid var(--cream-3); display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: all 0.3s;
}
.footer-social:hover { background: rgba(184, 141, 82, 0.15); border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.85rem; color: var(--ink-2); transition: color 0.2s; text-decoration: none;
}
.footer-col a:hover { color: var(--ink); }

.footer-base {
  border-top: 1px solid var(--cream-3); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET OPTIMIZED)
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .al-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pillar-conduit-line { display: none; }
}

@media (max-width: 992px) {
  .alignment-header, .practice-header, .journal-header, .insights-split {
    grid-template-columns: 1fr; gap: 24px;
  }
  .journal-grid { grid-template-columns: 1fr; }
  .practice-grid, .practice-grid-3, .practice-grid-2 { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none !important; }
  .nav-burger { display: flex !important; }
}

@media (max-width: 768px) {
  .desktop-text,
  .desktop-text-inline {
    display: none !important;
  }
  .mobile-text {
    display: block !important;
  }
  .mobile-text-inline {
    display: inline !important;
  }

  .nav {
    padding: 0 16px !important;
    height: 68px !important;
  }
  .nav-logo {
    padding: 4px 12px 4px 4px !important;
    gap: 8px !important;
  }
  .nav-logo-svg {
    width: 32px !important;
    height: 32px !important;
  }
  .nav-logo-text {
    font-size: 0.82rem !important;
    letter-spacing: 0.18em !important;
  }
  .nav-links, .nav-btn-sec, .nav-pill {
    display: none !important;
  }
  .nav-burger {
    display: flex !important;
    flex-shrink: 0 !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin-left: auto !important;
  }
  
  /* ── HERO MOBILE — MATCHES DESKTOP LANDING LOOK ── */
  .hero {
    min-height: 88vh !important;
    min-height: 88dvh !important;
    padding-top: 104px !important;
    padding-bottom: 56px !important;
    background:
      linear-gradient(180deg, rgba(250,246,240,0.48) 0%, rgba(250,246,240,0.72) 60%, rgba(250,246,240,0.95) 100%),
      url('hero_bg.jpg') 65% center / cover no-repeat !important;
    background-attachment: scroll !important;
  }
  .hero-inner {
    align-items: flex-end !important;
    text-align: right !important;
    width: 100% !important;
  }
  .hero-label {
    margin-left: auto !important;
    margin-right: 0 !important;
    font-size: clamp(0.52rem, 2.3vw, 0.65rem) !important;
    letter-spacing: 0.14em !important;
    padding: 6px 14px !important;
    margin-bottom: 20px !important;
    text-align: right !important;
    display: inline-flex !important;
  }
  .hero-headline {
    font-size: clamp(2.2rem, 7.8vw, 3.8rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }
  .hero-sub-text {
    font-size: clamp(0.85rem, 3.2vw, 1.05rem) !important;
    line-height: 1.6 !important;
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .hero-sub-row {
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
    gap: 16px !important;
  }
  .hero-sub-actions {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 280px !important;
    gap: 10px !important;
  }
  .btn-dark, .btn-outline {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    font-size: 0.75rem !important;
  }
  .hero-scroll-hint {
    display: inline-flex !important;
    font-size: 0.68rem !important;
    padding: 6px 16px !important;
    margin-top: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ── MOBILE TOP PADDING GAP FIX FOR ALL SECTION LINES ── */
  #pillars.alignment-section,
  #method.practice-section,
  #scripting.journal-section,
  #aria.insights-section,
  #affirmations,
  .alignment-section {
    padding-top: 10px !important;
    scroll-margin-top: 68px !important;
  }

  /* Dark CTA Mobile Padding (Top space above heading & compact bottom space at end) */
  #cta.cta-section {
    padding-top: 48px !important;
    padding-bottom: 24px !important;
    scroll-margin-top: 68px !important;
  }
  .alignment-header,
  .practice-header,
  .journal-header,
  .insights-split,
  .cta-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 14px !important;
  }
  .alignment-header .section-kicker,
  .practice-header .section-kicker,
  .journal-header .section-kicker,
  .insights-features .section-kicker,
  .cta-kicker {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
  }
  .alignment-header .section-body {
    display: block !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    color: var(--ink-2) !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
  }

  /* Hide Life Alignment Box, Control Bar, and Completion Banner on Mobile */
  .pillar-interactive-bar,
  .alignment-complete-banner {
    display: none !important;
  }

  /* Transparent Container on Mobile (Oval Container Removed) */
  .pillars-oval-wrapper {
    display: block !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  /* 2x2 Grid of Cards */
  .al-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Mobile Pillar Card Styling - Non-Clickable */
  .al-card,
  .al-card:nth-child(1),
  .al-card:nth-child(2),
  .al-card:nth-child(3),
  .al-card:nth-child(4) {
    border-radius: 20px !important;
    padding: 18px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    background: #FFFFFF !important;
    border: 1.5px solid var(--cream-3) !important;
    box-shadow: 0 4px 16px rgba(26, 23, 20, 0.04) !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
    pointer-events: none !important;
    cursor: default !important;
    user-select: none !important;
  }

  /* Hide Removed Extra Details on Mobile (Hindi badges, status badges, bars, pills) */
  .hindi-badge,
  .pillar-status-badge,
  .al-bar-wrap,
  .al-pct,
  .pc-pills,
  .pillar-connector-node,
  .pillar-loop-svg {
    display: none !important;
  }

  .al-icon {
    width: 34px !important;
    height: 34px !important;
    margin: 0 0 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .al-title {
    font-family: var(--f-serif) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--ink) !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    text-align: left !important;
    line-height: 1.25 !important;
  }

  .al-body {
    display: block !important;
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
    color: var(--ink-2) !important;
    margin-top: 2px !important;
    text-align: left !important;
    -webkit-line-clamp: none !important;
    overflow: visible !important;
  }

  .footer { padding: 28px 0 20px !important; }
  .footer-grid { grid-template-columns: 1fr; margin-bottom: 24px !important; }
  .footer-base { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0 56px 0 !important; }
  .container { padding: 0 20px !important; }
}


/* ═══════════════════════════════════════════════════════
   CRITICAL TEXT CONTRAST & VISIBILITY FIXES
═══════════════════════════════════════════════════════ */

/* ── 3-6-9 SCRIPTING PANEL CONTRAST ── */
#scripting {
  background: var(--cream) !important;
}

#scripting .section-heading {
  color: var(--ink) !important;
}

#scripting .section-body {
  color: var(--ink-2) !important;
}

.jc-large {
  background: #181410 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(212, 175, 119, 0.3) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
}

.jc-large .jc-tag {
  color: #F0D8AA !important;
}

.jc-large .jc-title {
  color: #FFFFFF !important;
}

.jc-large .jc-body {
  color: rgba(251, 249, 245, 0.88) !important;
}

.if-title-bright {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  margin-bottom: 4px !important;
}

.if-desc-bright {
  color: rgba(251, 249, 245, 0.82) !important;
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
}

.if-num-badge {
  font-family: var(--f-serif) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #F0D8AA !important;
  background: rgba(212, 175, 119, 0.22) !important;
  border: 1px solid rgba(212, 175, 119, 0.45) !important;
}

/* ── AFFIRMATIONS SECTION CONTRAST ── */
#affirmations {
  background: var(--cream) !important;
}

#affirmations .section-heading {
  color: var(--ink) !important;
}

#affirmations .section-body {
  color: var(--ink-2) !important;
}

.aff-card {
  background: #FFFFFF !important;
  border-radius: 24px !important;
  padding: clamp(28px, 4vw, 36px) !important;
  border: 1px solid var(--cream-3) !important;
  box-shadow: 0 8px 30px rgba(26, 23, 20, 0.04) !important;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease) !important;
}

.aff-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 48px rgba(26, 23, 20, 0.08) !important;
  border-color: rgba(184, 141, 82, 0.3) !important;
}

.aff-time {
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin-bottom: 16px !important;
}

.aff-text {
  font-family: var(--f-sans) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  color: var(--ink) !important;
  letter-spacing: 0.01em !important;
}


/* ═══════════════════════════════════════════════════════
   LIGHT, LUMINOUS & AIRY HERO LANDING (NOT HEAVY)
═══════════════════════════════════════════════════════ */
.nav {
  background: rgba(250, 246, 240, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(184, 141, 82, 0.3) !important;
  box-shadow: 0 2px 20px rgba(26, 23, 20, 0.04) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 80px !important;
}

.nav-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  padding: 5px 18px 5px 6px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 240, 225, 0.75) 100%) !important;
  border: 1px solid rgba(184, 141, 82, 0.35) !important;
  box-shadow: 0 6px 24px rgba(184, 141, 82, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-logo:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(247, 235, 210, 0.95) 100%) !important;
  border-color: rgba(184, 141, 82, 0.55) !important;
  box-shadow: 0 8px 30px rgba(184, 141, 82, 0.28), 0 0 20px rgba(212, 175, 119, 0.4) !important;
  transform: translateY(-2px) scale(1.03) !important;
}

@keyframes celestialSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nav-logo-svg {
  width: 44px !important;
  height: 44px !important;
  display: block !important;
  padding: 3px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(184, 141, 82, 0.4) !important;
  box-shadow: 0 3px 12px rgba(184, 141, 82, 0.25) !important;
  filter: drop-shadow(0 2px 6px rgba(184, 141, 82, 0.35)) !important;
  animation: celestialSpin 24s linear infinite !important;
  transition: border-color 0.4s ease, animation-duration 0.4s ease !important;
}

.nav-logo:hover .nav-logo-svg {
  animation-duration: 10s !important;
  border-color: rgba(184, 141, 82, 0.75) !important;
}

.nav-logo-text {
  color: #1A1714 !important;
  font-weight: 800 !important;
  font-size: 1.08rem !important;
  letter-spacing: 0.3em !important;
  line-height: 1 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
}

.nav-links {
  display: flex;
  align-items: center !important;
  gap: clamp(16px, 2.5vw, 32px) !important;
  position: relative !important;
  left: auto !important;
  transform: none !important;
}

.nav-link {
  color: #2D2722 !important;
  font-weight: 500 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.03em !important;
  opacity: 0.92 !important;
  padding: 6px 0 !important;
}

.nav-link:hover,
.nav-link.active {
  color: #000000 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

.nav-link.active::after,
.nav-link:hover::after {
  background: var(--gold) !important;
}

.nav-ai-badge {
  color: #8C591A !important;
  background: rgba(184, 141, 82, 0.18) !important;
  border: 1px solid rgba(184, 141, 82, 0.4) !important;
  font-weight: 600 !important;
}

.nav-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.nav-btn-sec {
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(250, 246, 240, 0.8) !important;
  color: #2D2722 !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  padding: 9px 18px !important;
  border-radius: 100px !important;
  border: 1px solid rgba(184, 141, 82, 0.35) !important;
  transition: all 0.25s var(--ease) !important;
  white-space: nowrap !important;
}

.nav-btn-sec:hover {
  background: #FAF6F0 !important;
  border-color: var(--gold) !important;
  color: #000000 !important;
  transform: translateY(-1.5px) !important;
}

.nav-pill {
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  background: #1A1714 !important;
  color: #FAF6F0 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  border: 1px solid rgba(212, 175, 119, 0.4) !important;
  box-shadow: 0 4px 16px rgba(24, 20, 16, 0.15) !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.nav-pill:hover {
  background: #332B25 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
}

/* Hero: Luminous Warm Parchment Overlay */
.hero {
  background: 
    linear-gradient(180deg, rgba(250, 246, 240, 0.52) 0%, rgba(250, 246, 240, 0.78) 60%, rgba(250, 246, 240, 0.96) 100%),
    url('hero_bg.jpg') center/cover no-repeat !important;
  background-attachment: fixed !important;
  color: var(--ink) !important;
  padding-top: 120px !important;
  min-height: 88vh !important;
}

.hero-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  text-align: right !important;
}

.hero-label {
  background: rgba(250, 246, 240, 0.92) !important;
  border: 1px solid rgba(160, 120, 64, 0.3) !important;
  color: var(--gold) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 16px rgba(24, 20, 16, 0.04) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.2em !important;
  padding: 8px 18px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  display: inline-flex !important;
}

.label-dot {
  background: var(--gold) !important;
}

.hero-headline {
  color: var(--ink) !important;
  font-size: clamp(3rem, 7vw, 5.8rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 28px !important;
  text-align: right !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.hero-headline em {
  color: var(--gold) !important;
}

.hero-sub-text {
  color: var(--ink-2) !important;
  font-size: clamp(1rem, 1.6vw, 1.15rem) !important;
  line-height: 1.7 !important;
  max-width: 440px !important;
}

.btn-dark {
  background: var(--ink) !important;
  color: var(--cream) !important;
  box-shadow: 0 8px 24px rgba(24, 20, 16, 0.15) !important;
}
.btn-dark:hover {
  background: var(--dark-3) !important;
}

.btn-outline {
  background: rgba(250, 246, 240, 0.8) !important;
  border: 1px solid rgba(160, 120, 64, 0.25) !important;
  color: var(--ink) !important;
  backdrop-filter: blur(10px) !important;
}
.btn-outline:hover {
  background: var(--snow) !important;
  border-color: var(--gold) !important;
}

.hero-scroll-hint {
  background: rgba(250, 246, 240, 0.92) !important;
  border: 1px solid rgba(160, 120, 64, 0.25) !important;
  color: var(--gold) !important;
}
.hero-scroll-hint span {
  color: var(--ink-2) !important;
}

/* ─── FLOATING CHATBOT WIDGET ──────────────────────────── */
.chatbot-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100000 !important;
  font-family: var(--f-sans);
  pointer-events: auto !important;
}

.chatbot-widget button,
.chatbot-widget .chat-topic-pill,
.chatbot-widget .chatbot-panel-close,
.chatbot-trigger {
  cursor: pointer !important;
}

.chatbot-widget input,
.chatbot-widget textarea {
  cursor: text !important;
}

.chatbot-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1C1A17;
  color: #FAF6F0;
  border: 1px solid rgba(217, 188, 147, 0.4);
  padding: 10px 20px 10px 12px;
  border-radius: 999px;
  cursor: pointer !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}
.chatbot-trigger:hover {
  background: #2D2722;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  border-color: #D9BC93;
}
.chatbot-trigger-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(184, 141, 82, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.chatbot-logo-svg {
  width: 26px;
  height: 26px;
  transition: opacity 0.2s ease;
}
.chatbot-close-icon {
  position: absolute;
  font-size: 16px;
  color: #FAF6F0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.chatbot-trigger.active .chatbot-logo-svg {
  opacity: 0;
}
.chatbot-trigger.active .chatbot-close-icon {
  opacity: 1;
}
.chatbot-trigger-label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #F0D8AA;
}

/* Chatbot Panel Modal */
.chatbot-panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 100px);
  background: #FFFFFF;
  border: 1px solid var(--cream-3);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(26, 23, 20, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.chatbot-panel.hidden {
  display: none !important;
  opacity: 0 !important;
  transform: scale(0.92) translateY(20px);
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Panel Header */
.chatbot-header {
  background: #1C1A17;
  color: #FAF6F0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(217, 188, 147, 0.2);
}
.chatbot-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(184, 141, 82, 0.2);
  border: 1px solid rgba(217, 188, 147, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-title {
  font-family: var(--f-serif);
  font-size: 15px;
  font-weight: 600;
  color: #FAF6F0;
  margin: 0;
}
.chatbot-online-status {
  font-size: 11px;
  color: #D9BC93;
}
.chatbot-panel-close {
  background: transparent;
  border: none;
  color: #A09383;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.2s ease;
}
.chatbot-panel-close:hover {
  color: #FAF6F0;
}

/* Chat Messages */
.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FAF6F0;
}
.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  animation: chatFade 0.3s ease-out forwards;
}
@keyframes chatFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg-bot {
  background: #FFFFFF;
  color: #1A1714;
  border: 1px solid #E7DDD0;
  border-top-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(26,23,20,0.03);
}
.chat-msg-user {
  background: #1C1A17;
  color: #FAF6F0;
  border-top-right-radius: 4px;
  align-self: flex-end;
}
.chat-topic-pill {
  display: inline-block;
  background: rgba(184, 141, 82, 0.12);
  color: #8C6D46;
  border: 1px solid rgba(184, 141, 82, 0.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin: 4px 4px 4px 0;
  transition: all 0.2s ease;
}
.chat-topic-pill:hover {
  background: #B88D52;
  color: #FFFFFF;
}

/* Input Area */
.chatbot-input-area {
  padding: 16px;
  background: #FFFFFF;
  border-top: 1px solid #E7DDD0;
}
.chat-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-text-input {
  width: 100%;
  font-family: var(--f-sans);
  font-size: 13.5px;
  padding: 10px 14px;
  background: #FAF6F0;
  border: 1px solid #E7DDD0;
  border-radius: 12px;
  outline: none;
  box-sizing: border-box;
}
.chat-text-input:focus {
  border-color: #B88D52;
  background: #FFFFFF;
}
.chat-send-btn {
  background: #1C1A17;
  color: #FAF6F0;
  font-family: var(--f-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chat-send-btn:hover {
  background: #B88D52;
  color: #1A1714;
}

@media (max-width: 640px) {
  .chatbot-widget {
    bottom: 16px;
    right: 16px;
    left: 16px;
    display: flex;
    justify-content: flex-end;
  }
  .chatbot-panel {
    position: fixed;
    bottom: 76px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    height: 480px;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
  }
  .chat-text-input {
    font-size: 16px !important; /* Prevents iOS Safari auto-zoom on input focus */
    min-height: 44px;
  }
  .chat-send-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════════
   FINAL MOBILE OVERRIDES — must come LAST in source order
   These beat the LUMINOUS block because CSS uses
   last-declaration-wins when specificity is equal.
═══════════════════════════════════════════════════════ */

/* ── GLOBAL TOUCH RESPONSIVENESS (eliminates 300ms iOS tap delay on ALL devices) ── */
/* Applied unconditionally — no media query — so iOS always picks this up */
html {
  touch-action: manipulation;
}
a, button,
.al-card, .pc, .jc, .tc, .hcard,
.if-item, .aff-card, .pib-btn, .pib-reset-btn,
.nav-burger, .mobile-drawer a, .drawer-cta, .drawer-sec,
.chatbot-trigger, .chat-topic-pill, .chat-send-btn,
.pillar-status-badge {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ── PREVENT HORIZONTAL SCROLL ON ALL MOBILES ── */
@media (max-width: 992px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .chatbot-widget {
    max-width: calc(100vw - 32px) !important;
  }
}

/* ── MOBILE NAV — hide desktop links, show burger ── */
@media (max-width: 992px) {
  .nav-links {
    display: none !important;
  }
  .nav-burger {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  /* Force nav compact */
  .nav {
    padding: 0 16px !important;
    height: 68px !important;
    background: rgba(250, 246, 240, 0.96) !important;
  }
  .nav-links, .nav-btn-sec, .nav-pill {
    display: none !important;
  }
  .nav-burger {
    display: flex !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  /* ── HERO MOBILE — MATCHES DESKTOP ARCH LANDING LOOK ── */
  .hero {
    background:
      linear-gradient(180deg, rgba(250,246,240,0.48) 0%, rgba(250,246,240,0.72) 60%, rgba(250,246,240,0.95) 100%),
      url('hero_bg.jpg') 65% center / cover no-repeat !important;
    background-attachment: scroll !important;
    min-height: 88vh !important;
    min-height: 88dvh !important;
    padding-top: 104px !important;
    padding-bottom: 56px !important;
  }

  /* ── HERO CONTENT ALIGNMENT ── */
  .hero-inner {
    align-items: flex-end !important;
    text-align: right !important;
  }
  .hero-label {
    margin-left: auto !important;
    margin-right: 0 !important;
    font-size: clamp(0.52rem, 2.3vw, 0.65rem) !important;
    letter-spacing: 0.14em !important;
    padding: 6px 14px !important;
    margin-bottom: 20px !important;
    text-align: right !important;
    display: inline-flex !important;
  }
  .hero-headline {
    font-size: clamp(2.2rem, 7.8vw, 3.8rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-bottom: 24px !important;
  }
  .hero-sub-text {
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .hero-sub-row {
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
  }
  .hero-scroll-hint {
    display: inline-flex !important;
    font-size: 0.68rem !important;
    padding: 6px 16px !important;
    margin-top: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
