.card-light { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.card-light i { position: absolute; display: block; background-repeat: no-repeat; background-position: 50% 100%; background-size: 100% 100%; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); animation-play-state: paused; }
.product-light { background: radial-gradient(ellipse 90% 62% at 64% 138%, #123b71, transparent 74%); }
.product-light i { bottom: -3%; left: 0; height: 48%; width: 48%; animation: product-current 5.8s ease-in-out infinite alternate; animation-play-state: paused; }
.product-light i:first-child { background-image: radial-gradient(ellipse 50% 69% at 50% 99%, #79aff1b8, #2e69cf8a 31%, #1b3e813b 61%, transparent 99%), url("../images/glow-c.webp"); }
.product-light i:last-child { bottom: -6%; height: 55%; width: 59%; opacity: .78; background-image: url("../images/glow-b.webp"); animation-name: product-current-secondary; animation-duration: 8.5s; }
.map-light { background: linear-gradient(170deg, transparent 46%, #0e1929 100%); }
.map-light i { bottom: -5%; left: 0; width: 75%; height: 114%; animation: map-current 4.8s ease-in-out infinite alternate; animation-play-state: paused; }
.map-light i:first-child { background-image: radial-gradient(ellipse 50% 73% at 50% 100%, #589bee85, #2b5ea453 34%, transparent 97%), url("../images/glow-map.webp"); }
.map-light i:last-child { opacity: .51; background-image: url("../images/glow-map.webp"); animation-direction: alternate-reverse; animation-duration: 7.4s; }
.is-inview > .card-light i { animation-play-state: running; }
@keyframes product-current { from { transform: translateX(-39%); } to { transform: translateX(150%); } }
@keyframes product-current-secondary { from { transform: translateX(97%); } to { transform: translateX(-29%); } }
@keyframes map-current { from { transform: translateX(-42%); } to { transform: translateX(82%); } }

.pointer-light {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.pointer-light::before {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--follow-width);
    height: var(--follow-height);
    opacity: 0;
    content: "";
    background: radial-gradient(ellipse, #3e72d251, #29498c30 38%, transparent 71%);
    transform: translate3d(var(--light-x, 0px), var(--light-y, 0px), 0) translate(-50%, -50%);
    transition: opacity .25s ease, transform .16s var(--ease-out);
}
.has-pointer-light > .pointer-light::before { opacity: 1; }

.motion-ready [data-reveal].is-pending { opacity: 0; }
.motion-ready [data-reveal].is-revealed { animation: reveal-rise .8s var(--delay, 0ms) var(--ease-out) both; }
.motion-ready [data-title].is-pending.slide-line > span, .motion-ready [data-title].is-pending .slide-line > span { transform: translateY(112%); }
.motion-ready [data-title].is-revealed.slide-line > span, .motion-ready [data-title].is-revealed .slide-line > span { animation: reveal-title .8s var(--ease-out) both; }
.motion-ready [data-title].is-revealed .slide-line:nth-child(2) > span { animation-delay: .11s; }
@keyframes reveal-rise { from { opacity: 0; translate: 0 27px; } to { opacity: 1; translate: 0 0; } }
@keyframes reveal-title { from { transform: translateY(112%); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    .card-light i { animation: none !important; }
    .pointer-light { display: none; }
    .motion-ready [data-reveal].is-pending { opacity: 1; }
    .motion-ready .inner-page [data-reveal].is-revealed { animation: none; }
    .motion-ready [data-title].is-pending.slide-line > span, .motion-ready [data-title].is-pending .slide-line > span { transform: none; }
}
