/* =================================== */
/* 🏠 HOME PAGE STYLES */
/* =================================== */

/* =================================== */
/* 🖥️📱 RESPONSIVE VISIBILITY CONTROL */
/* =================================== */

/* 데스크톱 버전 기본 표시 (768px 이상) */
.d-navbar,
.d-main,
.d-hero-section,
.d-partnership-section,
.d-ability-section,
.d-about-section,
.d-footer {
    display: block;
}

/* 모바일 버전 기본 숨김 */
.m-navbar,
.m-main,
.m-hero-section,
.m-partnership-section,
.m-ability-section,
.m-about-section,
.m-footer {
    display: none;
}

/* 모바일 환경 (767px 이하)에서 전환 */
@media (max-width: 767px) {
    /* 데스크톱 버전 숨김 */
    .d-navbar,
    .d-main,
    .d-hero-section,
    .d-partnership-section,
    .d-ability-section,
    .d-about-section,
    .d-footer {
        display: none !important;
    }
    
    /* 모바일 버전 표시 */
    .m-navbar,
    .m-main,
    .m-hero-section,
    .m-partnership-section,
    .m-ability-section,
    .m-about-section,
    .m-footer {
        display: block !important;
    }

    /* =================================== */
    /* 📱 MOBILE STYLES */
    /* =================================== */
    
    /* 모바일 메인 영역 */
    .m-main {
        margin-top: 70px; /* 모바일 네비게이션 높이만큼 여백 */
        background: #000000;
        min-height: 100vh;
    }
    
    /* =================================== */
    /* 📱 MOBILE NAVIGATION */
    /* =================================== */
    
    .m-navbar {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        height: 70px;
        padding: 0 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* 모바일 컨테이너 기본 설정 */
    .m-container {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    
    .m-navbar .m-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        max-width: 100%;
        position: relative;
    }
    
    .m-navbar-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    
    .m-logo-img {
        height: 35px;
        width: auto;
        object-fit: contain;
    }
    
    /* 햄버거 메뉴 버튼 - 우측 정렬 */
    .m-mobile-menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        position: relative; /* absolute에서 relative로 변경 */
        margin-left: auto; /* 우측 정렬 */
    }
    
    .m-hamburger-line {
        width: 100%;
        height: 2px;
        background: #FFFFFF;
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .m-mobile-menu-toggle.active .m-hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .m-mobile-menu-toggle.active .m-hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .m-mobile-menu-toggle.active .m-hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* 모바일 네비게이션 CTA 버튼 */
    .m-nav-CTA {
        background: #FFFFFF;
        color: #000000;
        text-decoration: none;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: -0.5px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .m-nav-CTA:hover {
        background: #f8f9fa;
        color: #FF2B00;
        transform: translateY(-1px);
    }
    
    /* 60% 너비 모바일 메뉴 */
    .m-mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 60vw; /* 화면 너비의 60% */
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%); /* 오른쪽에서 슬라이드 인 */
        transition: all 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .m-mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    .m-mobile-menu-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 30px;
        padding: 20px;
        position: relative;
    }
    
    /* X 버튼을 위한 닫기 버튼 추가 */
    .m-mobile-menu-close {
        position: absolute;
        top: 25px;
        right: 25px;
        background: none;
        border: none;
        color: #FFFFFF;
        font-size: 32px;
        cursor: pointer;
        padding: 5px;
        line-height: 1;
        transition: all 0.3s ease;
    }
    
    .m-mobile-menu-close:hover {
        color: #FF2B00;
        transform: scale(1.1);
    }
    
    .m-mobile-menu-item {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 20px; /* 약간 작게 조정 */
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: -1px;
        transition: all 0.3s ease;
        padding: 8px 15px; /* 패딩 조정 */
        border-radius: 8px;
        text-align: center;
        width: 100%;
        max-width: 200px;
    }
    
    .m-mobile-menu-item:hover {
        color: #FF2B00;
        background: rgba(255, 43, 0, 0.1);
    }
    
    .m-mobile-menu-item.active {
        color: #FF2B00;
        font-weight: 600;
    }
    
    .m-mobile-menu-item.contact {
        background: #FF2B00;
        color: #FFFFFF;
        margin-top: 20px;
        padding: 15px 30px;
    }
    
    .m-mobile-menu-item.contact:hover {
        background: #FFFFFF;
        color: #FF2B00;
    }
    
    /* =================================== */
    /* 📱 MOBILE HERO SECTION */
    /* =================================== */
    
    .m-hero-section {
        background: #000000;
        color: #FFFFFF;
        padding: 0 20px 0; /* 상하 패딩 40px 제거 */
        min-height: 65vh; /* 높이를 줄여서 검정 여백 감소 */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        padding-bottom: 30px; /* 하단 패딩도 줄임 */
    }
    
    .m-hero-content {
        max-width: 100%;
        margin-bottom: 40px;
        z-index: 2;
        position: relative;
    }
    
    .m-hero-title {
        font-size: 48px;
        line-height: 1.2;
        margin-bottom: 20px;
        color: #FFFFFF;
        font-weight: 600;
        letter-spacing: -1px;
    }
    
    .m-title-line-1,
    .m-title-line-2 {
        display: block;
    }
    
    .m-hero-subtitle {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 30px;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 400;
        letter-spacing: -0.5px;
    }
    
    .m-subtitle-line-1,
    .m-subtitle-line-2 {
        display: block;
    }
    
    .m-hero-buttons {
        display: flex;
        flex-direction: row; /* 세로에서 가로로 변경 */
        gap: 15px;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-bottom: 40px;
        z-index: 2;
        position: relative;
        flex-wrap: wrap; /* 작은 화면에서 줄바꿈 허용 */
    }
    
    .m-btn-CTA-demo,
    .m-btn-CTA-contact {
        background: #FF2B00;
        color: #FFFFFF;
        border: none;
        padding: 15px 20px; /* 좌우 패딩 줄여서 가로 배치에 적합하게 */
        border-radius: 12px;
        font-size: 14px; /* 폰트 크기 약간 줄임 */
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1; /* 동일한 너비로 배치 */
        max-width: 140px; /* 최대 너비 제한 */
        text-align: center;
        white-space: nowrap; /* 텍스트 줄바꿈 방지 */
    }
    
    .m-btn-CTA-demo:hover,
    .m-btn-CTA-contact:hover {
        background: #FFFFFF;
        color: #FF2B00;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 43, 0, 0.3);
    }
    
    /* 작은 화면에서 버튼 조정 (340px까지 가로 배치 유지) */
    @media (max-width: 480px) {
        .m-hero-buttons {
            gap: 8px; /* 간격 더 줄임 */
            flex-wrap: nowrap; /* 줄바꿈 방지 */
        }
        
        .m-btn-CTA-demo,
        .m-btn-CTA-contact {
            font-size: 12px; /* 폰트 크기 더 줄임 */
            padding: 10px 12px; /* 패딩 줄임 */
            max-width: 120px; /* 최대 너비 더 줄임 */
            flex: 1; /* 동일한 크기로 분할 */
            min-width: 100px; /* 최소 너비 설정 */
        }
    }
    
    /* 더 작은 화면 (340px 이하)에서도 가로 배치 유지 */
    @media (max-width: 340px) {
        .m-hero-buttons {
            gap: 6px; /* 간격 최소화 */
            padding: 0 10px; /* 좌우 여백 추가 */
        }
        
        .m-btn-CTA-demo,
        .m-btn-CTA-contact {
            font-size: 11px; /* 폰트 크기 더 작게 */
            padding: 8px 10px; /* 패딩 최소화 */
            max-width: 110px; /* 최대 너비 더 작게 */
            min-width: 90px; /* 최소 너비 줄임 */
            white-space: nowrap; /* 텍스트 줄바꿈 방지 */
            overflow: hidden; /* 넘치는 텍스트 숨김 */
            text-overflow: ellipsis; /* 말줄임표 */
        }
    }

    /* 매우 작은 화면 (320px 이하)에서만 세로 배치 */
    @media (max-width: 320px) {
        .m-hero-buttons {
            flex-direction: column;
            gap: 12px;
            padding: 0;
        }
        
        .m-btn-CTA-demo,
        .m-btn-CTA-contact {
            max-width: 200px;
            width: 100%;
            font-size: 14px;
            padding: 12px 16px;
            min-width: unset;
        }
    }
    
    .m-hero-image {
        position: absolute;
        bottom: -80px; /* -100px에서 -80px로 변경 */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 400px;
        z-index: 2; /* 파트너십 섹션 위에 표시 */
    }
    
    .m-hero-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
    }
    
    /* =================================== */
    /* 📱 MOBILE PARTNERSHIP SECTION */
    /* =================================== */
    
    .m-partnership-section {
        background: #F0F4FB;
        color: #000000;
        padding: 20px 20px 20px; /* 하단 패딩을 20px로 변경 */
        margin: 0;
        border-radius: 12px; /* border-radius 추가 */
        position: relative;
        z-index: 1; /* 히어로 이미지보다 아래에 위치 */
    }
    
    .m-partnership-container {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    .m-partnership-content {
        width: 100%;
        padding-top: 80px; /* 상단 패딩을 80px로 변경 */
    }
    
    .m-section-title {
        font-size: 32px;
        font-weight: 700;
        color: #000000;
        margin-bottom: 15px;
        line-height: 1.3;
        letter-spacing: -1px;
    }
    
    .m-section-subtitle {
        font-size: 16px;
        font-weight: 400;
        color: #666666;
        margin-bottom: 40px;
        line-height: 1.4;
        letter-spacing: -0.5px;
    }
    
    .m-partner-logos-carousel {
        width: 100%;
        overflow: hidden;
        margin: 0 auto;
        position: relative;
        height: 80px;
    }
    
    .m-partner-logos-track {
        display: flex;
        animation: scroll-mobile-logos 25s linear infinite;
        align-items: center;
        height: 100%;
    }
    
    @keyframes scroll-mobile-logos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 20px));
        }
    }
    
    .m-partner-logo {
        flex-shrink: 0;
        margin-right: 40px;
        min-width: 120px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .m-partner-logo-img {
        width: auto;
        height: auto;
        max-width: 120px;
        max-height: 60px;
        object-fit: contain;
        filter: grayscale(80%);
        opacity: 0.8;
        transition: all 0.3s ease;
    }
    
    .m-partner-logo:hover .m-partner-logo-img {
        filter: grayscale(0%);
        opacity: 1;
    }
    
    /* =================================== */
    /* 📱 MOBILE OUR ABILITY SECTION */
    /* =================================== */
    
    .m-ability-section {
        background: #000000;
        color: #FFFFFF;
        padding: 60px 20px;
    }
    
    .m-ability-section .m-container {
        max-width: 100% !important;
        margin: 0 auto !important;
        display: block !important; /* flex를 block으로 덮어쓰기 */
        justify-content: unset !important;
        align-items: unset !important;
        height: auto !important;
    }
    
    .m-section-header {
        text-align: left; /* 좌측 정렬로 변경 */
        margin-bottom: 60px;
        padding-left: 0;
    }
    
    .m-section-label-pageName {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 40px;
        display: block;
        text-align: left; /* 좌측 정렬 */
    }
    
    .m-section-label-Title {
        color: #FFFFFF;
        font-size: 32px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 15px;
        letter-spacing: -1px;
        text-align: center; /* 중앙 정렬로 변경 */
    }
    
    .m-section-label-subTitle {
        color: rgba(255, 255, 255, 0.8);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
        letter-spacing: -0.5px;
        text-align: center; /* 중앙 정렬로 변경 */
    }
    
    .m-ability-grid {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    
    .m-ability-card {
        display: flex !important;
        gap: 20px !important;
        align-items: flex-start !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 40px !important;
        width: 100% !important;
        flex-direction: row !important; /* 기본값: HTML 순서 그대로 */
    }
    
    .m-ability-grid .m-ability-card:nth-child(1) {
        flex-direction: row !important;
    }
    
    .m-ability-grid .m-ability-card:nth-child(2) {
        flex-direction: row !important;
    }
    
    .m-ability-grid .m-ability-card:nth-child(3) {
        flex-direction: row !important;
    }
    
    /* 추가: 더 구체적인 셀렉터 */
    @media (max-width: 767px) {
        .m-ability-section .m-ability-grid .m-ability-card:nth-child(2) {
            flex-direction: row !important;
        }
        
        .m-ability-section .m-ability-grid .m-ability-card:nth-child(2) .m-card-image {
            order: -1 !important; /* 이미지를 맨 앞으로 */
        }
        
        .m-ability-section .m-ability-grid .m-ability-card:nth-child(2) .m-card-content {
            order: 1 !important; /* 텍스트를 뒤로 */
        }
    }
    
    .m-ability-card .m-card-content {
        flex: 1 !important;
        padding: 0 !important;
        background: transparent !important;
        color: #FFFFFF !important;
    }
    
    .m-ability-card .m-card-image {
        flex: 0 0 45% !important;
        width: 45% !important;
        height: 160px !important; /* 140px → 160px로 증가 */
        background: rgba(100, 100, 100, 0.6) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important; /* 경계선 추가 */
    }
    
    .m-card-title {
        font-size: 18px !important;
        font-weight: 580 !important;
        color: #FFFFFF !important;
        margin-bottom: 12px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
    }
    
    .m-card-description {
        font-size: 14px !important;
        font-weight: 400 !important;
        color: rgba(255, 255, 255, 0.8) !important;
        line-height: 1.4 !important;
        letter-spacing: -0.3px !important;
    }
    
    .m-card-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* 비율 유지하면서 컨테이너에 맞춤 */
        object-position: center !important; /* 중앙 정렬 */
        border-radius: 8px !important;
    }
    
    /* 작은 화면에서도 가로 배치 유지 */
    @media (max-width: 480px) {
        .m-ability-card {
            flex-direction: row !important;
            gap: 10px;
        }
        
        .m-ability-card:nth-child(odd) {
            flex-direction: row !important;
        }
        
        .m-ability-card:nth-child(even) {
            flex-direction: row-reverse !important;
        }
        
        .m-card-image {
            flex: 0 0 40%;
            width: 40%;
            min-width: 120px;
            height: 160px; /* 80px → 160px로 통일 */
            border-radius: 12px; /* 둥근 모서리 추가 */
            overflow: hidden; /* 이미지 잘림 처리 */
            border: 1px solid rgba(255, 255, 255, 0.1); /* 경계선 추가 */
        }
        
        .m-card-title {
            font-size: 18px;
        }
        
        .m-card-description {
            font-size: 12px;
        }
    }
    
    /* =================================== */
    /* 📱 MOBILE ABOUT US SECTION */
    /* =================================== */
    
    .m-about-section {
        background: #000000;
        color: #FFFFFF;
        padding: 80px 20px;
        overflow: hidden;
    }
    
    .m-about-section .m-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .m-about-section .m-section-header {
        text-align: center;
        margin-bottom: 60px;
    }
    
    .m-about-section .m-section-label-pageName {
        color: rgba(255, 255, 255, 0.7);
        font-size: 16px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 40px;
        display: block;
    }
    
    .m-about-content {
        text-align: center;
    }
    
    .m-main-title {
        font-size: 2rem;
        font-weight: 650;
        color: #FFFFFF;
        margin-bottom: 15px;
        line-height: 1.2;
        letter-spacing: -1px;
    }
    
    .m-main-description {
        font-size: 0.8rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 50px;
        line-height: 1.4;
        letter-spacing: -0.5px;
    }
    
    /* 캐러셀 컨테이너 */
    .m-about-carousel-container {
        position: relative;
        overflow: hidden;
        margin: 0 -20px; /* 좌우 여백 제거로 풀스크린 효과 */
        cursor: grab;
        user-select: none;
    }
    
    .m-about-carousel-container:active {
        cursor: grabbing;
    }
    
    .m-about-grid {
        display: flex;
        gap: 20px;
        transition: transform 0.3s ease;
        padding: 0 20px;
    }
    
    .m-about-card {
        background: rgba(255, 255, 255, 0.3);
        border: none;
        border-radius: 20px;
        height: 240px; /* 200px → 240px로 높이 증가 */
        width: 300px; /* 고정 너비 설정 */
        min-width: 300px; /* min-width도 동일하게 */
        max-width: 300px; /* max-width 추가로 크기 완전 고정 */
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        /* color: rgba(255, 255, 255, 0.6); */
        font-size: 14px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .m-about-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        transition: transform 0.3s ease;
    }
    
    .m-about-card:hover {
        /* background: rgba(0, 0, 0, 0.6); */
        transform: scale(1.02);
    }
    
    .m-about-card:hover .m-about-card-img {
        transform: scale(1.05);
    }
    
    /* 모바일 카드 텍스트 콘텐츠 스타일 */
    .m-about-card .m-card-content {
        padding: 30px 25px; /* 4rem 3rem → 30px 25px로 축소 */
        text-align: left;
        height: 100%;
        width: 100;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: left; /* left → center로 변경 */
        box-sizing: border-box; /* 패딩이 전체 크기에 포함되도록 */
    }
    
    .m-card-number {
        font-size: 2.2rem; /* 2.5rem → 2.2rem로 축소 */
        color: #FFFFFF;
        margin-bottom: 15px; /* 20px → 15px로 축소 */
        line-height: 1;
        text-align: left; /* left → center로 변경 */
    }
    
    .m-card-text {
        text-align: left; /* left → center로 변경 */
        width: 100%;
        overflow: hidden; /* 텍스트 오버플로우 방지 */
    }
    
    .m-card-title {
        font-size: 0.9rem; /* 0.9rem → 0.85rem로 축소 */
        color: #FFFFFF;
        margin-bottom: 5px; /* 6px → 5px로 축소 */
        line-height: 1.2; /* 1.3 → 1.2로 축소 */
        overflow: hidden;
        text-overflow: ellipsis; /* 텍스트 말줄임 처리 */
        font-weight: 500;
    }
    
    .m-card-subtitle {
        font-size: 0.8rem; /* 0.75rem → 0.7rem로 축소 */
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.3; /* 1.4 → 1.3으로 축소 */
        overflow: hidden;
        text-overflow: ellipsis; /* 텍스트 말줄임 처리 */
    }
    
    /* 캐러셀 네비게이션 점들 */
    .m-about-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 30px;
    }
    
    .m-about-carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .m-about-carousel-dot.active {
        background: #FFFFFF;
        transform: scale(1.2);
    }
    
    /* 터치/스와이프 영역 표시 */
    .m-about-carousel-container::after {
        content: '← 좌우로 스와이프 →';
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.4);
        font-size: 12px;
        pointer-events: none;
        opacity: 0.7;
    }
    
    /* 모바일에서 실시간 문의 버튼 숨김 */
    .live-chat-btn {
        display: none !important;
    }
    
    /* =================================== */
    /* 📱 MOBILE FOOTER */
    /* =================================== */
    
    .m-footer {
        background: #000000;
        color: #FFFFFF;
        padding: 40px 20px 20px; /* 상하 패딩 줄임: 50px → 40px */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .m-footer-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .m-footer-content {
        margin-bottom: 20px; /* 30px → 20px로 줄임 */
    }
    
    .m-footer-company {
        text-align: center;
        margin-bottom: 25px; /* 30px → 25px로 줄임 */
    }
    
    .m-footer-logo {
        color: #FFFFFF;
        font-size: 20px; /* 24px → 20px로 줄임 */
        font-weight: 700;
        text-decoration: none;
        display: block;
        margin-bottom: 15px; /* 20px → 15px로 줄임 */
    }
    
    .m-footer-info {
        font-size: 10px; /* 12px → 10px로 줄임 */
        line-height: 1.4; /* 1.5 → 1.4로 줄임 */
        color: rgba(255, 255, 255, 0.7);
    }
    
    .m-footer-info p {
        margin-bottom: 3px; /* 5px → 3px로 줄임 */
    }
    
    .m-footer-links {
        display: none; /* 모바일에서 링크 섹션 숨김 */
    }
    
    .m-footer-column h4 {
        font-size: 14px; /* 16px → 14px로 줄임 */
        font-weight: 600;
        color: #FFFFFF;
        margin-bottom: 12px; /* 15px → 12px로 줄임 */
    }
    
    .m-footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .m-footer-column li {
        margin-bottom: 6px; /* 8px → 6px로 줄임 */
    }
    
    .m-footer-column a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 12px; /* 14px → 12px로 줄임 */
        transition: color 0.3s ease;
    }
    
    .m-footer-column a:hover {
        color: #FF2B00;
    }
    
    .m-footer-bottom {
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 15px; /* 20px → 15px로 줄임 */
    }
    
    .m-footer-copyright {
        font-size: 10px; /* 12px → 10px로 줄임 */
        color: rgba(255, 255, 255, 0.5);
    }
}


/* =================================== */
/* 🖥️ DESKTOP STYLES */
/* =================================== */

/* 데스크톱 메인 영역 */
.d-main {
    margin-top: 94px; /* 네비게이션 높이만큼 여백 */
    justify-content: center;
    position: relative;
    padding-bottom: 0; /* 푸터와 자연스러운 연결 */
}

/* 데스크톱 히어로 섹션 */
.d-hero-section {
    color: #FFFFFF;
    padding: 0 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto 200px auto;
}

.d-hero-content {
    text-align: center;
    max-width: 1920px;
    margin-top: 184px; /* navbar와 184px 간격 */
    margin-bottom: 60px;
}

.d-hero-image {
    position: absolute;
    top: 550px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.d-hero-img {
    width: 1465px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    max-width: none;
    margin-bottom: 5px;
}

.d-hero-title {
    font-size: 104px;
    margin-bottom: 0;
    line-height: 1.5;
    letter-spacing: -2.5%;
    color: #FFFFFF;
    white-space: nowrap;
}

.d-hero-subtitle {
    font-size: 48px;
    margin-top: 1px;
    margin-bottom: 36px;
    opacity: 0.9;
    line-height: 1.5;
    letter-spacing: -2.5%;
    color: #FFFFFF;
    white-space: nowrap;
}

.d-hero-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.d-btn-CTA-demo {
    background: #FF2B00;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 16px;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.d-btn-CTA-demo:hover {
    background: #ffffff;
    transform: translateY(-2px);
    color: #000000;
}

.d-btn-CTA-contact {
    background: #FF2B00;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    border-radius: 16px;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.d-btn-CTA-contact:hover {
    background: #ffffff;
    transform: translateY(-2px);
    color: #000000;
}

/* 데스크톱 파트너십 섹션 */
.d-partnership-section {
    background: #F0F4FB;
    padding: 0;
    color: #000000;
    margin: 0 50px 32px 50px;
    border-radius: 40px;
    position: absolute;
    top: 1082px;
    left: 0;
    right: 0;
    height: 1080px;
    z-index: 1;
}

.d-partnership-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    top: 400px;
    text-align: center;
}

.d-partnership-content {
    text-align: center;
    width: 100%;
    margin-top: 15px;
}

.d-section-title {
    font-size: 88px;
    font-weight: 600;
    letter-spacing: -2.5%;
    color: #000000;
    margin-bottom: 5px;
    line-height: 1.5;
}

.d-section-subtitle {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -2.5%;
    color: #000000;
    margin-bottom: 40px;
    line-height: 1.5;
    opacity: 0.8;
}

/* 데스크톱 파트너 로고 캐러셀 */
.d-partner-logos-carousel {
    width: calc(100vw - 388px);
    height: 321px;
    overflow: hidden;
    margin: 100px auto 0 auto;
    position: relative;
}

.d-partner-logos-track {
    display: flex;
    animation: scroll-logos 20s linear infinite;
    width: calc(100vw - 388px);
    height: 321px;
    align-items: center;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

.d-partner-logo {
    border-radius: 12px;
    color: #000000;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 90px;
    min-width: 200px;
    height: 80px;
}

.d-partner-logo:hover {
    transform: translateY(-5px);
}

.d-partner-logo-img {
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    transform: scale(0.75);
}

.d-partner-logo:hover .d-partner-logo-img {
    filter: grayscale(0%);
}

/* 애니메이션 일시정지 효과 */
.d-partner-logos-carousel:hover .d-partner-logos-track {
    animation-play-state: paused;
}

/* 데스크톱 Our Ability 섹션 */
.d-ability-section {
    color: #FFFFFF;
    padding: 100px 75px;
    position: absolute;
    top: 2162px;
    left: 0;
    right: 0;
    z-index: 1;
    justify-content: center;
}

.d-ability-section .d-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 25px;
    display: block;
}

.d-section-header {
    margin-bottom: 80px;
    width: 100%;
    position: relative;
    text-align: center;
}

.d-section-label-pageName {
    color: #ffffff;
    font-size: 28px;
    font-weight: 350;
    letter-spacing: -2.5%;
    text-transform: none;
    margin-bottom: 30px;
    display: block;
    text-align: center;
    padding-left: 0;
}

.d-section-label-Title {
    color: #FFFFFF;
    font-size: 88px;
    font-weight: 600;
    letter-spacing: -2.5%;
    margin-bottom: 20px;
    text-align: center;
}

.d-section-label-subTitle {
    color: #FFFFFF;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -2.5%;
    opacity: 0.9;
    text-align: center;
}

.d-ability-grid {
    display: flex;
    flex-direction: column;
    gap: 195px;
    max-width: 1400px;
    margin: 0 auto;
}

.d-ability-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 80px !important;
    align-items: center !important;
    max-width: 1200px;
}

.d-ability-card.reverse {
    grid-template-columns: 1fr 1fr !important;
}

.d-ability-card.reverse .d-card-content {
    order: 2;
    text-align: right;
}

.d-ability-card.reverse .d-card-image {
    order: 1;
}

.d-card-content {
    padding: 40px 0;
    z-index: 2;
}

.d-card-title {
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.d-card-description {
    font-size: 1.1rem;
    color: #FFFFFF;
    line-height: 1.6;
    opacity: 0.9;
}

.d-card-image {
    background: rgba(52, 73, 94, 0.3);
    width: 100%; /* 너비 고정 */
    height: 300px; /* 높이를 400px → 300px로 줄여서 더 균형있게 */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.d-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지 비율 유지하면서 컨테이너에 맞춤 */
    object-position: center; /* 이미지 중앙 정렬 */
    border-radius: 12px; /* 살짝 둥근 모서리 */
}

/* 데스크톱 About Us 섹션 */
.d-about-section {
    background: none;
    color: #FFFFFF;
    padding: 100px 0;
    width: 100%;
    position: relative;
    margin-top: 3700px; /* 원래 위치로 더 아래로 내리기 */
}

.d-about-section .d-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column; /* 상하 정렬 강제 */
}

.d-about-section .d-section-header {
    text-align: center;
    margin-bottom: 180px;
    width: 100%;
    display: block; /* 블록 요소로 강제 */
}

.d-about-section .d-section-label-pageName {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 360px;
    display: block;
}

.d-main-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
    color: #FFFFFF;
}

.d-main-description {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.d-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 0; /* 상단 마진 제거 */
    width: 100%; /* 전체 너비 사용 */
}

.d-about-card {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.d-about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.d-card-image {
    height: 280px;
    overflow: hidden;
}

.d-about-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.d-about-card:hover .d-about-card-img {
    transform: scale(1.05);
}

/* 새로운 카드 텍스트 콘텐츠 스타일 */
.d-about-card .d-card-content {
    padding: 4rem 3rem;
    text-align: left;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.d-card-number {
    font-size: 4rem;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1;
}

.d-card-text {
    text-align: left;
}

.d-card-title {
    font-size: 1rem;
    font-weight: 550;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.3;
}

.d-card-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* 데스크톱 Footer */
.d-footer {
    background-color: #120101;
    color: #FFFFFF;
    padding: 60px 0 20px 0;
    width: 100%;
    position: relative;
    clear: both;
    margin-top: 100px; /* About 섹션과의 적절한 간격 */

    z-index: 10;
}

.d-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.d-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.d-footer-company {
    flex: 1;
    min-width: 300px;
}

.d-footer-logo {
    font-size: 24px;
    color: #8597ab;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
    font-weight: 700;
}

.d-footer-info {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.d-footer-info p {
    margin: 5px 0;
}

.d-footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.d-footer-column {
    min-width: 120px;
}

.d-footer-column h4 {
    color: #8597ab;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.d-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.d-footer-column li {
    margin-bottom: 8px;
}

.d-footer-column a {
    color: #777;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: 400;
}

.d-footer-column a:hover {
    color: #8597ab;
}

.d-footer-bottom {
    border-top: 1px solid #818c98;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: right;
}

.d-footer-copyright {
    color: #777;
    font-size: 12px;
    font-weight: 300;
}

/* =================================== */
/* 🖥️ DESKTOP NAVIGATION STYLES */
/* =================================== */

.d-navbar {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(18, 1, 1, 0.05);
    height: 7.4vh;
    min-height: 54px;
    max-height: 84px;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.d-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
}

.d-navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 40px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.d-logo-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: scale(0.8);
}

.d-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 16px;
    gap: 88px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.d-nav-item {
    position: relative;
    text-align: center;
}

/* 각 메뉴별 고정 너비 설정 */
.d-nav-item:nth-child(1) { /* HOME */
    width: 85px;
}

.d-nav-item:nth-child(2) { /* PRODUCT */
    width: 119px;
}

.d-nav-item:nth-child(3) { /* MEMBERS */
    width: 120px;
}

.d-nav-item:nth-child(4) { /* HISTORY */
    width: 108px;
}

.d-nav-link {
    color: #888888;
    text-decoration: none;
    padding: 5px 2px;
    border-radius: 0px;
    transition: all 0.3s ease;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -2.5%;
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-nav-link:hover {
    color: #ddd;
    border-radius: 10px;
    background-color: rgba(221, 221, 221, 0.05);
}

.d-nav-link.active {
    color: #ddd;
}

.d-nav-link.active::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    height: 1.5px;
    background-color: #888888;
}

/* 각 메뉴별 선 길이 설정 */
.d-nav-item:nth-child(1) .d-nav-link.active::after { /* HOME */
    width: 73px;
}

.d-nav-item:nth-child(2) .d-nav-link.active::after { /* PRODUCT */
    width: 107px;
}

.d-nav-item:nth-child(3) .d-nav-link.active::after { /* MEMBERS */
    width: 108px;
}

.d-nav-item:nth-child(4) .d-nav-link.active::after { /* HISTORY */
    width: 96px;
}

.d-nav-dropdown {
    display: none;
    position: relative;
}

.d-nav-dropdown-toggle {
    background: none;
    border: none;
    color: #888888;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -2.5%;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.d-nav-dropdown-toggle:hover {
    background-color: rgba(136, 136, 136, 0.05);
}

.d-nav-dropdown-toggle.active {
    color: #ddd;
    font-weight: 500;
}

.d-nav-dropdown-toggle.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: calc(100% - 20px);
    background-color: #888888;
    opacity: 0.8;
}

.d-nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 1, 1, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
}

.d-nav-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.d-nav-dropdown-item {
    display: block;
    color: #888888;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -2.5%;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(136, 136, 136, 0.1);
}

.d-nav-dropdown-item:last-child {
    border-bottom: none;
}

.d-nav-dropdown-item:hover {
    background-color: rgba(136, 136, 136, 0.1);
    color: #ddd;
}

.d-nav-dropdown-item.active {
    color: #ddd;
    font-weight: 600;
}

.d-nav-CTA {
    position: absolute;
    right: 244px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #000;
    border-radius: 12px;
    padding: 12px 24px;
    width: 160px;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -2.5%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-nav-CTA:hover {
    background-color: #f8f9fa;
    color: #FF2B00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =================================== */
/* 🔧 RESPONSIVE & UTILITY CLASSES */
/* =================================== */

/* 데스크톱에서 제목을 한 줄로 표시 */
@media (min-width: 768px) {
    .d-hero-title {
        display: block;
    }
    
    .title-line-1,
    .title-line-2 {
        display: inline;
    }
    
    .title-line-1::after {
        content: " ";
    }
    
    /* 데스크톱에서 부제목을 한 줄로 표시 */
    .d-hero-subtitle {
        display: block;
    }
    
    .subtitle-line-1,
    .subtitle-line-2 {
        display: inline;
    }
    
    .subtitle-line-1::after {
        content: " ";
    }
}

/* 작은 화면에서 about-grid 마진 조정 */
@media (max-width: 360px) {
    .m-about-grid {
        margin: 0 20px 20px 20px !important;
    }
    
    .m-about-card {
        width: calc(100vw - 40px);
        height: calc((100vw - 40px) * 0.806);
        min-width: 260px;
        min-height: calc(260px * 0.806);
    }
}

/* =================================== */
/* 🎯 FINAL SETUP COMPLETE */
/* =================================== */

/* 데스크톱 About Us 섹션 반응형 */
@media (max-width: 1200px) {
    .d-about-grid {
        gap: 30px;
    }
    
    .d-main-title {
        font-size: 2rem;
    }
    
    .d-main-description {
        font-size: 1.125rem;
    }
}

@media (max-width: 1024px) {
    .d-about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .d-about-grid .d-about-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .d-main-title {
        font-size: 2.5rem;
    }
    
    .d-main-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .d-about-section {
        padding: 60px 0;
    }
    
    .d-about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 60px;
    }
    
    .d-about-grid .d-about-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }
    
    .d-main-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .d-main-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .d-card-image {
        height: 240px;
    }
}

/* 
   ✅ 데스크톱 스타일 (d- 접두사): 768px 이상에서만 표시
   ✅ 모바일 스타일 (m- 접두사): 767px 이하에서만 표시
   ✅ 완전히 분리된 HTML 구조
   ✅ 독립적인 CSS 스타일
   ✅ 반응형 표시/숨김 제어
   
   이제 모바일과 데스크톱을 완전히 독립적으로 개발할 수 있습니다!
*/
