html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* 다시 강조! */
}
.container {
    /* height: calc(var(--vh, 1vh) * 100); */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'GmarketSans', sans-serif;
    font-weight: 500;
    color: #000;
    /* background-color: var(--Semantic-Colors-Background-base, #FFF); */
    /* background-color: #040004; */
}


.green-underline {
    position: relative;
    display: inline-block;
    line-height: 1;          /* 텍스트 아래 여백 줄이기 */
    padding-bottom: 0;       /* 추가 여백 제거 */
}

.green-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0%; /* 처음엔 0%에서 시작 */
    height: 6px;
    background-color: var(--Cp_green-500, #00B173);
    border-radius: 2px;
    z-index: -1;
    transition: width 0.8s ease-out; /* 부드럽게 펴지도록 */
}

.green-underline.show-underline::after {
    width: 100%; /* 이 클래스가 추가되면 전체 너비로 확장! */
}

.program-intro {
    width: 100vw; /* 가로 전체 채우기 */
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    padding: 40px 20px 80px; /* 고정 헤더 영역만큼 위쪽 여백 줘서 겹침 방지 */
    box-sizing: border-box;
    background-color: var(--Semantic-Colors-Background-base, #FFF);
    gap: 20px;

}

.program-intro strong {
    font-weight: 800;
}

.program-intro p {
    margin: 0;
    letter-spacing: -2px;
    word-break: keep-all;
    line-height: 1.2;
}

.program-intro .intro-lead {
    font-size: 30px;
    font-weight: 500;
    padding:0 0 20px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.program-intro .intro-item {
    font-size: 30px;
}


.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.show {
    opacity: 1;
    transform: translateY(0);
}

.text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 5;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--Semantic-Colors-Background-base, #FFF);
    color: var(--Cool-gray-950, #1A1B1E);
    padding: 0 20px;
}
.text-group h1,
.text-group p {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
}
.text-group h1 { animation-delay: 0.1s; }
.text-group p { animation-delay: 0.2s; }
.text-group h1 {
    font-weight: 500;
    margin: 0;
    letter-spacing: -2px;
    word-break: keep-all;

    font-family: "Gmarket Sans TTF";
    font-size: 28px;
    font-style: normal;
    line-height: normal;

}
.text-group h1:last-of-type {
    font-weight: 800;
    font-size: 30px;
}
.text-group p {
    margin: 0;
    font-weight: 500;
    word-break: keep-all;
    animation-delay: 0.6s;
    padding: 10px 0 0;

    font-family: "Gmarket Sans TTF";
    font-size: var(--font-size-Body-S, 15px);
    font-style: normal;
    line-height: 24px; /* 160% */
    letter-spacing: -1px;
}
.orbit-background-wrapper {
    width: calc(100% - 40px);
    margin: 0 auto;
    background: radial-gradient(ellipse at bottom, #1f2b46 0%, #1f2b46 5%, #030303 30%, #030303 100%);
    display: flex;
    justify-content: center;
    overflow: visible;
    border-radius: 40px;
    padding: 88px 40px;
    position: relative;
}
#starsCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
    pointer-events: none;
}
.image-orbit-container {
    width: 100%;
    max-width: 860px;
    box-sizing: border-box;
    aspect-ratio: 86 / 33;
    position: relative;
    margin: 0 auto;
}
.orbit-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: rotate(15deg);
    transform-origin: center;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: fadeInOrbit 1s ease-out 1.2s forwards;
    overflow: visible;
}
.image-group.lower,
.image-group.upper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInOnly 1.2s ease-out forwards 1s,
                floatUpDown 3.6s ease-in-out infinite 2.2s;
    will-change: transform;
}
.image-group.lower { z-index: 1; }
.image-group.upper { z-index: 4; }
.image-group img {
    width: 50%;
    max-width: 430px;
    height: auto;
    display: block;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInOnly {
    to {
        opacity: 1;
    }
}
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
@keyframes fadeInOrbit {
    to {
        opacity: 1;
    }
}


.intro-orbit-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--Semantic-Colors-Background-base, #FFF);
    overflow: visible; /* 여기서 hidden 대신 visible! */

    padding: 56px 0 40px;
    gap: 20px;
}




@media(min-width: 768px) {
    .text-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 100px 30px 40px;
    }
    .text-group h1 {
        font-size: 66px;
    }
    .text-group h1:last-of-type {
        font-size: 68px;
    }
    .text-group p {
        font-size: 20px;
        line-height: 1.6;
    }
    .orbit-background-wrapper {
        width: calc(100% - 160px);
    }

    .program-intro {
        padding: 160px 20px 210px;
    }
    .program-intro .intro-lead {
        font-size: 60px;
        padding: 0 0 40px;
    }
    .program-intro .intro-item {
        font-size: 74px;
    }
    .green-underline::after {
        bottom: 6px;
        height: 16px;
    }
    .intro-orbit-wrapper {
        padding: 0 0 40px;
        gap: 0;
    }
}

/* 컨설트 정보  */

@keyframes float {
    0% { transform: translatey(0px); }
    50% { transform: translatey(-10px); }
    100% { transform: translatey(0px); }
}

.consult_info {
    display: flex;
    min-width: 360px;
    padding: var(--Spacing_56, 56px) 0px var(--Spacing_40, 40px) 0px;
    flex-direction: column;
    align-items: center;
    gap: var(--Spacing_16, 16px);
    align-self: stretch;

    text-align: center;
}
.consult_info.info-1 {
    border-radius: var(--Radius-0, 0px);
    background: linear-gradient(180deg, var(--Cp_green-150, #D3F2E3) 0%, #FFF 90%);
}
.consult_info.info-2 {
    border-radius: var(--Radius-0, 0px);
    background: linear-gradient(180deg, #E6EFFE 20%, #FFF 90%);
}
.consult_info.info-3 {
    border-radius: var(--Radius-0, 0px);
    background: linear-gradient(180deg, var(--Cp_green-150, #D3F2E3) 0%, #FFF 90%);
}
.consult_info.info-4 {
    border-radius: var(--Radius-0, 0px);
    background: linear-gradient(180deg, #E6EFFE 20%, #FFF 90%);
}
.consult_info > div:first-child {
    display: flex;
    padding: 0 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.consult_info > div:first-child > p:first-child {
    color: var(--Cool-gray-950, #1A1B1E);
    font-family: "Gmarket Sans TTF";
    font-size: var(--font-size-Title-XXL, 30px);
    font-style: normal;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: -2px;

    word-break: keep-all;
}
.consult_info > div:first-child > p:first-child > strong {
    font-weight: 700;
}
.consult_info > div:first-child > p:last-child {
    color: var(--Cool-gray-900, #303236);
    text-align: center;
    font-family: "Gmarket Sans TTF";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 200% */
    letter-spacing: -1px;

    word-break: keep-all;
}
.consult_info > div:first-child > p:last-child > strong {
    font-weight: 700;
}

.consult_info > div:last-child {
    padding-top: 16px;
}
.consult_info > div:last-child > img {
    animation: float 3s ease-in-out infinite;

    display: flex;
    width: 240px;
    padding: 0px 13.333px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    /* gap: 6.667px; */
    /* aspect-ratio: 240.00/233.33; */
}
.consult_info.info-3 > div:last-child > img {
    width: 260px;
}

@media(min-width: 768px) {
    .consult_info {
        padding: 140px 0px 110px;
        gap: var(--Spacing_48, 48px);
    }
    .consult_info > div:first-child {
        padding: 0px var(--Spacing_80, 80px);
        gap: var(--Spacing_32, 32px);
        align-self: stretch;
    }
    .consult_info > div:first-child > p:first-child {
        font-size: 70px;
        line-height: normal;
        letter-spacing: -4px;
    }
    .consult_info > div:first-child > p:last-child {
        font-size: 26px;
        font-weight: 500;
        line-height: 56px; /* 215.385% */
        letter-spacing: -1.6px;
    }
    .consult_info > div:last-child > img {
        width: 320px;
    }
    .consult_info.info-3 > div:last-child > img {
        width: 380px;
    }
}

/* 핵심 요약 */
.program-core {
    width: 100%;
    display: flex;
    min-width: 360px;
    padding: 60px 20px;
    justify-content: center;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    flex-direction: column;
    text-align: center;


    /* background: linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%), linear-gradient(245deg, rgba(0, 0, 0, 0.00) 23.44%, rgba(61, 72, 68, 0.60) 111.96%), #161215; */

    background:
        linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(245deg, rgba(0, 0, 0, 0.00) 23.44%, rgba(61, 72, 68, 0.60) 111.96%),
        #161215;
}
.program-core > p {
    color: var(--Semantic-Colors-Text-on-dark, #FFF);
    font-family: "Gmarket Sans TTF";
    font-size: var(--font-size-Title-XXL, 30px);
    font-style: normal;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: -2px;
}
.program-core > p > strong {
    color: var(--Cp_green-500, #00B173);
    font-weight: 700;

    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}
.program-core > p > span {
    font-weight: 700;
}
.program-core > p > span:first-child {
    color: var(--Cp_green-600, #00935F);
}

.core-box {
    display: flex;
    padding: 0px var(--Spacing_20, 20px);
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px var(--Spacing_8, 8px);
    align-self: stretch;
    flex-wrap: wrap;

}
.core-box .box {
    display: flex;
    width: 320px;
    padding: var(--Spacing_16, 16px) var(--Spacing_20, 20px) var(--Spacing_28, 28px) var(--Spacing_20, 20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--Spacing_4, 4px);

    border-radius: var(--Radius-24, 24px);
    border: 2.4px solid rgba(0, 143, 72, 0.60);
    background: var(--BlackOpacity-35, rgba(0, 0, 0, 0.35));
    backdrop-filter: blur(10px);
}
.core-box .box > img {
    width: 81px;
    height: 81px;
}
.core-box .box:last-child > img {
    width: 100px;
}
.core-box .box > p {
    color: var(--WhiteOpacity-74, rgba(255, 255, 255, 0.74));
    font-family: "Gmarket Sans TTF";
    font-size: var(--font-size-Title-XL, 25px);
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -1.998px;
}
.core-box .box > p > strong {
    color: var(--Cp_green-500, #00B173);
    font-weight: 700;
}

@media(min-width: 768px) {
    .program-core {
        padding: 150px 20px 190px;
        gap: 60px;

        background:
            url(https://img.studycode.com/homepage_re/images_2025/main/seo.png) no-repeat center / cover,
            linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%),
            linear-gradient(245deg, rgba(0, 0, 0, 0.00) 23.44%, rgba(61, 72, 68, 0.60) 111.96%),
            #161215;
        background-blend-mode: lighten;
        background-position: right top;
        background-size: contain;
    }
    .program-core > p {
        font-size: 60px;
        line-height: 100px;
        letter-spacing: -3.4px;
    }
    .program-core > p > strong {
        font-size: 60px;
    }
    .core-box {
        gap: 24px var(--Spacing_24, 24px);
    }

    .core-box .box {
        width: 320px;
        height: 400px;
        padding: var(--Spacing_20, 20px) var(--Spacing_40, 40px);
        gap: var(--Spacing_24, 24px);

        border-radius: 60px;
    }
    .core-box .box > img {
        width: 106px;
        height: 106px;
    }
    .core-box .box:last-child > img {
        width: 150px;
    }
    .core-box .box > p {
        font-size: 46px;
        line-height: 56px;
    }
    .core-box .box > p > strong {
        display: block;
    }
    
}

/* 버트 박스 */
.button-box {
    display: flex;
    min-width: 360px;
    padding: var(--Spacing_56, 56px) var(--Spacing_20, 20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    
    background: url(https://img.studycode.com/homepage_re/images_2025/main/banner_bg.png) lightgray 50% / cover no-repeat;
    background-color: #040004;
} 
.button-box > div {
    display: flex;
    padding: var(--Spacing_56, 56px) var(--Spacing_12, 12px) var(--Spacing_48, 48px) var(--Spacing_12, 12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--Spacing_16, 16px);
    align-self: stretch;

    border-radius: var(--Radius-24, 24px);
    border: 2.4px solid var(--WhiteOpacity-16, rgba(255, 255, 255, 0.16));
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
}
.button-box > div > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--Spacing_12, 12px);
    align-self: stretch;

    padding-bottom: 28px;
}
.button-box > div > div > p:first-child {
    color: var(--Semantic-Colors-Text-on-dark, #FFF);
    text-align: center;
    font-family: "Gmarket Sans TTF";
    font-size: var(--font-size-Title-XXL, 30px);
    font-style: normal;
    font-weight: 700;
    line-height: 40px; /* 133.333% */
    letter-spacing: -2px;

    word-break: keep-all;
}
.button-box > div > div > p:first-child > span {
   display: block;
}
.button-box > div > div > p:last-child {
    color: var(--Semantic-Colors-Text-on-dark, #FFF);
    text-align: center;
    font-family: "Gmarket Sans TTF";
    font-size: var(--font-size-Body-S, 15px);
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 160% */
    letter-spacing: -1px;
}
.button-box > div > div:last-child {
    display: flex;
    padding: var(--Spacing_16, 16px) var(--Spacing_32, 32px) var(--Spacing_16, 16px) var(--Spacing_40, 40px);
    justify-content: center;
    align-items: center;
    gap: 5.62px;

    border-radius: 56.197px;
    border: 0.562px solid var(--Semantic-Colors-Text-on-dark, #FFF);
    background: var(--WhiteOpacity-84, rgba(255, 255, 255, 0.84));

    cursor: pointer;
}
.button-box > div > div:last-child:hover {
    border-color: var(--Semantic-Colors-Text-on-dark, #FFF);
    background: inherit;
    
}
.button-box > div > div:last-child > span {
    color: var(--Semantic-Colors-Text-title, #303236);
    text-align: center;
    font-family: "Gmarket Sans TTF";
    font-size: var(--font-size-Title-S, 17px);
    font-style: normal;
    font-weight: 500;
    line-height: 22.479px; /* 132.229% */
    letter-spacing: -1.124px;
}
.button-box > div > div:last-child:hover > span {
    color: var(--Semantic-Colors-Text-on-dark, #FFF);
}

.button-box > div > div:last-child > svg {
    width: 17px;
    height: 17px;
}
.button-box > div > div:last-child:hover > svg > path {
    fill: #fff;
}


@media(min-width: 768px) {
    .button-box {
        min-width: 768px;
        padding: 160px 100px;
    } 
    .button-box > div {
        padding: 130px var(--Spacing_24, 24px) 120px var(--Spacing_24, 24px);
        border-radius: 60px;
    }
    .button-box > div > div:first-child {
        gap: var(--Spacing_20, 20px);
        padding-bottom: 56px;
    }
    .button-box > div > div > p:first-child {
        font-size: 72px;
        line-height: 96px; /* 133.333% */
        letter-spacing: -3px;
    }
    .button-box > div > div > p:first-child > span {
       display: inline;
    }
    .button-box > div > div > p:last-child {
        font-size: var(--font-size-Title-XXL, 30px);
        line-height: 50px; /* 166.667% */
    }
    .button-box > div > div:last-child {        
        padding: var(--Spacing_28, 28px) var(--Spacing_48, 48px) var(--Spacing_28, 28px) var(--Spacing_80, 80px);
        gap: 10px;

        border-radius: var(--Radius-100, 100px);
        border: 1px solid var(--Semantic-Colors-Text-on-dark, #FFF);
    }
    .button-box > div > div:last-child > span {
        font-size: var(--font-size-Heading-S, 32px);
        line-height: 40px; /* 125% */
        letter-spacing: -2px;
    }
    .button-box > div > div:last-child > svg {
        width: 28px;
        height: 28px;
    }
}