/* 난청/이명 클리닉 페이지 스타일 개선 */

/* 돌발성 난청 경고 섹션 - 색상 및 레이아웃 개선 */
.warning-section {
    background: linear-gradient(135deg, #f8fafb 0%, #f3f4f6 100%);
    padding: 100px 0;
}

@media (max-width: 768px) {
    .warning-section {
        padding: 60px 0;
    }
}

.warning-card.critical {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

/* 경고 카드 상단 악센트 라인 */
.warning-card.critical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

@media (max-width: 768px) {
    .warning-card.critical {
        padding: 40px 25px;
        border-radius: 20px;
        margin: 0 20px;
    }
}

.warning-icon {
    width: 80px;
    height: 80px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.warning-icon i {
    font-size: 40px;
    color: #dc2626;
}

@media (max-width: 768px) {
    .warning-icon {
        width: 60px;
        height: 60px;
    }
    
    .warning-icon i {
        font-size: 30px;
    }
}

.warning-content h3 {
    text-align: center;
    font-size: 2rem;
    color: #111827;
    margin-bottom: 15px;
    font-weight: 700;
}

.warning-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .warning-content h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .warning-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

/* 치료 타임라인 개선 */
.treatment-timeline {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
    align-items: center;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 30px 15px;
    background: #f9fafb;
    border-radius: 20px;
    margin: 0 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.timeline-item.optimal {
    background: #f0fdf4;
    border-color: #86efac;
}

.timeline-item.recommended {
    background: #fef3c7;
    border-color: #fde68a;
}

.timeline-item.late {
    background: #fee2e2;
    border-color: #fecaca;
}

.timeline-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-item.optimal .timeline-number {
    color: #16a34a;
}

.timeline-item.recommended .timeline-number {
    color: #f59e0b;
}

.timeline-item.late .timeline-number {
    color: #dc2626;
}

.timeline-label {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.timeline-arrow {
    position: absolute;
    color: #d1d5db;
    font-size: 1.5rem;
}

@media (min-width: 769px) {
    .timeline-arrow {
        position: static;
        margin: 0 -10px;
    }
}

@media (max-width: 768px) {
    .treatment-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-item {
        margin: 0;
        width: 100%;
        padding: 25px 20px;
    }
    
    .timeline-arrow {
        display: none;
    }
    
    .timeline-number {
        font-size: 2rem;
    }
}

.warning-note {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0f9ff;
    padding: 20px 30px;
    border-radius: 15px;
    margin-top: 40px;
    border-left: 4px solid #0284c7;
}

.warning-note i {
    color: #0284c7;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-note p {
    margin: 0;
    color: #0c4a6e;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .warning-note {
        padding: 15px 20px;
        margin-top: 30px;
    }
    
    .warning-note p {
        font-size: 0.875rem;
    }
}

/* 이명 원인 섹션 개선 */
.causes-section {
    background: white;
    padding: 100px 0;
}

@media (max-width: 768px) {
    .causes-section {
        padding: 60px 0;
    }
}

.causes-section .section-title {
    margin-bottom: 80px;
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .causes-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
}

.causes-card {
    background: #f9fafb;
    padding: 50px;
    border-radius: 25px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.causes-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.causes-card.common {
    border-top: 4px solid #0066cc;
}

.causes-card.other {
    border-top: 4px solid #10b981;
}

@media (max-width: 768px) {
    .causes-card {
        padding: 35px 25px;
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.card-header i {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.causes-card.common .card-header i {
    color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.causes-card.other .card-header i {
    color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.card-header h4 {
    font-size: 1.5rem;
    color: #111827;
    margin: 0;
}

@media (max-width: 768px) {
    .card-header h4 {
        font-size: 1.25rem;
    }
}

.causes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.causes-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
}

.causes-list li:last-child {
    border-bottom: none;
}

.causes-list i {
    color: #10b981;
    margin-top: 4px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .causes-list li {
        font-size: 0.875rem;
        padding: 10px 0;
    }
}

/* 노인성 난청 섹션 개선 */
.highlight-section {
    padding: 50px 0;
}

.highlight-box {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #bae6fd;
}

@media (max-width: 768px) {
    .highlight-box {
        padding: 40px 25px;
        margin: 0 20px;
        border-radius: 20px;
    }
}

.highlight-icon {
    text-align: center;
    margin-bottom: 30px;
}

.highlight-icon i {
    font-size: 60px;
    color: #0284c7;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

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

.highlight-content h3 {
    text-align: center;
    font-size: 2rem;
    color: #0c4a6e;
    margin-bottom: 50px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .highlight-content h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

.risk-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0;
}

@media (max-width: 768px) {
    .risk-stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .stat-item {
        min-width: auto;
        width: 100%;
        max-width: 250px;
        padding: 25px 20px;
    }
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-desc {
    font-size: 1rem;
    color: #374151;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-desc {
        font-size: 0.875rem;
    }
}