/* =========================================================
   18. FUTURE / HORIZON
   ========================================================= */

.horizon {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.horizon__sky {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        
        radial-gradient(ellipse at 50% 100%, rgba(0,119,255,0.10), transparent 45%),
        radial-gradient(ellipse at 35% 100%, rgba(0,201,119,0.07), transparent 40%),
        radial-gradient(ellipse at 65% 100%, rgba(153,0,255,0.07), transparent 40%);
}

.horizon__line {
    position: absolute;
    left: 0;
    right: 0;
    top: 68%;
    height: 1px;
    background: rgba(255,255,255,.2);
    box-shadow: 0 0 40px rgba(255,255,255,.15);
}

.horizon__light {
    position: absolute;
    left: 50%;
    top: 68%;
    width: 10px;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: white;
    box-shadow:
        
        0 0 25px rgba(255,255,255,0.95),
        0 0 60px rgba(0,119,255,0.35),
        0 0 100px rgba(153,0,255,0.25),
        0 0 150px rgba(0,201,119,0.15);
}

.horizon__signal {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    opacity: .4;
}

.horizon__signal:nth-child(1) {
    left: 15%;
    top: 25%;
}

.horizon__signal:nth-child(2) {
    left: 30%;
    top: 40%;
}

.horizon__signal:nth-child(3) {
    right: 20%;
    top: 30%;
}

.horizon__signal:nth-child(4) {
    right: 35%;
    top: 48%;
}

.horizon__content {
    width: min(800px, 100%);
    margin-inline: auto;
    padding: 10rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.horizon__title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: .95;
    letter-spacing: -.05em;
}

.horizon__description {
    max-width: 600px;
    margin: 2rem auto;
    opacity: .6;
    line-height: 1.8;
}

.horizon__future-signal {
    margin-top: 4rem;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    opacity: .4;
}

.horizon.is-visible .horizon__light {
    animation: horizonPulse 4s ease-in-out infinite;
}

@keyframes horizonPulse {
    0%,100% {
        transform: translate(-50%, -50%) scale(.8);
        box-shadow:
            0 0 25px white,
            0 0 100px rgba(255,255,255,.5);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        box-shadow:
            0 0 45px white,
            0 0 180px rgba(255,255,255,.65);
    }
}

.future__light {
    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.95) 0%,
            rgba(255,204,51,0.30) 12%,
            rgba(0,119,255,0.22) 24%,
            rgba(0,201,119,0.18) 36%,
            rgba(255,51,153,0.15) 48%,
            rgba(255,136,0,0.12) 58%,
            rgba(153,0,255,0.10) 68%,
            transparent 75%
        );
}

.horizon__sky {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(0,119,255,0.10), transparent 45%),
        radial-gradient(ellipse at 35% 100%, rgba(0,201,119,0.07), transparent 40%),
        radial-gradient(ellipse at 65% 100%, rgba(153,0,255,0.07), transparent 40%);
}

.horizon__light {
    box-shadow:
        0 0 25px rgba(255,255,255,0.95),
        0 0 60px rgba(0,119,255,0.35),
        0 0 100px rgba(153,0,255,0.25),
        0 0 150px rgba(0,201,119,0.15);
}

