:root {
    --v7-cyan: #20e6ff;
    --v7-blue: #4f78ff;
    --v7-violet: #9b62ff;
    --v7-pink: #ff4da3;
    --v7-bg: #04070b;
}

body.arrival-active {
    overflow: hidden;
}

.te-arrival-v7 {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(3,6,10,.96);
    transition: opacity .5s ease, visibility .5s ease;
}

.te-arrival-v7.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.te-arrival-v7.is-leaving {
    opacity: 0;
    transform: scale(1.012);
    transition:
        opacity .7s cubic-bezier(.2,.75,.2,1),
        transform .8s cubic-bezier(.2,.75,.2,1);
}

.te-v7-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 38%, rgba(32,230,255,.095), transparent 23%),
        radial-gradient(circle at 32% 66%, rgba(79,120,255,.08), transparent 30%),
        radial-gradient(circle at 72% 63%, rgba(255,77,163,.075), transparent 28%),
        linear-gradient(180deg, #05080d 0%, #070b12 52%, #04070b 100%);
}

.te-v7-grid {
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image:
        linear-gradient(rgba(32,230,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32,230,255,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 48%, #000 0 44%, transparent 85%);
}
.te-v7-frame {
    position: absolute;
    inset: 28px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.035);
}

.te-v7-frame::before,
.te-v7-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(var(--v7-cyan),var(--v7-cyan)) 0 0/42px 1px no-repeat,
        linear-gradient(var(--v7-cyan),var(--v7-cyan)) 0 0/1px 42px no-repeat,
        linear-gradient(var(--v7-pink),var(--v7-pink)) 100% 100%/42px 1px no-repeat,
        linear-gradient(var(--v7-pink),var(--v7-pink)) 100% 100%/1px 42px no-repeat;
    opacity: .72;
}

.te-v7-frame::after {
    transform: rotate(180deg);
    opacity: .38;
}

.te-v7-stage {
    position: relative;
    width: min(1420px, calc(100vw - 72px));
    height: min(900px, calc(100vh - 48px));
    min-height: 680px;
}
.te-v7-system {
    position: absolute;
    left: 50%;
    top: 44%;
    width: min(1020px, 78vw);
    height: 400px;
    transform: translate(-50%,-50%);
}

.te-v7-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%,-50%) perspective(900px) rotateX(62deg);
    transform-style: preserve-3d;
}

.te-v7-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    will-change: transform;
}

.ring-outer {
    border: 1px solid rgba(32,230,255,.2);
    background:
        conic-gradient(from 0deg,
            transparent 0 10%,
            rgba(32,230,255,.85) 10% 16%,
            transparent 16% 35%,
            rgba(155,98,255,.78) 35% 42%,
            transparent 42% 68%,
            rgba(255,77,163,.8) 68% 75%,
            transparent 75% 100%);
    filter: drop-shadow(0 0 14px rgba(32,230,255,.22));
}
.ring-mid {
    inset: 30px;
    border: 8px solid rgba(255,255,255,.035);
    background:
        conic-gradient(from 90deg,
            rgba(32,230,255,.92),
            rgba(79,120,255,.82) 24%,
            transparent 26% 49%,
            rgba(155,98,255,.82) 52%,
            rgba(255,77,163,.92) 74%,
            transparent 78% 100%);
    box-shadow:
        0 0 30px rgba(32,230,255,.2),
        inset 0 0 32px rgba(155,98,255,.12);
}

.ring-inner {
    inset: 76px;
    border: 2px solid rgba(255,255,255,.14);
    background:
        radial-gradient(circle, rgba(18,28,42,.95) 0 48%, rgba(7,12,19,.98) 49% 100%);
    box-shadow:
        0 0 0 10px rgba(255,255,255,.018),
        0 0 46px rgba(79,120,255,.18);
}

.te-arrival-v7.is-active .ring-outer {
    animation: v7Rotate 12s linear infinite;
}

.te-arrival-v7.is-active .ring-mid {
    animation: v7RotateReverse 8s linear infinite;
}
@keyframes v7Rotate {
    to { transform: rotate(360deg); }
}

@keyframes v7RotateReverse {
    to { transform: rotate(-360deg); }
}

.te-v7-coreplate {
    position: absolute;
    inset: 112px;
    display: grid;
    place-content: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(32,230,255,.11), rgba(7,11,18,.98) 68%);
    box-shadow:
        inset 0 0 26px rgba(32,230,255,.1),
        0 0 32px rgba(32,230,255,.12);
    transform: translateZ(12px);
}

.te-v7-coreplate span {
    color: rgba(255,255,255,.4);
    font: 600 .48rem/1 monospace;
    letter-spacing: .28em;
}

.te-v7-coreplate strong {
    margin-top: 4px;
    color: #fff;
    font-size: .9rem;
    letter-spacing: .08em;
}
.te-v7-beam {
    position: absolute;
    left: 50%;
    top: -190px;
    width: 90px;
    height: 700px;
    transform: translateX(-50%) rotateX(-62deg);
    transform-origin: center;
    opacity: .72;
    background:
        linear-gradient(90deg,
            transparent,
            rgba(32,230,255,.04) 24%,
            rgba(32,230,255,.22) 48%,
            rgba(255,255,255,.72) 50%,
            rgba(79,120,255,.2) 53%,
            transparent 76%);
    filter: blur(1px);
    mask-image: linear-gradient(to bottom, transparent, #000 18% 73%, transparent);
}

.te-v7-panel {
    position: absolute;
    z-index: 7;
    width: 290px;
    min-height: 74px;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    background: rgba(7,12,19,.88);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
    backdrop-filter: blur(20px);
}
.te-v7-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255,255,255,.05), transparent 42%);
}

.te-v7-panel > b {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 10px;
    font: 700 1rem/1 monospace;
}

.te-v7-panel strong {
    display: block;
    color: #fff;
    font-size: .68rem;
    letter-spacing: .14em;
}

.te-v7-panel small {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.38);
    font-size: .52rem;
    white-space: nowrap;
}

.te-v7-panel-software {
    left: 0;
    top: 18px;
    color: var(--v7-cyan);
    border-color: rgba(32,230,255,.36);
    box-shadow: 0 18px 54px rgba(32,230,255,.08);
}
.te-v7-panel-engineering {
    right: 0;
    top: 18px;
    color: #ba78ff;
    border-color: rgba(186,120,255,.36);
    box-shadow: 0 18px 54px rgba(155,98,255,.09);
}

.te-v7-panel-systems {
    left: 18px;
    bottom: 18px;
    color: #55dfff;
    border-color: rgba(85,223,255,.3);
}

.te-v7-panel-media {
    right: 18px;
    bottom: 18px;
    color: #ff7ac1;
    border-color: rgba(255,122,193,.34);
}

.te-v7-link {
    position: absolute;
    z-index: 3;
    height: 1px;
    transform-origin: left center;
    opacity: .7;
}

.te-v7-link::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}
.link-a {
    left: 260px;
    top: 90px;
    width: 170px;
    color: var(--v7-cyan);
    background: linear-gradient(90deg, currentColor, transparent);
    transform: rotate(18deg);
}

.link-b {
    right: 260px;
    top: 90px;
    width: 170px;
    color: #ba78ff;
    background: linear-gradient(270deg, currentColor, transparent);
    transform: rotate(-18deg);
}

.link-c {
    left: 275px;
    bottom: 88px;
    width: 150px;
    color: #55dfff;
    background: linear-gradient(90deg, currentColor, transparent);
    transform: rotate(-18deg);
}

.link-d {
    right: 275px;
    bottom: 88px;
    width: 150px;
    color: #ff7ac1;
    background: linear-gradient(270deg, currentColor, transparent);
    transform: rotate(18deg);
}
.te-v7-copy {
    position: absolute;
    left: 50%;
    bottom: 74px;
    width: min(1000px, 88vw);
    transform: translateX(-50%);
    text-align: center;
}

.te-v7-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    color: rgba(255,255,255,.7);
    font: 650 .62rem/1 monospace;
    letter-spacing: .32em;
}

.te-v7-kicker::before,
.te-v7-kicker::after {
    content: "";
    width: 46px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55));
}

.te-v7-kicker::after {
    transform: rotate(180deg);
}

.te-v7-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 5.2vw, 5.9rem);
    line-height: .88;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.te-v7-copy h1 span,
.te-v7-copy h1 em {
    display: block;
}
.te-v7-copy h1 em {
    margin-top: 4px;
    font-style: normal;
    color: transparent;
    background: linear-gradient(90deg,
        var(--v7-cyan) 8%,
        var(--v7-blue) 34%,
        var(--v7-violet) 60%,
        var(--v7-pink) 84%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(155,98,255,.16));
}

.te-v7-copy p {
    width: min(720px, 90%);
    margin: 14px auto 0;
    color: rgba(255,255,255,.54);
    font-size: .72rem;
    line-height: 1.65;
}

.te-v7-progress-wrap {
    position: absolute;
    left: 50%;
    bottom: 24px;
    width: min(510px, 72vw);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 13px;
    transform: translateX(-50%);
}

.te-v7-progress {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.te-v7-progress b {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,
        var(--v7-cyan),
        var(--v7-blue),
        var(--v7-violet),
        var(--v7-pink));
    box-shadow: 0 0 15px rgba(32,230,255,.35);
}
.te-v7-progress-wrap > span {
    min-width: 36px;
    color: rgba(255,255,255,.68);
    font: 600 .58rem/1 monospace;
    text-align: right;
}

.te-v7-process,
.te-v7-impact {
    position: absolute;
    z-index: 4;
    top: 42%;
    display: grid;
    gap: 12px;
    color: rgba(255,255,255,.3);
    font: 600 .44rem/1 monospace;
    letter-spacing: .18em;
}

.te-v7-process {
    left: 18px;
    padding-left: 14px;
    border-left: 1px solid rgba(32,230,255,.38);
}

.te-v7-impact {
    right: 18px;
    padding-right: 14px;
    border-right: 1px solid rgba(255,77,163,.38);
    text-align: right;
}

.te-v7-process span:nth-child(3),
.te-v7-impact span:last-child {
    color: rgba(255,255,255,.72);
}

.te-v7-skip {
    top: 26px;
    right: 30px;
    opacity: 1;
}

.te-v7-skip i {
    margin-left: 7px;
    color: var(--v7-cyan);
    font-style: normal;
}
.te-arrival-v7.is-active .te-v7-panel,
.te-arrival-v7.is-active .te-v7-copy,
.te-arrival-v7.is-active .te-v7-process,
.te-arrival-v7.is-active .te-v7-impact {
    animation: v7FadeIn .72s cubic-bezier(.2,.75,.2,1) both;
}

.te-arrival-v7.is-active .te-v7-panel-software { animation-delay: .45s; }
.te-arrival-v7.is-active .te-v7-panel-engineering { animation-delay: .58s; }
.te-arrival-v7.is-active .te-v7-panel-systems { animation-delay: .7s; }
.te-arrival-v7.is-active .te-v7-panel-media { animation-delay: .82s; }
.te-arrival-v7.is-active .te-v7-copy { animation-delay: 1.05s; }
.te-arrival-v7.is-active .te-v7-process { animation-delay: 1.2s; }
.te-arrival-v7.is-active .te-v7-impact { animation-delay: 1.28s; }

@keyframes v7FadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.te-v7-replay {
    z-index: 900;
}
@media (max-width: 980px) {
    .te-v7-stage {
        width: min(100% - 28px, 900px);
        min-height: 700px;
    }

    .te-v7-system {
        width: 92vw;
        top: 42%;
        transform: translate(-50%,-50%) scale(.88);
    }

    .te-v7-process,
    .te-v7-impact {
        display: none;
    }

    .te-v7-panel {
        width: 250px;
    }
}

@media (max-width: 720px) {
    .te-v7-frame {
        inset: 12px;
    }

    .te-v7-stage {
        height: calc(100vh - 20px);
        min-height: 620px;
    }

    .te-v7-system {
        top: 40%;
        width: 100%;
        height: 360px;
        transform: translate(-50%,-50%) scale(.72);
    }
    .te-v7-panel {
        width: 235px;
    }

    .te-v7-panel-software,
    .te-v7-panel-engineering {
        top: 0;
    }

    .te-v7-panel-systems,
    .te-v7-panel-media {
        bottom: 0;
    }

    .te-v7-copy {
        bottom: 78px;
        width: 94vw;
    }

    .te-v7-copy h1 {
        font-size: clamp(2.1rem, 10.2vw, 4.3rem);
    }

    .te-v7-copy p {
        font-size: .62rem;
    }

    .te-v7-progress-wrap {
        bottom: 30px;
        width: min(420px, 76vw);
    }

    .te-v7-skip {
        top: 16px;
        right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .te-arrival-v7 *,
    .te-arrival-v7 {
        animation: none !important;
        transition-duration: .15s !important;
    }
}
