/* Page background layers — blur / frosted glass via Design Tool */

.page-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-background__base {
  position: absolute;
  inset: 0;
  background: var(--axiark-page-active-base, var(--bg, #fafafa));
  transition: background 0.35s ease;
}

.page-background__image {
  position: absolute;
  inset: -32px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.page-background__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(var(--axiark-page-active-blur, 0px));
  transform: scale(1.04);
  transition: filter 0.35s ease;
}

.page-background--has-image .page-background__image {
  opacity: 1;
}

.page-background__frost {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, var(--axiark-page-active-frost, 0));
  backdrop-filter: blur(var(--axiark-page-active-frost-blur, 0px)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--axiark-page-active-frost-blur, 0px)) saturate(160%);
  transition: background-color 0.35s ease;
}

.page-background__dark {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, var(--axiark-page-active-overlay, 0));
  transition: background-color 0.35s ease;
}

/* Let custom backgrounds show through page content */
body.page-custom-background {
  background-color: transparent;
}

body.page-custom-background .page-container,
body.page-custom-background .page-view,
body.page-custom-background .hero,
body.page-custom-background .home-intro,
body.page-custom-background .home-feature,
body.page-custom-background .section-content,
body.page-custom-background .section-panel,
body.page-custom-background .catalyst-landing,
body.page-custom-background .pricing-page {
  background: transparent;
}
