/* =================================== */
/* 🏠 HOME PAGE STYLES */
/* =================================== */

/* =================================== */
/* 🖥️📱 RESPONSIVE VISIBILITY CONTROL */
/* =================================== */

/* 데스크톱 버전 기본 표시 (721px 이상) */
.d-main,
.d-hero-section,
.d-partnership-section,
.d-ability-section,
.d-about-section,
.d-cta-section {
    display: block;
}

/* 모바일 버전 기본 숨김 */
.m-main,
.m-hero-section,
.m-partnership-section,
.m-ability-section,
.m-about-section {
    display: none;
}

/* 모바일 환경 (720px 이하)에서 전환 - Surface Duo 포함 */
@media (max-width: 720px) {
    /* 데스크톱 버전 숨김 */
    .d-main,
    .d-hero-section,
    .d-partnership-section,
    .d-ability-section,
    .d-about-section,
    .d-cta-section {
        display: none !important;
    }
    
    /* 모바일 버전 표시 */
    .m-main,
    .m-hero-section,
    .m-partnership-section,
    .m-ability-section,
    .m-about-section {
        display: block !important;
    }

    /* =================================== */
    /* 📱 MOBILE STYLES */
    /* =================================== */
    
    /* 모바일 메인 영역 */
    .m-main {
        margin-top: 70px; /* 모바일 네비게이션 높이만큼 여백 */
        background: #000000;
        min-height: 100vh;
    }
    
    /* 모바일 네비게이션 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: #120101;
        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 {
        display: inline-block;
        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; /* 텍스트 줄바꿈 방지 */
        text-decoration: none;
    }
    
    .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: #120101;
        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: 16px !important; /* 20px → 16px로 변경 */
        align-items: flex-start !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 40px !important;
        width: 100% !important;
        flex-direction: column !important; /* row → column으로 변경: 이미지가 위, 텍스트가 아래 */
    }
    
    .m-ability-card .m-card-content {
        flex: 1 !important;
        width: 100% !important; /* 45% → 100% 전체 폭 사용 */
        padding: 0 !important;
        background: transparent !important;
        color: #FFFFFF !important;
    }
    
    .m-ability-card .m-card-image {
        flex: 0 0 auto !important; /* 고정 비율 제거 */
        width: 100% !important; /* 45% → 100% 전체 폭 사용 */
        height: 200px !important; /* 160px → 200px로 증가 (더 넓은 이미지 표시) */
        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; /* 경계선 추가 */
        margin-bottom: 15px !important; /* 이미지와 텍스트 사이 간격 */
    }
    
    .m-card-title {
        font-size: 20px !important; /* 18px → 20px로 증가 */
        font-weight: 600 !important; /* 580 → 600으로 증가 */
        color: #FFFFFF !important;
        margin-bottom: 8px !important; /* 12px → 8px로 변경 */
        line-height: 1.3 !important; /* 1.2 → 1.3으로 증가 */
        letter-spacing: -0.5px !important;
    }
    
    .m-card-description {
        font-size: 15px !important; /* 14px → 15px로 증가 */
        font-weight: 400 !important;
        color: rgba(255, 255, 255, 0.85) !important; /* 0.8 → 0.85로 밝게 */
        line-height: 1.5 !important; /* 1.4 → 1.5로 증가 */
        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: column !important; /* 세로 배치 유지 */
            gap: 12px; /* 15px → 12px로 변경 */
        }
        
        .m-card-image {
            width: 100% !important; /* 전체 폭 사용 */
            height: 180px !important; /* 작은 화면에서는 높이 약간 줄임 */
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 10px; /* 이미지와 텍스트 간격 */
        }
        
        .m-card-content {
            width: 100% !important; /* 전체 폭 사용 */
        }
        
        .m-card-title {
            font-size: 16px;
        }
        
        .m-card-description {
            font-size: 13px;
        }
    }
    
    /* =================================== */
    /* 📱 MOBILE ABOUT US SECTION */
    /* =================================== */
    
    .m-about-section {
        background: #120101;
        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;
    }
}


/* =================================== */
/* 🖥️ DESKTOP STYLES */
/* =================================== */

/* 데스크톱 메인 영역 */
.d-main {
    margin-top: 94px; /* 네비게이션 높이만큼 여백 */
    display: flex;
    flex-direction: column;
    gap: 0; /* 간격은 각 섹션의 margin-bottom으로 개별 조정 */
    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;
    width: 100%;
    margin: 0 auto 350px 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;
}

.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 {
    display: inline-block;
    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;
    text-decoration: none;
    text-align: center;
}

.d-btn-CTA-contact:hover {
    background: #ffffff;
    transform: translateY(-2px);
    color: #000000;
}

/* 데스크톱 파트너십 섹션 */
/* 데스크톱 파트너십 섹션 */
.d-partnership-section {
    background: #F0F4FB;
    padding: 0;
    color: #000000;
    margin: 0 50px;
    margin-bottom: 32px; /* ⚙️ Partnership → Ability 간격 (조정 가능) */
    border-radius: 40px;
    position: relative;
    height: 1080px;
    z-index: 1;
}

.d-partnership-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    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: 0px 75px; */
    position: relative;
    margin: 124px 0px 182px; /* ⚙️ Ability → About 간격 (조정 가능) */
    z-index: 1;
    justify-content: center;
}

.d-ability-section .d-container {
    width: 100%;
    display: block;
}

.d-section-header {
    margin-bottom: 318px;
    width: 100%;
    position: relative;
    text-align: center;
}

.d-section-label-pageName {
    color: rgba(255, 255, 255, 0.8);
    font-size: 28px;
    font-weight: 350;
    letter-spacing: -2.5%;
    text-transform: none;
    margin-bottom: 300px;
    margin-left: 45px;
    margin-right: 45px;
    display: block;
    text-align: left;
    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;
    width: 100%;
    padding: 0 143px;
}

.d-ability-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 80px !important;
    align-items: center !important;
    width: 100%;
}

.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;
    margin: 124px 0 208px;
    width: 100%;
    position: relative;
}

.d-about-section .d-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 143px;
    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: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 300px;
    margin-left: 45px;
    margin-right: 45px;
    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;
}

/* 데스크톱 CTA 섹션 */
.d-cta-section {
    background: linear-gradient(135deg, #F0F4FB 0%, #E8EEF7 100%);
    padding: 218px 50px 196px;
    margin-bottom: 0px; /* ⚙️ CTA → Footer 간격 (조정 가능) */
    text-align: center;
    position: relative;
}

.d-cta-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.d-cta-title {
    font-size: 2.5rem;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}

.d-cta-subtitle {
    font-size: 1.125rem;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

.d-cta-button {
    background: #FF2B00;
    color: #FFFFFF;
    padding: 16px 48px;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.d-cta-button:hover {
    background: #E02600;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 43, 0, 0.3);
}

/* =================================== */
/* 🔧 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 스타일
   ✅ 반응형 표시/숨김 제어
   ✅ 네비게이션은 components.css에서 관리
   
   이제 모바일과 데스크톱을 완전히 독립적으로 개발할 수 있습니다!
*/
