/* index.css */
@charset "utf-8";

/* ========== HEADER ========== */
header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.2);

}

header .header-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: relative;
    z-index: 9998;
}




.header-wrapper .logo a {
    height: 56px;
}

.header-wrapper .logo img {
    height: 100%;
}

.header-wrapper .site-map-btn {
    cursor: pointer;
}

.header-wrapper .site-map-btn i {
    width: 54px;
    height: 54px;
    padding: 8px;
}

.header-wrapper .site-map-btn .icon {
    color: var(--white);
    stroke-width: 2.5px;
}

header .site-map {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9997;
    padding-top: 80px;
    background-color: var(--main-heavy-01);
    display: none;
    /* js로 slideDown & Up 구현하기 */
}

header .site-map .inner {
    margin: 0 auto;
}

header .site-map .inner .top {
    width: 100%;
    height: 80px;
    position: relative;
}

header .site-map .inner .top .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

header .site-map .inner .top i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    padding: 8px;
}

header .site-map .inner .top i svg {
    color: var(--white);
}

header .site-map .list-wrap {
    display: flex;
    padding: 50px 0;
    justify-content: center;
    align-items: center;
}

.site-map .list-wrap>li {
    display: flex;
}

.site-map .list-wrap>li~li::before {
    content: "";
    display: block;
    width: 1px;
    height: 28px;
    background-color: var(--white);
    margin: 0 14px;
}

.site-map .list-wrap>li>a {
    color: var(--white);
}

.site-map .list-wrap>li>a:hover {
    font-weight: 700;
}




/* ========== MAIN HERO SECTION ========== */
main {
    width: 100%;
    height: 830px;
    background:
        linear-gradient(to right,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0.2) 100%
            /* 20% 불투명도 반영 */
        ),
        url(../assets/images/main_01.jpg) center / cover no-repeat;
    position: relative;
}

main .wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 70px 26px;
    color: var(--white);
}

main .wrapper .txt-wrap {
    margin-bottom: 30px;
}

main .wrapper .txt-wrap h2 {
    margin-bottom: 16px;

}

main .wrapper .btn-wrap {
    display: flex;
}

main .wrapper .btn-main {
    margin-right: 24px;
    display: flex;
    column-gap: 12px;
    padding: 20px 38px;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 50px;
    align-items: center;
    transition: all 0.5s;
}

main .wrapper .btn-main:hover {
    background-color: rgba(255, 255, 255, 1);
}

main .wrapper .btn-main i {
    width: 20px;
    height: 20px;
}

main .wrapper .btn-main .icon {
    stroke-width: 1.75px;
}


/* ========== WHOLE CONTENTS SECTION ========== */

.whole-contents .top-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 150px;
}

.property {
    height: 80px;
    background-color: var(--main-heavy-01);
    overflow: hidden;
}

.property .txt-content {
    display: flex;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
    color: var(--white);
}

.cycle-wrap {
    display: flex;
    column-gap: 30px;
    animation: flowLeft 20s linear infinite;
    /* flowLeft : 왼쪽 방향으로 흐름, s : 흐르는 속도(s:초) */
}

@keyframes flowLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

.cycle p {
    display: flex;
    column-gap: 30px;
}

.key-solution {
    width: 100%;
    height: 400px;
    background:
        /* 1) Radial */
        radial-gradient(circle at center,
            rgba(0, 39, 84, 0) 50%,
            rgba(0, 6, 12, 0.5) 100%),
        /* 2) Dim (solid overlay as gradient) */
        linear-gradient(rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.25)),
        /* 3) Image */
        url(../assets/images/key-solution_01.jpg) center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.key-solution h4 {
    text-align: center;
    color: white;
}

.whole-contents .container {
    display: flex;
    flex-direction: column;
    row-gap: 200px;
    margin: 150px 0;
}


/* ========== BUSINESS ARTICLE ========== */
article.business {
    padding: 0 26px;
}

.business .title-v1 {
    text-align: center;
}

.business .box-wrap {
    width: 100%;
    display: flex;
    column-gap: 19px;
}

/* 공통 스타일 */
.business .box-v1 {
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0) 30%),
        /* 개별 이미지가 뒤에 들어감 */
        none;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* 개별 이미지 (gradient 그대로 유지됨) */
.business .box-v1:nth-child(1) {
    background-image:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0) 30%),
        url(../assets/images/business_01.jpg);
}

.business .box-v1:nth-child(2) {
    background-image:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0) 30%),
        url(../assets/images/business_02.jpg);
}

.business .box-v1:nth-child(3) {
    background-image:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0) 30%),
        url(../assets/images/business_03.jpg);
}


/* ========== TRADE ARTICLE ========== */
article.trade {
    background: var(--gradient-blue-radial-01);
    padding: 150px;
    color: var(--white);
}

.trade .inner {
    margin: 0 auto;
}

.trade .title-v2 h2::before {
    background-color: var(--white);
}

.trade .img-box {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 50px;
}

.trade .img-box img {
    /* 피그마 fill */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.trade ul {
    width: 100%;
    display: flex;
    column-gap: 20px;
}

.trade .box-v2 .icon.check {
    stroke-width: 4px;
}


/* ========== MESSAGE ARTICLE ========== */
article.msg {
    display: flex;
}

.msg .img-area {
    flex: 1;
}

.msg .img-area img {
    /* 피그마 fill */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.msg .txt-area {
    flex: 1;
    background-color: var(--grey-light-01);
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.msg .txt-area h4 {
    margin-bottom: 30px;
}

.msg .txt-area .btn {
    display: inline-flex;
    column-gap: 12px;
    padding: 20px 28px;
    border: 1.5px solid var(--grey-heavy-02);
    border-radius: 50px;
    align-items: center;
    transition: all 0.5s;
}

.msg .txt-area .btn:hover {
    background-color: var(--grey-heavy-02);
}

.msg .txt-area .btn p {
    transition: all 0.5s;
}

.msg .txt-area .btn:hover p {
    color: var(--white);
}

.msg .txt-area .btn i {
    width: 20px;
    height: 20px;
}

.msg .txt-area .btn .icon.send {
    transition: all 0.5s;
    stroke-width: 1.75px;
}

.msg .txt-area .btn:hover .icon.send {
    color: var(--white);
}


/* ========== PLATFORM ARTICLE ========== */
article.platform {
    margin: 0 auto;
}

.platform ul.content {
    display: flex;
    column-gap: 20px;
}

.platform .content .box-v3 {
    flex: 1;
}


article.project {
    padding: 0 26px;
}

.project .title-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.project .title-wrap h2 {
    margin-bottom: 30px;
}

.project .title-wrap .btn {
    display: inline-flex;
    column-gap: 12px;
    padding: 24px 46px;
    border: 2px solid var(--grey-heavy-02);
    border-radius: 50px;
    align-items: center;
    transition: all 0.5s;
}

.project .title-wrap .btn:hover {
    background-color: var(--grey-heavy-02);
}

.project .title-wrap .btn p {
    transition: all 0.5s;
    font-size: 26px;
    line-height: 26px;
}

.project .title-wrap .btn:hover p {
    color: var(--white);
}

.project .title-wrap .btn i .icon.arrow-external-right {
    transition: all 0.5s;
    stroke-width: 1.75px;
}

.project .title-wrap .btn:hover i .icon.arrow-external-right {
    color: var(--white);
}

.project ul.contents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.project ul.contents .box-v4 {
    position: relative;
    overflow: hidden;
    --bg: none;
}

.project ul.contents .box-v4::after {
    /* 배경 레이어: 상단 90px 제외 후 cover */
    content: "";
    position: absolute;
    top: 90px;
    /* ← 위 90px 비움 */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg) center center / cover no-repeat;
    z-index: 0;
}

.project ul.contents .box-v4:nth-child(1) {
    --bg: url('../assets/images/project_01.gif');
}

.project ul.contents .box-v4:nth-child(2) {
    --bg: url('../assets/images/project_02.jpg');
}

.project ul.contents .box-v4:nth-child(3) {
    --bg: url('../assets/images/project_03.jpg');
}

.project ul.contents .box-v4:nth-child(4) {
    --bg: url('../assets/images/project_04.jpg');
}

.project ul.contents .box-v4 .wrapper {
    /* 실제 콘텐츠는 배경 위 레이어 */
    position: relative;
    z-index: 1;
}

.project ul.contents .box-v4 .title-area i .icon {
    stroke-width: 2px;
}


article.invest {
    width: 100%;
    padding: 0 26px;
    display: flex;
}

.invest .title-v2 {
    flex: 1;
    margin-bottom: 0;
    display: flex;
    align-items: center;

}

.invest .contents {
    flex: 1;
}

.invest ul.box-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;

}

.invest ul.box-wrap .box-v5 {
    aspect-ratio: 1 / 1;
}

.invest ul.box-wrap .box-v5:nth-child(1) {
    border-right: 2px solid var(--grey-light-01);
    border-bottom: 2px solid var(--grey-light-01);
}

.invest ul.box-wrap .box-v5:nth-child(2) {
    border-bottom: 2px solid var(--grey-light-01);
}

.invest ul.box-wrap .box-v5:nth-child(3) {
    border-right: 2px solid var(--grey-light-01);
}

.invest ul.box-wrap .box-v5:nth-child(4) {
}


/* ========== NEWS ARTICLE ========== */
article.news {
    background: var(--gradient-blue-radial-01);
    padding: 150px;
}

.news .inner {
    margin: 0 auto;
}

.news .title-v1 {
    color: var(--white);
    text-align: center;
}

.news .contents {
    background-color: var(--white);
    padding: 70px 24px;
}

.news .contents .title-wrap {
    text-align: center;
    margin-bottom: 30px;
}

.news .contents .title-wrap h3 {
    color: var(--main-light-02);
    margin-bottom: 30px;
}

.news .contents .des-wrap {
    margin-bottom: 20px;
}

.news .contents .des-wrap p~p {
    margin-top: 10px;
}

.news .contents .btn {
    display: inline-flex;
    border: 1.5px solid var(--grey-heavy-02);
    border-radius: 50px;
    padding: 20px 38px;
    column-gap: 12px;
    transition: all 0.5s;
}

.news .contents .btn p {
    font-size: 20px;
    line-height: 26px;
}

.news .contents .btn:hover {
    border-color: var(--grey-heavy-02);
    background-color: var(--grey-heavy-02);
}

.news .contents .btn:hover p {
    color: var(--white);
}

.news .box-v6 {
    margin: 0 auto;
}


/* ========== PARTNERS ARTICLE ========== */
article.partners {
    margin: 0 auto;
}

.partners ul.contents {
    display: flex;
    column-gap: 20px;
}

.partners ul.contents .box-v7 {
    flex: 1;
}


/* ========== CONTACT ARTICLE ========== */
article.contact {
    display: flex;
    scroll-margin-top: 80px;
    /* 고정 헤더 높이만큼 보정 - 앵커 스크롤 시 정확한 위치에 멈춤 */
}

.contact .contents-area {
    flex: 1;
    background-color: var(--grey-light-01);
    padding: 100px 26px 100px 80px;
}

.contact .contents-area h3 {
    margin-bottom: 30px;
}

.contact .contents-area ul.txt-area li~li {
    margin-top: 16px;
}

.contact .contents-area ul.txt-area .p-box .icon {
    stroke-width: 2px;
}

.contact .img-area {
    flex: 1;
}

.contact .img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* ========== FOOTER ========== */
footer {
    background-color: var(--main-heavy-01);
    color: var(--white);
    padding: 100px 0;
}

footer .inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

footer .logo-area {
    padding-top: 24px;
}

footer .logo a {
    width: 250px;
}

footer .logo img {
    width: 100%;
}

footer .txt-area {
    text-align: right;
}

footer .list-box~.list-box {
    margin-top: 30px;
}

footer ul {
    display: inline-flex;
    column-gap: 24px;
}


/* ========== 커스텀 스크롤 애니메이션 (AOS 대체) ========== */
/* 7. 스크롤 진입 시 등장 애니메이션
   - .scroll-ani : 초기 상태 (투명 + 30px 아래)
   - .scroll-ani.is-visible : 뷰포트 진입 시 (완전 불투명 + 원위치)
   - transition-delay는 HTML inline style로 개별 지정하여 순차 등장(stagger) 구현
   - IntersectionObserver로 감지 (js/index.js)
*/
.scroll-ani {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.scroll-ani.is-visible {
    opacity: 1;
    transform: translateY(0);
}