/* ============================================
   BHAVYA MUSIC ACADEMY — style.css
   Page-Specific Styles (uses theme_core.css tokens)
   ============================================ */

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(30, 11, 75, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(22, 8, 46, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--clr-text);
}

.brand-icon {
  font-size: 1.75rem;
}

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

.brand-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--clr-text);
}

.brand-sub {
  font-size: var(--text-xs);
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Sticky CTA (Mobile Only) */
@media (max-width: 768px) {
  .sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    display: flex;
    align-items: center;
    padding: var(--space-3);
    background: rgba(22, 8, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  }

  .sticky-cta .btn {
    flex: 1;
    padding: 0.85rem 1rem;
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
  }

  body {
    padding-bottom: 90px;
  }
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.navbar-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.navbar-links a:hover,
.navbar-links a[aria-current="page"] {
  color: var(--clr-gold);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* TAME GOOGLE TRANSLATE WIDGET */
#google_translate_element {
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
}
#google_translate_element select {
  height: 100%;
  padding: 0 10px;
  border: none;
  background: transparent;
  color: var(--clr-text);
  font-family: var(--font-primary);
  outline: none;
  cursor: pointer;
}
.goog-te-gadget { color: transparent !important; }
.goog-te-gadget span { display: none !important; }
.goog-logo-link { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--clr-bg-alt) 0%, var(--clr-bg) 50%, #2D1B5E 100%);
  padding: var(--space-24) 0 var(--space-20);
}

.hero-sitar {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 25vw, 380px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 700px;
}

.hero h1 {
  margin-top: var(--space-4);
}

.hero-sub {
  color: var(--clr-text-muted);
  max-width: 560px;
}

.hero-sub strong {
  color: var(--clr-gold);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.rating-text {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.rating-text strong {
  color: var(--clr-gold);
  font-size: var(--text-lg);
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.trust-chip {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
}

/* ============================================
   FUNNELS
   ============================================ */
.funnels-grid {
  gap: var(--space-6);
}

.funnel-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.funnel-icon {
  font-size: 2.5rem;
}

.funnel-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.funnel-features li {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.funnel-b2b-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ============================================
   ABGMV USP BAND
   ============================================ */
.usp-band {
  background: linear-gradient(135deg, #2D1B5E 0%, #1E0B4B 60%, #3D2875 100%);
  border-top: 1px solid var(--clr-gold);
  border-bottom: 1px solid var(--clr-gold);
  padding: var(--space-16) 0;
}

.usp-band-inner {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.usp-band-icon {
  font-size: 5rem;
  flex-shrink: 0;
}

.usp-band-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.usp-band-text h2 {
  margin: 0;
}

/* ============================================
   INSTRUMENTS
   ============================================ */
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.vocal-styles {
  text-align: center;
}

.vocal-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.vocal-chip {
  background: rgba(232, 184, 75, 0.1);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.vocal-chip:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  gap: var(--space-6);
}

/* ============================================
   ABOUT
   ============================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-credentials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.about-credentials li {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.about-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.stat-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: border-color var(--transition-base);
}

.stat-card:hover {
  border-color: var(--clr-gold);
}

.stat-card--highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(232,184,75,0.15) 0%, rgba(45,27,94,0.8) 100%);
  border-color: var(--clr-gold);
}

.stat-number {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  padding: var(--space-24) 0;
  background: linear-gradient(180deg, var(--clr-bg-alt) 0%, var(--clr-bg) 100%);
}

.cta-band-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--space-12);
  margin-bottom: var(--space-8);
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

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

.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.footer-social a {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  font-weight: 500;
}

.footer-bottom {
  padding-top: var(--space-6);
}

/* ============================================
   CHATBOT
   ============================================ */
.chatbot-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-chatbot);
  width: 56px;
  height: 56px;
  background: var(--clr-gold);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.chatbot-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 0 32px rgba(232, 184, 75, 0.6);
}

.chatbot-widget {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: min(380px, calc(100vw - 48px));
  max-height: 520px;
  background: rgba(45, 27, 94, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.1);
  display: none;
  flex-direction: column;
  z-index: var(--z-chatbot);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-widget.open {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, var(--clr-bg-alt), var(--clr-surface));
  border-bottom: 1px solid var(--clr-border);
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: var(--clr-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.chatbot-name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--clr-gold);
}

.chatbot-status {
  font-size: var(--text-xs);
  color: #4ade80;
}

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  font-size: var(--text-lg);
  padding: var(--space-2);
  transition: color var(--transition-fast);
}

.chatbot-close:hover {
  color: var(--clr-text);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--clr-border); border-radius: 4px; }

.chatbot-msg {
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
  word-wrap: break-word;
}

.chatbot-msg.bot {
  background: var(--clr-surface-2);
  color: var(--clr-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chatbot-msg.user {
  background: var(--clr-cta);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-input-row {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg-alt);
}

.chatbot-input {
  flex: 1;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--clr-text);
  font-family: var(--font-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.chatbot-input:focus {
  border-color: var(--clr-gold);
}

.chatbot-send {
  background: var(--clr-gold);
  border: none;
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
  color: var(--clr-bg);
  font-weight: 700;
}

.chatbot-send:hover {
  background: var(--clr-gold-light);
  transform: scale(1.05);
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 768px) {
  /* Navbar mobile */
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(22, 8, 46, 0.98);
    border-top: 1px solid var(--clr-border);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-4);
    align-items: flex-start;
  }

  .navbar-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: var(--space-16) 0 var(--space-12);
  }

  .hero-sitar {
    display: none;
  }

  .hero-inner {
    max-width: 100%;
    gap: var(--space-5);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Funnels */
  .funnels-grid {
    grid-template-columns: 1fr;
  }

  /* USP band */
  .usp-band-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-6);
  }

  .usp-band-icon {
    font-size: 3rem;
  }

  /* Instruments */
  .instruments-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-stats {
    order: -1;
  }

  .about-ctas {
    flex-direction: column;
  }

  .about-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Chatbot position on mobile */
  .chatbot-trigger {
    bottom: 90px;
  }

  .chatbot-widget {
    bottom: 155px;
    right: 16px;
    width: calc(100vw - 32px);
  }

  .whatsapp-float {
    bottom: 90px;
    right: 88px;
  }
}

@media (max-width: 480px) {
  .instruments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
