/*
  Glass transparency — full site header → footer
  Load after theme CSS
*/

html,
body.sr-site,
.sr-site .site-wrapper {
  background: transparent !important;
}

.sr-site .site-wrapper::before,
.sr-site .site-wrapper::after {
  display: none !important;
  content: none !important;
}

/* All layout shells — transparent */
.sr-site section,
.sr-site main,
.sr-site article,
.sr-site .hero-stage,
.sr-site #dashboard,
.sr-site #guide,
.sr-site #about,
.sr-site #solar,
.sr-site .sr-intelligence-band,
.sr-site .sr-faq-section {
  background: transparent !important;
}

/* Hero glass panels */
.sr-site .hero-stage-shell,
.sr-site .hero-readout-shell,
.sr-site .hero-readout-wrap,
.sr-site .hero-visual-h1 {
  background: transparent !important;
}

.sr-site .hero-readout-shell {
  background: rgba(6, 12, 28, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(14px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.35) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.sr-site .hero-stats-row .card,
.sr-site .card {
  background: rgba(6, 10, 22, 0.26) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.25) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.sr-site .hero-audience-wrap .card,
.sr-site .hero-audience-card,
.sr-site .hero-features-strip .card {
  background: rgba(8, 14, 30, 0.28) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
}

.sr-site #dashboard .card,
.sr-site #guide .card,
.sr-site #guide article.card,
.sr-site #about .card,
.sr-site .spectro-container,
.sr-site #live-freq-chart-wrap,
.sr-site .chart-shell,
.sr-site .harmonic-grid .card,
.sr-site .sr-faq-card {
  background: rgba(6, 10, 22, 0.28) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.sr-site .hero-cta-row a[href="#dashboard"] {
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.28) !important;
}

.sr-site .hero-cta-row a[href="#guide"] {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* Dashboard tabs & panels */
.sr-site .chart-tab-row,
.sr-site .tab-btn,
.sr-site .spectro-legend,
.sr-site .band-label,
.sr-site .sr-band-chip {
  background: rgba(6, 10, 22, 0.24) !important;
}

/* Footer — soft fade, not solid wall */
.sr-site .footer-premium,
.sr-site footer.footer-premium {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(2, 6, 18, 0.35) 20%,
    rgba(2, 6, 18, 0.62) 100%
  ) !important;
}

.sr-site .footer-premium-col,
.sr-site .footer-premium-brand,
.sr-site .footer-premium-shell {
  background: transparent !important;
}

.sr-site .footer-premium-col {
  background: rgba(8, 14, 30, 0.28) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Nav — readable glass */
html body.sr-site nav.nav-glass.nav-premium {
  background: linear-gradient(
    180deg,
    rgba(2, 6, 18, 0.55) 0%,
    rgba(2, 6, 18, 0.28) 100%
  ) !important;
}

html body.sr-site nav.nav-premium .nav-shell {
  background: linear-gradient(
    135deg,
    rgba(8, 16, 38, 0.52) 0%,
    rgba(14, 26, 52, 0.38) 100%
  ) !important;
}

html body.sr-site nav.nav-glass.nav-premium.scrolled {
  background: linear-gradient(
    180deg,
    rgba(2, 6, 18, 0.78) 0%,
    rgba(2, 6, 18, 0.52) 100%
  ) !important;
}

html body.sr-site nav.nav-premium.scrolled .nav-shell {
  background: linear-gradient(
    135deg,
    rgba(8, 16, 38, 0.68) 0%,
    rgba(14, 26, 52, 0.52) 100%
  ) !important;
}

@media (max-width: 767px) {
  .sr-site .hero-readout-shell,
  .sr-site .card,
  .sr-site .sr-faq-card {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-site section {
    transition: none !important;
  }
}
