:root {
    --bg: #f4f8fc;
    --bg-accent: #e8f1fb;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --line: #b9d3ee;
    --line-strong: #7fb1e4;
    --text: #1f3650;
    --muted: #5f7995;
    --blue: #58a8ff;
    --gold: #ffd67a;
    --shadow: 0 20px 60px rgba(102, 138, 180, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background:
            radial-gradient(circle at 20% 15%, rgba(126, 179, 234, 0.18), transparent 28%),
            radial-gradient(circle at 80% 35%, rgba(110, 179, 255, 0.14), transparent 24%),
            radial-gradient(circle at 50% 100%, rgba(173, 205, 241, 0.18), transparent 36%),
            linear-gradient(180deg, #fbfdff 0%, var(--bg) 56%, var(--bg-accent) 100%);
    min-height: 100vh;
}

.page {
    width: min(1200px, 100% - 40px);
    margin: 0 auto;
    padding: 48px 0 64px;
}

.hero {
    text-align: center;
    margin-bottom: 22px;
}

.eyebrow {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid rgba(127, 177, 228, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(10px);
}

h1 {
    margin: 20px 0 10px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.subtitle {
    width: min(760px, 100% - 16px);
    margin: 0 auto;
    font-size: clamp(18px, 2.3vw, 24px);
    line-height: 1.5;
    color: var(--muted);
}

.stage {
    position: relative;
    width: min(980px, 100%);
    margin: 24px auto 0;
    aspect-ratio: 1 / 1;
}

.rings {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ring-glow {
    filter: blur(10px);
    opacity: 0.45;
}

.center-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 72%);
    padding: 34px 30px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,251,255,0.88));
    border: 1px solid rgba(127, 177, 228, 0.36);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.center-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 54px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.center-card p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 14px 22px;
    border-radius: 14px;
    border: 0;
    background: linear-gradient(180deg, #6bb6ff, #2b82ea);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(73, 136, 212, 0.28);
    cursor: pointer;
}

.node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, #ffffff, var(--node-color));
    box-shadow:
            0 0 0 7px rgba(255,255,255,0.55),
            0 0 26px color-mix(in srgb, var(--node-color) 70%, white 30%);
    cursor: pointer;
    z-index: 4;
}

.node::after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 999px;
    border: 1px solid rgba(127, 177, 228, 0.2);
}

.label {
    position: absolute;
    left: calc(var(--x) + var(--lx));
    top: calc(var(--y) + var(--ly));
    transform: translate(var(--tx), var(--ty));
    width: 220px;
    padding: 16px 18px;
    background: var(--surface-strong);
    border: 1px solid rgba(127, 177, 228, 0.32);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 6;
}

.label::before {
    content: "";
    position: absolute;
    left: var(--arrow-left, 28px);
    top: var(--arrow-top, auto);
    bottom: var(--arrow-bottom, auto);
    width: 14px;
    height: 14px;
    background: var(--surface-strong);
    border-left: 1px solid rgba(127, 177, 228, 0.32);
    border-top: 1px solid rgba(127, 177, 228, 0.32);
    transform: rotate(45deg);
}

.label h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
}

.label p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.node:hover + .label,
.node:focus-visible + .label,
.node.is-active + .label {
    opacity: 1;
    visibility: visible;
    transform: translate(var(--tx), calc(var(--ty) - 6px));
}

.legend {
    width: min(760px, 100% - 20px);
    margin: 18px auto 0;
    padding: 18px 20px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(127, 177, 228, 0.26);
    border-radius: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
    .stage {
        aspect-ratio: 1 / 1.12;
    }

    .center-card {
        width: min(420px, 78%);
        padding: 26px 22px;
    }

    .label {
        width: 180px;
        padding: 14px 14px;
    }
}

@media (max-width: 720px) {
    .page {
        width: min(100% - 20px, 100%);
        padding-top: 24px;
    }

    .stage {
        width: 100%;
        aspect-ratio: 1 / 1.2;
    }

    .center-card {
        width: min(360px, 80%);
    }

    .label {
        width: 165px;
        font-size: 13px;
    }
}