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

/* ═══════════════════════════════════
   DESIGN SYSTEM — ANTIGRAVITY CONCEPT
   Digital Temple Experience
   ═══════════════════════════════════ */

:root {
  --navy: #0B1C3F;
  --navy-deep: #060E1F;
  --navy-mid: #122652;
  --gold: #D4AF37;
  --gold-light: #E8CC6E;
  --saffron: #FF9933;
  --cream: #F8F5E9;
  --cream-dark: #EDE8D6;
  --purple: #5A3E85;
  --purple-glow: rgba(90, 62, 133, .35);
  --white: #FFFFFF;
  --text: #1a1a2e;
  --text-light: #6b6b8d;
  --glass: rgba(255, 255, 255, .06);
  --glass-border: rgba(255, 255, 255, .12);
  --glass-light: rgba(248, 245, 233, .08);
  --shadow-divine: 0 8px 60px rgba(212, 175, 55, .12);
  --shadow-deep: 0 20px 60px rgba(6, 14, 31, .3);
  --shadow-float: 0 15px 50px rgba(11, 28, 63, .15);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all .5s cubic-bezier(.23, 1, .32, 1);
  --transition-slow: all .8s cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--cream);
  background: var(--navy-deep);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  color: var(--gold);
  line-height: 1.2;
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: 2px; }
h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); }
p { margin-bottom: 1rem; font-size: 1.08rem; color: rgba(248, 245, 233, .8); }
a { text-decoration: none; color: var(--saffron); transition: var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ═══ PARTICLE CANVAS ═══ */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .4;
}

/* ═══ NAVBAR — Floating Glass ═══ */
.navbar {
  position: fixed; top: 1rem; left: 50%;
  transform: translateX(-50%);
  width: 92%; max-width: 1300px;
  z-index: 1000;
  padding: 1rem 2rem;
  border-radius: 60px;
  background: rgba(11, 28, 63, .3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, .1);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(6, 14, 31, .92);
  border-color: rgba(212, 175, 55, .2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .4);
  top: .5rem;
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.15rem; color: var(--gold); font-weight: 700;
  letter-spacing: 1.5px;
}
.nav-logo span { color: var(--saffron); }
.nav-menu { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
.nav-menu a {
  color: rgba(248, 245, 233, .7);
  font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 400;
  letter-spacing: 1.5px; text-transform: uppercase;
  position: relative; padding: 6px 0;
  transition: var(--transition);
}
.nav-menu a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 50%; width: 0;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transform: translateX(-50%);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  gap: 6px; z-index: 1001;
}
.hamburger span {
  width: 26px; height: 1.5px; background: var(--gold);
  transition: var(--transition); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ SECTION FLOW ═══ */
.journey-section {
  position: relative; padding: 8rem 0;
  overflow: hidden; z-index: 1;
}
.journey-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(90, 62, 133, .08), transparent 70%);
  pointer-events: none;
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: .7rem; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .8rem;
}
.section-label::before {
  content: ''; width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron));
}
.section-title-wrap { margin-bottom: 3.5rem; }
.section-title-wrap h2 { margin-bottom: .8rem; }
.section-title-wrap p {
  max-width: 650px; color: rgba(248, 245, 233, .55);
  font-size: 1.05rem;
}

/* ═══ CURVED SECTION DIVIDERS ═══ */
.curve-divider {
  position: absolute; left: 0; width: 100%; overflow: hidden;
  line-height: 0; z-index: 2;
}
.curve-divider.top { top: -1px; }
.curve-divider.bottom { bottom: -1px; transform: rotate(180deg); }
.curve-divider svg { position: relative; display: block; width: calc(100% + 1.3px); }
.curve-divider svg path { fill: var(--navy-deep); }

/* ═══ GLASSMORPHISM CARDS ═══ */
.glass-card {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .3), transparent);
}
.glass-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(212, 175, 55, .2);
  transform: translateY(-8px);
  box-shadow: var(--shadow-divine);
}

/* ═══ FLOATING PANELS ═══ */
.floating-panel {
  background: linear-gradient(135deg, rgba(18, 38, 82, .6), rgba(11, 28, 63, .8));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(212, 175, 55, .12);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.floating-panel::after {
  content: ''; position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, .04), transparent 50%);
  pointer-events: none;
}
.floating-panel:hover {
  border-color: rgba(212, 175, 55, .25);
  box-shadow: 0 25px 80px rgba(6, 14, 31, .5), 0 0 40px rgba(212, 175, 55, .06);
}

/* ═══ HERO — DIVINE WELCOME PORTAL ═══ */
.hero-portal {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-portal .hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-portal .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.3) saturate(.7);
}
.hero-portal .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(90, 62, 133, .25), transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, .1), transparent 50%),
    linear-gradient(180deg, rgba(6, 14, 31, .4), rgba(6, 14, 31, .7));
}
.hero-portal .hero-content {
  position: relative; z-index: 3;
  text-align: center; padding: 2rem;
  max-width: 900px;
}
.hero-portal .hero-content h1 {
  text-shadow: 0 4px 30px rgba(212, 175, 55, .3);
  margin-bottom: 1.2rem; animation: fadeInUp 1.2s ease both;
}
.hero-portal .hero-content .hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: .8rem; font-weight: 500;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s ease .2s both;
}
.hero-portal .hero-content .hero-desc {
  font-size: 1.2rem; max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(248, 245, 233, .7);
  animation: fadeInUp 1.2s ease .4s both;
}
.hero-scroll-indicator {
  position: absolute; bottom: 3rem;
  left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
  animation: float 3s ease-in-out infinite;
}
.hero-scroll-indicator span {
  font-family: 'Inter', sans-serif;
  font-size: .65rem; letter-spacing: 4px;
  text-transform: uppercase; color: rgba(248, 245, 233, .35);
}
.hero-scroll-indicator .scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--saffron), transparent);
}

/* ═══ PAGE HERO (SHORTER) ═══ */
.page-hero-portal { min-height: 60vh; }

/* ═══ DIVINE ORNAMENT ═══ */
.ornament {
  text-align: center; padding: 2rem 0;
  color: rgba(212, 175, 55, .3);
  font-size: 1.8rem; letter-spacing: 12px;
}

/* ═══ MANTRA STRIP — Animated ═══ */
.mantra-strip {
  overflow: hidden; position: relative;
  padding: 1.5rem 0;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy), var(--navy-deep));
  border-top: 1px solid rgba(212, 175, 55, .1);
  border-bottom: 1px solid rgba(212, 175, 55, .1);
}
.mantra-track {
  display: flex; gap: 4rem;
  animation: scrollMantra 30s linear infinite;
  white-space: nowrap; width: max-content;
}
.mantra-track span {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(.8rem, 1.5vw, 1.1rem);
  color: rgba(212, 175, 55, .25);
  letter-spacing: 4px;
}
@keyframes scrollMantra {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ STORYTELLING SPLIT ═══ */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story-split.reverse { direction: rtl; }
.story-split.reverse > * { direction: ltr; }
.story-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.story-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 1.2s ease;
}
.story-image:hover img { transform: scale(1.04); }
.story-image::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(212, 175, 55, .15);
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.story-image .image-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(90, 62, 133, .2), transparent 60%);
  pointer-events: none;
}

/* ═══ INTERACTIVE TEACHING CARDS — Floating ═══ */
.teachings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  perspective: 1200px;
}
.teaching-card {
  background: linear-gradient(145deg, rgba(18, 38, 82, .5), rgba(6, 14, 31, .8));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.teaching-card .card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(212, 175, 55, .15), rgba(255, 153, 51, .1));
  border: 1px solid rgba(212, 175, 55, .2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.teaching-card h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.15rem; margin-bottom: 1rem;
}
.teaching-card p {
  font-size: .98rem;
  color: rgba(248, 245, 233, .55);
}
.teaching-card::before {
  content: ''; position: absolute;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .06), transparent 70%);
  top: -30px; right: -30px;
  transition: var(--transition-slow);
}
.teaching-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  border-color: rgba(212, 175, 55, .2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .3), 0 0 30px rgba(212, 175, 55, .05);
}
.teaching-card:hover .card-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, .25), rgba(255, 153, 51, .2));
  box-shadow: 0 0 25px rgba(212, 175, 55, .15);
}
.teaching-card:hover::before {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, .1), transparent 70%);
}
.teaching-card.featured-card {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(90, 62, 133, .25), rgba(11, 28, 63, .8));
  border-color: rgba(90, 62, 133, .2);
}
.teaching-card.featured-card:hover {
  border-color: rgba(90, 62, 133, .4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .3), 0 0 30px rgba(90, 62, 133, .1);
}

/* ═══ BHAKTI JOURNEY TIMELINE — Animated Path ═══ */
.journey-path { position: relative; padding: 3rem 0; }
.journey-path::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(212, 175, 55, .3) 10%,
    rgba(212, 175, 55, .3) 90%,
    transparent);
  transform: translateX(-50%);
}
.journey-node {
  display: flex; width: 50%;
  padding: 0 0 4rem;
  position: relative;
}
.journey-node:nth-child(odd) { padding-right: 4rem; justify-content: flex-end; }
.journey-node:nth-child(even) { align-self: flex-end; margin-left: 50%; padding-left: 4rem; }
.journey-node .node-dot {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 2px solid var(--gold);
  z-index: 2;
  box-shadow: 0 0 20px rgba(212, 175, 55, .2);
}
.journey-node:nth-child(odd) .node-dot { right: -9px; top: 0; }
.journey-node:nth-child(even) .node-dot { left: -9px; top: 0; }
.journey-node .node-content {
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  max-width: 100%;
}
.journey-node .node-content:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(212, 175, 55, .15);
  box-shadow: var(--shadow-divine);
  transform: translateY(-4px);
}
.node-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--navy-deep);
  padding: 4px 18px; border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: .75rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* ═══ STATS — Glowing Counters ═══ */
.stats-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-orb {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  position: relative;
}
.stat-orb::before {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .08), transparent 70%);
  transition: var(--transition-slow);
}
.stat-orb:hover::before { width: 150px; height: 150px; }
.stat-orb:hover {
  border-color: rgba(212, 175, 55, .15);
  box-shadow: 0 0 40px rgba(212, 175, 55, .06);
}
.stat-orb h3 {
  font-size: 3rem;
  font-family: 'Cinzel Decorative', serif;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-orb p {
  font-family: 'Inter', sans-serif;
  font-size: .8rem; letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(248, 245, 233, .45);
  margin-top: .5rem;
}

/* ═══ MANTRA EXPERIENCE — Immersive ═══ */
.mantra-experience {
  position: relative; padding: 10rem 0;
  text-align: center;
  overflow: hidden;
}
.mantra-experience .mantra-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(90, 62, 133, .2), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(212, 175, 55, .08), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 153, 51, .06), transparent 50%);
}
.mantra-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 4px;
  line-height: 2.5;
  opacity: .8;
  text-shadow: 0 0 40px rgba(212, 175, 55, .2);
}

/* ═══ GALLERY — Floating Visual Grid ═══ */
.gallery-float {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.2rem;
}
.gallery-float-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  transition: var(--transition);
}
.gallery-float-item:nth-child(1) { grid-row: span 2; }
.gallery-float-item:nth-child(4) { grid-column: span 2; }
.gallery-float-item img {
  width: 100%; height: 100%;
  object-fit: contain; transition: transform 1s ease;
}
.gallery-float-item:hover img { transform: scale(1.06); }
.gallery-float-item .gallery-glass {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(6, 14, 31, .9), transparent);
  transform: translateY(100%);
  transition: var(--transition);
}
.gallery-float-item:hover .gallery-glass { transform: translateY(0); }
.gallery-float-item .gallery-glass p {
  font-family: 'Inter', sans-serif;
  font-size: .85rem; color: var(--cream);
}
.gallery-float-item::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(212, 175, 55, .08);
  border-radius: var(--radius-lg);
  pointer-events: none;
  transition: var(--transition);
}
.gallery-float-item:hover::after {
  border-color: rgba(212, 175, 55, .25);
  box-shadow: inset 0 0 30px rgba(212, 175, 55, .05);
}

/* ═══ LIGHTBOX ═══ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(6, 14, 31, .97);
  z-index: 2000;
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .5s;
  backdrop-filter: blur(10px);
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img {
  max-width: 90%; max-height: 85vh;
  object-fit: contain; border-radius: var(--radius);
}
.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  color: var(--gold); font-size: 1.5rem; cursor: pointer;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(212, 175, 55, .15);
  transition: var(--transition);
}
.lightbox-close:hover {
  background: var(--saffron);
  color: var(--navy-deep);
  border-color: var(--saffron);
}

/* ═══ CONTACT FORM — Glass ═══ */
.contact-glass {
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 3rem;
}
.form-group { margin-bottom: 1.8rem; }
.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .8rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(248, 245, 233, .5);
  margin-bottom: .6rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 16px 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: rgba(212, 175, 55, .4);
  box-shadow: 0 0 20px rgba(212, 175, 55, .08);
  background: rgba(255, 255, 255, .06);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(248, 245, 233, .25);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy); color: var(--cream); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 16px 38px;
  border-radius: 60px;
  font-family: 'Inter', sans-serif;
  font-weight: 500; font-size: .85rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: var(--transition);
  border: none; position: relative; overflow: hidden;
}
.btn-glow {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 4px 25px rgba(212, 175, 55, .25);
}
.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(212, 175, 55, .4);
  color: var(--navy-deep);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(248, 245, 233, .2);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, .06);
  transform: translateY(-3px);
}

/* ═══ PULL QUOTE ═══ */
.divine-quote {
  position: relative;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  border-left: 3px solid rgba(212, 175, 55, .3);
  background: rgba(212, 175, 55, .03);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(248, 245, 233, .7);
}

/* ═══ ACCORDION ═══ */
.accordion-item {
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
  background: rgba(255, 255, 255, .02);
}
.accordion-header {
  padding: 1.3rem 1.8rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--cream);
  transition: var(--transition);
}
.accordion-header:hover { background: rgba(255, 255, 255, .03); }
.accordion-header .icon {
  font-size: 1.3rem; color: var(--gold);
  transition: transform .4s;
}
.accordion-item.active .accordion-header .icon { transform: rotate(45deg); }
.accordion-item.active .accordion-header {
  background: rgba(212, 175, 55, .06);
  color: var(--gold);
}
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .6s ease;
  padding: 0 1.8rem;
}
.accordion-item.active .accordion-body {
  max-height: 2000px; padding: 1.5rem 1.8rem;
}

/* ═══ VIDEO EMBED ═══ */
.video-vessel {
  position: relative;
  max-width: 950px; margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .12);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .4);
  aspect-ratio: 16/9;
}
.video-vessel iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

/* ═══ FOOTER — Minimal Dark ═══ */
.footer {
  position: relative;
  background: var(--navy-deep);
  padding: 5rem 0 0;
  border-top: 1px solid rgba(212, 175, 55, .08);
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.footer h4 {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold); font-size: 1rem;
  margin-bottom: 1.2rem; font-weight: 400;
}
.footer p, .footer a {
  color: rgba(248, 245, 233, .45);
  font-family: 'Inter', sans-serif;
  font-size: .85rem; line-height: 2;
}
.footer a:hover { color: var(--saffron); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; padding: 1.5rem 0;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(248, 245, 233, .3);
}
.social-icons { display: flex; gap: .8rem; }
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(248, 245, 233, .5);
  transition: var(--transition);
}
.social-icons a:hover {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-color: var(--saffron);
  color: var(--navy-deep);
}

/* ═══ BACK TO TOP ═══ */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: rgba(18, 38, 82, .8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, .2);
  color: var(--gold); border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  z-index: 999; transition: var(--transition);
}
.back-to-top.show { display: flex; }
.back-to-top:hover {
  background: var(--saffron); color: var(--navy-deep);
  border-color: var(--saffron);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 153, 51, .3);
}

/* ═══ GATE PAGE ═══ */
.gate-portal {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--navy-deep);
}
.gate-portal .gate-bg {
  position: absolute; inset: 0;
}
.gate-portal .gate-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(.2) saturate(.5);
}
.gate-portal .gate-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(90, 62, 133, .25), transparent 55%),
    radial-gradient(ellipse at 50% 60%, rgba(212, 175, 55, .08), transparent 50%);
}
.gate-content {
  position: relative; z-index: 3;
  text-align: center; padding: 3rem;
  max-width: 520px; width: 90%;
  transition: all .8s cubic-bezier(.23, 1, .32, 1);
}
.gate-content h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.gate-divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 1.5rem;
}
.gate-input-wrap { position: relative; margin-bottom: 1rem; }
.gate-input-wrap input {
  width: 100%; padding: 18px 24px;
  border: 1px solid rgba(212, 175, 55, .2);
  border-radius: 60px;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  color: var(--cream);
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  text-align: center; letter-spacing: 6px;
  transition: var(--transition);
}
.gate-input-wrap input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, .5);
  box-shadow: 0 0 30px rgba(212, 175, 55, .1);
}
.gate-input-wrap input::placeholder {
  color: rgba(248, 245, 233, .2);
  letter-spacing: 3px;
}
.gate-error {
  color: #ff6b6b; font-size: .85rem;
  margin-top: .8rem; opacity: 0;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.gate-error.show { opacity: 1; animation: shake .5s ease; }
.gate-hint {
  color: rgba(248, 245, 233, .2);
  font-size: .75rem;
  font-family: 'Inter', sans-serif;
  margin-top: 1.5rem; letter-spacing: 1px;
}

/* ═══ MASONRY ═══ */
.masonry-flow { columns: 2; column-gap: 2rem; }
.masonry-item {
  break-inside: avoid; margin-bottom: 2rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.masonry-item:hover {
  border-color: rgba(212, 175, 55, .15);
  box-shadow: var(--shadow-divine);
  transform: translateY(-4px);
}
.masonry-item img { width: 100%; object-fit: contain; }
.masonry-body { padding: 2rem; }
.masonry-body h3 { margin-bottom: .8rem; font-size: 1.2rem; }

/* ═══ AUDIO TOGGLE ═══ */
.audio-toggle {
  position: fixed; bottom: 2rem; left: 2rem;
  width: 48px; height: 48px;
  background: rgba(18, 38, 82, .8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, .2);
  color: var(--gold); border-radius: 50%;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 999; transition: var(--transition);
}
.audio-toggle:hover {
  background: rgba(212, 175, 55, .15);
  border-color: rgba(212, 175, 55, .4);
}
.audio-toggle.playing {
  animation: pulseGlow 2s ease infinite;
}

/* ═══ KEYFRAMES ═══ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  50% { transform: translateX(8px); }
  75% { transform: translateX(-4px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, .1); }
  50% { box-shadow: 0 0 25px rgba(212, 175, 55, .3); }
}

/* ═══ SCROLL ANIMATIONS ═══ */
.reveal {
  opacity: 0; transform: translateY(50px);
  transition: all 1s cubic-bezier(.23, 1, .32, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: all 1s cubic-bezier(.23, 1, .32, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: all 1s cubic-bezier(.23, 1, .32, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(.92);
  transition: all 1s cubic-bezier(.23, 1, .32, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ═══ PREFERS REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .mantra-track { animation: none; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .teachings-grid { grid-template-columns: repeat(2, 1fr); }
  .teaching-card.featured-card { grid-column: span 2; }
  .stats-flow { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-split { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-float { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .gallery-float-item:nth-child(1) { grid-row: span 1; }
  .gallery-float-item:nth-child(4) { grid-column: span 1; }
  .journey-path::before { left: 24px; }
  .journey-node, .journey-node:nth-child(even) {
    width: 100%; margin-left: 0;
    padding-left: 60px !important; padding-right: 0 !important;
    justify-content: flex-start;
  }
  .journey-node .node-dot,
  .journey-node:nth-child(even) .node-dot {
    left: 15px !important; right: auto !important;
  }
  .masonry-flow { columns: 1; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 85%; height: 100vh;
    background: rgba(6, 14, 31, .98);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center;
    padding: 3rem;
    transition: var(--transition);
    border-left: 1px solid rgba(212, 175, 55, .1);
  }
  .nav-menu.active { right: 0; }
  .hamburger { display: flex; }
  .navbar { padding: .8rem 1.5rem; }
  .teachings-grid { grid-template-columns: 1fr; }
  .teaching-card.featured-card { grid-column: span 1; }
  .stats-flow { grid-template-columns: 1fr 1fr; }
  .journey-section { padding: 5rem 0; }
  .gallery-float { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-portal .hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
}

@media (max-width: 480px) {
  .stats-flow { grid-template-columns: 1fr; }
  .gallery-float { grid-template-columns: 1fr; grid-auto-rows: 280px; }
}
