:root {
    --green-deep: #0F3D2E;
    --green-forest: #1A5E46;
    --yellow-pastel: #C8A44D;
    --yellow-soft: #F4E2B1;
    --bg-base: #F7F8F7;
    --bg-white: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.76);
    --text-dark: #111827;
    --text-gray: #4B5563;
    --shadow-card: 0 20px 48px rgba(15, 61, 46, 0.08);
    --shadow-node: 0 10px 24px rgba(15, 61, 46, 0.14);
    --color-1: 0 100% 63%;
    --color-2: 270 100% 63%;
    --color-3: 210 100% 63%;
    --color-4: 195 100% 63%;
    --color-5: 90 100% 63%;
    --orbit-radius: 200px;
    --node-size: 64px;
    --orbit-center-y: 47%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-dark);
    background:
        radial-gradient(circle at 10% 3%, rgba(15, 61, 46, 0.11), transparent 34%),
        radial-gradient(circle at 90% 16%, rgba(200, 164, 77, 0.18), transparent 38%),
        linear-gradient(180deg, #f4f8f5 0%, #fbfcfb 100%);
    overflow-x: clip;
    word-break: keep-all;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        linear-gradient(to right, rgba(15, 61, 46, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 61, 46, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    z-index: -1;
}

.v2-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px 56px;
}

.hero-header {
    text-align: center;
    margin-bottom: 34px;
    animation: fade-up 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #f8faf9;
    background: rgba(15, 61, 46, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-eyebrow {
    color: var(--green-deep);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-header h1 {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    line-height: 1.28;
    color: var(--green-deep);
    letter-spacing: -0.02em;
}

.hero-description {
    margin-top: 10px;
    color: var(--text-gray);
    font-size: clamp(0.95rem, 1.3vw, 1.04rem);
    font-weight: 500;
}

.orbits-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.orbit-section {
    position: relative;
    border: 1px solid rgba(15, 61, 46, 0.12);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 250, 248, 0.74));
    box-shadow: var(--shadow-card);
    padding: 22px;
    min-height: 45vh;
    overflow: hidden;
    animation: fade-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.orbit-section:nth-of-type(2) {
    animation-delay: 130ms;
}

.orbit-section::before {
    content: '';
    position: absolute;
    inset: -40% 18% auto;
    height: 360px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(200, 164, 77, 0.12), transparent 64%);
}

.orbit-section-head {
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
}

.orbit-section-head h2 {
    color: var(--green-deep);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.orbit-section-head p {
    margin-top: 2px;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.orbit-stage {
    position: relative;
    height: clamp(350px, 47vh, 500px);
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.orbit-track {
    position: absolute;
    left: 50%;
    top: var(--orbit-center-y);
    width: calc(var(--orbit-radius) * 2);
    height: calc(var(--orbit-radius) * 2);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px dashed rgba(15, 61, 46, 0.24);
    box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.orbit-center {
    position: absolute;
    left: 50%;
    top: var(--orbit-center-y);
    width: 126px;
    height: 126px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.orbit-center::before,
.orbit-center::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(15, 61, 46, 0.2);
    animation: pulse-ring 2.5s ease-out infinite;
}

.orbit-center::after {
    animation-delay: 1.1s;
}

.orbit-core {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--green-forest), var(--yellow-pastel));
    box-shadow: 0 12px 26px rgba(15, 61, 46, 0.22);
}

.orbit-center-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    z-index: 2;
}

.orbit-nodes {
    position: absolute;
    inset: 0;
}

.orbit-node {
    --x: 0px;
    --y: 0px;
    --lift: 0px;
    --node-scale: 1;
    position: absolute;
    left: 50%;
    top: var(--orbit-center-y);
    width: var(--node-size);
    height: var(--node-size);
    border-radius: 50%;
    border: 1.5px solid rgba(26, 94, 70, 0.24);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-gray);
    font-size: clamp(0.66rem, 1.2vw, 0.82rem);
    font-weight: 700;
    line-height: 1.28;
    text-align: center;
    padding: 8px;
    cursor: pointer;
    transform: translate3d(calc(var(--x) - 50%), calc(var(--y) - 50% + var(--lift)), 0) scale(var(--node-scale));
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 700ms ease, border-color 300ms ease, color 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
    box-shadow: 0 6px 16px rgba(15, 61, 46, 0.08);
    will-change: transform;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.orbit-node:hover {
    --lift: -6px;
    border-color: rgba(26, 94, 70, 0.72);
    box-shadow: 0 14px 28px rgba(15, 61, 46, 0.2), 0 0 0 6px rgba(26, 94, 70, 0.08);
    color: var(--green-deep);
}

.orbit-node:focus-visible {
    box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.2), 0 14px 28px rgba(15, 61, 46, 0.2);
    border-color: rgba(26, 94, 70, 0.72);
}

.orbit-node.is-active {
    --node-scale: 1.3;
    border-color: rgba(15, 61, 46, 0.95);
    background: linear-gradient(140deg, #1d6e53, #0f3d2e);
    color: #f8faf9;
    box-shadow: 0 16px 32px rgba(15, 61, 46, 0.28), 0 0 0 8px rgba(15, 61, 46, 0.12);
}

.orbit-detail-card {
    position: absolute;
    width: min(320px, calc(100% - 28px));
    border-radius: 20px;
    border: 1px solid rgba(15, 61, 46, 0.2);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    padding: 16px;
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 260ms ease, transform 260ms ease;
    pointer-events: none;
    z-index: 420;
}

.orbit-detail-card.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.detail-group {
    color: var(--green-forest);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detail-title {
    margin-top: 4px;
    color: var(--green-deep);
    font-size: 1.2rem;
    font-weight: 800;
}

.detail-description {
    margin-top: 8px;
    color: var(--text-gray);
    font-size: 0.94rem;
    line-height: 1.55;
}

.rainbow-btn {
    position: relative;
    margin-top: 14px;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    border: calc(0.08 * 1rem) solid transparent;
    font-weight: 700;
    color: #f8faf9;
    text-decoration: none;
    background-image:
        linear-gradient(135deg, var(--green-forest), var(--green-deep)),
        linear-gradient(135deg, rgba(15, 61, 46, 0.85), rgba(15, 61, 46, 0)),
        linear-gradient(90deg, hsl(var(--color-1)), hsl(var(--color-5)), hsl(var(--color-3)), hsl(var(--color-4)), hsl(var(--color-2)));
    background-origin: border-box;
    background-clip: padding-box, border-box, border-box;
    background-size: 200%;
    animation: rainbow 2.8s linear infinite;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.rainbow-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -20%;
    width: 60%;
    height: 24%;
    transform: translateX(-50%);
    border-radius: 999px;
    z-index: -1;
    filter: blur(0.8rem);
    background: linear-gradient(90deg, hsl(var(--color-1)), hsl(var(--color-5)), hsl(var(--color-3)), hsl(var(--color-4)), hsl(var(--color-2)));
    background-size: 200%;
    animation: rainbow 2.8s linear infinite;
}

.rainbow-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-node);
}

.rainbow-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.2), var(--shadow-node);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.56;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rainbow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

@media (max-width: 768px) {
    :root {
        --orbit-radius: 150px;
        --node-size: 52px;
        --orbit-center-y: 46%;
    }

    .v2-page {
        padding: 32px 16px 44px;
    }

    .hero-header {
        margin-bottom: 24px;
    }

    .orbits-wrap {
        gap: 20px;
    }

    .orbit-section {
        border-radius: 24px;
        padding: 16px;
        min-height: 42vh;
    }

    .orbit-stage {
        height: clamp(320px, 44vh, 420px);
    }

    .orbit-center {
        width: 104px;
        height: 104px;
    }

    .orbit-core {
        width: 62px;
        height: 62px;
    }

    .orbit-center-label {
        inset: auto 0 16px;
        font-size: 0.84rem;
    }
}

@media (max-width: 480px) {
    :root {
        --orbit-radius: 110px;
        --node-size: 45px;
        --orbit-center-y: 45%;
    }

    .hero-header h1 {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.88rem;
    }

    .orbit-section {
        border-radius: 20px;
        min-height: 40vh;
    }

    .orbit-section-head h2 {
        font-size: 1.08rem;
    }

    .orbit-section-head p {
        font-size: 0.84rem;
    }

    .orbit-stage {
        height: 335px;
    }

    .orbit-center {
        width: 94px;
        height: 94px;
    }

    .orbit-core {
        width: 56px;
        height: 56px;
    }

    .orbit-node {
        font-size: 0.62rem;
        letter-spacing: -0.01em;
    }

    .orbit-detail-card {
        padding: 14px;
        border-radius: 16px;
    }

    .detail-title {
        font-size: 1.08rem;
    }

    .detail-description {
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}
