/* 2-2 분리된 외주 구조 문제점 섹션 전용 스타일 */

.shopping-outsource-section {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.04) 0%, rgba(245, 158, 11, 0.04) 100%);
    padding: 120px 0;
    position: relative;
}

.outsource-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 섹션 타이틀 */
.outsource-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: #DC2626;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

/* 리드 카피 */
.outsource-lead {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #111827;
    line-height: 1.4;
}

/* 설명 문구 */
.outsource-description {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 4rem;
    color: #374151;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* 비교 영역 */
.comparison-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* 좌측: 분리 구조 문제점 */
.separated-structure {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    position: relative;
}

.separated-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #DC2626;
    text-align: center;
}

.structure-flow {
    position: relative;
    margin: 2rem 0;
}

.flow-step {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #DC2626;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #DC2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.problem-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

.problem-item {
    text-align: center;
    flex: 1;
}

.problem-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.problem-label {
    font-size: 0.8rem;
    color: #DC2626;
    font-weight: 500;
}

/* 우측: 제니스 통합 구조 */
.zenith-structure {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 2px solid #10B981;
}

.zenith-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #10B981;
    text-align: center;
}

.integrated-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.integrated-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.integrated-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.service-item {
    text-align: center;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #10B981;
}

.service-label {
    font-size: 0.9rem;
    color: #065f46;
    font-weight: 500;
}

/* 강조 문구 */
.highlight-message {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    border: 2px solid #f59e0b;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #92400e;
    line-height: 1.6;
    margin: 0;
}

/* 애니메이션 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.separated-structure {
    animation: slideInLeft 0.8s ease-out;
}

.zenith-structure {
    animation: slideInRight 0.8s ease-out 0.3s both;
}

.problem-indicators .problem-item {
    animation: shake 0.5s ease-in-out 1s both;
}

.problem-indicators .problem-item:nth-child(2) {
    animation-delay: 1.3s;
}

.problem-indicators .problem-item:nth-child(3) {
    animation-delay: 1.6s;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .comparison-area {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .integrated-circle {
        width: 150px;
        height: 150px;
        font-size: 1rem;
    }
    
    .integrated-services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .shopping-outsource-section {
        padding: 80px 0;
    }
    
    .outsource-title {
        font-size: 2.5rem;
    }
    
    .outsource-lead {
        font-size: 1.3rem;
    }
    
    .separated-structure,
    .zenith-structure {
        padding: 2rem;
    }
    
    .problem-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .problem-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .outsource-title {
        font-size: 2rem;
    }
    
    .outsource-lead {
        font-size: 1.1rem;
    }
    
    .separated-structure,
    .zenith-structure {
        padding: 1.5rem;
    }
    
    .integrated-circle {
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
    }
    
    .highlight-text {
        font-size: 1rem;
    }
}
