/* ----------------------------------------------------
   DESIGN SYSTEM & CUSTOM PROPERTIES (Apple-Style)
   ---------------------------------------------------- */
:root {
  /* Colors */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0c;
  --bg-surface: #121215;
  --bg-surface-translucent: rgba(18, 18, 21, 0.7);
  --bg-header: rgba(0, 0, 0, 0.75);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.16);
  --border-focus: #8b5cf6;
  
  --text-primary: #f5f5f7;
  --text-secondary: #ffffff;
  --text-tertiary: #ffffff;
  --text-inverse: #000000;
  
  /* Accents & Gradients */
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-gold: #d97706;
  --accent-gold-rgb: 217, 119, 6;
  --accent-purple-rgb: 139, 92, 246;
  
  --gradient-purple-pink: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-dark: linear-gradient(180deg, #18181b 0%, #09090b 100%);
  
  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-medium: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.8);
  
  /* Borders */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 9999px;
  
  /* Layout */
  --header-height: 54px;

  /* Theme-aware aliases (dark defaults) */
  --heading-color: #ffffff;
  --btn-primary-bg: #ffffff;
  --btn-primary-text: #000000;
  --btn-primary-hover-bg: #e5e5ea;
  --btn-outline-hover-bg: rgba(255, 255, 255, 0.05);
  --header-bg: rgba(10, 10, 12, 0.35);
  --header-scrolled-bg: rgba(10, 10, 12, 0.65);
  --header-border: rgba(255, 255, 255, 0.05);
  --header-scrolled-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(18, 18, 21, 0.6);
  --glass-form-bg: rgba(18, 18, 21, 0.7);
  --mobile-menu-bg: #000000;
  --footer-bg: rgba(0, 0, 0, 0.85);
  --hamburger-color: #ffffff;
  --subtle-bg: rgba(255, 255, 255, 0.03);
  --subtle-bg-hover: rgba(255, 255, 255, 0.05);
  --subtle-bg-active: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(255, 255, 255, 0.02);
  --input-hover-bg: rgba(255, 255, 255, 0.04);
  --input-focus-bg: rgba(255, 255, 255, 0.01);
  --input-text: #ffffff;
  --ribbon-bg: rgba(10, 10, 12, 0.4);
  --badge-bg: rgba(255, 255, 255, 0.04);
  --sound-bar-bg: rgba(255, 255, 255, 0.03);
  --social-bg: rgba(255, 255, 255, 0.04);
  --nav-link-color: rgba(245, 245, 247, 0.8);
  --body-mouse-active-bg: #05040a;
  --showcase-glass-bg: rgba(0, 0, 0, 0.3);
  --panel-active-bg: rgba(18, 18, 21, 0.3);
  --bento-radial-light: rgba(255, 255, 255, 0.05);
}

/* Light Theme Overrides */
body.light-theme {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-translucent: rgba(255, 255, 255, 0.7);
  --bg-header: rgba(255, 255, 255, 0.75);
  
  --border-color: #E5E7EB;
  --border-color-hover: #D1D5DB;
  
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --text-inverse: #ffffff;
  
  --heading-color: #111827;
  
  --btn-primary-bg: #111827;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #1F2937;
  --btn-outline-hover-bg: rgba(0, 0, 0, 0.03);
  --header-bg: rgba(255, 255, 255, 0.85);
  --header-scrolled-bg: rgba(255, 255, 255, 0.95);
  --header-border: rgba(0, 0, 0, 0.05);
  --header-scrolled-border: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-form-bg: rgba(255, 255, 255, 0.8);
  --mobile-menu-bg: #FFFFFF;
  --footer-bg: #F8FAFC;
  --hamburger-color: #111827;
  --subtle-bg: #F3F4F6;
  --subtle-bg-hover: #E5E7EB;
  --subtle-bg-active: #D1D5DB;
  --input-bg: #FFFFFF;
  --input-hover-bg: #F9FAFB;
  --input-focus-bg: #FFFFFF;
  --input-text: #111827;
  --ribbon-bg: rgba(248, 250, 252, 0.6);
  --badge-bg: #F3F4F6;
  --sound-bar-bg: #F9FAFB;
  --social-bg: #F3F4F6;
  --nav-link-color: #4B5563;
  --body-mouse-active-bg: #F8FAFC;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  
  /* Additional glass colors */
  --showcase-glass-bg: rgba(255, 255, 255, 0.6);
  --panel-active-bg: rgba(255, 255, 255, 0.8);
  --bento-radial-light: rgba(0, 0, 0, 0.05);
}

/* ----------------------------------------------------
   BASE STYLES & INITIALIZATION
   ---------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: transparent;
  transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.mouse-active {
  background-color: transparent;
}

/* Ambient Cursor Glow effect */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2; /* Above canvas (1) but below page content (3+) */
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--theme-glow-hover, rgba(217, 119, 6, 0.45)) 0%,
    var(--theme-glow, rgba(217, 119, 6, 0.2)) 35%,
    transparent 70%
  );
  opacity: 1;
  transition: opacity 0.8s ease, --theme-glow 0.8s cubic-bezier(0.16, 1, 0.3, 1), --theme-glow-hover 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: background;
}

body.mouse-active .ambient-glow {
  opacity: 1;
}

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

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

ul {
  list-style: none;
}

/* ----------------------------------------------------
   REUSABLE UTILITIES & LAYOUT
   ---------------------------------------------------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #d97706 50%, #ec4899 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 12s ease infinite;
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  text-align: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover-bg);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background-color: var(--btn-outline-hover-bg);
  border-color: var(--border-color-hover);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}

.btn-link {
  background: transparent;
  color: var(--accent-gold);
  padding: 8px 16px;
  font-weight: 400;
}

.btn-link:hover {
  color: #fbbf24;
}

.btn-link svg {
  transition: transform var(--transition-fast);
}

.btn-link:hover svg {
  transform: translateX(4px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}
section.hero-section { content-visibility: visible; contain: none; }
section.ribbon-section { contain-intrinsic-size: 180px; }
section.quote-section { contain-intrinsic-size: 400px; }
section.enquiry-section { contain-intrinsic-size: 500px; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.section-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 400;
}

/* ----------------------------------------------------
   TRANSLUCENT HEADER NAVIGATION
   ---------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: var(--header-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--header-border);
  z-index: 1000;
  transition: background-color var(--transition-medium), padding var(--transition-medium), border-color var(--transition-medium);
  padding: 12px 0;
}

#site-header.scrolled {
  background-color: var(--header-scrolled-bg);
  border-bottom: 1px solid var(--header-scrolled-border);
  padding: 6px 0;
}

.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  height: 48px;
  user-select: none;
}

.logo-image {
  height: 38px;
  width: auto;
  display: block;
}

body.light-theme .logo-image {
  filter: invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--nav-link-color);
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--subtle-bg-hover);
  color: var(--text-primary);
  border-color: var(--border-color-hover);
}

.theme-toggle-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s ease;
}

body.light-theme .theme-toggle-btn .sun-icon {
  display: none;
}

body.light-theme .theme-toggle-btn .moon-icon {
  display: block;
}

.theme-toggle-btn .sun-icon {
  display: block;
}

.theme-toggle-btn .moon-icon {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
  padding: 0;
}

.mobile-nav-toggle .line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--hamburger-color);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

/* ----------------------------------------------------
   MOBILE OVERLAY MENU
   ---------------------------------------------------- */
.mobile-menu-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--mobile-menu-bg);
  z-index: 999;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-menu-overlay.active {
  height: calc(100vh - var(--header-height));
}

.mobile-nav {
  padding: 40px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--heading-color);
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav-links a {
  opacity: 1;
  transform: translateY(0);
}

/* Delay links reveal */
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) a { transition-delay: 0.3s; }

.mobile-nav-btn {
  color: var(--accent-gold) !important;
}

/* Toggle active states */
.mobile-nav-toggle[aria-expanded="true"] .line-top {
  transform: translateY(5px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .line-bottom {
  transform: translateY(-6px) rotate(-45deg);
}

/* ----------------------------------------------------
   HERO SECTION
   ---------------------------------------------------- */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  text-align: center;
  overflow: hidden;
  background: transparent;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(236, 72, 153, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--badge-bg);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--heading-color);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #ffffff;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

/* Hero Visual: Glass Studio Panel */
.hero-visual-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  perspective: 1000px;
}

.hero-glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 92, 246, 0.1);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transform: rotateX(5deg);
  transition: transform var(--transition-slow);
}

.hero-glass-card:hover {
  transform: rotateX(0deg) scale(1.01);
  border-color: var(--border-color-hover);
}

.card-bar {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  gap: 6px;
}

.card-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f3f46;
}

.card-bar .dot:nth-child(1) { background: #ef4444; }
.card-bar .dot:nth-child(2) { background: #eab308; }
.card-bar .dot:nth-child(3) { background: #22c55e; }

.card-bar .title-bar {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.card-content {
  padding: 40px;
}

/* Waveform Visualizer Animation */
.visual-waveform {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.visual-waveform .bar {
  width: 6px;
  border-radius: var(--radius-pill);
  background: var(--gradient-purple-pink);
  transition: height 0.15s ease-in-out;
}

/* Static heights for look, will animate via CSS */
.bar-1  { height: 30%; animation: wave-anim 1.2s ease-in-out infinite alternate; }
.bar-2  { height: 60%; animation: wave-anim 0.9s ease-in-out infinite alternate; animation-delay: 0.2s; }
.bar-3  { height: 40%; animation: wave-anim 1.4s ease-in-out infinite alternate; animation-delay: 0.4s; }
.bar-4  { height: 80%; animation: wave-anim 1.1s ease-in-out infinite alternate; animation-delay: 0.1s; }
.bar-5  { height: 95%; animation: wave-anim 1.3s ease-in-out infinite alternate; animation-delay: 0.5s; }
.bar-6  { height: 50%; animation: wave-anim 0.8s ease-in-out infinite alternate; animation-delay: 0.3s; }
.bar-7  { height: 75%; animation: wave-anim 1.2s ease-in-out infinite alternate; animation-delay: 0.6s; }
.bar-8  { height: 90%; animation: wave-anim 1.0s ease-in-out infinite alternate; animation-delay: 0.15s; }
.bar-9  { height: 35%; animation: wave-anim 1.5s ease-in-out infinite alternate; animation-delay: 0.45s; }
.bar-10 { height: 65%; animation: wave-anim 0.9s ease-in-out infinite alternate; animation-delay: 0.25s; }
.bar-11 { height: 45%; animation: wave-anim 1.3s ease-in-out infinite alternate; animation-delay: 0.35s; }
.bar-12 { height: 25%; animation: wave-anim 1.1s ease-in-out infinite alternate; animation-delay: 0.05s; }

.visual-waveform.paused .bar {
  animation-play-state: paused !important;
  height: 10px !important;
}

@keyframes wave-anim {
  0% { height: 15%; }
  100% { height: 95%; }
}

.visual-audio-player {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 16px;
  background: var(--sound-bar-bg);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  max-width: 420px;
  margin: 0 auto;
}

.play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--text-inverse);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.play-btn:hover {
  transform: scale(1.05);
  background-color: var(--btn-primary-bg);
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading-color);
}

.track-status {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ----------------------------------------------------
   RIBBON SECTION (METRICS)
   ---------------------------------------------------- */
.ribbon-section {
  padding: 50px 0;
  background-color: var(--ribbon-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 2;
}

.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-gold);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ----------------------------------------------------
   BENTO GRID (THE EXPERIENCE)
   ---------------------------------------------------- */
.experience-section {
  background: transparent;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color var(--transition-medium), transform var(--transition-medium);
  background-color: var(--bg-primary);
}

.bento-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.bento-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
  transition: opacity var(--transition-medium);
}

.bento-card:hover .bento-card-bg {
  opacity: 0.25;
}

.bg-gradient-1 {
  background: linear-gradient(135deg, var(--accent-purple) 0%, transparent 70%);
}

.bg-gradient-2 {
  background: linear-gradient(135deg, var(--accent-pink) 0%, transparent 70%);
}

.bg-color-dark {
  background: radial-gradient(circle at top right, var(--bento-radial-light), transparent 60%);
}

.bg-color-dark-purple {
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.08), transparent 60%);
}

.bg-color-dark-gold {
  background: radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 60%);
}

.bento-card-content {
  position: relative;
  z-index: 2;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.bento-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.bento-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Card sizes */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  padding: 40px;
}

.bento-large h3 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.bento-large p {
  font-size: 1rem;
  max-width: 500px;
}

.bento-medium {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-medium h3 {
  font-size: 1.6rem;
}

.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

/* ----------------------------------------------------
   INSTRUMENT SHOWCASE (TABS)
   ---------------------------------------------------- */
.showcase-section {
  background: transparent;
}

.showcase-section > .container {
  background: var(--showcase-glass-bg);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  border: 1px solid var(--border-color);
}

.showcase-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.showcase-tabs {
  background: var(--subtle-bg);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-pill);
  display: inline-flex;
}

.tab-link {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 24px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-link:hover {
  color: var(--text-primary);
}

.tab-link.active {
  background-color: var(--subtle-bg-active);
  color: var(--accent-gold);
}

/* Tab Panels */
.showcase-panels {
  position: relative;
  min-height: 480px;
}

.showcase-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.showcase-panel.active {
  display: block;
  opacity: 1;
  background: var(--panel-active-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg), 0 4px 30px rgba(0, 0, 0, 0.2);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

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

.panel-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.panel-heading {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.panel-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}

.curriculum-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.bullet-tick {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  flex-shrink: 0;
}

.btn-enroll-inst {
  font-weight: 600;
}

/* SVG Instrument visuals */
.panel-visual {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.instrument-svg,
.instrument-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform var(--transition-slow);
}

.showcase-panel.active .instrument-svg,
.showcase-panel.active .instrument-img {
  animation: svg-float 6s ease-in-out infinite alternate;
}

@keyframes svg-float {
  0% { transform: translateY(0) rotate(0); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

/* ----------------------------------------------------
   FACULTY SECTION
   ---------------------------------------------------- */
.faculty-section {
  background: transparent;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.faculty-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-medium);
}

.faculty-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.faculty-image-container {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--bg-surface);
}

.faculty-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.faculty-card:hover .faculty-svg {
  transform: scale(1.03);
}

.faculty-info {
  padding: 24px;
}

.faculty-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--heading-color);
}

.faculty-role {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.faculty-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ----------------------------------------------------
   TESTIMONIALS (QUOTE)
   ---------------------------------------------------- */
.quote-section {
  background: transparent;
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.quote-container {
  max-width: 850px;
  margin: 0 auto;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.quote-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.author-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ----------------------------------------------------
   ENQUIRY FORM SECTION
   ---------------------------------------------------- */
.enquiry-section {
  background: transparent;
  border-top: 1px solid var(--border-color);
}

.form-container {
  max-width: 680px;
}

.form-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.form-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.form-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 40px;
}

.glass-form-card {
  background: var(--glass-form-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Form inputs & grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.full-width {
  grid-column: span 2;
}

/* Input Fields styling */
.form-input {
  font-family: var(--font-family);
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 16px 6px 16px;
  color: var(--input-text);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
  width: 100%;
}

.form-input:hover {
  background: var(--input-hover-bg);
  border-color: var(--border-color-hover);
}

.form-input:focus {
  background: var(--input-focus-bg);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 24px;
}

/* Floating labels */
.form-label {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  pointer-events: none;
}

/* Float label up on focus/value check */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-input.has-value ~ .form-label {
  top: 6px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-gold);
}

/* Error states */
.form-group.has-error .form-input {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.form-group.has-error .form-label {
  color: #ef4444 !important;
}

.error-msg {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

/* Date picker specific */
input[type="date"] {
  color-scheme: dark;
}

/* Custom Select Dropdown */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-input {
  appearance: none;
  cursor: pointer;
}

.select-label {
  pointer-events: none;
}

/* Arrow overlay for select */
.select-chevron {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.select-input:focus ~ .select-chevron {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

/* Pick Days Chips Group */
.chips-group {
  margin-top: 12px;
}

.group-title-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-label {
  cursor: pointer;
}

.chip-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip-text {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  background: var(--input-bg);
}

.chip-checkbox:checked + .chip-text {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  font-weight: 600;
}

.chip-label:hover .chip-text {
  border-color: var(--border-color-hover);
}

.chips-group.has-error .chip-text {
  border-color: #ef4444;
}

/* Submit block */
.btn-submit {
  justify-content: center;
  font-weight: 600;
  padding: 16px;
  margin-top: 12px;
  background: var(--accent-gold);
  color: #000000;
}

.btn-submit:hover {
  background: #fbbf24;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  display: flex;
}

.animate-spin {
  animation: spin-anim 1s linear infinite;
}

@keyframes spin-anim {
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* SUCCESS SCREEN OVERLAY */
.success-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-surface);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.success-content {
  text-align: center;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Premium Animated Checkmark */
.checkmark-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--accent-gold);
  stroke-miterlimit: 10;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.2);
  margin-bottom: 24px;
}

.checkmark-circle-line {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--accent-gold);
  fill: none;
  animation: stroke-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: var(--accent-gold);
  animation: stroke-check 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke-circle {
  100% { stroke-dashoffset: 0; }
}

@keyframes stroke-check {
  100% { stroke-dashoffset: 0; }
}

.success-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 32px;
}

.reset-form-btn {
  font-weight: 600;
}

/* ----------------------------------------------------
   FOOTER (APPLE SITE DIRECTORY)
   ---------------------------------------------------- */
footer {
  background-color: var(--footer-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 3;
}

.footer-container {
  max-width: 1024px;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.directory-column h5 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 0.75rem;
}

.directory-column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.directory-column a {
  color: var(--text-secondary);
}

.directory-column a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-text {
  color: var(--text-tertiary);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  color: var(--text-tertiary);
}

.legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--text-secondary);
}

.legal-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-note {
  color: var(--text-tertiary);
  text-align: left;
}

/* Social Media Icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--social-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon-link:hover {
  transform: translateY(-3px) scale(1.08);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Brand-color hover states */
.social-icon-link[aria-label="Instagram"]:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}
.social-icon-link[aria-label="WhatsApp"]:hover {
  background: #25D366;
  color: #fff;
}
.social-icon-link[aria-label="YouTube"]:hover {
  background: #FF0000;
  color: #fff;
}
.social-icon-link[aria-label="Facebook"]:hover {
  background: #1877F2;
  color: #fff;
}

/* ----------------------------------------------------
   SCROLL REVEAL & FADE IN ANIMATIONS
   ---------------------------------------------------- */
.reveal-fade {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.active,
.reveal-fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Sequential delays */
.reveal-fade-up.active:nth-child(1) { transition-delay: 0.05s; }
.reveal-fade-up.active:nth-child(2) { transition-delay: 0.1s; }
.reveal-fade-up.active:nth-child(3) { transition-delay: 0.15s; }

/* ----------------------------------------------------
   RESPONSIVE DESIGN MEDIA QUERIES
   ---------------------------------------------------- */

@media (max-width: 1024px) {
  .section-title {
    font-size: 2.6rem;
  }
  
  .hero-title {
    font-size: 3.8rem;
  }
}

@media (max-width: 860px) {
  /* Header Links Collapse */
  .nav-links {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, auto);
  }
  
  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 1;
  }
  
  .bento-large {
    padding: 30px;
  }
  
  .bento-large h3 {
    font-size: 1.8rem;
  }
  
  .panel-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .panel-visual {
    order: -1;
  }
  
  .faculty-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer-directory {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 580px) {
  section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .ribbon-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .full-width {
    grid-column: span 1;
  }
  
  .glass-form-card {
    padding: 24px;
  }
  
  .footer-directory {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .testimonial-quote {
    font-size: 1.6rem;
  }

  /* Swipeable instrument tabs on mobile */
  .showcase-tabs-container {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .showcase-tabs {
    display: flex;
    white-space: nowrap;
  }
}

/* ----------------------------------------------------
   DYNAMIC UNIVERSAL INSTRUMENT BACKGROUNDS & NOTES
   ---------------------------------------------------- */
@property --theme-glow {
  syntax: '<color>';
  inherits: true;
  initial-value: rgba(217, 119, 6, 0.12);
}

@property --theme-glow-hover {
  syntax: '<color>';
  inherits: true;
  initial-value: rgba(217, 119, 6, 0.32);
}

.showcase-section {
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

/* Global Body Instrument Themes */
body.theme-piano {
  --theme-glow: rgba(217, 119, 6, 0.2);
  --theme-glow-hover: rgba(217, 119, 6, 0.5);
}
body.theme-guitar {
  --theme-glow: rgba(249, 115, 22, 0.2);
  --theme-glow-hover: rgba(249, 115, 22, 0.5);
}
body.theme-violin {
  --theme-glow: rgba(239, 68, 68, 0.2);
  --theme-glow-hover: rgba(239, 68, 68, 0.5);
}
body.theme-vocals {
  --theme-glow: rgba(236, 72, 153, 0.2);
  --theme-glow-hover: rgba(236, 72, 153, 0.5);
}
body.theme-ukulele {
  --theme-glow: rgba(20, 184, 166, 0.2);
  --theme-glow-hover: rgba(20, 184, 166, 0.5);
}
body.theme-drums {
  --theme-glow: rgba(162, 28, 175, 0.2);
  --theme-glow-hover: rgba(162, 28, 175, 0.5);
}

/* Global Music Notes Backdrop Container */
.music-notes-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 1; /* Above global ambient glow, below all sections */
}

/* Floating musical notes style */
.floating-note {
  position: absolute;
  bottom: -60px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: bold;
  opacity: 0;
  animation: floatNote linear forwards;
  user-select: none;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translateZ(0);
  filter: drop-shadow(0 0 6px currentColor);
}
@media (prefers-reduced-motion: reduce) {
  .floating-note { display: none !important; }
  .music-notes-container { display: none !important; }
  .ambient-glow { opacity: 0.4 !important; transition: none !important; }
  .visual-waveform .bar { animation: none !important; height: 30px !important; }
  .showcase-panel.active .instrument-svg,
  .showcase-panel.active .instrument-img { animation: none !important; }
  .bento-card:hover { transform: none !important; }
  #site-header { transition: none !important; }
}

@keyframes floatNote {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 0.22; /* Subtle, premium backdrop notes */
  }
  90% {
    opacity: 0.14;
  }
  100% {
    transform: translateY(-105vh) rotate(360deg) scale(0.9);
    opacity: 0;
  }
}

/* Active navigation link styling */
.nav-links a.active, 
.mobile-nav-links a.active {
  color: var(--accent-gold) !important;
  font-weight: 600;
}

/* Nav button-style link (e.g. Free Demo pill) */
.nav-btn-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px !important;
  border-radius: var(--radius-pill) !important;
  border: 1px solid var(--border-color) !important;
  background: var(--subtle-bg);
  color: var(--accent-gold) !important;
  font-weight: 600 !important;
  font-size: 0.75rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-btn-link:hover {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.4) !important;
  color: #fbbf24 !important;
}

/* ----------------------------------------------------
   LIGHT THEME OVERRIDES
   ---------------------------------------------------- */
body.light-theme {
  --bg-primary: #f5f5f7;
  --bg-secondary: #e8e8ec;
  --bg-surface: #e0e0e4;
  --bg-surface-translucent: rgba(224, 224, 228, 0.7);
  --bg-header: rgba(255, 255, 255, 0.75);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(0, 0, 0, 0.16);
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #aeaeb2;
  --text-inverse: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
  --gradient-dark: linear-gradient(180deg, #f0f0f2 0%, #e8e8ec 100%);
  --heading-color: #1d1d1f;
  --btn-primary-bg: #1d1d1f;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #3d3d3f;
  --btn-outline-hover-bg: rgba(0, 0, 0, 0.05);
  --header-bg: rgba(245, 245, 247, 0.75);
  --header-scrolled-bg: rgba(245, 245, 247, 0.85);
  --header-border: rgba(0, 0, 0, 0.06);
  --header-scrolled-border: rgba(0, 0, 0, 0.10);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-form-bg: rgba(255, 255, 255, 0.8);
  --mobile-menu-bg: #f5f5f7;
  --footer-bg: rgba(245, 245, 247, 0.95);
  --hamburger-color: #1d1d1f;
  --subtle-bg: rgba(0, 0, 0, 0.03);
  --subtle-bg-hover: rgba(0, 0, 0, 0.05);
  --subtle-bg-active: rgba(0, 0, 0, 0.08);
  --input-bg: rgba(0, 0, 0, 0.02);
  --input-hover-bg: rgba(0, 0, 0, 0.04);
  --input-focus-bg: rgba(0, 0, 0, 0.01);
  --input-text: #1d1d1f;
  --ribbon-bg: rgba(0, 0, 0, 0.03);
  --badge-bg: rgba(0, 0, 0, 0.04);
  --sound-bar-bg: rgba(0, 0, 0, 0.03);
  --social-bg: rgba(0, 0, 0, 0.04);
  --nav-link-color: rgba(29, 29, 31, 0.8);
  --body-mouse-active-bg: #f0f0f2;
}

body.light-theme .gradient-text {
  background: linear-gradient(135deg, #1d1d1f 10%, #d97706 50%, #ec4899 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .hero-bg-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.03) 40%, transparent 70%);
}

body.light-theme .hero-glass-card {
  box-shadow: var(--shadow-lg);
}

body.light-theme .visual-audio-player {
  background: var(--sound-bar-bg);
}

body.light-theme .play-btn:hover {
  background-color: var(--btn-primary-bg);
}

body.light-theme input[type="date"] {
  color-scheme: light;
}

/* Admin page light theme overrides */
body.light-theme .admin-dashboard-container,
body.light-theme .admin-gate-card {
  background: rgba(255, 255, 255, 0.75);
}

body.light-theme .metric-card {
  background: var(--subtle-bg);
}

body.light-theme .admin-metrics-grid .metric-value {
  color: var(--heading-color);
}

body.light-theme .filter-bar {
  background: var(--subtle-bg);
}

body.light-theme .search-input {
  background: var(--input-bg);
  color: var(--input-text);
}

body.light-theme .search-input:focus {
  background: rgba(0, 0, 0, 0.06);
}

body.light-theme .registry-table-container {
  background: transparent;
}

body.light-theme table.registry-table th {
  background: var(--subtle-bg);
  color: var(--heading-color);
}

body.light-theme table.registry-table tr:hover {
  background: var(--subtle-bg-hover);
}

body.light-theme .branch-badge {
  background: var(--subtle-bg);
}

/* Portal page light theme overrides */
body.light-theme .dashboard-container {
  background: rgba(255, 255, 255, 0.75);
}

body.light-theme .portal-tab-btn:hover {
  color: var(--text-primary);
  background: var(--subtle-bg);
}

body.light-theme .practice-timer-display {
  color: var(--heading-color);
}

body.light-theme .auth-toggle-container {
  background: var(--subtle-bg);
}

body.light-theme .auth-toggle-btn.active {
  background: var(--subtle-bg-active);
  color: var(--text-primary);
}

body.light-theme .syllabus-progress-bar {
  background: var(--subtle-bg);
}

/* Admin page dynamic content overrides */
body.light-theme .admin-dashboard-container h2[style*="color"][style*="#fff"],
body.light-theme .admin-dashboard-container h2[style*="color"][style*="#FFF"] {
  color: var(--heading-color) !important;
}

body.light-theme .admin-dashboard-container td,
body.light-theme .admin-dashboard-container th {
  color: var(--text-primary) !important;
}

body.light-theme .admin-dashboard-container [style*="background"][style*="rgba(255,255,255,0.03)"],
body.light-theme .admin-dashboard-container [style*="background"][style*="rgba(255, 255, 255, 0.03)"] {
  background: var(--subtle-bg) !important;
}

body.light-theme .admin-dashboard-container .form-input[style*="background"],
body.light-theme .admin-dashboard-container select[style*="background"] {
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
}
