.products-page-hero {
    display: grid;
    align-items: center;
    min-height: min(760px, calc(100svh - 76px));
}

.products-page-hero .container {
    width: 100%;
}

.products-page-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.5rem);
}

.products-page-hero__content,
.products-page-hero__visual {
    min-width: 0;
}

.products-page-hero__content {
    position: relative;
    z-index: 1;
}

.products-page-hero__content h1 {
    max-width: 760px;
}

.products-page-hero__content p {
    max-width: 640px;
}

.products-page-hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1600 / 1100;
    margin: 0;
    isolation: isolate;
}

.products-page-hero__visual::before {
    position: absolute;
    z-index: -2;
    inset: 12% 10%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(213, 157, 95, .2), rgba(213, 157, 95, .06) 48%, transparent 74%);
    content: "";
    filter: blur(22px);
    animation: products-hero-glow 10s ease-in-out infinite alternate;
}

.products-page-hero__visual::after {
    position: absolute;
    z-index: -1;
    inset: 9% 7%;
    border: 1px solid color-mix(in srgb, var(--color-accent) 23%, transparent);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    animation: products-hero-orbit 72s linear infinite;
}

.products-page-hero__visual .products-ecosystem-art {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.products-page-hero__visual .products-ring-one,
.products-page-hero__visual .products-ring-two {
    transform-box: view-box;
    transform-origin: 800px 545px;
    animation: products-ring-rotate 26s linear infinite;
}

.products-page-hero__visual .products-ring-two {
    animation-duration: 34s;
    animation-direction: reverse;
}

.products-page-hero__visual .products-core-motion {
    transform-box: view-box;
    transform-origin: 800px 535px;
    animation: products-core-float 7s ease-in-out infinite;
}

.products-page-hero__visual .products-orbit-card {
    offset-path: ellipse(500px 380px at 800px 545px) view-box;
    offset-anchor: 50% 50%;
    offset-rotate: 0deg;
    animation: products-card-orbit 36s linear infinite;
    animation-delay: var(--orbit-delay);
}

.products-page-hero__visual .products-card-float {
    transform-box: fill-box;
    transform-origin: center;
    animation: products-card-float 7s ease-in-out infinite;
}

.products-page-hero__visual .orbit-cloud .products-card-float { animation-delay: -1s; }
.products-page-hero__visual .orbit-ai .products-card-float { animation-delay: -2s; }
.products-page-hero__visual .orbit-security .products-card-float { animation-delay: -3s; }
.products-page-hero__visual .orbit-scalable .products-card-float { animation-delay: -4s; }
.products-page-hero__visual .orbit-devops .products-card-float { animation-delay: -5s; }

.products-page-hero__visual .products-ecosystem-connections { animation: products-connections-breathe 7s ease-in-out infinite; }
.products-page-hero__visual .products-ecosystem-aura,
.products-page-hero__visual .products-ecosystem-glow { animation: products-core-glow 9s ease-in-out infinite alternate; }
.products-page-hero__visual .products-particle {
    transform-box: fill-box;
    transform-origin: center;
    animation: products-particle-drift 5.5s ease-in-out infinite;
}

.products-page-hero__visual .particle-b { animation-delay: -1.1s; }
.products-page-hero__visual .particle-c { animation-delay: -2.2s; }
.products-page-hero__visual .particle-d { animation-delay: -3.3s; }
.products-page-hero__visual .particle-e { animation-delay: -4.4s; }
.products-page-hero__visual .particle-f { animation-delay: -1.7s; }
.products-page-hero__visual .particle-g { animation-delay: -2.8s; }
.products-page-hero__visual .particle-h { animation-delay: -3.9s; }

@keyframes products-card-orbit {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
}

@keyframes products-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes products-core-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.015); }
}

@keyframes products-ring-rotate {
    from { transform: rotate(-8deg); }
    to { transform: rotate(352deg); }
}

@keyframes products-particle-drift {
    0%, 100% { opacity: .5; transform: translateY(0) scale(1); }
    50% { opacity: .9; transform: translateY(-3px) scale(1.08); }
}

@keyframes products-connections-breathe {
    0%, 100% { opacity: .78; }
    50% { opacity: 1; }
}

@keyframes products-core-glow {
    from { opacity: .82; }
    to { opacity: 1; }
}

@keyframes products-hero-orbit {
    to { transform: rotate(360deg); }
}

@keyframes products-hero-glow {
    from { opacity: .62; transform: scale(.97); }
    to { opacity: .9; transform: scale(1.03); }
}

@media (max-width: 900px) {
    .products-page-hero__layout {
        gap: 1.25rem;
    }

    .products-page-hero__content h1 {
        font-size: clamp(2.6rem, 5vw, 4rem);
    }
}

@media (max-width: 820px) {
    .products-page-hero {
        min-height: 0;
    }

    .products-page-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
    }

    .products-page-hero__visual {
        width: min(100%, 700px);
        justify-self: center;
    }

    .products-page-hero__visual .products-orbit-card {
        offset-path: ellipse(500px 380px at 800px 545px) view-box;
    }
}

@media (max-width: 560px) {
    .products-page-hero__layout {
        gap: .35rem;
    }

    .products-page-hero__visual {
        width: min(100%, 520px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-page-hero__visual::before,
    .products-page-hero__visual::after,
    .products-page-hero__visual img {
        animation: none;
    }

    .products-page-hero__visual .products-ecosystem-art,
    .products-page-hero__visual .products-ecosystem-art * {
        animation: none !important;
    }
}