/* 기본 배경 설정 */

body {
    font-family: var(--font-primary);
}

.sub {
    background-color: var(--color-black100);
}

.main-box {
    border-radius: 20px;
}

.mb0 {
    margin-bottom: 0 !important
}

/* header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header {
    margin-top: 20px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-btn img {
    width: 30px;
    height: auto;
}


.icon-close {
    display: none;
}


.header.scrolled {
    background: var(--color-white);
    margin-top: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.logo {
    width: 177px;
    height: 34px;
    background: url('../assets/logo.png') no-repeat center / contain;
    text-indent: -9999px;
}

.header.scrolled .logo,
.header.active .logo {
    background: url('../assets/logo_black.png') no-repeat center / contain;
}

.logo a {
    color: var(--color-white);
    text-align: center;
    font-family: var(--font-inter);
    font-size: 26px;
    font-style: normal;
    font-weight: var(--font-weight-700);
    display: block;
}

.header.scrolled .logo a {
    color: var(--color-blackh2);
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;

}

.nav-list {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-list a {
    text-decoration: none;
    color: var(--color-white);
    font-size: var(--font-size-nav);
    transition: color 0.3s;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-500);
}

.header.scrolled .nav-list a {
    color: var(--color-blackh2);
}

.langGlobeBtn {
    color: var(--color-white) !important;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .langGlobeBtn {
    color: var(--color-blackh2) !important;
}

/* .nav-list a:hover {
    color: #fff;
} */

/* main */
.btn-contact {
    background-color: var(--color-white);
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-size: var(--font-size-nav);
    font-weight: var(--font-weight-500);
    transition: background 0.3s;
    width: 122px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-inter);
}

.btn-contact:hover {
    background-color: #eee;
}

.header.scrolled .btn-contact {
    background-color: var(--color-black100);
    color: var(--color-white)
}

/* 메인 영역 (Hero Section) */
.black-card {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

/* 2. 배경 이미지 배치 (방패 이미지) */
.swiper-slide.main-bg {
    background-image: url('../assets/main-section01.png');
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: 100% 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center center;
}

.swiper-slide.main-bg.main-bg01 {
    background-image: url('../assets/main-section02.png');
}

.swiper-slide.main-bg.main-bg02 {
    background-image: url('../assets/main-section03.png');
}


/* 6. 그리드 레이아웃 */
.grid-serve {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    width: 100%;
}

.main-icon {
    width: 100%;
    max-width: 200px;
    padding: 30px 10px 24px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-serve);
    justify-content: center;
    text-align: center;
    gap: 40px;
    font-size: var(--font-size-p);
    ;
    color: var(--color-blackh2);
    font-weight: var(--font-weight-500);
    line-height: 150%;
    font-family: var(--font-inter);
    border-radius: 16px;
}

.main-icon::before {
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    background: url('../assets/icon/icon_serve01.png') no-repeat center / contain;
}

.main-icon:nth-child(2):before {
    background: url('../assets/icon/icon_serve02.png') no-repeat center / contain;
}

.main-icon:nth-child(3):before {
    background: url('../assets/icon/icon_serve03.png') no-repeat center / contain;
}

.main-icon:nth-child(4):before {
    background: url('../assets/icon/icon_serve04.png') no-repeat center / contain;
}

.main-icon:nth-child(5):before {
    background: url('../assets/icon/icon_serve05.png') no-repeat center / contain;
}

.main-icon:nth-child(6):before {
    background: url('../assets/icon/icon_serve06.png') no-repeat center / contain;
}

/* 3. 텍스트 반응형 배치 */
.hero-content {
    width: 100%;
    margin-top: clamp(300px, 35vw, 544px);
    position: relative;
    z-index: 10;
    text-align: center;
    padding-bottom: 145px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.video-content {
    margin-top: 264px;
    position: relative;
    z-index: 10;
    text-align: center;
    padding-bottom: 145px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.video-content.architecture-vis-text {
    margin-top: 237px;
}

.video-content .mo {
    display: none;
}

.hero-content h1,
.video-content h1 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-white);
}

.hero-content p {
    font-size: clamp(0.875rem, 1.5vw + 0.5rem, 1rem);
    font-family: var(--font-inter);
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    word-break: keep-all;
}

.video-content p {
    font-size: var(--font-size-p);
    ;
    font-family: var(--font-inter);
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
    word-break: keep-all;
}

.video-content p+p {
    color: #B4B7B7;
    text-align: center;
    font-family: var(--font-inter);
    font-size: 13px;
    font-style: normal;
    line-height: 150%;
    /* 19.5px */
}

/* 4. 버튼 및 페이징 */
.btn-demo {
    background-color: #00A8BA;
    color: var(--color-white);
    border: none;
    padding: 12px 18px 12px 22px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: var(--font-weight-600);
    font-size: var(--font-size-p);
}

.btn-demo::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../assets/icon/icon24_arrow-right_white.png') no-repeat center / contain;
    transition: transform 0.3s ease;
}

.btn-demo:hover {
    transform: translateY(-3px);
}

/* Swiper 페이징 커스텀 (이미지와 동일) */
.main-wrapper {
    background-color: var(--color-black);
    border-radius: 20px;
    margin: 20px;
    overflow: hidden;
}

.swiper-pagination-bullet {
    margin: 0 4px !important
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.3 !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-white) !important;
    width: 32px !important;
    border-radius: 99px !important;
    opacity: 1 !important;
}

.contents {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.contents .main-center {
    text-align: center;
}

/* 섹션 전체 레이아웃 */
.solution-section {
    width: 100%;
    margin-top: 160px;
    background-color: #fff;
}

.solution-section.mt220 {
    margin-top: 220px;
}

/* 상단 타이틀 영역 */
.title-group {
    margin-bottom: 50px;
}

.sub-label {
    color: var(--color-primary);
    font-size: var(--font-size-p);
    font-weight: var(--font-weight-700);
    line-height: 130%;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-inter);
}

.title-group h2 {
    font-size: 54px;
    font-weight: var(--font-weight-700);
    color: var(--color-blackh2);
    line-height: 120%;
    margin: 0;
}

.title-group h3 {
    font-size: var(--font-size-p);
    ;
    font-weight: var(--font-weight-400);
    color: var(--color-sub-p);
    line-height: 150%;
    font-family: var(--font-inter);
    margin-top: 16px;
}

/* 2x2 그리드 설정 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* 개별 카드 스타일 */
.solution-card {
    background-color: #F7F9FA;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 카드 내 이미지 박스 */
.card-image {
    width: 100%;
    margin-bottom: 12px;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 카드 텍스트 */
.card-text {
    margin: 0 30px 30px 30px
}

.card-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-blackh2);
    margin: 0 0 8px 0;
}

.card-text p {
    font-size: 16px;
    color: var(--color-sub-p);
    line-height: 150%;
    margin: 0 0 8px 0;
    font-family: var(--font-inter);
    font-weight: 400;

}

/* Learn More 링크 */
.learn-more {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-arrow);
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    gap: 6px;
    padding-bottom: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.learn-more::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    /* 처음엔 숨김 */
    height: 1px;
    background: #00bcd4;
    transition: width 0.3s ease;
}

.learn-more:hover::before {
    width: 100%;
}

.learn-more::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../assets/icon/icon24_arrow-right.png') no-repeat center / contain;
    transition: transform 0.3s ease;
}


.main-sub-vis {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 180px 223px;
    margin-top: 220px;
}

.main-sub-vis::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

.main-sub-vis.bg-expanded::before {
    transform: scaleX(1);
}

.main-sub-vis * {
    position: relative;
    z-index: 1;
}

.main-sub-vis h2 {
    color: var(--color-white);
    text-align: center;
    font-size: 54px;
    font-style: normal;
    font-weight: var(--font-weight-700);
    line-height: 120%;
}

.main-sub-vis img {
    margin-top: 50px
}

.partners-icon {
    width: 100%;
    max-width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    border-radius: 8px;
    background-color: var(--color-serve);
}

/* .partners-icon img {
    width: 180px;
    height: 72px;
} */

.video-section {
    position: relative;
    width: 100%;
    height: 460px;
    margin: 200px auto 120px auto;
    max-width: 1280px;
    border-radius: 20px;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
}

.video-text {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.video-text h1 {
    color: var(--color-white);
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: var(--font-weight-600);
    line-height: 130%;
}

.video-text .btn-demo {
    margin-top: 40px;
    background-color: var(--color-white);
    color: var(--color-blackh2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: var(--font-weight-600);
    font-size: var(--font-size-p);
}

.video-text .btn-demo::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../assets/icon/icon24_arrow-right_black.png') no-repeat center / contain;
    transition: transform 0.3s ease;
}

/* 기본 스타일 초기화 */
.footer {
    padding: 20px 0 40px 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* 왼쪽 정보 섹션 */
.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    color: var(--color-blackh2);
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.description {
    font-size: 15px;
    color: #666;
    max-width: 450px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--color-sub-p);
    font-family: var(--font-inter);
    font-size: var(--font-size-nav);
    font-style: normal;
    font-weight: var(--font-weight-400);
    line-height: 150%;
}

.sub .contact-info p {
    color: #fff
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.social-icon {
    margin-top: 30px;
    font-size: var(--font-size-p);
    ;
}

.social-icon .black {
    display: none;
}

.social-icon .sub {
    display: block;
    background-color: #fff;
    width: 44px;
}


.sub .social-icon .black {
    display: block;
}

.sub .social-icon .sub {
    display: none;
}

/* 오른쪽 메뉴 섹션 */
.footer-right {
    min-width: 200px;
}

.footer-right h3 {
    color: var(--color-sub-p);
    font-family: var(--font-inter);
    font-size: var(--font-size-p);
    font-weight: var(--font-weight-600);
    margin-bottom: 20px;
}

.sub .footer-right h3,
.sub .footer-right ul li a {
    color: var(--color-white)
}

.footer-right ul li {
    color: var(--color-sub-p);
    font-family: var(--font-inter);
    font-size: var(--font-size-nav);
    font-weight: var(--font-weight-400);
}

.footer-right ul li~li {
    margin-top: 16px;
}

.footer-right ul li a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.2s;
}

/* 하단 카피라이트 섹션 */
.footer-bottom {
    max-width: 1280px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
    font-weight: var(--font-weight-400);
    line-height: 150%;
}

.sub .footer-bottom {
    border-top: 1px solid rgba(229, 229, 229, 0.1);
}

.footer-bottom p {
    font-size: var(--font-size-13);
    font-family: var(--font-inter);
    color: var(--color-footer);
}

/* sub */
.sub-vis {
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

/* 비디오를 감싸는 컨테이너 (높이 제어) */
.hero-section {
    position: relative;
    width: 100%;
    height: 880px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sub-video {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background: none;
}

.sub-video.full {
    height: 880px;
}

.sub-video video {
    z-index: 0;
}

.sub-video.overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(45.8% 45.8% at 50% 50%,
            rgba(2, 13, 15, 0) 0%,
            rgba(2, 13, 15, 0.95) 100%);
}

.sub-video.overlay.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(95.45% 95.45% at 51.48% 4.55%, rgba(0, 0, 0, 0.00) 0%, #000 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%);
}

/* PC 영상 */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    z-index: 0;
    width: 1980px;
    max-width: none;
    max-height: none;
    min-width: none;
    min-height: none;
}

.pc-video {
    display: block;
}


.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.content-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.content-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.content-overlay p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    word-break: keep-all;
}

.small-print {
    font-size: 0.85rem !important;
    opacity: 0.6;
    margin-top: 40px;
}


.solution-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 120px;
    color: #333;
}

.solution-container:last-child {
    margin-bottom: 160px;
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: top;
    margin-bottom: 50px;
}

.header-text {
    padding-top: 42px;
    flex: 1;
}

.sub-title {
    color: #00acc1;
    font-weight: bold;
    font-size: 14px;
}

.header-text h1 {
    font-size: 42px;
    margin: 15px 0;
    line-height: 1.2;
    color: #000;
}

.header-text h2 {
    font-size: 54px;
    font-weight: var(--font-weight-700);
    color: var(--color-blackh2);
    line-height: 120%;
    margin: 0;
}

.header-text p {
    font-size: var(--font-size-p);
    ;
    font-weight: var(--font-weight-400);
    color: var(--color-sub-p);
    line-height: 150%;
    font-family: var(--font-inter);
    margin-top: 16px;
    width: 632px;
}

.header-text p strong {
    font-weight: var(--font-weight-600);
}

.header-image img {
    width: 420px;
    height: auto;
}

.solution-grid {
    display: flex;
    gap: 20px;
}

.sub-solution-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    background-color: var(--color-serve);
}

.sub-solution-card .solution-icon {
    margin-bottom: 30px;
}

.sub-solution-card .serve-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 34px;
}

.sub-solution-card .serve-icon img {
    width: 100%;
}

.sub-solution-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-blackh2);
    font-family: var(--font-inter);
    font-weight: var(--font-weight-600);
    letter-spacing: -0.11px;
}

.sub-solution-card ul {
    list-style: none;
    padding: 0;
}

.sub-solution-card li {
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 10px;
    padding-left: 12px;
    position: relative;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-400);
    color: var(--color-sub-p);
}

.sub-solution-card li strong {
    font-weight: var(--font-weight-600);
}

.sub-solution-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    background-color: #696969;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}




.sub-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    padding: 10px 25px;
    border-radius: 999px;
    background: var(--color-serve);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.10);
    gap: 20px;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
}

.sub-bar.visible {
    opacity: 1;
    visibility: visible;
}

.sub-bar .label {
    color: #424F51;
    text-align: center;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: var(--font-weight-600);
    text-transform: uppercase;
}

.sub-bar .step-list {
    display: flex;
    gap: 8px;
}

.sub-bar .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #ffffff;
    color: #424F51;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.sub-bar .step.active {
    background-color: #00a8bc;
    color: white;
}

.sub-bar .step:hover:not(.active) {
    background-color: #edf2f7;
    transform: translateY(-2px);
}


.architecture-section {
    position: relative;
    height: 180vh;
    background-color: #060B0E;
    color: #FFFFFF;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.sticky-left {
    flex: 0 0 420px;
    width: 420px;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.3;
    z-index: 10;
    align-self: flex-start;
    padding-top: 100px;
}

.layers-container {
    flex: 1;
    position: relative;
    height: 100%;
}

.layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 450px;
    transform: translate(-50%, -50%);
    z-index: 5;
    will-change: transform;
}

.layer-1 {
    z-index: 7;
}

.layer-2 {
    z-index: 6;
}

.layer-3 {
    z-index: 5;
}

.layer-4 {
    z-index: 4;
}

.layer-5 {
    z-index: 3;
}

.layer-6 {
    z-index: 2;
}

.layer-7 {
    z-index: 1;
}

.sticky-right {
    flex: 0 0 350px;
    text-align: right;
    z-index: 10;
    position: relative;
    height: 100%;
}

.sticky-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.text-item {
    position: absolute;
    bottom: calc(50% + 20px);
    right: 0;
    width: 100%;
    padding: 15px 0;
    font-size: 15px;
    color: #8A9A9F;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.serve-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.bottom-text {
    margin-top: 50px;
    color: var(--color-sub-p);
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 180px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;

}

.modal-content {
    background: #F4F4F4;
    width: 100%;
    max-width: 680px;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 80px);
    /* 폴백 */
    max-height: calc(100svh - 80px);
    /* 아이폰 대응 */
    overflow-y: auto;
    overflow-x: hidden;
    /* 가로 스크롤 차단 */
    scrollbar-width: none;
    /* 파이어폭스 스크롤바 숨김 */
}

.modal-content h2 {
    color: #040E10;
    font-size: 28px;
    font-weight: var(--font-weight-700);
    line-height: 112%;
    letter-spacing: -0.14px;
    text-transform: capitalize;
}

.modal-content .subtitle {
    color: #040E10;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: var(--font-weight-400);
    line-height: 152%;
    margin-top: 20px;
}

.modal-content .close-btn {
    position: absolute;
    top: 40px;
    right: 34px;
    cursor: pointer;
}

.modal-content form {
    margin: 40px 0;
}

/* h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #111;
} */



.modal-content .input-group {
    margin-bottom: 24px;
    text-align: left;
}

.modal-content .input-group label {
    color: #040E10;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: var(--font-weight-500);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.modal-content .input-group .dot::after {
    content: "";
    width: 4px;
    height: 4px;
    display: inline-block;
    background-color: #FF0000;
    aspect-ratio: 1/1;
    border-radius: 100%;
}

.modal-content .input-group .error-msg {
    display: flex;
    align-items: center;
    margin-top: 4px;
    color: #ff4d4d;
    font-size: 11px;
}

.modal-content .input-group .error-msg::before {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 4px;
    background: url(../assets/icon/icon_info-circle.png);
}

.modal-content input,
textarea {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #B5B7B7;
    border-radius: 4px;
    background: #fdfdfd;
    box-sizing: border-box;
    height: 40px;
    ;
}

.modal-content textarea {
    height: 100px;
    resize: none;
}

/* 에러 상태 */
.modal-content .input-group.error input,
.modal-content .input-group.error textarea {
    border-color: #ff4d4d;
}

/* 하단 버튼 */
.submit-btn {
    width: auto;
    padding: 12px 25px;
    background: #00a8bc;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.submit-btn:hover {
    background: #008a9a;
}

.sub .footer {
    padding: 20px 0 40px 0;
    color: #fff;
}

.sub-section {
    margin: 180px 0;
    color: var(--color-white)
}

.sub-section.mt40 {
    margin-top: 40px !important
}

.sub-section.mb0 {
    margin: 180px 0 0 0;
}

.sub-section .title {
    font-size: 32px;
    font-weight: var(--font-weight-700);
    line-height: 120%;
}

.architecture-text {
    display: flex;
    justify-content: space-between;
}

.architecture-text .text-left {
    font-size: 40px;
    font-weight: var(--font-weight-700);
    line-height: 120%;
    flex: 5;
    flex-shrink: 0
}

.architecture-text .text-right {
    font-family: var(--font-inter);
    font-size: var(--font-size-p);
    ;
    font-weight: var(--font-weight-400);
    line-height: 152%;
    flex: 5;
}

.architecture-text .text-right p~p {
    margin-top: 30px;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 50px;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-left 15s linear infinite;
}

.set {
    display: flex;
    width: 1900px;
    gap: 20px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(calc((100vw - 1280px) / 2 - 1900px));
    }

    100% {
        transform: translateX(calc((100vw - 1280px) / 2 - 3800px));
    }
}

@keyframes hide-first-lap {

    0%,
    99.9% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.marquee-wrapper:hover .marquee-track,
.marquee-wrapper:hover .set-0 {
    animation-play-state: paused;
}

.card {
    width: 360px;
    height: 262px;
    background: #0F1719;
    border-radius: 16px;
    padding: 30px;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.card:hover {
    background: radial-gradient(60.37% 49.01% at 50% 109.54%, rgba(67, 195, 213, 0.22) 0%, rgba(67, 195, 213, 0.00) 100%), #0F1719;
    border-color: rgba(67, 195, 213, 0.3);
    transform: translateY(-5px);
}

.marquee-text {
    font-family: var(--font-inter);
    font-size: var(--font-size-p);
    ;
    font-weight: var(--font-weight-600);
    letter-spacing: -0.09px;
}

.icon {
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: center left;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

.icon-1 {
    background-image: url('../assets/our_serve_architecture01.png');
}

.icon-2 {
    background-image: url('../assets/our_serve_architecture02.png');
}

.icon-3 {
    background-image: url('../assets/our_serve_architecture03.png');
}

.icon-4 {
    background-image: url('../assets/our_serve_architecture04.png');
}

.icon-5 {
    background-image: url('../assets/our_serve_architecture05.png');
}





/* about us */

.about-section-wrapper {
    background-color: #000;
    color: #fff;
    font-family: var(--font-inter);
    padding: 60px 0 180px 0;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
}

.about-title {
    margin-bottom: 60px;
    color: var(--color-white);
    text-align: center;
    font-size: 40px;
    font-weight: var(--font-weight-700);
    line-height: 120%;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.about-card {
    background-color: #121315;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 182px;
}

.about-card-title {
    font-size: 32px;
    margin: 0 0 8px 0;
    color: var(--color-white);
    font-weight: var(--font-weight-700);
}

.about-card-label {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: var(--font-weight-500);
}

.about-card-sub-stats {
    margin-top: 40px;
    color: #808687;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: var(--font-weight-500);
    letter-spacing: -0.1px;
}

.about-divider {
    display: inline-block;
    width: 1px;
    height: 10px;
    background-color: #444;
    flex-shrink: 0;
}

.about-partners {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 5px;
}

.about-partner-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-partner-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.about-partner-info h4 {
    font-family: var(--font-inter);
    font-size: 20px;
    font-weight: var(--font-weight-700);
    letter-spacing: -0.1px;
    line-height: normal;
}

.about-partner-info p {
    font-family: var(--font-inter);
    font-size: 16px;
    margin-top: 2px;
}

.found-section-wrapper {
    background-color: #121315;
    color: #fff;
    padding: 180px 0;
}

.found-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.found-title-area {
    flex: 1;
}

.found-main-title {
    color: var(--color-white);
    font-size: 40px;
    font-weight: var(--font-weight-700);
    line-height: 120%;
}

.found-content-area {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 텍스트 박스와의 정렬 확인 */
.found-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}


/* 아이콘 박스 스타일 */
.found-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
}

.found-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}


/* 텍스트 스타일 */
.found-text-box h3 {
    font-size: 28px;
    font-weight: var(--font-weight-700);
    line-height: 120%;
}

.found-text-box h3 span {
    color: #B5B7B7;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: var(--font-weight-400);
    letter-spacing: -0.08px;
    margin-left: 16px;
}

.found-text-box p {
    font-family: var(--font-inter);
    font-size: var(--font-size-p);
    ;
    font-weight: var(--font-weight-400);
    margin-top: 16px;
}


.architecture {
    height: 200vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px;
}

.stack {
    position: relative;
    width: 400px;
    height: 500px;
}

.layer {
    position: absolute;
    width: 100%;
    left: 0;
}

.l1 {
    transform: translateY(-200px);
}

.l2 {
    transform: translateY(-120px);
}

.l3 {
    transform: translateY(-40px);
}

.l4 {
    transform: translateY(40px);
}

.l5 {
    transform: translateY(120px);
}

.l6 {
    transform: translateY(200px);
}

/* 메인 컨테이너 */
.about-nat {
    width: 100%;
    background: linear-gradient(0deg, rgba(11, 191, 208, 0.20) 0%, rgba(11, 191, 208, 0.20) 100%), #000126;
    background-blend-mode: multiply, normal;

}

.main-container {
    display: flex;
    flex-direction: row;
    width: var(--base-w);
    height: var(--base-h);
    position: relative;
    background-blend-mode: multiply, normal;
    margin: 0 auto;
}

.text-section {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 50px;
    z-index: 20;
}

.text-section h1 {
    color: var(--color-white);
    font-size: 40px;
    font-weight: var(--font-weight-700);
    line-height: 120%;
}

.text-section p {
    color: var(--color-white);
    font-family: var(--font-inter);
    font-size: var(--font-size-p);
    ;
    font-weight: var(--font-weight-400);
    line-height: 152%;
    margin-top: 20px;
}

.globe-section {
    flex: 1;
    position: relative;
    overflow: hidden;

}

.video-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 center;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

#line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.flag-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.flag-container {
    position: absolute;
    width: 170px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.visual-box {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(5px);
    padding: 10px 14px 10px 10px
}

.flag-img {
    width: 32px;
    height: 32px;
}

.flag-name {
    color: var(--color-white);
    font-family: var(--font-inter);
    font-size: var(--font-size-p);
    ;
}

/* 섹션 높이 확보 (스크롤 영역) */
.stack-section {
    width: 100%;
    position: relative;
}

.stack-sticky-wrapper {
    position: sticky;
    top: 10vh;
    /* 화면 상단 10% 위치에서 스크롤 애니메이션 시작 */
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 50px;
}

.stack-container {
    display: flex;
    width: 100%;
    max-width: 1280px;
    position: relative;
}

.stack-animation-wrapper {
    position: relative;
    width: 100%;
    flex: 1.5;
}


.stack-title-area {
    flex: 1;
    margin-top: 50px;
}

.stack-main-title {
    color: var(--color-white);
    font-size: 40px;
    font-weight: var(--font-weight-700);
}

/* .stack-animation-wrapper {
    flex: 1.5;
    position: relative;
    width: 100%;
} */

.stack-item-img,
.stack-label-item {
    position: absolute;
}

.stack-item-img {
    left: 0;
    width: 452px;
    max-height: 323px;
    object-fit: contain;
}

.stack-label-item {
    left: 449px;
    width: 300px;
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    justify-content: end;
    text-align: right;
}

.stack-label-item.active {
    color: #ffffff;
    font-weight: 700;
}

.line-anchor {
    position: absolute;
    bottom: 0;
    left: -28px;
    width: calc(100% + 28px);
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.stack-label-item.active .line-anchor {
    background-color: rgba(255, 255, 255, 0.6);
}

.connector-path {
    stroke: var(--line-color);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s;
}

/* serve */



.main-section {
    position: relative;
    height: 980px;
    background-color: #000;
    overflow: hidden;
    margin: 20px;
    border-radius: 20px;
}

.main-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}


.main-slide.main-active-slide {
    opacity: 1;
    z-index: 2;
}


.main-bg-1 {
    background-image: url('../assets/main-section01.png');
}

.main-bg-2 {
    background-image: url('../assets/main-section02.png');
}

.main-bg-3 {
    background-image: url('../assets/main-section03.png');
}

.main-content {
    position: absolute;

    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    color: var(--color-white);
    text-align: center;
    font-size: 66px;
    font-weight: var(--font-weight-700);
    line-height: 112%;
    letter-spacing: -0.33px;
}

.main-desc {
    color: #B5B7B7;
    text-align: center;
    font-family: var(--font-inter);
    font-size: var(--font-size-p);
    ;
    font-weight: var(--font-weight-400);
    line-height: 150%;
    margin: 20px 0 40px 0;
}

/* 데모 요청 버튼 */
.main-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #00C4CC;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.main-demo-btn:hover {
    background-color: #00A6AD;
}


.main-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 4px;
    align-items: center;
}

.main-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.main-dot.main-active {
    width: 32px;
    background-color: #FFFFFF;
    border-radius: 4px;
}


.serve-section {
    position: relative;
    height: 880px;
    /* 🔥 추가 */
    margin-left: calc(-50vw + 50%);
    /* 🔥 추가 - 부모 컨테이너 무시하고 꽉 채우기 */
    background: radial-gradient(ellipse 60% 100% at center, #0b1a1f 0%, #020607 100%);
    overflow: hidden;
}

.serve {
    height: 100%;
    width: 100%;
    /* 🔥 추가 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 메인 스테이지 */
.stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* 🔥 핵심 */
}


/* 중앙 텍스트 */
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    width: 60%;
}

.center h2 {
    margin-bottom: 20px;
    color: var(--color-white);
    text-align: center;
    font-style: normal;
    font-weight: var(--font-weight-700);
    letter-spacing: -0.27px;
    text-transform: capitalize;
    font-size: 54px;
    line-height: 112%;
}

.center p {
    opacity: 0.7;
    color: var(--color-white);
    text-align: center;
    font-size: var(--font-size-p);
    ;
    font-family: var(--font-inter);
    line-height: 152%;
    /* 27.36px */

}

/* 🔥 회전 레이어 */
.icons {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    /* animation 제거 */
}

.icon-li {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transform: translate(-50%, -50%);
}

.icon-li img {
    width: 52px;
    height: 52px;
    transition: opacity 0.3s;
}

.icon-label {
    font-size: 12px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    pointer-events: none;
}

/* 밝은 (14~18) */
.icon-li.bright img {
    opacity: 0.9;
    filter: brightness(1.2);
}

/* 기본 어두움 */
.icon-li.dim img {
    opacity: 0.2;
}

/* 바깥쪽 더 어둡게 */
.icon-li.far img {
    opacity: 0.05;
}


/* 🔥 비네팅 (중앙 밝고 바깥 어둡게) */
.vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;

    background: radial-gradient(circle 400px at center,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.95) 100%);
}

.arch-pin-spacer {
    height: calc(100vh + 900px);
    /* 1400px → 900px */
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.arch-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* visible → hidden */
}

.arch-inner {
    width: 100%;
    padding: 0 clamp(20px, 4vw, 64px);
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.arch-title {
    flex-shrink: 0;
    min-width: 200px;
}

.arch-title h2 {
    color: var(--color-white);
    font-size: 40px;
    font-style: normal;
    font-weight: var(--font-weight-700);
    line-height: 120%;


}

.arch-stack-wrap {
    position: relative;
    width: 660px;
    flex-shrink: 0;
}

.arch-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 400px;
    height: auto;
    overflow: hidden;
}

.arch-layer img {
    display: block;
    width: 100%;
    height: auto;
}

.arch-labels {
    position: absolute;
    left: 374px;
    top: 0;
    width: 260px;
    height: 100%;
}

.lbl {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0.25;
    transition: opacity .32s;
    white-space: nowrap;
}

.lbl.show {
    opacity: 0.5;
}

.lbl.active {
    opacity: 1;
}

.lbl-text {
    color: #808687;
    font-family: var(--font-inter);
    font-size: 16px;
    font-style: normal;
    font-weight: var(--font-weight-400);
    line-height: normal;
    padding-bottom: 10px;
}

.lbl.active .lbl-text {
    color: rgba(255, 255, 255, .95)
}

.lbl-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    transform-origin: left;
    transition: background .3s;

}

.lbl.active .lbl-line {
    background: rgba(255, 255, 255, .6)
}

@media(max-width:1100px) {
    .arch-inner {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .arch-title {
        width: 100%;
        text-align: center;
    }
}


@media(max-width:640px) {
    .arch-pin-spacer {
        height: calc(100vh + 600px);
        margin-bottom: -500px;
        /* 아래 요소 200px 당기기 */
        margin-top: 0
    }

    .arch-sticky {
        height: 100vh;
        align-items: flex-start;
        padding-top: 40px;
    }

    .arch-stack-wrap {
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    .arch-layer {
        width: 200px;
        left: 0;
    }

    .arch-labels {
        left: auto;
        right: 0;
        width: 144px;
    }

    .arch-title h2 {
        font-size: 28px;
    }

    .lbl {
        left: 0;
        right: 0;
        align-items: flex-end;
    }

    .lbl-text {
        font-size: 14px;
        text-align: right;
        padding-bottom: 5px;
    }

    .lbl-line {
        width: calc(100% + (100vw - 40px - 200px - 144px));
        margin-left: calc(-1 * (100vw - 40px - 200px - 144px));
    }
}

.only-mobile {
    display: none !important;
}

.mobile-br {
    display: none;
}