/* Pinpoint4: purple plexus hero background (home page). Script: assets/js/p4-plexus.js
   Replaced the hero video + hero-globe.jpg still on 17 Nov 2026. */

/* the hero section: no Elementor photo/overlay underneath any more */
.elementor-element-875752b.p4-plexus-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #07081E !important;
    --background-overlay: none;
}
.elementor-element-875752b.p4-plexus-hero::before { content: none !important; }

/* canvas layer, full size of the hero */
.p4-plexus {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 75% 85% at 50% 40%, #241F5C 0%, #110F33 50%, #07081E 100%);
}
.p4-plexus canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* shading so the centred headline stays easy to read; fades into the navy page below */
.p4-plexus::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 48% 42% at 50% 50%, rgba(7, 8, 30, .62) 0%, rgba(7, 8, 30, .35) 55%, rgba(7, 8, 30, 0) 100%),
        linear-gradient(180deg, rgba(7, 8, 30, .45) 0%, rgba(7, 8, 30, 0) 18%, rgba(11, 12, 42, 0) 78%, #0B0C2A 100%);
}

/* hero content sits above the network */
.p4-plexus-hero > .e-con-inner > .e-con { position: relative; z-index: 1; }

@media (max-width: 767px) {
    .p4-plexus::after {
        background:
            linear-gradient(180deg, rgba(7, 8, 30, .55) 0%, rgba(7, 8, 30, .5) 50%, #0B0C2A 100%);
    }
}

/* the spark hitting the headline (added by p4-plexus.js for ~0.9s, about every 15s) */
.p4-plexus-hero.p4-zap h1 { animation: p4-zap .9s ease-out; }
@keyframes p4-zap {
    0%   { text-shadow: 0 0 0 rgba(170, 160, 255, 0); transform: translate(0, 0); }
    6%   { text-shadow: 0 0 12px rgba(210, 255, 215, .95), 0 0 32px rgba(95, 232, 115, .8), 0 0 70px rgba(95, 232, 115, .4); transform: translate(1.5px, -1px); }
    12%  { transform: translate(-1.5px, 1px); }
    18%  { transform: translate(1px, 0); }
    24%  { transform: translate(0, 0); }
    100% { text-shadow: 0 0 0 rgba(170, 160, 255, 0); transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .p4-plexus-hero.p4-zap h1 { animation: none; }
}
