/* ==========================================================================
   THE ASTRO HEALER — Master Stylesheet
   Theme: Celestial Mystical Cosmic Luxury (Solar Gold & Deep Velvet Space)
   Typography: Cinzel, Outfit, Plus Jakarta Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Radiant Cosmic Gold Palette */
  --gold: #f59e0b;
  --gold-bright: #ffd700;
  --gold-light: #fef08a;
  --gold-dim: #b45309;
  --gold-glow: rgba(245, 158, 11, 0.45);
  --gold-glow-soft: rgba(245, 158, 11, 0.16);
  --gold-gradient: linear-gradient(135deg, #fffbeb 0%, #fef08a 25%, #ffd700 60%, #d97706 100%);
  --gold-gradient-dark: linear-gradient(135deg, #d97706 0%, #92400e 100%);

  /* Deep Celestial Space Canvas */
  --deep: #040614;
  --deep2: #070a22;
  --midnight: #0b1035;
  --navy: #0f174a;
  --card-bg: rgba(11, 16, 48, 0.78);
  --card-bg-hover: rgba(18, 25, 72, 0.92);
  --glass-border: rgba(245, 158, 11, 0.22);
  --glass-border-hover: rgba(255, 215, 0, 0.6);

  /* Elemental Cosmic Tones */
  --fire-glow: rgba(249, 115, 22, 0.35);
  --earth-glow: rgba(34, 197, 94, 0.35);
  --air-glow: rgba(56, 189, 248, 0.35);
  --water-glow: rgba(168, 85, 247, 0.35);

  /* High-Contrast Crystal Typography */
  --soft-white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --muted: #94a3b8;
  --dash-muted: #94a3b8;
  --accent-purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.4);

  /* Fonts */
  --font-serif: 'Cinzel', serif;
  --font-heading: 'Outfit', 'Cinzel', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cinzel', serif;

  /* Transitions */
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.16s ease;
  --transition-slow: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  background-color: var(--deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.68;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Canvas Starfield */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.015em;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

p {
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--gold-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   BUTTONS & UI CONTROLS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.82rem 1.9rem;
  background: linear-gradient(135deg, #f0cf65 0%, #d4af37 40%, #aa820a 100%);
  color: #060919;
  border: 1px solid #ffd700;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 240%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(30deg);
  transition: transform 0.75s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.65);
  color: #000000;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  padding: 0.82rem 1.9rem;
  background: rgba(13, 18, 56, 0.6);
  color: var(--gold-light);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.btn-sm {
  padding: 0.52rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   NAVIGATION BAR & CELESTIAL MOBILE DRAWER (Modern Luxury Market Standard)
   ========================================================================== */
nav.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1005;
  background: rgba(3, 5, 18, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

nav.main-nav.scrolled {
  background: rgba(2, 4, 14, 0.96);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.12);
  border-bottom-color: rgba(245, 158, 11, 0.32);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.75rem;
  max-width: 1440px;
  margin: 0 auto;
  gap: 1.2rem;
}

/* Brand */
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-frame {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 18px var(--gold-glow);
  transition: var(--transition);
  object-fit: cover;
}

.brand-glow-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 215, 0, 0.45);
  pointer-events: none;
  animation: rotateGlowRing 22s linear infinite;
}

@keyframes rotateGlowRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-wrap:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 0 24px var(--gold-bright);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 1px;
  white-space: nowrap;
  opacity: 0.95;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #cbd5e1;
  font-weight: 500;
  position: relative;
  padding: 0.45rem 0.2rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link i {
  display: none !important; /* Icons shown on mobile only */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  transition: width 0.25s ease;
  border-radius: 9999px;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Astrobot Special Nav Pill */
.nav-link-ai {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 1px solid rgba(165, 180, 252, 0.35);
  border-radius: 9999px;
  padding: 0.35rem 0.95rem !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
}

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

.ai-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

.nav-ai-pill {
  font-size: 0.62rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(165, 180, 252, 0.5);
  color: #e0e7ff;
  padding: 1px 6px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.nav-link-ai:hover,
.nav-link-ai.active {
  border-color: #ffd700;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4), 0 0 16px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

li.mobile-drawer-header,
li.mobile-nav-actions,
.nav-menu .mobile-nav-actions {
  display: none !important;
}

/* Nav Actions Cluster */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-btn-book {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #040614;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.52rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  border: 1px solid #ffd700;
  white-space: nowrap;
}

.nav-btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6);
  color: #000000;
}

.nav-login-link {
  color: #e2e8f0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.48rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.nav-login-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Logged-In User Dropdown */
.nav-user-dropdown {
  position: relative;
}

.nav-user-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 30px;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #ffffff;
}

.nav-user-chip:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.user-chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #996515);
  color: #0b071e;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-chip-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.user-chip-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.user-chip-badge.admin {
  background: rgba(212, 175, 55, 0.2);
  color: #ffd700;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.user-chip-badge.student {
  background: rgba(0, 200, 83, 0.2);
  color: #69f0ae;
  border: 1px solid rgba(0, 200, 83, 0.4);
}

.user-chip-arrow {
  font-size: 0.65rem;
  color: var(--dash-muted);
  transition: transform 0.2s ease;
}

.nav-user-dropdown.open .user-chip-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  background: rgba(8, 11, 30, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 0.8rem 0;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-user-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-user-header {
  padding: 0.5rem 1.2rem;
}

.dropdown-user-header strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-user-header small {
  display: block;
  font-size: 0.75rem;
  color: var(--dash-muted);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.4rem 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.2rem;
  color: #cbd5e1;
  font-size: 0.84rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #ffffff;
  padding-left: 1.4rem;
}

.dropdown-item.dropdown-logout {
  color: #ff8a80;
}

.dropdown-item.dropdown-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ffffff;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.hamburger-btn:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: var(--gold-bright);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffd700;
  border-radius: 2px;
  transition: all 0.25s ease;
}

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

/* Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 3, 12, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive Mobile Navigation Drawer (Sleek Glass Cosmic Standard) */
@media (max-width: 1180px) {
  .hamburger-btn {
    display: flex;
  }

  .desktop-only-action {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 7, 24, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 1px solid rgba(245, 158, 11, 0.28);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1.4rem 1.4rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1010;
    overflow-y: auto;
    box-shadow: -12px 0 45px rgba(0, 0, 0, 0.92);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  li.mobile-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.1rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .mobile-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    object-fit: cover;
  }

  .mobile-brand-name {
    font-family: 'Cinzel', serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
  }

  .mobile-brand-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
  }

  .mobile-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 1.15rem;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .mobile-close-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    color: #ffffff;
    border-color: var(--gold);
  }

  .nav-link {
    padding: 0.75rem 0.95rem;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .nav-link i {
    display: inline-block !important;
    font-size: 1.05rem;
    color: var(--gold);
    width: 22px;
    text-align: center;
  }

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

  .nav-link:hover,
  .nav-link.active {
    background: rgba(245, 158, 11, 0.14);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
  }

  .nav-link-ai {
    margin-top: 0.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(245, 158, 11, 0.14) 100%);
    border: 1px solid rgba(165, 180, 252, 0.4);
  }

  li.mobile-nav-actions,
  .nav-menu .mobile-nav-actions {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.2);
  }
}


/* ==========================================================================
   HERO SECTION (Optimized for 100% Zoom, Laptops & Mobile)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5.2rem, 9vh, 7.5rem) 1.5rem clamp(2.2rem, 5vh, 4rem);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, rgba(46, 26, 96, 0.45) 0%, rgba(13, 18, 56, 0.72) 50%, var(--deep) 88%);
}

.hero-nebula-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(157, 104, 247, 0.08) 45%, transparent 70%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
  animation: nebulaBreath 10s ease-in-out infinite alternate;
}

.hero-nebula-glow-secondary {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
  animation: nebulaBreath 14s ease-in-out infinite alternate-reverse;
}

/* Celestial Orbit - Balanced scale that frames content without clashing */
.hero-orbit-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: min(920px, 92vw);
  height: min(920px, 92vw);
  z-index: 0;
  opacity: 0.75;
}

.orbit-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.orbit-circle-1 {
  width: 640px;
  height: 640px;
  border: 1px dashed rgba(212, 175, 55, 0.16);
  animation: rotateOrbitClockwise 110s linear infinite;
}

.orbit-circle-2 {
  width: 820px;
  height: 820px;
  border: 1px solid rgba(157, 104, 247, 0.14);
  animation: rotateOrbitCounter 150s linear infinite;
}

.orbit-circle-3 {
  width: 1000px;
  height: 1000px;
  border: 1px dotted rgba(212, 175, 55, 0.1);
  animation: rotateOrbitClockwise 200s linear infinite;
}

.orbit-planet {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Planet 1 - Golden Solar Orb */
.planet-1 {
  width: 12px;
  height: 12px;
  top: 2%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, #ffffff, #ffd700 60%, #b8860b);
  box-shadow: 0 0 22px 5px rgba(255, 215, 0, 0.7);
}

/* Planet 2 - Mystical Lunar Amethyst */
.planet-2 {
  width: 14px;
  height: 14px;
  bottom: 12%;
  right: 14%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #c49aff 55%, #622da6);
  box-shadow: 0 0 25px 5px rgba(196, 154, 255, 0.55);
}

/* Planet 3 - Sapphire Jupiter Orb */
.planet-3 {
  width: 10px;
  height: 10px;
  top: 24%;
  left: 8%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #80d8ff 60%, #0091ea);
  box-shadow: 0 0 18px 4px rgba(128, 216, 255, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.2vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.48rem 1.45rem;
  border-radius: 50px;
  margin-bottom: clamp(1rem, 2.4vh, 1.8rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: badgeGlow 4s ease-in-out infinite;
}

.hero-badge i {
  color: var(--gold-bright);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: clamp(1rem, 2vh, 1.4rem);
  letter-spacing: 0.02em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
}

.hero-title .hero-kicker {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.94em;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.hero-title .gold-gradient {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #ffffff 0%, #ffe270 30%, #ffd700 65%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 25px rgba(212, 175, 55, 0.45));
  margin: 0.1rem 0;
}

.hero-title .hero-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.35rem 1.5rem;
  margin-top: 0.6rem;
  background: rgba(212, 175, 55, 0.06);
  border-radius: 2px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 1.5vw, 1.18rem);
  color: #e2e8f0;
  font-weight: 400;
  max-width: 680px;
  margin: 0 auto clamp(1.4rem, 3vh, 2.4rem);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTION HEADERS & DIVIDERS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.8rem;
}

.section-label {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 0.7rem;
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 1.4rem;
  width: 220px;
}

.gold-divider::before, .gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.gold-divider span {
  color: var(--gold-bright);
  font-size: 1.15rem;
  text-shadow: 0 0 10px var(--gold-glow);
  display: inline-block;
  animation: pulseStar 3s ease-in-out infinite;
}

.section-desc {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: #e2e8f0;
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================================================
   COURSES SECTION (Exact 3-Column on Desktop, Adaptive on Mobile)
   ========================================================================== */
.courses-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep2) 50%, var(--deep) 100%);
  position: relative;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.course-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  min-width: 0;
}

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

.course-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  background: var(--card-bg-hover);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.24);
}

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

.course-thumb-wrap {
  position: relative;
  width: 100%;
  height: clamp(190px, 22vw, 225px);
  overflow: hidden;
  background: #02030a;
}

.course-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.course-card:hover .course-thumb {
  transform: scale(1.08);
}

.course-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: rgba(5, 7, 22, 0.9);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.38rem 0.9rem;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  white-space: nowrap;
}

.course-body {
  padding: clamp(1.4rem, 2.2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.course-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.course-meta i {
  color: var(--gold);
  font-size: 0.85rem;
}

.course-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.48rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  color: #ffffff;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.course-card-sub {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  color: var(--gold-light);
  margin-bottom: 0.95rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.course-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.65;
  flex-grow: 1;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  margin-top: auto;
  flex-wrap: wrap;
}

.course-price {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}

.course-price small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
  white-space: nowrap;
}

/* ==========================================================================
   ZODIAC WHEEL & 12 CONSTELLATIONS
   ========================================================================== */
.zodiac-section {
  padding: 7rem 0;
  background: var(--deep2);
  position: relative;
  overflow: hidden;
}

.zodiac-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.zodiac-text-col .zodiac-lead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #e5ebff;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  font-weight: 400;
}

.zodiac-wheel-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wheel-svg-wrap {
  width: 100%;
  max-width: 480px;
  position: relative;
  filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.2));
}

/* Authentic Astrolabe Dual-Rotation: Center Origin without Translate bug */
.rotating-celestial-track {
  transform-box: fill-box;
  transform-origin: center;
  animation: rotateAstrolabeTrack 140s linear infinite;
}

.counter-rotating-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: rotateAstrolabeCounter 190s linear infinite;
}

.static-zodiac-houses .wheel-node {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.static-zodiac-houses .wheel-node:hover {
  fill: rgba(212, 175, 55, 0.45);
  stroke: var(--gold-bright);
  stroke-width: 2.5;
  filter: url(#nodeGlow);
}

.static-astrolabe-center {
  transition: var(--transition);
}

.static-astrolabe-center:hover {
  filter: drop-shadow(0 0 20px var(--gold-bright));
}

/* 12 Signs Grid: Symmetrical 6-column on Large Desktop */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
  margin-top: 3.5rem;
}

.sign-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 12px;
  padding: 1.5rem 0.9rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sign-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.sign-card:hover {
  background: rgba(212, 175, 55, 0.09);
  border-color: var(--gold-bright);
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.25);
}

.sign-symbol {
  font-size: 2.4rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.4rem;
  transition: var(--transition);
}

.sign-card:hover .sign-symbol {
  color: var(--gold-bright);
  transform: scale(1.18);
  text-shadow: 0 0 15px var(--gold-glow);
}

.sign-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.sign-dates {
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.sign-element {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
}

.el-fire { background: rgba(255, 87, 34, 0.18); color: #ff8a65; border: 1px solid rgba(255, 87, 34, 0.35); }
.el-earth { background: rgba(76, 175, 80, 0.18); color: #81c784; border: 1px solid rgba(76, 175, 80, 0.35); }
.el-air { background: rgba(33, 150, 243, 0.18); color: #64b5f6; border: 1px solid rgba(33, 150, 243, 0.35); }
.el-water { background: rgba(156, 39, 176, 0.18); color: #ce93d8; border: 1px solid rgba(156, 39, 176, 0.35); }

/* ==========================================================================
   CELESTIAL ZODIAC MODAL
   ========================================================================== */
.zodiac-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 5, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.zodiac-modal-container {
  background: rgba(10, 15, 45, 0.95);
  border: 1.5px solid var(--gold);
  border-radius: 18px;
  width: 100%;
  max-width: 580px;
  padding: 2.5rem 2.2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.zodiac-modal-backdrop.open .zodiac-modal-container {
  transform: translateY(0) scale(1);
}

.zodiac-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--gold-light);
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.zodiac-modal-close:hover {
  background: var(--gold);
  color: #050716;
  transform: rotate(90deg);
}

.modal-zodiac-header {
  text-align: center;
  margin-bottom: 1.6rem;
  position: relative;
}

.modal-zodiac-glyph {
  font-size: 3.8rem;
  color: var(--gold-bright);
  text-shadow: 0 0 25px var(--gold-glow);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.modal-zodiac-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.modal-zodiac-vedic {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.modal-zodiac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.6rem 0;
}

.modal-zodiac-stat {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1rem;
  border-radius: 8px;
}

.modal-zodiac-stat .stat-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.modal-zodiac-stat .stat-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
}

.modal-zodiac-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding-top: 1.2rem;
  margin-top: 1.2rem;
}

/* ==========================================================================
   SERVICES SECTION (3-Column on Desktop)
   ========================================================================== */
.services-section {
  padding: 7rem 0;
  background: var(--deep);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 2.4rem 2rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  background: var(--card-bg-hover);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold);
  color: #050716;
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 0 20px var(--gold-glow);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   FOUNDER SECTION
   ========================================================================== */
.founder-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, rgba(8, 12, 36, 0.96) 0%, rgba(5, 7, 22, 0.98) 100%);
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 4.5rem;
}

.founder-img-wrap {
  position: relative;
  text-align: center;
}

.founder-img-box {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 55px rgba(212, 175, 55, 0.28);
  background: radial-gradient(circle, rgba(13, 18, 56, 0.9), rgba(5, 7, 22, 0.95));
}

.founder-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  object-fit: cover;
}

.founder-badge-seal {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 7, 22, 0.92);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: max-content;
  max-width: 90%;
}

.founder-badge-seal i {
  color: var(--gold-bright);
  font-size: 1.4rem;
}

.founder-badge-seal strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--gold-light);
  line-height: 1.2;
}

.founder-badge-seal small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.2;
}

.founder-role {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: block;
}

.founder-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.founder-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
  line-height: 1.75;
}

.founder-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.founder-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 1.2rem 1rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}

.founder-stat-card:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
}

.founder-stat-num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--gold-bright);
  font-weight: 700;
  line-height: 1;
}

.founder-stat-label {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  background: var(--deep2);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.testimonial-stars {
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  padding-top: 1rem;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

/* ==========================================================================
   BOOKING & FORM SECTION
   ========================================================================== */
.booking-section {
  padding: 7rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(20, 25, 75, 0.45) 0%, var(--deep) 80%);
  position: relative;
}

.booking-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.65);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.88rem 1.2rem;
  background: rgba(5, 7, 22, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 18px var(--gold-glow);
  background: rgba(5, 7, 22, 0.98);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

/* Alerts */
.alert-box {
  padding: 1.1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.8rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.alert-success {
  background: rgba(46, 125, 50, 0.22);
  border: 1px solid #4caf50;
  color: #c8e6c9;
}

.alert-danger {
  background: rgba(198, 40, 40, 0.22);
  border: 1px solid #ef5350;
  color: #ffcdd2;
}

.alert-info {
  background: rgba(2, 136, 209, 0.22);
  border: 1px solid #29b6f6;
  color: #b3e5fc;
}

/* ==========================================================================
   COURSE DETAILS PAGE STYLES (.course-layout-grid)
   ========================================================================== */
.course-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.dash-panel {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.main-footer {
  background: radial-gradient(circle at 50% 0%, rgba(15, 23, 74, 0.45) 0%, rgba(4, 6, 20, 0.98) 70%, #02030a 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

footer.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.65), rgba(245, 158, 11, 0.8), transparent);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

/* Pre-Footer Cosmic Call-to-Action Banner */
.footer-pre-banner {
  background: linear-gradient(135deg, rgba(16, 22, 60, 0.85) 0%, rgba(8, 10, 30, 0.92) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  margin-bottom: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.footer-pre-banner::after {
  content: '✦';
  position: absolute;
  right: -15px;
  bottom: -25px;
  font-size: 8rem;
  color: rgba(245, 158, 11, 0.03);
  font-family: var(--font-serif);
  pointer-events: none;
}

.footer-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.footer-cta-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-cta-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Footer Multi-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.35fr 1.25fr 1.6fr;
  gap: 2.8rem;
  margin-bottom: 3.8rem;
  align-items: start;
}

/* Footer Brand Header */
.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-brand-wrap .footer-logo-frame {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-wrap .footer-logo-frame .brand-logo-img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
  object-fit: cover;
  display: block;
}

.footer-brand-wrap .brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-wrap .brand-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.25;
}

.footer-brand-wrap .brand-tagline {
  font-size: 0.67rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.65rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--gold-gradient);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--gold-glow);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 1rem 0 1.35rem;
  max-width: 380px;
}

/* Trust Badges in Footer */
.footer-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.45rem;
}

.footer-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.38rem 0.8rem;
  border-radius: 8px;
  width: fit-content;
}

.footer-trust-pill i {
  color: var(--gold-bright);
}

/* Social Media Channels */
.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.social-icon i {
  position: relative;
  z-index: 1;
}

.social-icon:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
  color: #060814;
}

.social-icon:hover::before {
  opacity: 1;
}

/* Navigation Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  transition: var(--transition-fast);
  text-decoration: none;
  padding: 0.12rem 0;
}

.footer-links .link-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.footer-links a i {
  font-size: 0.72rem;
  color: var(--gold-dim);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a:hover i {
  color: var(--gold-bright);
}

.footer-link-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.16rem 0.48rem;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-bright);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.footer-link-badge.badge-ai {
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.4);
}

/* Concierge Card (Column 4) */
.footer-concierge-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.4rem;
  position: relative;
}

.concierge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.concierge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #4ade80;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.concierge-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-contact-item i {
  color: var(--gold-bright);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Payment & Trust Strip */
.footer-payments-wrap {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-payments-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-payment-icons {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.payment-badge i {
  font-size: 1rem;
}

.payment-badge.stripe {
  color: #a39cfd;
  border-color: rgba(99, 91, 255, 0.35);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.84rem;
  color: #727a9e;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-bottom-left p {
  margin: 0;
  color: #94a3b8;
}

.footer-disclaimer {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.5;
  max-width: 650px;
}

.back-to-top-btn {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-light);
  padding: 0.6rem 1.1rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.back-to-top-btn:hover {
  background: var(--gold);
  color: #040614;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

/* Responsive Overrides for New Footer */
@media (max-width: 1100px) {
  .footer-pre-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.2rem 2rem;
  }
  .footer-cta-desc {
    max-width: 100%;
  }
  .footer-cta-actions {
    justify-content: center;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.2rem;
  }
  .footer-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .footer-cta-actions .btn-primary,
  .footer-cta-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   ASTROLOGY KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes rotateOrbitClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

@keyframes rotateAstrolabeTrack {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateAstrolabeCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes nebulaBreath {
  0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes badgeGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.28);
  }
  50% {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
    border-color: rgba(255, 215, 0, 0.55);
  }
}

@keyframes pulseStar {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; filter: drop-shadow(0 0 8px #ffd700); }
}

/* ==========================================================================
   RESPONSIVENESS & CARD GRIDS SYSTEM
   ========================================================================== */

/* Universal Card & Grid Foundations */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.8rem);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.birth-coords-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.bhavas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bhava-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem 1.6rem;
  border-radius: 10px;
  transition: var(--transition);
}

.bhava-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.8rem;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.course-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.lecture-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 8px;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.2s ease;
}

.lecture-item:hover {
  background: rgba(212, 175, 55, 0.04);
  border-color: rgba(212, 175, 55, 0.28);
}

@media (max-width: 600px) {
  .lecture-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
  }
  .lecture-item > div:last-child {
    align-self: flex-end;
  }
}

/* 1. Large Tablets & Small Laptops (<= 1180px) */
@media (max-width: 1180px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.85rem;
  }
  /* Center 3rd course card symmetrically on tablet */
  .courses-grid > .course-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.85rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.6rem;
  }

  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
  .perks-grid > .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .bhavas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }

  .signs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .nav-menu {
    gap: 1.3rem;
  }
}

/* 2. Medium Tablets & iPads (<= 992px) */
@media (max-width: 992px) {
  .nav-container {
    padding: 0.65rem 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .zodiac-layout, 
  .founder-grid, 
  .course-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .zodiac-layout {
    text-align: center;
  }

  .zodiac-text-col .gold-divider {
    justify-content: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .founder-grid {
    text-align: center;
  }

  .founder-info .gold-divider {
    justify-content: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .signs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

/* 3. Small Tablets & Phablets (<= 768px) */
@media (max-width: 768px) {
  .hero-section {
    padding: clamp(5rem, 11vh, 6.5rem) 1.25rem 3.5rem;
    overflow: hidden;
  }

  .hero-orbit-wrap {
    width: min(340px, 88vw) !important;
    height: min(340px, 88vw) !important;
    max-width: 100vw;
  }

  .orbit-circle-1 { width: min(250px, 66vw) !important; height: min(250px, 66vw) !important; }
  .orbit-circle-2 { width: min(330px, 86vw) !important; height: min(330px, 86vw) !important; }
  .orbit-circle-3 { display: none !important; }

  .courses-grid,
  .services-grid,
  .perks-grid,
  .pillars-grid,
  .bhavas-grid {
    grid-template-columns: 1fr !important;
    max-width: 480px;
    margin: 0 auto;
    gap: 1.6rem;
  }

  .courses-grid > .course-card:last-child:nth-child(odd),
  .perks-grid > .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }

  .birth-coords-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .signs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .booking-box {
    padding: clamp(1.4rem, 4vw, 2.2rem) 1.15rem;
  }

  .founder-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .modal-zodiac-grid {
    grid-template-columns: 1fr;
  }
}

/* 4. Mobile Viewports (<= 540px) */
@media (max-width: 540px) {
  .courses-grid,
  .services-grid,
  .perks-grid,
  .pillars-grid,
  .bhavas-grid {
    max-width: 100%;
    gap: 1.35rem;
  }

  .course-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .course-footer .course-price {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
  }

  .course-actions {
    display: flex;
    width: 100%;
    gap: 0.5rem;
  }

  .course-actions .btn-primary,
  .course-actions .btn-outline {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .course-footer > .btn-primary:only-child {
    width: 100%;
    justify-content: center;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
  }

  .founder-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .signs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .sign-card {
    padding: 1.15rem 0.5rem;
  }

  .sign-symbol {
    font-size: 2rem;
  }

  .sign-name {
    font-size: 1.05rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* 5. Extra Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand-logo-frame {
    width: 38px;
    height: 38px;
  }

  .brand-logo-img {
    height: 38px;
    width: 38px;
  }

  .brand-title {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }

  .hero-orbit-wrap {
    width: min(290px, 84vw) !important;
    height: min(290px, 84vw) !important;
  }

  .orbit-circle-1 { width: 215px !important; height: 215px !important; }
  .orbit-circle-2 { width: 280px !important; height: 280px !important; }

  .course-body {
    padding: 1.25rem 1.1rem 1rem;
  }

  .contact-card {
    padding: 1.4rem 1.15rem;
  }

  .course-price {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   FLOATING MALIK AI ASSISTANT WIDGET
   ========================================================================== */
.ai-widget-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 995;
  font-family: var(--font-body);
}

body.mobile-nav-open .ai-widget-wrapper {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.ai-widget-card {
  width: 380px;
  max-width: calc(100vw - 32px);
  background: linear-gradient(165deg, rgba(16, 12, 38, 0.96) 0%, rgba(8, 6, 22, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(157, 104, 247, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.ai-widget-card.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.ai-widget-header {
  padding: 0.95rem 1.15rem;
  background: linear-gradient(135deg, rgba(42, 24, 76, 0.85) 0%, rgba(18, 12, 40, 0.92) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-avatar-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b071e;
  font-size: 1.05rem;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
  flex-shrink: 0;
}

.ai-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
}

.ai-status {
  font-size: 0.72rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseGreen 2s infinite;
}

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

.ai-header-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-control-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ai-control-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #ffffff;
  border-color: var(--gold);
}

.ai-widget-messages {
  padding: 1rem;
  height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}

.ai-widget-messages::-webkit-scrollbar {
  width: 5px;
}
.ai-widget-messages::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 4px;
}

.ai-msg {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  animation: fadeInMsg 0.25s ease-out forwards;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-msg-bot {
  align-self: flex-start;
}

.ai-msg-user {
  align-self: flex-end;
}

.ai-bubble {
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.55;
  position: relative;
}

.ai-msg-bot .ai-bubble {
  background: rgba(26, 20, 54, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.22);
  color: #e5e7eb;
  border-bottom-left-radius: 4px;
}

.ai-msg-user .ai-bubble {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

.ai-bubble-tag {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.ai-bubble p {
  margin: 0 0 0.45rem 0;
}
.ai-bubble p:last-child {
  margin-bottom: 0;
}

.ai-bubble strong {
  color: var(--gold-light);
}

/* Typing Indicator Animation */
.ai-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.8rem;
}
.ai-typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.ai-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.ai-quick-pills {
  padding: 0.4rem 0.85rem 0.65rem;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.ai-quick-pills::-webkit-scrollbar { display: none; }

.ai-pill {
  padding: 0.32rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  color: #d1d5db;
  font-size: 0.74rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ai-pill:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-1px);
}

.ai-widget-input-bar {
  padding: 0.75rem 0.9rem;
  background: rgba(10, 8, 26, 0.95);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 24px;
  padding: 0.55rem 0.95rem;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.25s ease;
}

.ai-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.ai-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.ai-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border: none;
  color: #0b071e;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.ai-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
}

/* Floating Launcher Pill */
.ai-floating-pill {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, #1f143d 0%, #100b26 100%);
  border: 1.5px solid var(--gold);
  border-radius: 30px;
  padding: 0.65rem 1.15rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(212, 175, 55, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.ai-floating-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 32px rgba(212, 175, 55, 0.55);
  border-color: #ffd700;
}

.ai-floating-pill i {
  color: var(--gold-light);
  font-size: 1.05rem;
}

.pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 34px;
  border: 1.5px solid var(--gold);
  animation: pulseLauncher 2.4s infinite;
  pointer-events: none;
}

@keyframes pulseLauncher {
  0% { transform: scale(0.97); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 0; }
  100% { transform: scale(0.97); opacity: 0; }
}

@media (max-width: 768px) {
  .ai-widget-wrapper {
    bottom: 16px;
    right: 16px;
  }
  .ai-floating-pill {
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
    gap: 0.45rem;
  }
  .ai-widget-card {
    width: calc(100vw - 28px);
    max-width: 380px;
    max-height: calc(85vh - 20px);
  }
}

/* ==========================================================================
   FULL-PAGE AI SANCTUARY (ai.php)
   ========================================================================== */
.ai-hero-section {
  padding: 7.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, var(--deep2) 0%, var(--deep) 100%);
  position: relative;
  overflow: hidden;
}

.ai-hero-nebula {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(circle, rgba(157, 104, 247, 0.16) 0%, rgba(212, 175, 55, 0.08) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
}

.ai-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.ai-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulseGreen 2s infinite;
}

.ai-page-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-family: var(--font-heading);
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-hero-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ai-chat-sanctuary {
  padding: 3.5rem 0 6rem;
  background: var(--deep);
  position: relative;
  z-index: 2;
}

.ai-chat-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  align-items: start;
}

.ai-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ai-assistant-card {
  background: linear-gradient(165deg, rgba(22, 16, 50, 0.85) 0%, rgba(10, 8, 28, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.ai-avatar-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0b071e;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

.ai-assistant-name {
  font-size: 1.25rem;
  color: #ffffff;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.ai-assistant-role {
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.ai-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  margin-bottom: 1rem;
}

.ai-assistant-bio {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.ai-topics-box {
  background: linear-gradient(165deg, rgba(22, 16, 50, 0.85) 0%, rgba(10, 8, 28, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.ai-topics-title {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-topic-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ai-topic-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  color: #e5e7eb;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  width: 100%;
}

.ai-topic-btn i {
  color: var(--gold-light);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.ai-topic-btn strong {
  display: block;
  font-size: 0.84rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.ai-topic-btn small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.ai-topic-btn:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold);
  transform: translateX(4px);
}

.ai-consult-card {
  background: linear-gradient(135deg, rgba(36, 22, 66, 0.95) 0%, rgba(18, 12, 40, 0.95) 100%);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 1.4rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.ai-consult-card h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.45rem;
  font-family: var(--font-heading);
}

.ai-consult-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* AI Main Chat Stage */
.ai-chat-card {
  background: linear-gradient(165deg, rgba(18, 14, 42, 0.95) 0%, rgba(8, 6, 24, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(157, 104, 247, 0.18);
  display: flex;
  flex-direction: column;
}

.ai-stage-header {
  padding: 1.15rem 1.6rem;
  background: linear-gradient(135deg, rgba(35, 22, 64, 0.8) 0%, rgba(14, 10, 32, 0.9) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-stage-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ai-live-indicator {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
}

.pulse-ring-sm {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: pulseGreen 2.2s infinite;
}

.ai-clear-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  color: #cbd5e1;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-clear-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #ffffff;
}

.ai-stage-messages {
  padding: 1.6rem;
  min-height: 440px;
  max-height: 520px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.ai-stage-messages::-webkit-scrollbar {
  width: 6px;
}
.ai-stage-messages::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}

.ai-msg-bot {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.ai-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0b071e;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-stage-suggestions {
  padding: 0.75rem 1.6rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  background: rgba(12, 9, 30, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-pill-sm {
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 20px;
  color: #e2e8f0;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ai-pill-sm:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-1px);
}

.ai-stage-input-bar {
  padding: 1.15rem 1.6rem;
  background: rgba(10, 7, 26, 0.96);
}

.ai-input-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.ai-stage-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(212, 175, 55, 0.28);
  border-radius: 28px;
  padding: 0.85rem 1.35rem;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.ai-stage-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.ai-stage-send-btn {
  padding: 0.85rem 1.6rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border: none;
  color: #0b071e;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.ai-stage-send-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.ai-input-footnote {
  font-size: 0.74rem;
  color: var(--dash-muted);
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Responsive Overrides for AI Layout */
@media (max-width: 992px) {
  .ai-chat-layout {
    grid-template-columns: 1fr;
  }

  .ai-widget-card {
    width: 340px;
  }
}

@media (max-width: 480px) {
  .ai-widget-wrapper {
    bottom: 16px;
    right: 16px;
  }

  .ai-widget-card {
    width: calc(100vw - 32px);
    border-radius: 16px;
  }

  .ai-widget-messages {
    height: 260px;
  }

  .ai-floating-pill span {
    display: none;
  }

  .ai-floating-pill {
    padding: 0.8rem;
    border-radius: 50%;
  }

  .ai-stage-input-bar {
    padding: 0.85rem 1rem;
  }

  .ai-stage-send-btn span {
    display: none;
  }

  .ai-stage-send-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }
}
