.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: var(--color-contrast);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.78) brightness(0.58);
    transform: scale(1.05);
    animation: hero-pan 18s ease-in-out infinite alternate;
    z-index: -2;
}

.hero__matrix {
    position: absolute;
    inset: -15%;
    background: radial-gradient(circle at 50% 50%, rgba(148, 205, 255, 0.12), transparent 60%),
        repeating-linear-gradient(90deg, rgba(120, 180, 255, 0.06) 0, rgba(120, 180, 255, 0.06) 1px, transparent 1px, transparent 36px),
        repeating-linear-gradient(0deg, rgba(120, 180, 255, 0.06) 0, rgba(120, 180, 255, 0.06) 1px, transparent 1px, transparent 36px);
    opacity: 0.18;
    filter: blur(1px);
    transform: rotate(-2deg);
    animation: hero-matrix-scroll 16s linear infinite;
    pointer-events: none;
}

.theme-light .hero__background {
    filter: grayscale(0.4) brightness(1.12);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(5, 8, 16, 0.32) 8%, rgba(5, 8, 16, 0.14) 55%, rgba(5, 8, 16, 0.26) 94%);
    z-index: -1;
}

.theme-light .hero::before {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.34) 10%, rgba(248, 250, 255, 0.1) 56%, rgba(236, 240, 250, 0.16) 94%);
    opacity: 0.74;
}

.hero__layout {
    position: relative;
    display: grid;
    gap: clamp(2.5rem, 6vw, 7rem);
    align-items: center;
    padding: clamp(0.5rem, 1vw, 1rem) 0;
}

@media (max-width: 768px) {
    .hero__layout {
        padding: clamp(0.25rem, 3vw, 0.75rem) 0;
    }
}

.hero__visual {
    position: relative;
    pointer-events: none;
    display: grid;
    place-items: center;
    overflow: visible;
    width: clamp(18rem, 32vw, 24rem);
    aspect-ratio: 1;
    margin-inline: auto;
    isolation: isolate;
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    height: 100%;
    animation: orbit-spin 28s linear infinite;
}

.hero-orbit--outer {
    width: 100%;
    height: 100%;
}

.hero-orbit--inner {
    width: 68%;
    height: 68%;
    border-color: rgba(255, 255, 255, 0.08);
    animation-duration: 20s;
    animation-direction: reverse;
}

.hero-orbit--core {
    width: 46%;
    height: 46%;
    border-color: rgba(255, 255, 255, 0.05);
    animation-duration: 14s;
}

.theme-light .hero-orbit {
    border-color: rgba(16, 18, 26, 0.12);
}

.theme-light .hero-orbit--inner {
    border-color: rgba(16, 18, 26, 0.1);
}

.theme-light .hero-orbit--core {
    border-color: rgba(16, 18, 26, 0.08);
}

.hero-card {
    position: absolute;
    top: 50%;
    left: 50%;
    --orbit-distance: clamp(6.5rem, 16vw, 10rem);
    --orbit-rotation: 0deg;
    --orbit-ring-radius: 1;
    --orbit-height-offset: 0;
    --card-scale: 1;
    transform-origin: center;
    transform:
        translate(-50%, -50%)
        rotate(var(--orbit-rotation))
        translateX(calc(var(--orbit-distance) * var(--orbit-ring-radius)))
        translateY(var(--orbit-height-offset))
        rotate(calc(-1 * var(--orbit-rotation)))
        scale(var(--card-scale));
    padding: 0.8rem 1rem;
    border-radius: 16px;
    background: rgba(12, 18, 32, 0.12);
    background-clip: padding-box;
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: clamp(9.3rem, 21vw, 11rem);
    display: grid;
    gap: 0.35rem;
    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: hero-card-orbit 18s var(--motion-ease) infinite;
    mix-blend-mode: normal;
    will-change: transform;
    z-index: 5;
}

.theme-light .hero-card {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(16, 18, 26, 0.22);
    box-shadow:
        0 24px 32px rgba(16, 18, 26, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    color: rgba(16, 18, 26, 0.9);
    text-shadow: none;
}

.hero-card--aws {
    animation-delay: 0s;
    --orbit-rotation: 180deg;
    --orbit-distance: clamp(9rem, 18vw, 12rem);
    --orbit-ring-radius: 1;
    --card-scale: 1;
    z-index: 7;
}

.hero-card--gcp {
    animation-delay: -6s;
    --orbit-distance: clamp(8.4rem, 16vw, 10.5rem);
    --orbit-rotation: 120deg;
    --orbit-ring-radius: 0.68;
    --card-scale: 0.94;
    width: clamp(8.7rem, 18vw, 10.2rem);
    z-index: 6;
}

.hero-card--data {
    animation-delay: -12s;
    --orbit-distance: clamp(7.6rem, 15vw, 9.5rem);
    --orbit-rotation: 240deg;
    --orbit-ring-radius: 0.46;
    --card-scale: 0.9;
    width: clamp(8.2rem, 17vw, 9.5rem);
    z-index: 5;
}

.hero-card__icon {
    font-size: 1.6rem;
}

.hero-card__label {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero-card__meta {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.theme-light .hero-card__meta {
    color: rgba(16, 18, 26, 0.55);
}

.hero__content {
    padding: clamp(2rem, 4vw + 1rem, 5rem) 0;
    max-width: 720px;
    position: relative;
    z-index: 2;
}

@media (min-width: 900px) {
    .hero__layout {
        grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    }

    .hero__content {
        max-width: 520px;
    }

    .hero__visual {
        margin-inline: 0;
        justify-self: end;
    }
}

@media (min-width: 1200px) {
    .hero__layout {
        grid-template-columns: minmax(0, 520px) minmax(0, 560px);
    }
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.75rem, 6vw, 3.6rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero p {
    margin: 0 0 1.5rem;
    color: var(--color-muted);
    font-size: 1.125rem;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-hero {
    position: relative;
    z-index: 0;
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
    border-bottom: 1px solid var(--color-line);
    background: transparent;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--page-hero-background);
    opacity: 1;
    pointer-events: none;
    z-index: -1;
}

.page-hero__content {
    max-width: 720px;
}

.page-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.25rem, 5vw, 3rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-hero p {
    margin: 0;
    color: var(--color-muted);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--surface {
    background: rgba(10, 12, 18, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
}

.theme-light .section--surface {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.section--contrast {
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.7), rgba(5, 6, 10, 0.86));
    color: var(--color-contrast);
}

.section--contrast .list li {
    border-color: var(--contrast-list-border);
}

.case-root {
    position: relative;
    background: radial-gradient(circle at top, rgba(32, 48, 72, 0.14), rgba(5, 6, 10, 0.85) 70%);
    color: var(--color-contrast);
    backdrop-filter: blur(6px);
}

.case-root__inner {
    position: relative;
    width: min(92%, 960px);
    margin: 0 auto;
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.case-root__header {
    max-width: 720px;
}

.case-root__diagram {
    position: relative;
    height: clamp(240px, 32vw, 320px);
    margin-inline: auto;
    width: min(520px, 80%);
}

@media (max-width: 720px) {
    .case-root__diagram {
        display: none;
    }
}

.case-root__trunk {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(148, 205, 255, 0.2), rgba(148, 205, 255, 0));
    transform: translateX(-50%);
}

.case-root__branch {
    position: absolute;
    left: 50%;
    width: 42%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(108, 186, 160, 0.45), rgba(108, 186, 160, 0));
    transform-origin: left center;
    opacity: 0.75;
}

.case-root__branch--1 {
    top: 25%;
    transform: translateX(-50%) rotate(-12deg);
}

.case-root__branch--2 {
    top: 50%;
    transform: translateX(-50%) rotate(4deg);
}

.case-root__branch--3 {
    top: 75%;
    transform: translateX(-50%) rotate(18deg);
}

.case-root__grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.case-root__node {
    position: relative;
    padding: 1.4rem 1.4rem 1.4rem 3.8rem;
    border-radius: 24px;
    background: linear-gradient(200deg, rgba(18, 24, 32, 0.92), rgba(12, 18, 28, 0.96));
    border: 1px solid rgba(108, 186, 160, 0.32);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s var(--motion-ease), border-color 0.4s var(--motion-ease), box-shadow 0.4s var(--motion-ease);
}

.case-root__badge {
    position: absolute;
    top: 50%;
    left: 1.3rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(108, 186, 160, 0.5);
    background: radial-gradient(circle, rgba(108, 186, 160, 0.3), rgba(108, 186, 160, 0));
    box-shadow: 0 0 18px rgba(108, 186, 160, 0.24);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(220, 244, 236, 0.82);
}

.case-root__node p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(226, 236, 232, 0.88);
}

.case-root__node:hover,
.case-root__node:focus-within,
.case-root__node--active {
    transform: translateY(-8px);
    border-color: rgba(148, 205, 255, 0.58);
    box-shadow: 0 32px 60px rgba(12, 20, 28, 0.46);
}

.case-root__node:hover .case-root__badge,
.case-root__node:focus-within .case-root__badge,
.case-root__node--active .case-root__badge {
    border-color: rgba(148, 205, 255, 0.65);
    box-shadow: 0 0 22px rgba(148, 205, 255, 0.4);
}

.theme-light .case-root__node:hover .case-root__badge,
.theme-light .case-root__node:focus-within .case-root__badge,
.theme-light .case-root__node--active .case-root__badge {
    border-color: rgba(68, 108, 160, 0.6);
    box-shadow: 0 0 18px rgba(68, 108, 160, 0.38);
}

.case-root__node:hover p,
.case-root__node:focus-within p,
.case-root__node--active p {
    color: rgba(240, 248, 250, 0.95);
}

.theme-light .case-root__node:hover,
.theme-light .case-root__node:focus-within,
.theme-light .case-root__node--active {
    border-color: rgba(68, 108, 160, 0.5);
    box-shadow: 0 32px 60px rgba(40, 56, 78, 0.22);
}

.theme-light .case-root__node:hover p,
.theme-light .case-root__node:focus-within p,
.theme-light .case-root__node--active p {
    color: rgba(40, 52, 70, 0.85);
}

.case-root__diagram[data-active="1"] .case-root__branch--1,
.case-root__diagram[data-active="2"] .case-root__branch--2,
.case-root__diagram[data-active="3"] .case-root__branch--3 {
    opacity: 1;
    background: linear-gradient(90deg, rgba(148, 205, 255, 0.6), rgba(148, 205, 255, 0.1));
    box-shadow: 0 0 18px rgba(148, 205, 255, 0.32);
}

.theme-light .case-root__diagram[data-active="1"] .case-root__branch--1,
.theme-light .case-root__diagram[data-active="2"] .case-root__branch--2,
.theme-light .case-root__diagram[data-active="3"] .case-root__branch--3 {
    background: linear-gradient(90deg, rgba(68, 108, 160, 0.55), rgba(68, 108, 160, 0.12));
    box-shadow: 0 0 16px rgba(68, 108, 160, 0.32);
}
.section--cta {
    text-align: center;
    background: var(--section-cta-background);
}

.section__header {
    max-width: 720px;
    margin-bottom: 2rem;
}

.section__header h2 {
    margin-bottom: 0.75rem;
}

.section__header p {
    margin: 0;
    color: var(--color-muted);
}

.site-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.04em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.2rem);
    margin: 0 0 1.25rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

p {
    margin: 0 0 1rem;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.list li {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--color-contrast);
    background: var(--list-chip-bg);
    border-radius: var(--radius);
}

.card-grid {
    display: grid;
    gap: var(--spacing);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid--orbit {
    position: relative;
}

@media (min-width: 1024px) {
    .card-grid--orbit.orbit-enabled {
        display: block;
        position: relative;
        min-height: clamp(360px, 48vw, 520px);
        perspective: 1400px;
        transform-style: preserve-3d;
        overflow: visible;
    }

    .card-grid--orbit.orbit-enabled .orbit-stage {
        position: absolute;
        inset: 0;
        margin: 0 auto;
        width: clamp(520px, 60vw, 720px);
        max-width: 90vw;
        height: 100%;
        transform-style: preserve-3d;
        pointer-events: auto;
        --orbit-diameter: 640px;
    }

    .card-grid--orbit.orbit-enabled .orbit-stage::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: var(--orbit-diameter);
        height: var(--orbit-diameter);
        transform: translate(-50%, -50%) rotateX(78deg) scale(1, 0.68);
        transform-origin: center;
        border: 1px solid rgba(112, 169, 255, 0.32);
        border-radius: 50%;
        pointer-events: none;
        filter: drop-shadow(0 0 6px rgba(30, 82, 170, 0.32));
    }

    .theme-light .card-grid--orbit.orbit-enabled .orbit-stage::before {
        border-color: rgba(64, 104, 160, 0.28);
        filter: drop-shadow(0 0 6px rgba(64, 104, 160, 0.18));
    }

    .card-grid--orbit.orbit-enabled .orbit-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform-style: preserve-3d;
        backface-visibility: hidden;
        transition: transform 0.6s var(--motion-ease), filter 0.6s var(--motion-ease), opacity 0.4s ease;
        filter:
            saturate(calc(0.65 + var(--orbit-depth) * 0.7))
            blur(calc((1 - var(--orbit-depth)) * 2.8px))
            brightness(calc(0.35 + var(--orbit-depth) * 0.65));
        pointer-events: auto;
        will-change: transform;
        opacity: calc(0.32 + var(--orbit-depth) * 0.68);
    }

    .card-grid--orbit.orbit-enabled .orbit-card .card {
        width: clamp(220px, 24vw, 260px);
        max-width: 260px;
        min-height: clamp(220px, 22vw, 260px);
        transform: none;
    }

    .card-grid--orbit.orbit-enabled .orbit-card.orbit-card--active {
        filter: saturate(1.05);
        opacity: 1;
        --orbit-depth: 1;
    }

    .card-grid--orbit.orbit-enabled .orbit-card.orbit-card--active .card {
        border-color: rgba(148, 205, 255, 0.58);
        box-shadow: 0 32px 68px rgba(0, 0, 0, 0.48);
    }

    .theme-light .card-grid--orbit.orbit-enabled .orbit-card.orbit-card--active .card {
        border-color: rgba(68, 108, 160, 0.5);
        box-shadow: 0 28px 60px rgba(40, 56, 78, 0.24);
    }

    .theme-light .card-grid--orbit.orbit-enabled .orbit-card {
        filter:
            saturate(calc(0.75 + var(--orbit-depth) * 0.5))
            blur(calc((1 - var(--orbit-depth)) * 2.2px))
            brightness(calc(0.7 + var(--orbit-depth) * 0.3));
        opacity: calc(0.45 + var(--orbit-depth) * 0.55);
    }
}

.partner-grid {
    display: grid;
    gap: var(--spacing);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    padding: clamp(1.5rem, 2vw + 1rem, 2rem);
    border-radius: var(--radius);
    background: rgba(24, 26, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(4px);
    transition: transform 0.3s var(--motion-ease), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(148, 205, 255, 0.14), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.theme-light .card {
    background: rgba(226, 239, 255, 0.88);
    border: 1px solid rgba(112, 146, 210, 0.28);
    box-shadow: 0 32px 60px rgba(112, 146, 210, 0.22);
    color: rgba(24, 30, 46, 0.92);
    backdrop-filter: blur(12px);
}

.theme-light .card.card--ghost {
    background: rgba(226, 239, 255, 0.56);
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hard), 0 0 40px rgba(148, 205, 255, 0.08);
    border-color: rgba(148, 205, 255, 0.35);
}

.card:hover::after {
    opacity: 1;
}

.theme-light .card:hover {
    box-shadow: var(--shadow-hard), 0 0 36px rgba(68, 108, 180, 0.1);
    border-color: rgba(68, 108, 180, 0.42);
}

.theme-light .card::after {
    background: radial-gradient(circle at 50% 0%, rgba(68, 108, 180, 0.1), transparent 65%);
}

.card-grid--orbit.orbit-enabled .orbit-card .card:hover {
    transform: none;
}

.card--ghost {
    background: var(--card-ghost-bg);
    box-shadow: none;
    border-color: transparent;
}

.card .button {
    margin-top: auto;
}
