
/* =========================================
    1. Base & Variables
    ========================================= */
:root {
    --primary-blue: #2563EB;
    --light-blue-bg: #F0F7FF;
    --text-black: #111111;
    --text-gray: #4B5563;
    --border-radius-lg: 40px;
    --border-radius-md: 30px;
    --container-max: 1200px;
    /* 그림자 변수 */
    --shadow-soft: 0 4px 20px rgba(37, 99, 235, 0.08);
    --shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-black);
    line-height: 1.5;
    word-break: keep-all;
    background: #fff;
    overflow-x: hidden;
    letter-spacing: -0.03em;
}

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.center-align { text-align: center; }
.left-align { text-align: left; }

.section { padding: 100px 0; }
.bg-light { background-color: #F9FAFB; }

.section-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 60px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    position: relative;
}

.badge {
    display: inline-block;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}
.text-blue { color: var(--primary-blue); }

/* 스크롤 애니메이션 */
.scroll-ani {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.scroll-ani.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
    2. Hero Section
    ========================================= */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #F8FCFF 0%, #fff 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url("./images/v1_9.png") center top / cover no-repeat;
    opacity: 0.8;
    z-index: 1;
}

.main-title {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.sub-title {
    font-size: 32px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 50px;
}

.hero-main-img {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.hero-main-img img {
    width: 240px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.hero-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    width: 280px;
    padding: 40px 20px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.card-icon { height: 100px; margin-bottom: 20px; object-fit: contain; }
.card h3 { font-size: 26px; margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 18px; color: var(--text-gray); }

/* =========================================
    3. Pain Points
    ========================================= */
.pain-points {
    background: linear-gradient(180deg, #EBF5FF 0%, #D8EAFF 100%);
}

.pain-list {
    width: 650px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; 
}

.pain-item {
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    min-height: 120px; 
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.pain-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.pain-icon { 
    width: 80px; 
    margin-right: 30px; 
    flex-shrink: 0; 
    transition: transform 0.3s ease;
}
.pain-item:hover .pain-icon {
    transform: rotate(-5deg) scale(1.1);
}

.pain-item p { 
    font-size: 26px; 
    font-weight: 700; 
    text-align: left; 
    color: #333; 
    line-height: 1.35;
}

/* =========================================
    4. Features (Grid)
    ========================================= */
.features {
    background: linear-gradient(180deg, #D8EAFF 0%, #B0D4FA 100%);
}

.feature-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    width: 30%; 
    min-width: 300px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--border-radius-lg);
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.f-img-wrap {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.f-img-wrap img { max-height: 100%; transition: transform 0.3s ease; }
.feature-card:hover .f-img-wrap img { transform: scale(1.05); }

.feature-card h3 { font-size: 32px; font-weight: 800; margin-bottom: 15px; }
.feature-card p { font-size: 22px; color: var(--text-gray); font-weight: 500; }

/* =========================================
    5. Benefit (이미지 시안 완벽 구현)
    ========================================= */
.benefit { background: #fff; padding-bottom: 120px; }

.section-desc { 
    font-size: 26px; 
    font-weight: 600; 
    margin-bottom: 80px; 
    color: var(--text-gray); 
}

.benefit-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}

/* 공통 카드 스타일 */
.b-card {
    position: relative;
    width: 460px; /* 카드 너비 */
    border-radius: 40px;
    padding: 60px 40px 40px; /* 상단 여백 확보 */
    text-align: center;
    margin-top: 50px; /* 상단 아이콘이 튀어나갈 공간 확보 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 뱃지 아이콘 (카드 위에 걸치는 아이콘) */
.b-badge {
    position: absolute;
    top: -50px; /* 카드 위로 튀어나오게 설정 */
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* 뱃지 크기 */
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
    z-index: 5;
}

/* 1. 왼쪽 카드 (파란 테두리 + 연한 배경) */
.b-card.blue-style {
    background: #EBF5FF;
    border: 2px solid #2563EB;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

/* 2. 오른쪽 카드 (회색 배경) */
.b-card.gray-style {
    background: #F3F4F6;
    border: 2px solid transparent; /* 테두리 없음 */
}

/* 내부 아이콘 배치 */
.b-icons-area {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* 왼쪽 카드 내부 아이콘 (가로 배치) */
.icons-row {
    display: flex;
    gap: 20px;
    align-items: center;
}
.icons-row img { width: 110px; }

/* 오른쪽 카드 내부 아이콘 (2x2 그리드) */
.icons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 220px;
}
.icons-grid img { width: 100%; border-radius: 12px; }

/* 카드 하단 텍스트 */
.b-card-label {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* 하단 설명 텍스트 */
.benefit-bottom-text {
    font-size: 24px;
    font-weight: 800;
    margin-top: 20px;
    display: block;
    text-align: center;
}
.text-blue-b { color: var(--primary-blue); }
.text-gray-b { color: #9CA3AF; }

.benefit-summary {
    background: #F0F9FF;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    max-width: 960px;
    margin: 60px auto 0;
}
.benefit-summary p {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    color: #111;
}

/* =========================================
    6. Detail: Sourcing
    ========================================= */
.sourcing-section { overflow: hidden; }

.sourcing-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.sourcing-item {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 20px;
    transition: transform 0.4s ease;
}

.sourcing-item img { 
    width: 280px; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
}
.sourcing-item .txt h3 { font-size: 32px; font-weight: 700; margin-bottom: 15px; color: #111; }
.sourcing-item .txt p { font-size: 22px; color: var(--text-gray); font-weight: 500; }

.item-right-top { justify-content: flex-end; text-align: right; }
.item-left-mid { justify-content: flex-start; text-align: left; }
.item-right-btm { justify-content: flex-end; text-align: right; }

/* =========================================
    7. Detail: Rocket Growth
    ========================================= */
.rocket-section { background: #fff; }

.rocket-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.r-feat-item {
    text-align: center;
    width: 250px;
}
.r-feat-item img { 
    height: 140px; 
    margin: 0 auto 20px; 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
    transition: transform 0.3s ease;
}
.r-feat-item:hover img { transform: scale(1.1); }
.r-feat-item h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.r-feat-item p { font-size: 20px; color: var(--text-gray); }

/* =========================================
    수정된 China Map Area (강조 스타일)
    ========================================= */
.china-map-area {
    position: relative; /* 뱃지 위치 잡기 위해 필수 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    /* 배경을 더 밝고 깨끗하게 */
    background: #fff;
    /* 테두리를 굵게 줘서 강조 */
    border: 3px solid #2563EB;
    border-radius: 50px;
    padding: 60px 50px;
    max-width: 1000px;
    margin: 0 auto;
    /* 그림자를 강하게 줘서 떠있는 느낌 */
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    overflow: visible; /* 뱃지가 튀어나와야 하므로 visible */
}

/* 왼쪽 상단에 붙는 포인트 뱃지 */
.point-label {
    position: absolute;
    top: -24px;
    left: 50px;
    background: #2563EB;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
    letter-spacing: 0.05em;
}

.map-img { 
    width: 320px; 
    /* 이미지도 살짝 커지는 애니메이션 추가 */
    transition: transform 0.3s ease;
}
/* 박스에 마우스 올리면 이미지가 움직임 */
.china-map-area:hover .map-img {
    transform: scale(1.05) rotate(-2deg);
}

.map-text { text-align: left; }

.map-text h3 { 
    font-size: 36px; /* 제목 크기 키움 */
    font-weight: 800; 
    color: #111; 
    margin-bottom: 20px; 
    line-height: 1.3;
}
/* 강조하고 싶은 단어(직배송)에 색상 줄 수 있도록 */
.map-text h3 span { color: var(--primary-blue); }

.map-text p { 
    font-size: 24px; 
    font-weight: 600; 
    color: #555;
    line-height: 1.5;
}



/* =========================================
    8. Detail: 3PL Grid
    ========================================= */
.pl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 80px;
    text-align: left;
    max-width: 1000px;
    margin: 60px auto 0;
}

.pl-item { 
    display: flex; 
    align-items: flex-start;
    transition: transform 0.3s ease;
}
.pl-item:hover { transform: translateX(10px); }

.pl-item .num {
    font-size: 60px;
    font-weight: 900;
    background: linear-gradient(135deg, #2563EB 0%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 20px;
    line-height: 1;
    width: 80px;
    flex-shrink: 0;
}
.pl-item .txt strong { display: block; font-size: 28px; margin-bottom: 5px; }
.pl-item .txt span { font-size: 20px; color: #666; }

/* =========================================
    9. Detail: Groupware
    ========================================= */
.groupware-section { background: #F6FCFE; }

.gw-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 60px auto;
}

.gw-card {
    background: #fff;
    border-radius: 40px;
    padding: 30px 50px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.gw-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37,99,235,0.3);
}

.gw-icon { width: 140px; margin-right: 50px; flex-shrink: 0; }
.gw-text { text-align: left; }
.gw-text h3 { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
.gw-text p { font-size: 20px; color: var(--text-gray); }

.gw-footer {
    margin-top: 80px;
    font-size: 26px;
    line-height: 1.6;
}

/* =========================================
    Responsive (Mobile)
    ========================================= */
@media (max-width: 768px) {
    .section-title { font-size: 36px; }
    .main-title { font-size: 40px; }
    .section-desc { font-size: 20px; }
    
    /* feature-card */
    .feature-card { width: 100%; min-width: auto; }
    
    /* Benefit 섹션 모바일 대응 */
    .benefit-grid { flex-direction: column; align-items: center; gap: 80px; }
    .b-card { width: 100%; max-width: 400px; }
    .benefit-summary p { font-size: 20px; }
    
    .pl-grid { grid-template-columns: 1fr; gap: 30px; }
    
    /* 모바일에서는 너비를 100%로 다시 확장 */
    .pain-list { width: 100%; }
    
    .sourcing-item { flex-direction: column; text-align: center !important; gap: 30px; }
    .item-right-top { flex-direction: column-reverse; }
    .item-right-btm { flex-direction: column-reverse; }
    
    .china-map-area {
        flex-direction: column;
        gap: 30px;
        padding: 50px 30px 40px;
        text-align: center;
    }
    .point-label {
        left: 50%;
        transform: translateX(-50%); /* 모바일에선 뱃지 가운데 정렬 */
        top: -20px;
    }
    .map-text { text-align: center; }
    .map-text h3 { font-size: 28px; }
    .map-text p { font-size: 18px; }

    
    .gw-card { flex-direction: column; text-align: center; padding: 40px 20px; }
    .gw-icon { margin-right: 0; margin-bottom: 20px; }
    .gw-text { text-align: center; }

    .pain-item { flex-direction: column; min-height: auto; padding: 30px; text-align: center; border-radius: 40px; }
    .pain-icon { margin-right: 0; margin-bottom: 15px; width: 50px; }
    .pain-item p { text-align: center; font-size: 18px; }
    
    .card:hover, .feature-card:hover { transform: none; }
}