/* 1-2 셀프 진단 섹션 전용 스타일 */

.shopping-diagnosis-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 120px 0;
    position: relative;
    color: white;
}

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

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

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

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

/* 모바일 안내 */
.mobile-hint {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1rem;
    color: #5B21B6;
    font-weight: 500;
}

.mobile-hint span {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* 진단 영역 */
.diagnosis-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* 좌측: 체크리스트 */
.checklist-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.checklist-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.checklist-item:hover {
    background: #f8fafc;
    border-color: #e5e7eb;
}

.checklist-item.checked {
    background: #f0f9ff;
    border-color: #3B82F6;
}

.diagnosis-checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checklist-item.checked .checkmark {
    background: #3B82F6;
    border-color: #3B82F6;
}

.checklist-item.checked .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.item-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #e5e7eb;
    flex: 1;
}

/* 우측: 결과 게이지 */
.result-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-container {
    text-align: center;
}

.gauge-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.gauge-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-background {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 8;
}

.gauge-progress {
    fill: none;
    stroke: #3B82F6;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.6s ease-in-out;
}

.gauge-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-number {
    font-size: 3rem;
    font-weight: 700;
    color: #5B21B6;
    font-family: 'Poppins', sans-serif;
    display: block;
}

.gauge-label {
    font-size: 1rem;
    color: #d1d5db;
    font-weight: 500;
}

.gauge-result {
    margin-top: 2rem;
}

.result-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
}

/* 하단 아이콘 힌트 */
.flow-hints {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.hint-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hint-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hint-item span {
    font-size: 0.9rem;
    color: #d1d5db;
    font-weight: 500;
}

/* 안내 문구 */
.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
    font-style: italic;
}

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

@keyframes checkmarkScale {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.diagnosis-container {
    animation: fadeInUp 0.5s ease-out;
}

.checklist-item.checked .checkmark {
    animation: checkmarkScale 0.18s ease-out;
}

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

@media (max-width: 768px) {
    .shopping-diagnosis-section {
        padding: 80px 0;
    }
    
    .diagnosis-title {
        font-size: 2.5rem;
    }
    
    .diagnosis-lead {
        font-size: 1.3rem;
    }
    
    .checklist-container {
        padding: 2rem;
    }
    
    .flow-hints {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .diagnosis-title {
        font-size: 2rem;
    }
    
    .diagnosis-lead {
        font-size: 1.1rem;
    }
    
    .checklist-container {
        padding: 1.5rem;
    }
    
    .gauge-circle {
        width: 120px;
        height: 120px;
    }
    
    .gauge-number {
        font-size: 2rem;
    }
}
