.wss-rays-section { isolation: isolate; position: relative; }
.wss-rays-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.wss-rays-image,
.wss-contact-hero,
.wss-about-hero,
.wss-pricing-hero {
  background: url('/assets/brighthub/14fe867a3a-section-bg4-scaled.jpg') center top / 100% clamp(320px, 49vw, 880px) no-repeat #fff;
}
.wss-rays-image {
  position: absolute;
  inset: -4% -5%;
  transform-origin: center top;
  animation: wss-sun-rays 12s ease-in-out infinite alternate paused;
}
.wss-rays-top.wss-rays-section,
.wss-rays-bottom.wss-rays-section,
.wss-rays-top.wss-rays-section.page-hero::before { background-image: none !important; }
.wss-rays-bottom .wss-rays-layer { transform: scaleY(-1); }
.wss-rays-soft .wss-rays-layer { mix-blend-mode: multiply; opacity: .22; }
.wss-rays-visible .wss-rays-image { animation-play-state: running; }
.wss-lighting-paused .wss-rays-image,
.wss-lighting-paused .wss-flow-steps::after { animation-play-state: paused !important; }
@keyframes wss-sun-rays {
  from { transform: translate3d(-1.2%, -1.2%, 0) scale(1.01) rotate(-.7deg); }
  to { transform: translate3d(1.2%, .6%, 0) scale(1.07) rotate(.7deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wss-rays-image { animation: none; }
}

.wss-contact-hero .contact-form-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.wss-contact-hero .contact-form-card::before {
  position: absolute;
  z-index: -1;
  inset: -14%;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 82% 16%, #ffc89478, transparent 34%),
    radial-gradient(ellipse at 15% 82%, #ffe8a960, transparent 39%);
}
@media (prefers-reduced-motion: no-preference) {
  .wss-contact-hero .contact-form-card::before {
    animation: wss-contact-glow 11s ease-in-out infinite alternate paused;
  }
  .wss-contact-hero .contact-form-card.wss-rays-visible::before {
    animation-play-state: running;
  }
  .wss-contact-hero .contact-form-card:focus-within::before,
  .wss-lighting-paused .wss-contact-hero .contact-form-card::before {
    animation-play-state: paused;
  }
}
@keyframes wss-contact-glow {
  from { transform: translate3d(-5%, -2%, 0) scale(1.02); }
  to { transform: translate3d(8%, 5%, 0) scale(1.12); }
}

@media (prefers-reduced-motion: no-preference) {
  .wss-pricing-hero-deck.wss-rays-visible::before {
    animation: wss-pricing-glow 9s ease-in-out infinite alternate;
  }
  .wss-pricing-hero-deck.wss-rays-visible .wss-pricing-tier {
    animation: wss-pricing-reveal 740ms cubic-bezier(.18,.82,.24,1) var(--tier-delay) both;
  }
  .wss-pricing-hero-deck.wss-rays-visible .wss-pricing-tier>a {
    animation: wss-pricing-float 5.6s ease-in-out calc(900ms + var(--tier-delay)) infinite;
  }
  .wss-pricing-tier>a::after {
    position: absolute;
    top: -24%;
    bottom: -24%;
    left: -36%;
    width: 29%;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #ffbd8054, transparent);
    rotate: 14deg;
  }
  .wss-pricing-hero-deck.wss-rays-visible .wss-pricing-tier>a::after {
    animation: wss-pricing-sheen 7.8s ease-in-out calc(600ms + var(--tier-delay) * 3) infinite;
  }
  .wss-pricing-hero-deck .wss-pricing-tier>a:is(:hover,:focus-visible),
  .wss-lighting-paused .wss-pricing-hero-deck::before,
  .wss-lighting-paused .wss-pricing-hero-deck .wss-pricing-tier,
  .wss-lighting-paused .wss-pricing-hero-deck .wss-pricing-tier>a,
  .wss-lighting-paused .wss-pricing-hero-deck .wss-pricing-tier>a::after {
    animation-play-state: paused !important;
  }
}
@keyframes wss-pricing-reveal {
  from { opacity: 0; translate: 0 14px; scale: .98; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes wss-pricing-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
@keyframes wss-pricing-sheen {
  0%, 24% { translate: 0 0; }
  51%, 100% { translate: 500% 0; }
}
@keyframes wss-pricing-glow {
  from { transform: translate3d(-7%, 0, 0) scale(1); }
  to { transform: translate3d(10%, -7%, 0) scale(1.14); }
}

@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .wss-hero-drift {
    animation: wss-hero-drift var(--drift-duration) ease-in-out var(--drift-delay, -1s) infinite paused;
  }
  .wss-hero-drift--card-left {
    --drift-duration: 9s;
    --drift-x: -5px;
    --drift-y: -15px;
    --drift-tilt: 1.2deg;
  }
  .wss-hero-drift--card-right {
    --drift-duration: 10.5s;
    --drift-delay: -5s;
    --drift-x: 5px;
    --drift-y: -13px;
    --drift-tilt: -1.1deg;
  }
  .wss-hero-drift--accent {
    --drift-duration: 7s;
    --drift-x: 3px;
    --drift-y: -9px;
    --drift-tilt: -3deg;
  }
  .wss-hero-drift--accent[data-id="8958a9c"] { --drift-delay: -4s; }
  .wss-hero-drift--accent[data-id="0d86229"] { --drift-delay: -2.5s; }
  .wss-hero-drift--accent[data-id="ac59df2"] { --drift-delay: -5.5s; }

  .wss-rays-visible .wss-hero-drift { animation-play-state: running; }
  .wss-hero-drift:is(:hover, :focus-within),
  .wss-lighting-paused .wss-hero-drift { animation-play-state: paused; }
}

@keyframes wss-hero-drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: var(--drift-x) var(--drift-y); rotate: var(--drift-tilt); }
}
