/* 통계 섹션 - 깔끔한 디자인 */
.stats-section {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

/* 상단 구분선 */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-title {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

.stats-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* 통계 그리드 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px 50px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

/* 호버 효과 */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255,215,0,0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,215,0,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.stat-card:hover::before {
    opacity: 1;
}

/* 메인 숫자 스타일 */
.stat-main-number {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    color: #FFD700;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* 라벨 - 강제로 보이게 */
.stat-label {
    font-size: 1.25rem !important;
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.02em !important;
    margin-top: 15px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* 애니메이션 */
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:nth-child(1) {
    transition-delay: 0.2s;
}

.stat-card:nth-child(2) {
    transition-delay: 0.4s;
}

.stat-card:nth-child(3) {
    transition-delay: 0.6s;
}

/* 카운팅 애니메이션을 위한 클래스 */
.counting {
    display: inline-block;
}

/* 구분선 - 데스크톱에서만 표시 */
@media (min-width: 769px) {
    .stat-card:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -15px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 80px;
        background: rgba(255,255,255,0.1);
    }
}

/* 반응형 디자인 */
@media (max-width: 968px) {
    .stats-section {
        padding: 100px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 40px 20px;
    }
    
    .stat-main-number {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 80px 0;
    }
    
    .stats-header {
        margin-bottom: 60px;
    }
    
    .stats-title {
        font-size: 36px;
    }
    
    .stats-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
    }
    
    .stat-card {
        padding: 40px 30px;
    }
    
    .stat-card::after {
        display: none;
    }
    
    .stat-main-number {
        font-size: 44px;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}