/* =========================================================
   The Yogi's Path — BotBuhdy Learning Platform
   Dark theme with warm Hindu-inspired palette
   ========================================================= */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ─── CSS Variables ─── */
:root {
  --bg-deep:       #080810;
  --bg-dark:       #0f0f1a;
  --bg-card:       #141422;
  --bg-card2:      #1a1a2e;
  --border:        rgba(210, 105, 30, 0.2);
  --border-glow:   rgba(218, 165, 32, 0.4);

  --brown:         #8B4513;
  --brown-light:   #A0522D;
  --chocolate:     #D2691E;
  --gold:          #DAA520;
  --gold-light:    #F0C040;
  --saffron:       #FF9933;
  --amber:         #FFBF00;
  --burgundy:      #800020;
  --burgundy-light:#A00030;
  --cream:         #FFF8E7;

  --text-primary:  #F5E6D3;
  --text-secondary:#C4A882;
  --text-muted:    #8A7060;
  --text-accent:   #DAA520;

  --gradient-hero: linear-gradient(135deg, #1a0a00 0%, #080810 40%, #1a0010 100%);
  --gradient-gold: linear-gradient(90deg, var(--brown), var(--gold), var(--chocolate));
  --gradient-card: linear-gradient(135deg, #141422, #1a1020);

  --glow-gold:     0 0 20px rgba(218, 165, 32, 0.3);
  --glow-saffron:  0 0 20px rgba(255, 153, 51, 0.3);

  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.3s ease;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(218, 165, 32, 0.08);
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--gold-light); }
h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--saffron); }
h4 { font-size: 1.1rem; color: var(--amber); }

p { margin-bottom: 1.2em; color: var(--text-primary); }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--saffron); }

em, i { font-family: 'Lora', serif; font-style: italic; color: var(--text-secondary); }

strong { color: var(--amber); font-weight: 700; }

blockquote {
  border-left: 3px solid var(--gold);
  margin: 2em 0;
  padding: 1.2em 1.5em;
  background: rgba(218, 165, 32, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--text-secondary);
}
blockquote cite {
  display: block;
  margin-top: 0.8em;
  font-size: 0.85em;
  color: var(--text-muted);
  font-style: normal;
  font-family: 'Lato', sans-serif;
}

ul, ol { padding-left: 1.5em; margin-bottom: 1.2em; }
li { margin-bottom: 0.4em; }

hr {
  border: none;
  height: 1px;
  background: var(--gradient-gold);
  margin: 3em 0;
  opacity: 0.3;
}

/* ─── Layout ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ─── Header ─── */
/* ─── Top Bar (utility) ─── */
.yogi-topbar {
  background: rgba(4, 4, 10, 0.98);
  border-bottom: 1px solid rgba(218, 165, 32, 0.08);
  padding: 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35rem 1.5rem;
}
.topbar-back {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.topbar-back:hover { color: var(--gold); }
.topbar-questions {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(218, 165, 32, 0.12);
  border-radius: 12px;
  transition: all 0.2s;
}
.topbar-questions:hover, .topbar-questions.active {
  color: var(--gold);
  border-color: rgba(218, 165, 32, 0.4);
  background: rgba(218, 165, 32, 0.05);
}
.topbar-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ─── Site Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 16, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(218, 165, 32, 0.12);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.logo-icon {
  font-size: 1.6rem;
  line-height: 1;
  animation: slow-pulse 6s ease-in-out infinite;
}
@keyframes slow-pulse {
  0%,100% { opacity: 1; filter: drop-shadow(0 0 4px rgba(218, 165, 32, 0.2)); }
  50%     { opacity: 0.85; filter: drop-shadow(0 0 12px rgba(218, 165, 32, 0.5)); }
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.header-logo .site-name {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), #FFF8DC, var(--gold-light));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shimmer 8s ease-in-out infinite;
}
@keyframes gold-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.header-logo .site-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Mobile back button — in sticky header */
.mobile-back-btn {
  display: none;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-radius: 5px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.mobile-back-btn:hover { color: var(--gold); border-color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-toggle:hover { border-color: var(--gold); }
.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ─── Navigation Bar ─── */
.yogi-nav {
  background: rgba(6, 6, 14, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 52px; /* below header */
  z-index: 99;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Nav Groups */
.nav-group {
  position: relative;
}
.nav-group-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.group-icon { font-size: 0.9rem; }
.caret {
  font-size: 0.65rem;
  opacity: 0.5;
  transition: transform 0.25s ease;
}
.nav-group.open .caret { transform: rotate(90deg); }
.nav-group-label:hover {
  color: var(--gold-light);
  background: rgba(218, 165, 32, 0.04);
}
.nav-group.group-active > .nav-group-label {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Dropdown */
.nav-group-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: rgba(10, 8, 20, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.5rem 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 24px rgba(218, 165, 32, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 300;
  pointer-events: none;
}
.nav-group.open .nav-group-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Dropdown items */
.nav-group-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  font-family: 'Lato', sans-serif;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  border-bottom: none;
}
.nav-group-dropdown a:hover {
  color: var(--gold-light);
  background: rgba(218, 165, 32, 0.06);
  padding-left: 1.5rem;
}
.nav-group-dropdown a.active {
  color: var(--gold);
  background: rgba(218, 165, 32, 0.08);
  font-weight: 700;
}
.nav-group-dropdown a + a {
  border-top: 1px solid rgba(218, 165, 32, 0.06);
}
.link-icon { font-size: 1rem; flex-shrink: 0; }
.link-text { flex: 1; }
.link-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(218, 165, 32, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* ─── Mobile Nav Overlay ─── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 12, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 500;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

.mobile-nav-inner {
  max-width: 400px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold-light);
}
.mobile-nav-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-nav-close:hover {
  color: var(--gold);
  border-color: rgba(218, 165, 32, 0.4);
}

.mobile-nav-section {
  margin-bottom: 1.8rem;
}
.mobile-section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(218, 165, 32, 0.5);
  padding-bottom: 0.5rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid rgba(218, 165, 32, 0.1);
}
.mobile-nav-section a {
  display: block;
  padding: 0.8rem 0.6rem 0.8rem 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(218, 165, 32, 0.05);
  transition: all 0.15s;
}
.mobile-nav-section a:last-child { border-bottom: none; }
.mobile-nav-section a:hover {
  color: var(--gold-light);
  padding-left: 1.4rem;
  background: rgba(218, 165, 32, 0.03);
}
.mobile-nav-section a.active {
  color: var(--gold);
  font-weight: 700;
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
}

.mobile-nav-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mobile-nav-footer a {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--gold);
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s;
}
.mobile-nav-footer a:hover {
  background: rgba(218, 165, 32, 0.06);
  border-color: var(--gold);
}
.mobile-nav-footer .mobile-back-link {
  color: var(--text-muted);
  border-color: var(--border);
  font-size: 0.8rem;
}
.mobile-nav-footer .mobile-back-link:hover {
  color: var(--text-secondary);
}

/* ─── Hero Section ─── */
.hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 153, 51, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(128, 0, 32, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(218, 165, 32, 0.1);
  border: 1px solid rgba(218, 165, 32, 0.3);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: 'Cinzel', serif;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 2rem;
}

.hero-symbol {
  font-size: clamp(5rem, 12vw, 10rem);
  opacity: 0.08;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  user-select: none;
  filter: blur(1px);
}

/* ─── Cards ─── */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.8rem;
}
.section-header h2 { margin-bottom: 0.8rem; }
.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Dividers ─── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin: 1rem auto;
}

/* ─── Badges & Tags ─── */
.tag {
  display: inline-block;
  padding: 0.2em 0.7em;
  background: rgba(218, 165, 32, 0.1);
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0.2em;
  font-family: 'Lato', sans-serif;
}

.tag.saffron {
  background: rgba(255, 153, 51, 0.1);
  border-color: rgba(255, 153, 51, 0.2);
  color: var(--saffron);
}

.tag.burgundy {
  background: rgba(128, 0, 32, 0.15);
  border-color: rgba(128, 0, 32, 0.3);
  color: #E06080;
}

/* ─── Accordion / Expand ─── */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.accordion-header {
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--gold-light);
  transition: background var(--transition);
  user-select: none;
  list-style: none;
}
.accordion-header:hover { background: var(--bg-card2); }
.accordion-header::after {
  content: '▾';
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform var(--transition);
}
details[open] .accordion-header::after { transform: rotate(180deg); }

.accordion-body {
  padding: 1.5rem;
  background: rgba(8, 8, 16, 0.5);
  border-top: 1px solid var(--border);
}

/* ─── Timeline ─── */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--burgundy));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(218, 165, 32, 0.6);
}
.timeline-year {
  font-size: 0.78rem;
  color: var(--saffron);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }

/* ─── Glossary ─── */
.glossary-item {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.glossary-item:hover { background: rgba(218, 165, 32, 0.03); }
.glossary-item:last-child { border-bottom: none; }
.glossary-term {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}
.glossary-pronunciation {
  font-size: 0.8rem;
  color: var(--saffron);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.glossary-def { color: var(--text-secondary); margin: 0; }

/* ─── Chakra display ─── */
.chakra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.chakra-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  transition: all var(--transition);
}
.chakra-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}
.chakra-symbol { font-size: 2rem; margin-bottom: 0.5rem; }
.chakra-name {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold-light);
}
.chakra-meaning {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ─── Breathing Steps ─── */
.breath-steps {
  counter-reset: step-counter;
}
.breath-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.breath-step:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-gold);
}
.step-number {
  counter-increment: step-counter;
  min-width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg-deep);
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.step-content p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

/* ─── Highlight Box ─── */
.highlight-box {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.07), rgba(255, 153, 51, 0.05));
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}
.highlight-box.burgundy {
  background: linear-gradient(135deg, rgba(128, 0, 32, 0.1), rgba(160, 0, 48, 0.05));
  border-color: rgba(128, 0, 32, 0.3);
}
.highlight-box.info {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(210, 105, 30, 0.05));
  border-color: rgba(139, 69, 19, 0.3);
}

/* ─── CTA Button ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-gold);
  color: var(--bg-deep);
  box-shadow: var(--glow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.5);
  color: var(--bg-deep);
}
.btn-secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-secondary:hover {
  background: rgba(218, 165, 32, 0.1);
  color: var(--gold-light);
}

/* ─── Page Hero ─── */
.page-hero {
  background: var(--gradient-hero);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 153, 51, 0.06) 0%, transparent 70%);
}
.page-hero .hero-symbol { position: static; opacity: 0.15; font-size: 4rem; display: block; margin-bottom: 1rem; filter: none; }
.page-hero h1 { margin-bottom: 0.8rem; }
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Footer ─── */
.site-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(218,165,32,0.02) 100%);
  margin-top: 5rem;
  position: relative;
}
.footer-ornament {
  position: relative;
  height: 50px;
  overflow: hidden;
}
.footer-ornament svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-icon { font-size: 1.8rem; }
.footer-brand-txt {
  display: flex;
  flex-direction: column;
}
.footer-name {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}
.footer-sub-txt {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-blurb {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.footer-disclaimer-box {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  padding: 0.7rem 0.9rem;
  background: rgba(218,165,32,0.03);
  border: 1px solid rgba(218,165,32,0.08);
  border-radius: 8px;
  line-height: 1.6;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-link-title {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 0.5rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid rgba(218,165,32,0.1);
}
.footer-link-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.15rem 0;
  transition: all 0.2s;
  border-bottom: none;
}
.footer-link-col a:hover {
  color: var(--gold-light);
  padding-left: 0.4rem;
}
.footer-bar {
  border-top: 1px solid rgba(218,165,32,0.08);
  background: rgba(0,0,0,0.2);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.footer-bar strong { color: var(--gold-light); }
.footer-dot { color: var(--gold); opacity: 0.4; }
.footer-muted { opacity: 0.5; }

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Header Actions ─── */
/* (header-actions and old hamburger removed — replaced by new nav system) */
.nav-toggle:hover {
  color: var(--gold);
  border-color: rgba(218, 165, 32, 0.35);
  background: rgba(218, 165, 32, 0.06);
}

/* ─── Lineage chain ─── */
.lineage {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  margin: 2rem auto;
  max-width: 400px;
}
.lineage-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  width: 100%;
  transition: all var(--transition);
}
.lineage-node:hover { border-color: var(--border-glow); }
.lineage-node h4 { margin: 0; font-size: 0.95rem; }
.lineage-node span { font-size: 0.75rem; color: var(--text-muted); }
.lineage-arrow {
  color: var(--gold);
  font-size: 1.5rem;
  opacity: 0.5;
  line-height: 1;
  padding: 0.3rem 0;
}

/* ─── Comparison Table ─── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.compare-table th {
  background: rgba(218, 165, 32, 0.1);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}
.compare-table td {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.compare-table tr:hover td { background: rgba(218, 165, 32, 0.03); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; }
  .hero-symbol { display: none; }
  .section { padding: 3.5rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .chakra-grid { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 0.6rem 0.7rem; }

  /* Show hamburger, hide desktop nav */
  .nav-toggle { display: flex; }
  .yogi-nav { display: none; }
  .yogi-topbar { display: none; }
  .mobile-back-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-ornament { display: none; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  .card { padding: 1.3rem; }
  .highlight-box { padding: 1.3rem; }
  .header-inner { flex-wrap: wrap; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ============================================================
   NOTEPAD — Floating Panel (BotBuhdy Bytes style)
   ============================================================ */
.notepad-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--gold));
  border: 2px solid rgba(218, 165, 32, 0.4);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(218, 165, 32, 0.4);
  z-index: 10000;
  transition: transform 0.3s, box-shadow 0.3s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.notepad-fab:hover {
  transform: scale(1.08) translateZ(0);
  box-shadow: 0 8px 32px rgba(218, 165, 32, 0.6);
}
.notepad-fab.active {
  background: var(--bg-card2);
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}
.notepad-fab-icon { font-size: 1.4rem; line-height: 1; }
.notepad-fab-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  background: var(--saffron);
  color: var(--bg-deep);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.notepad-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 360px;
  max-height: 70vh;
  background: rgba(10, 10, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(218, 165, 32, 0.08);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97) translateZ(0);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  overflow: hidden;
}
.notepad-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) translateZ(0);
}

.notepad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(218, 165, 32, 0.12);
  background: rgba(218, 165, 32, 0.04);
  flex-shrink: 0;
}
.notepad-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.notepad-count {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.notepad-header-actions {
  display: flex;
  gap: 0.3rem;
}
.notepad-btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: all 0.2s;
  opacity: 0.6;
}
.notepad-btn-icon:hover { opacity: 1; background: rgba(218, 165, 32, 0.1); }
.notepad-close { font-size: 1.2rem; color: var(--text-muted); }
.notepad-close:hover { color: var(--gold); }

.notepad-input-area {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(218, 165, 32, 0.08);
  flex-shrink: 0;
}
.notepad-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.notepad-textarea {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  padding: 0.6rem 0.8rem;
  resize: none;
  outline: none;
  line-height: 1.5;
  transition: border-color 0.2s;
}
.notepad-textarea:focus { border-color: var(--gold); }
.notepad-textarea::placeholder { color: var(--text-muted); }

.notepad-mic {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.notepad-mic:hover { border-color: var(--gold); background: rgba(218, 165, 32, 0.05); }
.notepad-mic.recording {
  border-color: #e53935;
  background: rgba(229, 57, 53, 0.1);
  animation: micPulse 1s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); }
}

.notepad-input-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  align-items: center;
}
.notepad-topic {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 0.4rem 0.6rem;
  outline: none;
  cursor: pointer;
}
.notepad-topic option { background: var(--bg-dark); }
.notepad-save {
  background: linear-gradient(135deg, var(--brown), var(--gold));
  color: var(--bg-deep);
  border: none;
  border-radius: 8px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.notepad-save:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3); }

.notepad-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  max-height: 40vh;
}
.notepad-list::-webkit-scrollbar { width: 4px; }
.notepad-list::-webkit-scrollbar-thumb { background: var(--brown); border-radius: 2px; }

.note-item {
  background: var(--bg-card);
  border: 1px solid rgba(218, 165, 32, 0.08);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.4rem;
  position: relative;
  transition: all 0.2s;
}
.note-item:hover { border-color: rgba(218, 165, 32, 0.2); }
.note-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}
.note-topic {
  font-size: 0.68rem;
  color: var(--saffron);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.note-date {
  font-size: 0.65rem;
  color: var(--text-muted);
}
.note-text {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.5;
  word-break: break-word;
}
.note-actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.note-item:hover .note-actions { opacity: 1; }
.note-delete {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.2rem;
  transition: color 0.2s;
}
.note-delete:hover { color: #e53935; }

.notepad-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: none;
}
.notepad-empty.show { display: block; }
.notepad-empty-icon { font-size: 2rem; opacity: 0.4; margin-bottom: 0.5rem; }

@media (max-width: 500px) {
  .notepad-panel {
    right: 0.8rem;
    left: 0.8rem;
    width: auto;
    bottom: 5rem;
    max-height: 65vh;
  }
  .notepad-fab {
    bottom: 1.2rem;
    right: 1.2rem;
  }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--brown); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─── Selection ─── */
::selection { background: rgba(218, 165, 32, 0.25); color: var(--cream); }

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-saffron { color: var(--saffron); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ─── Christian / Church Pages ─── */
/* Stained-glass inspired: deep burgundy, wine, church gold, medieval blue */
:root {
  --church-burgundy:   #7A1F2E;
  --church-wine:       #9B2335;
  --church-crimson:    #B22234;
  --church-gold:       #CFB53B;
  --church-blue:       #1C3A6B;
  --church-blue-light: #2A5298;
  --church-glow:       0 0 20px rgba(155, 35, 53, 0.35);
  --church-border:     rgba(155, 35, 53, 0.3);
  --church-border-glow:rgba(207, 181, 59, 0.4);

  --tesla-blue:        #00BFFF;
  --tesla-cyan:        #00E5FF;
  --tesla-purple:      #7B2FBE;
  --tesla-arc:         #40E0D0;
  --tesla-glow:        0 0 25px rgba(0, 191, 255, 0.4);
  --tesla-border:      rgba(0, 191, 255, 0.25);
  --tesla-border-glow: rgba(0, 229, 255, 0.5);
}

/* Christian page hero override */
.page-hero.christian-hero {
  background: linear-gradient(135deg, #0d0306 0%, #080810 40%, #0a0315 100%);
}
.page-hero.christian-hero::before {
  background: radial-gradient(ellipse at 30% 50%, rgba(155, 35, 53, 0.1) 0%, transparent 70%);
}
.page-hero.christian-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: radial-gradient(ellipse at 80% 50%, rgba(207, 181, 59, 0.06) 0%, transparent 70%);
}

/* Christian hero title */
.christian-hero .hero-title-church {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-family: 'Cinzel', serif;
  background: linear-gradient(90deg, var(--church-wine), var(--church-gold), var(--church-crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Church accent card */
.card-church {
  background: linear-gradient(135deg, #120508, #0f0318);
  border: 1px solid var(--church-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card-church:hover {
  border-color: var(--church-border-glow);
  box-shadow: var(--church-glow);
  transform: translateY(-2px);
}

/* Church highlight box */
.highlight-box.church {
  background: linear-gradient(135deg, rgba(122, 31, 46, 0.1), rgba(30, 10, 15, 0.8));
  border-color: var(--church-border);
}
.highlight-box.church h3, .highlight-box.church h4 { color: var(--church-gold); }

/* Church blockquote */
.blockquote-church {
  border-left-color: var(--church-wine);
  background: rgba(122, 31, 46, 0.07);
}

/* Church h2/h3 overrides on pages */
.church-accent h2 { color: var(--church-gold); }
.church-accent h3 { color: #D4728A; }
.church-accent h4 { color: var(--church-gold); }
.church-accent .eyebrow { color: #D4728A; }

/* Church divider */
.divider-church {
  background: linear-gradient(90deg, var(--church-wine), var(--church-gold), var(--church-crimson));
}

/* Church tag */
.tag.church {
  background: rgba(122, 31, 46, 0.15);
  border-color: rgba(155, 35, 53, 0.3);
  color: #D4728A;
}

/* Vatican document box */
.vatican-box {
  background: linear-gradient(135deg, rgba(28, 58, 107, 0.15), rgba(10, 10, 30, 0.8));
  border: 1px solid rgba(28, 58, 107, 0.4);
  border-left: 3px solid var(--church-blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.vatican-box h4 { color: #6A9FD4; }

/* Stained glass panel effect */
.stained-glass-header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(122, 31, 46, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--church-border);
  margin-bottom: 2rem;
  position: relative;
}
.stained-glass-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--church-gold), transparent);
}

/* Pro/Con debate layout */
.debate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 700px) {
  .debate-grid { grid-template-columns: 1fr; }
}
.debate-for {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.08), rgba(8, 8, 16, 0.9));
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.debate-against {
  background: linear-gradient(135deg, rgba(122, 31, 46, 0.1), rgba(8, 8, 16, 0.9));
  border: 1px solid var(--church-border);
  border-top: 3px solid var(--church-wine);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.debate-for h3 { color: var(--gold-light); }
.debate-against h3 { color: #D4728A; }

/* Tesla page ─── */
.page-hero.tesla-hero {
  background: linear-gradient(135deg, #000a14 0%, #080810 40%, #030a18 100%);
}
.page-hero.tesla-hero::before {
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 191, 255, 0.08) 0%, transparent 70%);
}

.tesla-hero .hero-title-tesla {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-family: 'Cinzel', serif;
  background: linear-gradient(90deg, var(--tesla-cyan), var(--tesla-blue), var(--tesla-arc));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.card-tesla {
  background: linear-gradient(135deg, #020a14, #060818);
  border: 1px solid var(--tesla-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card-tesla:hover {
  border-color: var(--tesla-border-glow);
  box-shadow: var(--tesla-glow);
  transform: translateY(-2px);
}

.highlight-box.tesla {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.06), rgba(5, 10, 20, 0.9));
  border-color: var(--tesla-border);
}

.tesla-accent h2 { color: var(--tesla-cyan); }
.tesla-accent h3 { color: var(--tesla-blue); }
.tesla-accent h4 { color: var(--tesla-arc); }
.tesla-accent .eyebrow { color: var(--tesla-cyan); }
.tesla-accent strong { color: var(--tesla-cyan); }

.divider-tesla {
  background: linear-gradient(90deg, var(--tesla-blue), var(--tesla-cyan), var(--tesla-arc));
}

.tag.tesla {
  background: rgba(0, 191, 255, 0.1);
  border-color: rgba(0, 191, 255, 0.25);
  color: var(--tesla-cyan);
}

.blockquote-tesla {
  border-left-color: var(--tesla-blue);
  background: rgba(0, 191, 255, 0.04);
}

.tesla-coil-glow {
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
  color: var(--tesla-cyan);
}

/* ─── Floating Question Button ─── */
.floating-question-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--gold));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(218, 165, 32, 0.4);
  z-index: 200;
  transition: all var(--transition);
}
.floating-question-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(218, 165, 32, 0.6);
}

/* Quick-add question modal */
.q-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 15, 0.85);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.q-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.q-modal {
  background: var(--bg-card2);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--glow-gold);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.q-modal-overlay.open .q-modal {
  transform: translateY(0);
}
.q-modal h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.q-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color var(--transition);
}
.q-modal-close:hover { color: var(--gold); }
.q-modal textarea {
  width: 100%;
  min-height: 90px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  resize: vertical;
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 0.8rem;
}
.q-modal textarea:focus { border-color: var(--gold); }
.q-modal textarea::placeholder { color: var(--text-muted); }
.q-modal-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}

/* Questions page */
.questions-input-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}
.questions-input-area textarea {
  width: 100%;
  min-height: 100px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  padding: 0.9rem 1.2rem;
  resize: vertical;
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 1rem;
}
.questions-input-area textarea:focus { border-color: var(--gold); }
.questions-input-area textarea::placeholder { color: var(--text-muted); }
.q-topic-select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: border-color var(--transition);
}
.q-topic-select:focus { border-color: var(--gold); }
.q-topic-select option { background: var(--bg-dark); }

.question-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition);
}
.question-item:hover { border-color: var(--border-glow); }
.question-item.answered { border-left: 3px solid var(--gold); }
.question-meta {
  min-width: 120px;
  flex-shrink: 0;
  text-align: right;
}
.question-meta .q-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}
.question-meta .q-topic {
  font-size: 0.7rem;
  color: var(--saffron);
  display: block;
  margin-top: 0.3rem;
}
.question-text {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.6;
}
.question-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}
.q-btn-delete {
  background: none;
  border: 1px solid rgba(128, 0, 32, 0.3);
  color: rgba(200, 80, 100, 0.6);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition);
}
.q-btn-delete:hover {
  background: rgba(128, 0, 32, 0.15);
  color: #D4728A;
  border-color: rgba(155, 35, 53, 0.4);
}
.q-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  font-style: italic;
}
.q-empty .q-empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: 0.5; }
.q-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  background: rgba(218, 165, 32, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--gold);
  padding: 0 0.4rem;
  margin-left: 0.4rem;
}

@media (max-width: 600px) {
  .question-item { flex-direction: column; }
  .question-meta { min-width: auto; text-align: left; order: -1; }
  .floating-question-btn { bottom: 1.2rem; right: 1.2rem; width: 46px; height: 46px; font-size: 1.1rem; }
}

/* ─── Asanas Page ─── */

/* Jump Nav */
.asana-jump-nav {
  margin: 2rem 0 1.5rem;
}
.jump-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.jump-nav-links a {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(218, 165, 32, 0.08);
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  white-space: nowrap;
}
.jump-nav-links a:hover {
  background: rgba(218, 165, 32, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* Search Bar */
.asana-search-bar {
  margin: 1.5rem 0 0;
}
.asana-search-bar input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 1rem;
}
.asana-search-bar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(218, 165, 32, 0.1);
}
.asana-search-bar input::placeholder { color: var(--text-muted); }

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-pill {
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-pill.active {
  background: rgba(218, 165, 32, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  font-weight: 700;
}

/* Asana Grid */
.asana-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .asana-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .asana-grid { grid-template-columns: 1fr; }
}

/* Asana Card */
.asana-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.asana-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-gold);
  transform: translateY(-3px);
}

/* Visual Area */
.asana-visual {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.asana-visual .pose-emoji {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  z-index: 1;
  position: relative;
}

/* Gradient Themes */
.gradient-earth {
  background: linear-gradient(135deg, #2d1800 0%, #1a0f00 50%, #2a1505 100%);
  border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}
.gradient-forest {
  background: linear-gradient(135deg, #0a1f0a 0%, #081408 50%, #0f2010 100%);
  border-bottom: 1px solid rgba(34, 85, 34, 0.3);
}
.gradient-fire {
  background: linear-gradient(135deg, #2d0a00 0%, #1f0500 50%, #2d1000 100%);
  border-bottom: 1px solid rgba(180, 60, 0, 0.3);
}
.gradient-sky {
  background: linear-gradient(135deg, #00102d 0%, #000a1f 50%, #001028 100%);
  border-bottom: 1px solid rgba(0, 80, 160, 0.3);
}
.gradient-lotus {
  background: linear-gradient(135deg, #1a001f 0%, #12001a 50%, #1f0025 100%);
  border-bottom: 1px solid rgba(100, 0, 120, 0.3);
}
.gradient-warrior {
  background: linear-gradient(135deg, #1f0a00 0%, #160500 50%, #1a0800 100%);
  border-bottom: 1px solid rgba(160, 60, 0, 0.3);
}
.gradient-cosmos {
  background: linear-gradient(135deg, #080010 0%, #050008 50%, #0a000f 100%);
  border-bottom: 1px solid rgba(80, 0, 100, 0.3);
}

/* Card Body */
.asana-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.asana-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sanskrit-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin: 0;
  line-height: 1.2;
}

.english-name {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: 'Lora', serif;
  font-style: italic;
}

.difficulty-dot {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  margin-top: 0.2rem;
}
.difficulty-dot.beginner { color: #4CAF50; }
.difficulty-dot.intermediate { color: var(--amber); }
.difficulty-dot.advanced { color: var(--saffron); }

.asana-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.asana-benefits {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.asana-benefits strong {
  display: block;
  color: var(--amber);
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.asana-benefits ul {
  margin: 0;
  padding-left: 1.2em;
}
.asana-benefits li {
  margin-bottom: 0.2em;
  line-height: 1.4;
}

.asana-tips {
  background: rgba(218, 165, 32, 0.05);
  border-left: 2px solid rgba(218, 165, 32, 0.3);
  padding: 0.6rem 0.9rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.asana-tips strong { color: var(--gold); }

.kriya-note {
  background: rgba(255, 153, 51, 0.06);
  border: 1px solid rgba(255, 153, 51, 0.2);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  font-size: 0.78rem;
  color: var(--saffron);
  line-height: 1.5;
  margin-top: auto;
}
.kriya-note strong { color: var(--amber); }
.kriya-note a { color: var(--saffron); text-decoration: underline; }

/* ─── Yoga Tradition Badge ─── */
.yoga-tradition {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.68rem;
  font-family: 'Lato', sans-serif;
  color: var(--chocolate);
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(210, 105, 30, 0.1);
  border: 1px solid rgba(210, 105, 30, 0.28);
  border-radius: 20px;
  padding: 0.18rem 0.65rem;
  line-height: 1.4;
}

/* ─── Pose Spiritual Intent ─── */
.pose-intent {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.83rem;
  color: var(--text-secondary);
  border-left: 2px solid rgba(255, 153, 51, 0.35);
  padding: 0.5rem 0.85rem;
  margin: 0.7rem 0 0.5rem;
  line-height: 1.6;
  background: rgba(255, 153, 51, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Reveal for asanas (using 'revealed' class from JS) */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS — Leveling Up
   ═══════════════════════════════════════════════════════ */

/* ── Page load animation ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
body {
  animation: fadeInUp 0.6s ease-out;
}

/* ── Subtle grain texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)" opacity="0.03"/></svg>');
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
body > * {
  position: relative;
  z-index: 1;
}

/* ── Animated gradient shimmer for gold titles ── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero-title, h1 {
  background: linear-gradient(90deg, var(--brown), var(--gold), var(--saffron), var(--gold), var(--brown));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s ease-in-out infinite;
}

/* ── Premium card glass effect ── */
.card, .card-church, .card-tesla {
  position: relative;
  overflow: hidden;
}
.card::before, .card-church::before, .card-tesla::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.3), transparent);
}

/* ── Decorative blockquote ── */
blockquote {
  position: relative;
  padding: 1.8em 2em 1.5em 2.5em;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.06), rgba(128, 0, 32, 0.03));
  border-left: 3px solid;
  border-image: linear-gradient(to bottom, var(--gold), var(--burgundy)) 1;
}
blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.15em;
  left: 0.3em;
  font-size: 4rem;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

/* ── Ornamental section divider ── */
.divider {
  position: relative;
  height: 1px;
  width: 100%;
  max-width: 300px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.divider::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem;
  color: var(--gold);
  background: var(--bg-deep);
  padding: 0 0.8rem;
  opacity: 0.6;
}

/* ── Premium hero section ── */
.hero {
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

/* ── Glowing border on hero badge ── */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(218, 165, 32, 0.2); }
  50%      { box-shadow: 0 0 20px rgba(218, 165, 32, 0.4); }
}
.hero-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

/* ── Better focus states ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Card hover glow trail ── */
.card:hover, .asana-card:hover {
  box-shadow: var(--glow-gold), 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ── Smooth image treatment ── */
.content-image {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}
.content-image:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-gold), 0 12px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* ── Enhanced reading typography ── */
.container p {
  font-size: 1.02rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* ── Section separator glow ── */
.section + .section {
  border-top: 1px solid rgba(218, 165, 32, 0.06);
}

/* ── Better tag styling ── */
.tag {
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}
.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(218, 165, 32, 0.2);
}

/* ── Floating sacred geometry background ── */
@keyframes floatRotate {
  0%   { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}
.hero-symbol {
  animation: floatRotate 120s linear infinite;
  text-shadow: 0 0 60px rgba(218, 165, 32, 0.1);
}

/* ── Premium footer ── */
.site-footer {
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* ── Accordion premium ── */
.accordion {
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.accordion:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
details[open] .accordion-header {
  background: rgba(218, 165, 32, 0.05);
  color: var(--gold);
}

/* ── Timeline glow dots ── */
@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 6px rgba(218, 165, 32, 0.4); }
  50%      { box-shadow: 0 0 14px rgba(218, 165, 32, 0.7); }
}
.timeline-item::before {
  animation: timelinePulse 3s ease-in-out infinite;
}

/* ── Glossary search glow ── */
.glossary-item:hover .glossary-term {
  text-shadow: 0 0 12px rgba(218, 165, 32, 0.3);
}

/* ── Chakra card premium ── */
.chakra-card {
  position: relative;
  overflow: hidden;
}
.chakra-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s;
}
.chakra-card:hover::after {
  opacity: 0.6;
}

/* ── Smooth link underline animation ── */
.container a:not(.btn):not(.card):not([class*='nav']):not([class*='tag']) {
  position: relative;
  display: inline;
}
.container a:not(.btn):not(.card):not([class*='nav']):not([class*='tag'])::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--saffron);
  transition: width 0.3s ease;
}
.container a:not(.btn):not(.card):not([class*='nav']):not([class*='tag']):hover::after {
  width: 100%;
}

/* ── Breath step animated number ── */
.breath-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(218, 165, 32, 0.5);
}
.step-number {
  transition: all 0.3s ease;
}

/* ── Lineage chain glow ── */
.lineage-node:hover {
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
  transition: all 0.3s;
}

/* ── Print styles ── */
@media print {
  .yogi-topbar, .yogi-nav, .nav-toggle, .floating-question-btn,
  .q-modal-overlay, .mobile-nav-overlay { display: none !important; }
  body::before { display: none; }
  body { background: #fff; color: #222; }
  .site-header { position: static; background: #fff; border-bottom: 2px solid #333; }
  h1, h2, h3 { -webkit-text-fill-color: #222; color: #222; }
}
