/* =========================================================
   BHAKTI LATA BEEJ — Premium Design System v3
   ========================================================= */

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

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  /* Core Palette */
  --cream:       #F8F4EE;
  --cream-card:  #F2ECDF;
  --parchment:   #EAE1D0;
  --parchment-dk:#D8CCBA;
  --ink:         #1A1510;
  --ink-light:   #3A332C;
  --body-text:   #5C5048;

  /* Accent Colours */
  --gold:        #C5A059;
  --gold-light:  #DDB96A;
  --gold-pale:   rgba(197, 160, 89, 0.12);
  --saffron:     #D45B34;
  --saffron-lt:  #E07050;
  --saffron-glow:rgba(212, 91, 52, 0.18);

  /* Signature Dark (olive-forest) */
  --forest:      #2A3600;
  --forest-mid:  #384800;
  --forest-pale: rgba(42, 54, 0, 0.06);

  --white: #FFFFFF;

  /* Spacing scale */
  --s-xs:  0.5rem;
  --s-sm:  1rem;
  --s-md:  2rem;
  --s-lg:  4rem;
  --s-xl:  6rem;
  --s-2xl: 9rem;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;

  /* Motion */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-std:  cubic-bezier(0.4, 0, 0.2, 1);
  --trans-fast: all 0.3s var(--ease-std);
  --trans-slow: all 0.7s var(--ease-out);

  /* Border radius */
  --r-sm: 3px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-full: 9999px;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  background: var(--cream);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--parchment-dk); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
}

/* =========================================================
   3. TYPOGRAPHY SYSTEM
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--forest-mid);
  letter-spacing: 0.01em;
}

p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body-text);
}

strong { font-weight: 600; }

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.9rem;
}

.eyebrow--light {
  color: rgba(197, 160, 89, 0.9);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--forest-mid);
  margin-bottom: 1.8rem;
}

.section-title--light {
  color: var(--cream);
}

.section-header.centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-lg);
}

/* =========================================================
   4. LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-md);
}

section {
  padding: var(--s-lg) 0;
  position: relative;
}

/* =========================================================
   5. BUTTONS
   ========================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.72rem 1.4rem;
  background: #C34A2C;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(195, 74, 44, 0.25);
  transition: var(--trans-slow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(212, 91, 52, 0.38), 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.72rem 1.4rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: #2A3600;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  transition: var(--trans-slow);
}

.btn-ghost:hover {
  border-color: var(--forest-mid);
  background: var(--forest-pale);
  transform: translateY(-3px);
}

.btn-ghost--light {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
}

.btn-ghost--light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.55rem 1.35rem;
  background: rgba(197, 160, 89, 0.12);
  color: var(--ink-light) !important;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  border-radius: 50px;
  border: 1.5px solid var(--gold);
  transition: var(--trans-fast);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn-nav svg {
  flex-shrink: 0;
  fill: currentColor;
  display: block;
}

.btn-nav:hover {
  background: var(--gold);
  color: var(--white) !important;
  border-color: var(--gold);
}

/* =========================================================
   6. HEADER / NAVIGATION
   ========================================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(248, 244, 238, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.18);
  transition: var(--trans-slow);
}

header.scrolled {
  background: rgba(248, 244, 238, 0.97);
  box-shadow: 0 4px 32px rgba(26, 21, 16, 0.06);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--s-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.header-brand-banner {
  height: 54px;
  width: auto;
  max-width: 370px;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}

.logo-area:hover .header-brand-banner {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-item a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-light);
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.25s;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.9rem;
  right: 0.9rem;
  height: 1.5px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-item a:hover,
.nav-item a:focus {
  color: var(--saffron);
}

.nav-item a:hover::after {
  transform: scaleX(1);
}

.btn-nav::after { display: none !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-light);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   7. HERO SECTION
   ========================================================= */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  max-height: 940px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 72px;
  padding-bottom: 24px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #f7f3ed;
  background-image: 
    linear-gradient(
      to right,
      rgba(255, 252, 247, 0.88) 0%,
      rgba(255, 252, 247, 0.82) 36%,
      rgba(255, 252, 247, 0.40) 58%,
      rgba(255, 252, 247, 0.05) 80%,
      transparent 100%
    ),
    url('assets/hero_bg.jpg');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

#canvas-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Sacred geometry decorative */
.hero-deco {
  display: none;
}

.deco-circle {
  position: absolute;
  border: 1px solid rgba(197, 160, 89, 0.18);
  border-radius: 50%;
}

.deco-c1 {
  width: 600px;
  height: 600px;
  top: 50%;
  right: -150px;
  transform: translateY(-50%);
  animation: deco-spin 60s linear infinite;
}

.deco-c2 {
  width: 400px;
  height: 400px;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  animation: deco-spin 45s linear infinite reverse;
  border-color: rgba(212, 91, 52, 0.1);
}

.deco-petal {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  right: 150px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(197, 160, 89, 0.12);
  border-radius: 50% 0;
  animation: deco-spin 30s linear infinite;
}

@keyframes deco-spin {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 0 var(--s-md);
  margin-left: clamp(1.5rem, 5.5%, 80px);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
  animation: hero-enter 1.1s var(--ease-out) 0.2s forwards;
}

@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--body-text);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(1.85rem, 3.1vw, 3.1rem);
  font-weight: 400;
  line-height: 1.12;
  color: #1a1510;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.hero-line-1 {
  display: block;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}

.hero-line-2 {
  display: block;
  color: #C34A2C;
  font-style: italic;
  font-size: 0.92em;
  font-weight: 400;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  white-space: nowrap;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  color: #3C3730;
  max-width: 580px;
  margin-bottom: 1.15rem;
  line-height: 1.55;
  font-weight: 400;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--body-text);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0.55;
  animation: hero-enter 1.2s var(--ease-out) 1.5s both;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 2px;
  height: 6px;
  background: var(--saffron);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll-anim 1.8s ease-in-out infinite;
}

@keyframes scroll-anim {
  0%   { top: 6px; opacity: 1; }
  60%  { top: 17px; opacity: 0; }
  100% { top: 6px; opacity: 1; }
}

/* =========================================================
   8. WHY BHAKTI LATA BEEJ — APPROACH COMPARISON
   ========================================================= */
#difference {
  background: var(--cream);
}

.approach-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: var(--s-lg);
  position: relative;
}

.compare-col {
  padding: 3rem 3.5rem;
}

.compare-col--traditional {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--r-md) 0 0 var(--r-md);
}

.compare-col--blb {
  background: linear-gradient(160deg, var(--cream-card), var(--white));
  border: 1px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-shadow: 0 16px 48px rgba(197, 160, 89, 0.1);
}

.compare-col-label {
  margin-bottom: 2.5rem;
}

.compare-badge {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: var(--r-full);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(92, 80, 72, 0.08);
  color: var(--body-text);
  margin-bottom: 0.7rem;
}

.compare-badge--premium {
  background: rgba(212, 91, 52, 0.1);
  color: var(--saffron);
  border: 1px solid rgba(212, 91, 52, 0.2);
}

.compare-col-label h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--body-text);
}

.compare-col--blb .compare-col-label h3 {
  color: var(--forest-mid);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.compare-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.compare-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.compare-item--no .compare-icon {
  background: rgba(92, 80, 72, 0.07);
  color: var(--body-text);
}

.compare-item--yes .compare-icon {
  background: var(--saffron);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(212, 91, 52, 0.25);
}

.compare-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest-mid);
  margin-bottom: 0.3rem;
}

.compare-item--no strong {
  color: var(--body-text);
}

.compare-item p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* VS Divider */
.compare-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  position: relative;
}

.divider-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--parchment-dk), transparent);
}

.divider-vs {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest-mid);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.15);
}

/* Transformation Pathway */
.transformation-path {
  margin-top: var(--s-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--cream-card);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--r-md);
  padding: 2.5rem 3rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.path-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
}

.path-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.path-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--body-text);
}

.path-arrow {
  color: var(--parchment-dk);
  font-size: 1.4rem;
  flex-shrink: 0;
  padding: 0 0.3rem;
}

.path-step--highlight {
  background: var(--forest-mid);
  border-radius: var(--r-sm);
}

.path-step--highlight .path-num,
.path-step--highlight .path-label {
  color: var(--white);
}

.path-step--highlight .path-label {
  color: rgba(197, 160, 89, 0.9);
}

/* =========================================================
   9. SCREEN-TO-SOUL TRANSITION BAND
   ========================================================= */
.screen-to-soul {
  background: var(--forest-mid);
  padding: 4rem 0;
  overflow: hidden;
}

.sts-text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-align: center;
  color: rgba(248, 244, 238, 0.6);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sts-text em {
  font-style: italic;
  font-weight: 300;
}

.sts-text span {
  color: var(--gold-light);
  font-weight: 500;
  font-size: 1.1em;
}

/* =========================================================
   10. JAPA SANGA SECTION
   ========================================================= */
#japa-sanga {
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #2D3A04 0%, var(--forest) 100%);
  overflow: hidden;
  color: var(--white);
}

.japa-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.japa-intro {
  font-size: 1.1rem;
  color: rgba(248, 244, 238, 0.75);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.japa-intro strong {
  color: var(--gold-light);
}

.japa-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.japa-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.japa-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--trans-fast);
}

.japa-feature-item:hover .japa-feature-icon {
  background: rgba(212, 91, 52, 0.2);
  border-color: rgba(212, 91, 52, 0.4);
}

.japa-feature-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-light);
}

.japa-feature-text h4 {
  font-size: 1rem;
  font-family: var(--font-display);
  color: rgba(248, 244, 238, 0.95);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.japa-feature-text p {
  font-size: 0.85rem;
  color: rgba(248, 244, 238, 0.55);
  line-height: 1.55;
}

/* Phone Mockup */
.japa-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
  position: relative;
}

.japa-glow-back {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 91, 52, 0.15) 0%, transparent 70%);
  z-index: 0;
  animation: pulse-glow 5s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0%  { transform: scale(0.9); opacity: 0.7; }
  100%{ transform: scale(1.1); opacity: 1; }
}

.phone-mockup-container {
  position: relative;
  z-index: 1;
  width: 290px;
  background: #111;
  border-radius: 44px;
  padding: 12px;
  border: 3px solid #333;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.5),
    0 60px 120px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transform: rotateY(-15deg) rotateX(8deg) rotateZ(3deg);
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease-out);
}

.phone-mockup-container:hover {
  transform: rotateY(-6deg) rotateX(3deg) rotateZ(1deg) translateY(-8px);
}

.phone-notch {
  width: 100px;
  height: 26px;
  background: #111;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--forest);
  aspect-ratio: 9 / 19.5;
  border: 1px solid rgba(0,0,0,0.5);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-home-bar {
  width: 40%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 10px auto 2px;
}

/* =========================================================
   11. TESTIMONIALS SECTION
   ========================================================= */
#testimonials {
  background: var(--cream);
}

.testimonials-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.testimonial-featured {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--r-md);
  padding: 4rem;
  position: relative;
  box-shadow: 0 12px 48px rgba(26, 21, 16, 0.04);
  overflow: hidden;
}

.testimonial-featured::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(197, 160, 89, 0.08);
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  line-height: 1;
  pointer-events: none;
}

.testimonials-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--cream-card);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--r-md);
  padding: 3rem;
  position: relative;
  transition: var(--trans-slow);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26, 21, 16, 0.06);
  border-color: rgba(197, 160, 89, 0.3);
}

.t-quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-light);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-featured .t-quote {
  font-size: 1.2rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  padding-top: 1.5rem;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-mid), var(--forest));
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
}

.t-author-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest-mid);
  font-weight: 500;
}

.t-author-info span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--body-text);
  letter-spacing: 0.08em;
}

/* =========================================================
   12. FOUNDERS SECTION
   ========================================================= */
#founders {
  background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 50%, var(--cream) 100%);
}

.founder-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 0;
}

.founder-profile--rtl {
  grid-template-columns: 1fr 320px;
}

.founder-profile--rtl .founder-portrait {
  order: 2;
}

.founder-profile--rtl .founder-content {
  order: 1;
}

.founder-portrait {
  position: relative;
}

.founder-img-frame {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow:
    0 20px 60px rgba(26, 21, 16, 0.1),
    0 0 0 1px rgba(197, 160, 89, 0.2);
  transition: var(--trans-slow);
}

.founder-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 54, 0, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.founder-profile:hover .founder-img-frame {
  transform: translateY(-6px);
  box-shadow:
    0 28px 70px rgba(26, 21, 16, 0.14),
    0 0 0 1px rgba(197, 160, 89, 0.3);
}

.founder-img-frame img {
  width: 100%;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.founder-profile:hover .founder-img-frame img {
  transform: scale(1.04);
}

.founder-content {
  padding-top: 0.5rem;
}

.founder-name {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--forest-mid);
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.founder-subtitle {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--saffron);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.founder-philosophy {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-light);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.founder-credentials li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.5;
}

.cred-dot {
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Founder separator */
.founder-separator {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 4rem 0;
}

.sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(197, 160, 89, 0.4), transparent);
}

.sep-ornament {
  color: var(--gold);
  font-size: 0.9rem;
}

/* =========================================================
   13. CTA SECTION
   ========================================================= */
#cta {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--s-2xl) var(--s-md);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 21, 16, 0.82) 0%, rgba(42, 54, 0, 0.9) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(248, 244, 238, 0.8);
  margin-bottom: 3rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}


.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 440px;
  margin: 0 auto;
}

.cta-actions .btn-primary,
.cta-actions .btn-ghost {
  width: 100%;
  max-width: 420px;
  text-align: center;
  justify-content: center;
  display: inline-flex;
  padding: 0.9rem 1.8rem;
  box-sizing: border-box;
}


.cta-content .btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(197, 160, 89, 0.3);
}

.cta-content .btn-primary:hover {
  box-shadow: 0 14px 36px rgba(197, 160, 89, 0.45);
}

/* =========================================================
   14. FOOTER
   ========================================================= */
body > footer {
  background: #2A3600;
  color: rgba(255, 255, 255, 0.65);
  padding: 6rem 0 3rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
}

.footer-logo-icon {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.8rem;
}

.footer-brand-text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.f-brand-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--cream);
  font-weight: 500;
  line-height: 1.2;
}

.f-brand-sub {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-mission {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.75;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s, padding-left 0.25s;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-contact-item .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 600;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  transition: color 0.25s;
  word-break: break-all;
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: var(--trans-fast);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 160, 89, 0.08);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(197, 160, 89, 0.45);
  font-size: 0.9rem;
}

/* =========================================================
   15. SCROLL REVEAL ANIMATIONS
   ========================================================= */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: transform, opacity;
}

.reveal-up    { transform: translateY(35px); }
.reveal-left  { transform: translateX(-35px); }
.reveal-right { transform: translateX(35px); }

.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: translate(0);
}

/* =========================================================
   16. RESPONSIVE — 1100px
   ========================================================= */
@media (max-width: 1100px) {
  .japa-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .japa-visual {
    order: -1;
  }

  .approach-comparison {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .compare-col--traditional {
    border-radius: var(--r-md) var(--r-md) 0 0;
  }

  .compare-col--blb {
    border-radius: 0 0 var(--r-md) var(--r-md);
  }

  .compare-divider {
    flex-direction: row;
    padding: 0.5rem 0;
  }

  .compare-divider .divider-line {
    flex: 1;
    width: auto;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--parchment-dk), transparent);
  }

  .transformation-path {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .founder-profile {
    grid-template-columns: 240px 1fr;
    gap: 3rem;
  }

  .founder-profile--rtl {
    grid-template-columns: 1fr 240px;
  }
}

/* =========================================================
   17. RESPONSIVE — 850px
   ========================================================= */
@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .testimonials-pair {
    grid-template-columns: 1fr;
  }

  .japa-features {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   18. RESPONSIVE — 768px
   ========================================================= */
@media (max-width: 768px) {
  section { padding: 4rem 0; }

  .nav-container { height: 64px; }

  .menu-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(248, 244, 238, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    gap: 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 16px 40px rgba(26, 21, 16, 0.08);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-item a {
    padding: 0.9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
  }

  .nav-item:last-child a {
    border-bottom: none;
    margin-top: 1rem;
    text-align: center;
  }

  .hero-content {
    margin-left: 5%;
    padding-right: 5%;
  }

  .hero-deco { display: none; }

  .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }

  .founder-profile,
  .founder-profile--rtl {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .founder-profile--rtl .founder-portrait,
  .founder-profile--rtl .founder-content {
    order: unset;
  }

  .founder-portrait {
    max-width: 280px;
    margin: 0 auto;
  }

  .testimonial-featured {
    padding: 2.5rem 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .compare-col {
    padding: 2.5rem 2rem;
  }
}

/* =========================================================
   19. RESPONSIVE — 480px
   ========================================================= */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 440px;
  margin: 0 auto;
}

.cta-actions .btn-primary,
.cta-actions .btn-ghost {
  width: 100%;
  max-width: 420px;
  text-align: center;
  justify-content: center;
  display: inline-flex;
  padding: 0.9rem 1.8rem;
  box-sizing: border-box;
}


  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .transformation-path {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
  }

  .phone-mockup-container {
    width: 240px;
  }

  .japa-glow-back {
    width: 340px;
    height: 340px;
  }

  .founder-portrait {
    max-width: 240px;
  }

  .sts-text {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
}

/* =========================================================
   20. ADDITIONAL BRANDING & INTERACTIVE FEATURES STYLES
   ========================================================= */

/* Logo Nav Header */
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-icon {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.header-brand-banner {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Hero Badge & Stats */
.hero-brand-badge { display: none; }

.badge-logo-img {
  height: 18px;
  width: 18px;
  object-fit: contain;
}

.btn-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: #D32F2F;
  background: rgba(255, 240, 240, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(220, 50, 50, 0.25);
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  transition: var(--trans-slow);
}

.btn-youtube-link:hover {
  background: rgba(255, 0, 0, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.15);
}

.hero-stats-bar {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1.6rem;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(26, 21, 16, 0.06);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest-mid);
  line-height: 1;
}

.stat-lbl {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--body-text);
  margin-top: 2px;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 26px;
  background: rgba(0, 0, 0, 0.08);
}

/* Difference Section Grid */
.section-lead-quote {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink-light);
  font-style: italic;
  max-width: 860px;
  margin: 1.2rem auto 0;
}

.section-lead-quote.light-text {
  color: rgba(248, 244, 238, 0.9);
}

.difference-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.diff-card {
  background: linear-gradient(145deg, var(--white) 0%, var(--cream-card) 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 24px;
  padding: 2.8rem 2.2rem;
  box-shadow: 0 16px 40px rgba(197, 160, 89, 0.08);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  opacity: 0;
  transition: opacity 0.4s;
}

.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(212, 91, 52, 0.15);
  border-color: var(--gold);
}

.diff-card:hover::before {
  opacity: 1;
}

.diff-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(212, 91, 52, 0.08);
  color: var(--saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.diff-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest-mid);
  margin-bottom: 0.7rem;
}

.diff-card p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.65;
}

/* Together Vision Showcase */
.together-showcase-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
  background: linear-gradient(135deg, #142416 0%, #2A3600 100%);
  border-radius: 28px;
  padding: 3.8rem;
  color: var(--cream);
  box-shadow: 0 24px 60px rgba(20, 36, 22, 0.3);
  position: relative;
  overflow: hidden;
}

.together-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.together-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.together-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(197,160,89,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.together-content .section-title {
  color: var(--cream);
  margin-top: 0.5rem;
}

.together-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(248, 244, 238, 0.85);
  margin: 1.4rem 0 2rem;
  line-height: 1.75;
}

.together-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tf-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--cream);
}

.tf-bullet {
  color: var(--gold);
  font-size: 1.1rem;
}

/* Japa Playstore Button & Web Counter */
.japa-cta-box {
  margin-top: 2.2rem;
}

.btn-playstore-large {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #C5A059 0%, #D45B34 100%);
  color: var(--white);
  padding: 1.1rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-ui);
  box-shadow: 0 14px 35px rgba(212, 91, 52, 0.35);
  transition: all 0.35s ease;
}

.btn-playstore-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(212, 91, 52, 0.5);
}

.playstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ps-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  opacity: 0.95;
  text-transform: uppercase;
}

.ps-main {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Live Web Japa Counter Demo */
.web-japa-demo-card {
  margin-top: 4.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 28px;
  padding: 3.2rem;
  color: var(--cream);
}

.demo-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.demo-header h3 {
  color: var(--cream);
  font-size: 2.2rem;
  margin-top: 0.5rem;
}

.demo-header p {
  color: rgba(248, 244, 238, 0.8);
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

.demo-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.2);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
}

.japa-counter-widget {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.bead-circle-container {
  position: relative;
  width: 290px;
  height: 290px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bead-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-bead {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.3);
  transform: translate(-50%, -50%);
  transition: all 0.25s ease;
}

.mini-bead.active-bead {
  background: var(--saffron);
  box-shadow: 0 0 16px var(--saffron);
  transform: translate(-50%, -50%) scale(1.8);
  z-index: 5;
}

.mini-bead.completed-bead {
  background: var(--gold);
}

.center-bead-info {
  text-align: center;
  z-index: 2;
}

.current-bead-number {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.bead-total {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(248, 244, 238, 0.7);
}

.mantra-text-display {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(197, 160, 89, 0.9);
  margin-top: 10px;
  max-width: 180px;
  line-height: 1.4;
}

.counter-controls {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.rounds-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 1.1rem 1.6rem;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(248, 244, 238, 0.85);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.btn-count-bead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #D45B34 0%, #C5A059 100%);
  color: var(--white);
  padding: 1.2rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 12px 30px rgba(212, 91, 52, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-count-bead:active {
  transform: scale(0.97);
}

.counter-options {
  display: flex;
  gap: 1rem;
}

.btn-option {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--cream);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  transition: background 0.3s ease;
  text-align: center;
}

.btn-option:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Courses Grid & Card Styling */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.2rem;
  margin-top: 3.5rem;
}

.course-card {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 22px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(26, 21, 16, 0.03);
  transition: all 0.35s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(212, 91, 52, 0.1);
}

.course-card--featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F0 100%);
}

.course-badge {
  display: inline-block;
  background: rgba(42, 54, 0, 0.08);
  color: var(--forest-mid);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1.3rem;
  align-self: flex-start;
}

.course-badge--gold {
  background: rgba(197, 160, 89, 0.2);
  color: #967026;
}

.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--forest-mid);
  margin-bottom: 0.8rem;
}

.course-desc {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--body-text);
  margin-bottom: 1.4rem;
  line-height: 1.65;
}

.course-outcomes {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.course-outcomes li {
  font-family: var(--font-ui);
  font-size: 0.86rem;
  color: var(--ink-light);
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(197, 160, 89, 0.18);
  padding-top: 1.3rem;
}

.status-coming-soon {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--saffron);
  letter-spacing: 0.05em;
}

.btn-notify-course {
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  color: var(--forest-mid);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-notify-course:hover {
  background: var(--gold);
  color: var(--white);
}

.course-preregister-banner {
  margin-top: 4rem;
  background: linear-gradient(135deg, #F8F4EE 0%, #EAE1D0 100%);
  border: 1px solid var(--gold);
  border-radius: 24px;
  padding: 2.8rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.banner-text h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--forest-mid);
}

.banner-text p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--body-text);
  margin-top: 4px;
}

/* YouTube Hub Card */
.youtube-hub-card {
  background: linear-gradient(135deg, #1A1510 0%, #2A1D15 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 28px;
  padding: 4rem;
  color: var(--cream);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.yt-header h2 {
  color: var(--cream);
  font-size: 2.6rem;
  margin: 0.8rem 0;
}

.yt-header p {
  color: rgba(248, 244, 238, 0.85);
  font-family: var(--font-body);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

.btn-youtube-banner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #FF0000;
  color: var(--white);
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 12px 32px rgba(255, 0, 0, 0.35);
  transition: all 0.35s ease;
}

.btn-youtube-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(255, 0, 0, 0.5);
}

/* Course Registration Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 16, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 26px;
  width: 90%;
  max-width: 520px;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.92);
  transition: transform 0.35s ease;
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: var(--body-text);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.modal-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--forest-mid);
  margin: 0.4rem 0;
}

.modal-sub {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--body-text);
  margin-bottom: 1.8rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-light);
}

.form-group input,
.form-group select {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--parchment-dk);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  background: var(--cream);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--saffron);
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.modal-success-msg {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(42, 54, 0, 0.1);
  color: var(--forest-mid);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.modal-success-msg h4 {
  font-size: 1.8rem;
  color: var(--forest-mid);
  margin-bottom: 0.5rem;
}

.modal-success-msg p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

/* Responsive adjust for new elements */
@media (max-width: 900px) {
  .together-showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 2rem;
  }

  .japa-counter-widget {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .course-preregister-banner {
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Spiritual Technology Section High Contrast Readability Improvements */
.japa-app-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(212, 91, 52, 0.15);
  border: 1px solid rgba(212, 91, 52, 0.3);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.japa-app-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--gold-light) !important;
  margin-bottom: 1rem;
  font-weight: 400;
}

.japa-app-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #F8F4EE !important;
  margin-bottom: 1.8rem;
  opacity: 0.95;
}

.japa-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

.j-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: #EAE1D0;
}

.j-highlight .jh-icon {
  color: var(--saffron);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .hero-line-1, .hero-line-2 {
    white-space: normal;
  }
}



/* Social Buttons in Hero */
.btn-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: #C13584;
  background: rgba(255, 240, 248, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(193, 53, 132, 0.25);
  padding: 0.72rem 1.2rem;
  border-radius: 8px;
  transition: var(--trans-slow);
}
.btn-insta-link:hover {
  background: rgba(193, 53, 132, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(193, 53, 132, 0.15);
}

.btn-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: #128C7E;
  background: rgba(235, 248, 242, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(18, 140, 126, 0.25);
  padding: 0.72rem 1.2rem;
  border-radius: 8px;
  transition: var(--trans-slow);
}
.btn-whatsapp-link:hover {
  background: rgba(18, 140, 126, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 140, 126, 0.15);
}

/* Our Vision full width green background card */
.together-showcase-wrapper {
  display: block;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  background: linear-gradient(135deg, #142416 0%, #2A3600 100%);
  border-radius: 24px;
  padding: 2.8rem 3.2rem;
  color: var(--cream);
  box-shadow: 0 20px 50px rgba(20, 36, 22, 0.25);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.together-content {
  max-width: 920px;
  margin: 0 auto;
}

.together-desc {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: rgba(248, 244, 238, 0.9);
  margin: 1rem auto 1.8rem;
  line-height: 1.65;
  max-width: 820px;
}

.together-features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  text-align: left;
}

.tf-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  font-size: 0.92rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

@media (max-width: 840px) {
  .together-features-list {
    grid-template-columns: 1fr;
  }
}

/* Social Hub in #youtube */
.yt-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.btn-social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.1rem 1.5rem;
  border-radius: 14px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: var(--trans-slow);
}

.btn-social-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn-social-yt {
  border-color: rgba(255, 0, 0, 0.35);
  color: #ff4d4d;
}
.btn-social-yt .sc-main { color: #ffffff; }

.btn-social-ig {
  border-color: rgba(193, 53, 132, 0.35);
  color: #f77737;
}
.btn-social-ig .sc-main { color: #ffffff; }

.btn-social-wa {
  border-color: rgba(37, 211, 102, 0.35);
  color: #25D366;
}
.btn-social-wa .sc-main { color: #ffffff; }

.sc-info {
  display: flex;
  flex-direction: column;
}

.sc-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.sc-main {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 2px;
}


/* Compact Apps Section */
#japa-sanga {
  padding: 3.5rem 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #2D3A04 0%, var(--forest) 100%);
  overflow: hidden;
  color: var(--white);
}

#japa-sanga .section-header {
  margin-bottom: 2rem;
}

.japa-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.japa-app-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  color: var(--gold-light) !important;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.japa-app-desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: #F8F4EE !important;
  margin-bottom: 1.2rem;
  opacity: 0.92;
  max-width: 520px;
}

.japa-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.j-highlight {
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.japa-cta-box {
  margin-top: 1.4rem;
}

.btn-playstore-large {
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  gap: 12px;
}

.phone-mockup-container {
  position: relative;
  z-index: 1;
  width: 220px;
  background: #111;
  border-radius: 36px;
  padding: 9px;
  border: 2.5px solid #333;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 20px 50px rgba(0,0,0,0.5),
    0 40px 80px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transform: rotateY(-12deg) rotateX(6deg) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease-out);
}

.phone-notch {
  width: 75px;
  height: 20px;
  background: #111;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--forest);
  aspect-ratio: 9 / 19.5;
  border: 1px solid rgba(0,0,0,0.5);
}

.japa-glow-back {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 91, 52, 0.15) 0%, transparent 70%);
  z-index: 0;
  animation: pulse-glow 5s ease-in-out infinite alternate;
}






/* =========================================================
   CTA BUTTONS REFINED
   ========================================================= */
#cta .cta-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  width: 100% !important;
  margin: 0 auto !important;
}

#cta #cta-japa {
  width: auto !important;
  max-width: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.85rem 2.2rem !important;
  background: linear-gradient(135deg, #D4A359 0%, #C59B4B 100%) !important;
  color: #1A1510 !important;
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;
  transition: all 0.3s ease !important;
}

#cta #cta-japa:hover {
  background: linear-gradient(135deg, #e0b065 0%, #d4a754 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(197, 155, 75, 0.45) !important;
}

#cta #cta-email {
  width: auto !important;
  max-width: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.85rem 2.2rem !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #181512 !important;
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
  transition: all 0.3s ease !important;
}

#cta #cta-email:hover {
  background: #ffffff !important;
  color: #C34A2C !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}










/* =========================================================
   FOOTER & LEGAL LINKS REFINED
   ========================================================= */
footer[role="contentinfo"] {
  background: #2A3600;
  color: var(--cream);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(197, 160, 89, 0.25);
  padding-top: 2rem;
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(248, 244, 238, 0.92);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(248, 244, 238, 0.92);
  margin-bottom: 0;
}

.legal-sep {
  color: #C5A059;
  font-weight: bold;
  padding: 0 2px;
}

.legal-link {
  color: #E2C78A;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--trans-fast);
}

.legal-link:hover {
  color: #FFFFFF;
  text-decoration-color: #FFFFFF;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: #E2C78A;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/* =========================================================
   STANDALONE LEGAL PAGES STYLING
   ========================================================= */
.legal-standalone-body {
  background-color: var(--cream);
  color: var(--ink);
  min-height: 100vh;
}

.legal-hero-section {
  padding-top: 110px;
  padding-bottom: 25px;
  background: linear-gradient(to bottom, rgba(240, 228, 208, 0.4), var(--cream));
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.legal-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-tab-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-mid);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  transition: var(--trans-fast);
  text-decoration: none;
}

.legal-tab-link:hover {
  background: var(--white);
  border-color: var(--gold);
  color: var(--saffron);
  transform: translateY(-2px);
}

.legal-tab-link.active {
  background: var(--forest-mid);
  color: var(--cream);
  border-color: var(--forest-mid);
  box-shadow: 0 4px 14px rgba(42, 54, 0, 0.2);
}

.legal-main-content {
  padding: 3.5rem 0 5rem;
}

.legal-document-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 3.5rem 4rem;
  box-shadow: 0 15px 45px rgba(26, 21, 16, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.18);
  font-family: var(--font-body);
  line-height: 1.8;
  color: #2D2721;
}

.legal-document-card .page-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.legal-document-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--forest-mid);
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding-bottom: 0.4rem;
}

.legal-document-card h3 {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: var(--saffron);
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.legal-document-card p {
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
  color: #3C362F;
}

.legal-document-card ul {
  padding-left: 1.8rem;
  margin-bottom: 1.4rem;
}

.legal-document-card li {
  font-size: 1.02rem;
  margin-bottom: 0.6rem;
  color: #3C362F;
}

.legal-document-card a {
  color: var(--saffron);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.legal-document-card a:hover {
  color: var(--forest-mid);
}

@media (max-width: 768px) {
  .legal-document-card {
    padding: 2.2rem 1.8rem;
    border-radius: 14px;
  }
}

/* =========================================================
   MOBILE OPTIMIZATIONS — phone-only (≤768px)
   Desktop layout is NOT touched by anything below.
   ========================================================= */

@media (max-width: 768px) {

  /* ── General section rhythm ── */
  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.1rem;
  }

  /* ── Section headers ── */
  .section-header.centered {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    margin-bottom: 1rem;
  }

  .section-lead-quote {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 0.8rem;
  }

  /* ── Hero ── */
  #hero {
    min-height: 100svh;
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 3rem;
    background-position: 70% center;
  }

  .hero-content {
    margin-left: 0;
    padding: 0 1.1rem;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 0.8rem;
  }

  .hero-line-1,
  .hero-line-2 {
    white-space: normal;
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
  }

  /* Hero actions: stack vertically, full-width */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost,
  .btn-youtube-link,
  .btn-insta-link,
  .btn-whatsapp-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
  }

  /* Hero stats bar: horizontal scroll on small screens */
  .hero-stats-bar {
    gap: 1rem;
    padding: 0.6rem 1.1rem;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 0.8rem;
  }

  .hero-stats-bar::-webkit-scrollbar {
    display: none;
  }

  .stat-num {
    font-size: 1.3rem;
  }

  .stat-lbl {
    font-size: 0.6rem;
    white-space: nowrap;
  }

  /* ── Difference cards ── */
  .difference-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
  }

  .diff-card {
    padding: 1.8rem 1.4rem;
    border-radius: 16px;
  }

  .diff-card h3 {
    font-size: 1.2rem;
  }

  /* ── Vision / Together section ── */
  .together-showcase-wrapper {
    padding: 2rem 1.4rem;
    border-radius: 18px;
    margin-top: 1.5rem;
  }

  .together-desc {
    font-size: 0.95rem;
    margin: 0.8rem 0 1.2rem;
  }

  .together-features-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .tf-item {
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
  }

  /* ── Japa Sanga (App) section ── */
  .japa-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .japa-visual {
    order: -1;
  }

  .japa-app-title {
    font-size: 1.8rem;
  }

  .japa-app-desc {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .japa-highlights {
    gap: 0.55rem;
    margin-bottom: 1.5rem;
  }

  .j-highlight {
    font-size: 0.9rem;
  }

  .btn-playstore-large {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  .phone-mockup-container {
    width: 185px;
  }

  .japa-glow-back {
    width: 260px;
    height: 260px;
  }

  /* ── Courses ── */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
  }

  .course-card {
    padding: 1.8rem 1.4rem;
    border-radius: 16px;
  }

  .course-card h3 {
    font-size: 1.3rem;
  }

  .course-desc {
    font-size: 0.92rem;
  }

  .course-preregister-banner {
    padding: 1.6rem 1.2rem;
    border-radius: 16px;
    margin-top: 2.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .banner-text h3 {
    font-size: 1.35rem;
  }

  /* ── Founders / Facilitators section ── */
  #founders {
    padding: 3rem 0;
  }

  .founder-profile,
  .founder-profile--rtl {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .founder-portrait {
    max-width: 220px;
    margin: 0 auto;
  }

  .founder-name {
    font-size: 1.8rem;
  }

  .founder-credentials li {
    font-size: 0.9rem;
  }

  .founder-separator {
    margin: 2.5rem 0;
  }

  /* ── YouTube / Social hub ── */
  .youtube-hub-card {
    padding: 2rem 1.3rem;
    border-radius: 18px;
  }

  .yt-header h2 {
    font-size: 1.6rem;
    margin: 0.5rem 0;
  }

  .yt-header p {
    font-size: 0.92rem;
  }

  .yt-actions-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .btn-social-card {
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
  }

  /* ── CTA section ── */
  #cta {
    padding: 4rem 1.1rem;
    min-height: auto;
  }

  .cta-content h2 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    margin-bottom: 1rem;
  }

  .cta-content p {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }

  .cta-actions {
    max-width: 100%;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-ghost {
    max-width: 100%;
    font-size: 0.82rem;
    padding: 0.85rem 1rem;
  }

  /* ── Footer ── */
  body > footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .footer-logo-icon {
    height: 52px;
  }

  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-legal-links {
    justify-content: center;
  }

  /* ── Scroll indicator ── */
  .scroll-indicator {
    display: none;
  }

  /* ── Approach comparison ── */
  .compare-col {
    padding: 1.8rem 1.2rem;
  }

  .compare-col-label h3 {
    font-size: 1.3rem;
  }

  /* ── Screen-to-soul band ── */
  .screen-to-soul {
    padding: 2.5rem 1.1rem;
  }

  .sts-text {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
  }

}

/* =========================================================
   MOBILE OPTIMIZATIONS — small phones (≤480px)
   ========================================================= */

@media (max-width: 480px) {

  .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.4rem);
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .hero-stats-bar {
    padding: 0.55rem 0.9rem;
    gap: 0.8rem;
  }

  .stat-num {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
  }

  .diff-card {
    padding: 1.5rem 1.1rem;
  }

  .together-showcase-wrapper {
    padding: 1.6rem 1rem;
  }

  .phone-mockup-container {
    width: 160px;
  }

  .japa-glow-back {
    width: 220px;
    height: 220px;
  }

  .youtube-hub-card {
    padding: 1.6rem 1rem;
  }

  .yt-header h2 {
    font-size: 1.4rem;
  }

  .founder-portrait {
    max-width: 190px;
  }

  .founder-name {
    font-size: 1.55rem;
  }

  .testimonial-featured {
    padding: 1.8rem 1.2rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.1rem;
  }

  .web-japa-demo-card {
    padding: 1.8rem 1rem;
    border-radius: 18px;
  }

  .modal-card {
    padding: 2rem 1.4rem;
    border-radius: 18px;
  }

  .legal-document-card {
    padding: 1.8rem 1.2rem;
    border-radius: 12px;
  }

}

/* =========================================================
   MOBILE CORRECTIONS — phone-only (≤768px)
   Zero desktop changes. All rules wrapped in media query.
   ========================================================= */

@media (max-width: 768px) {

  /* Fix 1: Nav "Socials" link — left-align like all other nav items */
  .nav-item:last-child a {
    text-align: left;
    margin-top: 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
  }

  /* Fix 2: Hero social icon-buttons (YouTube / Instagram / WhatsApp)
     — auto width, left-aligned, NOT stretched full-width */
  .btn-youtube-link,
  .btn-insta-link,
  .btn-whatsapp-link {
    width: auto !important;
    align-self: flex-start;
    max-width: fit-content;
  }

  /* Fix 3: Hero background — show right portion of image on mobile */
  #hero {
    background-position: right center;
  }

  /* Fix 4: Stats bar — no horizontal scroll; wrap items so all 3 show */
  .hero-stats-bar {
    display: flex !important;
    flex-wrap: wrap;
    overflow-x: visible !important;
    width: 100%;
    gap: 0.6rem 0;
    padding: 0.7rem 1rem;
    justify-content: space-between;
    box-sizing: border-box;
  }

  /* Hide the thin vertical dividers — not needed when wrapping */
  .hero-stats-bar .stat-divider {
    display: none;
  }

  /* Each stat takes ~33% so all 3 sit in one row;
     if phone is very narrow they wrap to 2 rows (adds height, no scroll) */
  .hero-stats-bar .stat-item {
    flex: 1 1 28%;
    min-width: 0;
    align-items: flex-start;
  }

  .stat-num {
    font-size: 1.25rem;
    white-space: nowrap;
  }

  .stat-lbl {
    font-size: 0.58rem;
    white-space: normal;
    line-height: 1.3;
    max-width: 90px;
  }

  /* Fix 5: CTA "Email Us" button — add side margins so it doesn't touch edges */
  #cta .cta-actions #cta-email {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    width: calc(100% - 2rem) !important;
    max-width: calc(100% - 2rem) !important;
    box-sizing: border-box !important;
  }

}

/* =========================================================
   EMAIL HERO BUTTON — base style (all screen sizes)
   Matches the look of btn-whatsapp-link / btn-insta-link
   ========================================================= */
.btn-email-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a5276;
  background: rgba(214, 234, 248, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 82, 118, 0.25);
  padding: 0.72rem 1.2rem;
  border-radius: 8px;
  transition: var(--trans-slow);
}

.btn-email-hero-link:hover {
  background: rgba(26, 82, 118, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 82, 118, 0.18);
}

/* =========================================================
   MOBILE FIXES — round 3 (≤768px)
   Desktop completely untouched.
   ========================================================= */

@media (max-width: 768px) {

  /* Fix: Hero background — shift right so the subject/person shows on right */
  #hero {
    background-position: 80% center;
  }

  /* Fix: Hero social buttons — 2×2 grid (YouTube+Instagram | WhatsApp+Email) */
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
  }

  /* Primary (Explore Japa) and ghost (Spiritual Courses) stay full-width */
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 0 0 100%;
    width: 100%;
  }

  /* 4 social buttons: exactly half-width each → 2 per row */
  .btn-youtube-link,
  .btn-insta-link,
  .btn-whatsapp-link,
  .btn-email-hero-link {
    flex: 0 0 calc(50% - 0.25rem);
    width: calc(50% - 0.25rem);
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.7rem 0.6rem;
    box-sizing: border-box;
  }

  /* Fix: CTA email button — pad the CTA content container so buttons
     don't reach screen edges (works regardless of button width value) */
  #cta .cta-content {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    box-sizing: border-box;
    width: 100%;
  }

  /* Also force the email button to respect the padded container */
  #cta #cta-email {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

}

/* =========================================================
   MOBILE FIXES — round 4 (≤768px)
   Correct 2×2 social grid order + override earlier !important width
   Row 1: YouTube | WhatsApp
   Row 2: Instagram | Email Us
   Desktop: untouched (order only inside this media query)
   ========================================================= */

@media (max-width: 768px) {

  /* Force exactly 2-per-row — !important beats earlier round-2 width:auto !important */
  .btn-youtube-link,
  .btn-insta-link,
  .btn-whatsapp-link,
  .btn-email-hero-link {
    flex: 0 0 calc(50% - 0.25rem) !important;
    width: calc(50% - 0.25rem) !important;
    max-width: calc(50% - 0.25rem) !important;
    align-self: stretch !important;
    justify-content: center !important;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.7rem 0.5rem !important;
    box-sizing: border-box !important;
  }

  /* Row 1: YouTube (left) | WhatsApp (right) */
  .btn-youtube-link  { order: 1; }
  .btn-whatsapp-link { order: 2; }

  /* Row 2: Instagram (left) | Email Us (right) */
  .btn-insta-link      { order: 3; }
  .btn-email-hero-link { order: 4; }

}

/* =========================================================
   MOBILE FIXES — round 5 (≤768px)
   1. Founders: content (name/title) BEFORE photo on mobile
   2. CTA email button: text fits inside box (no overflow)
   Desktop: zero changes.
   ========================================================= */

@media (max-width: 768px) {

  /* Founders: show text block first, photo second — for BOTH profiles */
  .founder-profile .founder-content  { order: 1; }
  .founder-profile .founder-portrait { order: 2; }

  /* CTA email button: allow text to wrap so it stays inside the box */
  #cta #cta-email {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 0.72rem !important;
    text-align: center !important;
    line-height: 1.35 !important;
    padding: 0.75rem 1rem !important;
  }

}

/* =========================================================
   MOBILE FIXES — round 6 (≤768px)
   Founders: Heading → Photo → Credentials ordering
   Technique: display:contents dissolves .founder-content wrapper
   so its children participate directly in the flex ordering.
   Desktop: zero visual change.
   ========================================================= */

@media (max-width: 768px) {

  /* Dissolve the wrapper — children flow into .founder-profile's flex context */
  .founder-content {
    display: contents;
  }

  /* .founder-profile becomes a flex column (overrides the grid) */
  .founder-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  /* ── Ordering ──────────────────────────────────────────
     1: Eyebrow label  (CO-FOUNDER & FACILITATOR)
     2: Name heading   (Dashrath / Sumukhi)
     3: Subtitle       (Assistant Professor — Sumukhi only)
     4: Photo portrait
     5: Credentials list
     ────────────────────────────────────────────────────── */
  .founder-profile .eyebrow            { order: 1; margin-bottom: 0.2rem; }
  .founder-profile .founder-name       { order: 2; }
  .founder-profile .founder-subtitle   { order: 3; margin-bottom: 0.6rem; }
  .founder-portrait                    { order: 4 !important; max-width: 220px; margin: 0.4rem auto; }
  .founder-profile .founder-credentials { order: 5; }

}

