/* ==========================================================================
   MicroSIS.ai — Animated WebGL1 "Waves" Shader Background
   Colours: #031C26 -> #1B6CA8 -> #5AD2F4 -> #EAF9FF
   ========================================================================== */

body {
  position: relative;
  background-color: #031C26 !important;
}

.waves-bg-wrap {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.waves-bg-canvas {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Ensure foreground content stacks above the WebGL1 background canvas */
#home,
#mainContent,
.mp-page-directory,
#siteFooter {
  position: relative;
  z-index: 1;
}

/* Keep the Hero outer container transparent so #sculptureHero stays crisp at top
   and .sh-live-follow floats over the animated Waves shader */
.hero.sh-live {
  background: transparent !important;
}

/* Frosted glass surfaces with high readability in both Light and Dark themes */
html[data-theme="light"] .section,
html[data-theme="light"] .product-detail {
  background: rgba(248, 252, 255, 0.85) !important;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

html[data-theme="light"] .section-alt {
  background: rgba(238, 247, 255, 0.88) !important;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

html[data-theme="dark"] .section,
html[data-theme="dark"] .product-detail {
  background: rgba(5, 22, 32, 0.82) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

html[data-theme="dark"] .section-alt {
  background: rgba(3, 16, 24, 0.86) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.mp-suite-ribbon {
  background: rgba(248, 252, 255, 0.88) !important;
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

html[data-theme="dark"] .mp-suite-ribbon {
  background: rgba(5, 22, 32, 0.88) !important;
}

.mp-page-directory {
  background: rgba(248, 252, 255, 0.9) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html[data-theme="dark"] .mp-page-directory {
  background: rgba(4, 18, 27, 0.9) !important;
}
