/* 3-2 제니스 원스톱 통합 솔루션 섹션 전용 스타일 */

.shopping-integration-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
    padding: 120px 0;
    position: relative;
}

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

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

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

/* 설명 문구 */
.integration-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;
}

/* 통합 프로세스 원형 다이어그램 */
.process-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto 3rem;
}

.process-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.process-steps {
    position: absolute;
    width: 100%;
    height: 100%;
}

.process-step {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #10B981;
}

.process-step:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
    z-index: 10;
}

.step-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #10B981;
    text-align: center;
}

/* 단계 위치 설정 */
.process-step:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.process-step:nth-child(2) { top: 15%; right: 15%; }
.process-step:nth-child(3) { bottom: 15%; right: 15%; }
.process-step:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.process-step:nth-child(5) { bottom: 15%; left: 15%; }
.process-step:nth-child(6) { top: 15%; left: 15%; }

/* 연결선 */
.process-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #10B981, #3B82F6);
    transform-origin: left center;
    animation: pulse 2s infinite;
}

.connection-line:nth-child(1) {
    width: 120px;
    top: 40px;
    right: 120px;
    transform: rotate(45deg);
}

.connection-line:nth-child(2) {
    width: 120px;
    bottom: 120px;
    right: 40px;
    transform: rotate(135deg);
}

.connection-line:nth-child(3) {
    width: 120px;
    bottom: 40px;
    left: 120px;
    transform: rotate(225deg);
}

.connection-line:nth-child(4) {
    width: 120px;
    top: 120px;
    left: 40px;
    transform: rotate(315deg);
}

.connection-line:nth-child(5) {
    width: 120px;
    top: 40px;
    left: 120px;
    transform: rotate(45deg);
}

.connection-line:nth-child(6) {
    width: 120px;
    bottom: 40px;
    right: 120px;
    transform: rotate(135deg);
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* 중앙 라벨 */
.center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 5;
}

/* 툴팁 */
.tooltip {
    position: absolute;
    background: #1f2937;
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}

.process-step:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

/* 비교 인포그래픽 */
.comparison-infographic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.comparison-item {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    position: relative;
}

.separated-infographic {
    background: #fef2f2;
    border: 2px solid #fecaca;
}

.zenith-infographic {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
}

.infographic-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.separated-infographic .infographic-title {
    color: #DC2626;
}

.zenith-infographic .infographic-title {
    color: #10B981;
}

.infographic-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.separated-boxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.separated-box {
    width: 80px;
    height: 40px;
    background: #DC2626;
    border-radius: 8px;
    opacity: 0.7;
}

.zenith-circle {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    animation: scaleUp 0.8s ease-out 0.5s both;
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.infographic-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

/* 강조 문구 */
.highlight-message {
    text-align: center;
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 16px;
    border: 2px solid #3B82F6;
}

.highlight-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e40af;
    line-height: 1.6;
    margin: 0;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stepGlow {
    0%, 100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }
}

.process-step {
    animation: fadeInUp 0.6s ease-out both;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }
.process-step:nth-child(6) { animation-delay: 0.6s; }

.process-step.animate-glow {
    animation: stepGlow 1s ease-in-out;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .process-diagram {
        width: 300px;
        height: 300px;
    }
    
    .process-step {
        width: 60px;
        height: 60px;
    }
    
    .step-icon {
        font-size: 1.2rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
    
    .comparison-infographic {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .shopping-integration-section {
        padding: 80px 0;
    }
    
    .integration-title {
        font-size: 2.5rem;
    }
    
    .integration-lead {
        font-size: 1.3rem;
    }
    
    .process-diagram {
        width: 250px;
        height: 250px;
    }
    
    .process-step {
        width: 50px;
        height: 50px;
    }
    
    .step-icon {
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.5rem;
    }
    
    .highlight-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .integration-title {
        font-size: 2rem;
    }
    
    .integration-lead {
        font-size: 1.1rem;
    }
    
    .process-diagram {
        width: 200px;
        height: 200px;
    }
    
    .process-step {
        width: 40px;
        height: 40px;
    }
    
    .step-icon {
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.4rem;
    }
    
    .highlight-text {
        font-size: 1rem;
    }
}
