/* 코어 - 주요 기능 */
#core-renewal {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
    color: #131313;
    font-family: "Pretendard", sans-serif;
    letter-spacing: -0.03em;
}

#core-renewal *,
#core-renewal *::before,
#core-renewal *::after {
    box-sizing: border-box;
}

#core-renewal h2 {
    font-size: clamp(24px, 3.125vw, 60px);
    font-weight: 700;
    line-height: 140%;
}

#core-renewal .core-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.core-features {
    padding: 0 0 0;
    padding-top: calc(290px - var(--site-promotion-offset, 0px));
    transition: padding-top 0.32s ease;
}


/* section01: 필요한 것만 담아 */
#core-renewal .core-section01 {

    text-align: center;
}

#core-renewal .core-section01 h1 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: clamp(28px, 3.6458vw, 70px);
    font-weight: 600;
}

#core-renewal .core-section01 h1 span:nth-child(1) {
    display: block;
    font-size: clamp(16px, 1.3542vw, 26px);
    color: #858689;
    font-weight: 600;
    line-height: 140%;
}

#core-renewal .core-section01 h1 span:nth-child(2) {
    display: block;
    line-height: 120%;
}

#core-renewal .core-section01-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: clamp(45px, 2.5vw, 53px) 0 clamp(86px, 12.65vw, 243px);
    overflow: hidden;
}

#core-renewal .core-section01-list picture {
    flex-shrink: 0;
}

#core-renewal .core-section01-list picture img {
    width: clamp(120px, 10.4167vw, 200px);
    height: 100%;
    aspect-ratio: 1/1;
    filter: grayscale(1);
    opacity: 0.7;
}

#core-renewal .core-section01-list picture p {
    display: none;
}


#core-renewal .core-section01-list .core-section01-box {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 0.7812vw, 15px);
    width: clamp(220px, 17.7083vw, 340px);
    height: clamp(260px, 20.8333vw, 400px);
    margin: 0 -8px;
    border-radius: clamp(30px, 2.6042vw, 50px);
    background-color: #F4EEFF;
    background-image: url('../../../img/sub/core/core_func_sec01_box.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100%;
    box-shadow: 10.66px 22px 62.4px 0px #9A8ED2B2;
}

#core-renewal .core-section01-list .core-section01-box img {
    width: clamp(145px, 13.0208vw, 250px);
    height: clamp(145px, 13.0208vw, 250px);
}

#core-renewal .core-section01-list .core-section01-box .box-text {
    color: #935DD0;
    text-align: center;
    font-size: clamp(24px, 2.0833vw, 40px);
    font-weight: 700;
    line-height: 140%;
}

#core-renewal .core-section01-list .core-section01-box img,
#core-renewal .core-section01-list .core-section01-box .box-text {
    opacity: 1;
    transition: opacity 0.3s ease;
}

#core-renewal .core-section01-list .core-section01-box img.is-changing,
#core-renewal .core-section01-list .core-section01-box .box-text.is-changing {
    opacity: 0;
}


/* section02~6 공통 */
#core-renewal .core-section {
    padding: clamp(80px, 5.2083vw, 100px) 50px;
}

#core-renewal .core-section .core-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    gap: clamp(20px, 7.8125vw, 150px);
}

#core-renewal .core-section .core-inner-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(16px, 2.0833vw, 40px);
    flex-shrink: 0;
}

#core-renewal .core-section h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(8px, 0.5208vw, 10px);
}

#core-renewal .core-section h2 span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 37px;
    padding: clamp(2px, 0.2083vw, 4px) clamp(6px, 0.625vw, 12px);
    color: #FFF;
    font-size: clamp(14px, 1.25vw, 24px);
    font-weight: 600;
    line-height: 140%;
    border-radius: 8px;
    background: #6E3EF7;
}

#core-renewal .core-section h2 + div {
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 1.0417vw, 20px);
}

#core-renewal .core-section h2 + div span {
    padding: clamp(6px, 0.625vw, 12px) 0;
    color: #8991A8;
    font-size: clamp(14px, 1.1979vw, 23px);
    font-weight: 600;
    line-height: 140%;
}

#core-renewal .core-section .core-video {
    max-width: 778px;
    overflow: hidden;
    border-radius: clamp(14px, 1.5625vw, 30px);
    aspect-ratio: 778 / 600;
}

#core-renewal .core-section03 .core-inner,
#core-renewal .core-section05 .core-inner {
    flex-direction: row-reverse;
    justify-content: flex-end;
}


/* section07: 최종 CTA */
#core-renewal .core-section07 {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(117px, 7.7083vw, 148px) 0 clamp(70px, 6.8229vw, 131px);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, rgba(227, 195, 255, 0.61) 100%);
    text-align: center;
}

#core-renewal .core-section07::before {
    position: absolute;
    z-index: 0;
    bottom: -44vw;
    left: 50%;
    width: min(72vw, 1360px);
    height: min(38vw, 720px);
    transform: translateX(-50%);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: #a17eff;
    filter: blur(clamp(120px, 15.625vw, 300px));
    pointer-events: none;
    content: "";
}

#core-renewal .core-section07 h2 {
    font-size: clamp(24px, 2.8125vw, 54px);
    font-weight: 600;
    line-height: 140%;
}

#core-renewal .core-section07 > * {
    position: relative;
    z-index: 1;
}

#core-renewal .core-section07 a {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(135px, 8.2812vw, 159px);
    height: clamp(51px, 3.125vw, 60px);
    margin-top: clamp(30px, 4.0104vw, 77px);
    font-size: clamp(16px, 1.0417vw, 20px);
    border: 2px solid transparent;
    border-radius: 100px;
    background: linear-gradient(#111111, #111111) padding-box, linear-gradient(102.47deg, #7a4dff 22.86%, #ff6eca 77.14%) border-box;
    color: #ffffff;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: 0 6px 18px rgba(48, 31, 103, 0.12);
    transform: translateY(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

#core-renewal .core-section07 a::before {
    position: absolute;
    top: -30%;
    left: -75%;
    width: 55%;
    height: 160%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-18deg);
    transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    content: "";
}

@media (hover: hover) {
    #core-renewal .core-section07 a:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(98, 65, 192, 0.24), 0 4px 12px rgba(0, 0, 0, 0.16);
    }

    #core-renewal .core-section07 a:hover::before {
        left: 125%;
    }
}

#core-renewal .core-section07 a:active {
    transform: translateY(-1px) scale(0.985);
    transition-duration: 0.12s;
}


/* 768px 이하 */
@media screen and (max-width: 768px) {
    .core-features{
        padding: 0 0 0;
        padding-top: calc(190px - var(--site-promotion-offset, 0px));
    }
    /* section01 */
    #core-renewal .core-section01 h1 {
        gap:10px
    }
    #core-renewal .core-section01 h1 span:nth-child(2) {
        font-weight: 700;
        line-height: 120%;
    }

    #core-renewal .core-section01-list {
        gap: 36px;
    }

    /* section02~6 공통 */
    #core-renewal .core-section {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 0;
    }

    #core-renewal .core-section .core-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    #core-renewal .core-section .core-inner-title {
        align-items: center;
    }

    #core-renewal .core-section h2 span {
        border-radius: 4px;
    }

    #core-renewal .core-section h2,
    #core-renewal .core-section h2 + div {
        padding: 0;
        align-items: center;
    }

    #core-renewal .core-section h2 + div span {
        font-weight: 500;
    }

    #core-renewal .core-section02 {
        padding-top: clamp(60px, 5.2083vw, 100px);
    }

    #core-renewal .core-section06 {
        padding-bottom: clamp(80px, 5.2083vw, 100px);
    }
}


/* 500px 이하 */
@media screen and (max-width: 500px) {

    #core-renewal .core-section01-list .core-section01-box {
        margin: 0 -36px;
    }

}