/* ======================================== */
/* بخش شمارنده - نسخه جذاب و بزرگ */
/* ======================================== */
.stats-section {
    padding: 70px 80px;
    margin: 150px 60px 150px 60px;
    background: linear-gradient(135deg, #faf5fa 0%, #f0e8ef 50%, #e8dce6 100%);
    border-radius: 40px;
    direction: rtl;
    box-shadow: 0 20px 60px rgba(163, 35, 142, 0.12);
    position: relative;
    overflow: hidden;
}

/* المان تزیینی پس‌زمینه */
.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(163, 35, 142, 0.05), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(163, 35, 142, 0.06), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.stats-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* ===== سمت راست: لوگو و متن ===== */
.stats-brand {
    flex: 0 0 300px;
    text-align: center;
}

.brand-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(163, 35, 142, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.brand-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(163, 35, 142, 0.25);
}

.stats-logo {
    width: 75px;
    height: auto;
    display: block;
}

.stats-brand h2 {
    font-size: 26px;
    font-weight: 700;
    color: #a3238e;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.stats-brand p {
    font-size: 16px;
    color: #777;
    margin: 0;
}

/* ===== خط جداکننده ===== */
.stats-divider {
    width: 2px;
    height: 180px;
    background: linear-gradient(180deg, transparent, rgba(163, 35, 142, 0.25), transparent);
    flex-shrink: 0;
}

/* ===== سمت چپ: سه عدد به صورت ستونی ===== */
.stats-numbers {
    flex: 1;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 10px 0;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #a3238e;
    display: inline-block;
    line-height: 1;
    font-family: 'Segoe UI', 'Peyda', Tahoma, sans-serif;
}

.stat-plus {
    font-size: 34px;
    font-weight: 700;
    color: #a3238e;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 4px;
}

.stat-desc {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 1024px) {
    .stats-section {
        padding: 60px 40px;
    }
    
    .stats-brand {
        flex: 0 0 250px;
    }
    
    .stat-number {
        font-size: 38px;
    }
    
    .stat-plus {
        font-size: 28px;
    }
}

@media (max-width: 850px) {
    .stats-section {
        padding: 50px 30px;
        margin: 35px 0;
        border-radius: 30px;
        margin: 150px 60px 150px 60px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .stats-brand {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .brand-icon {
        width: 100px;
        height: 100px;
    }
    
    .stats-logo {
        width: 55px;
    }
    
    .stats-brand h2 {
        font-size: 22px;
    }
    
    .stats-brand p {
        font-size: 15px;
    }
    
    .stats-divider {
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(163, 35, 142, 0.25), transparent);
    }
    
    .stats-numbers {
        width: 100%;
        justify-content: center;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 34px;
    }
    
    .stat-plus {
        font-size: 24px;
    }
}

@media (max-width: 550px) {
    .stats-section {
        padding: 35px 16px;
        margin: 25px 0;
        border-radius: 20px;
        margin: 70px 60px 70px 60px;
    }
    
    .stats-numbers {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(163, 35, 142, 0.08);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-number {
        font-size: 30px;
    }
    
    .stat-plus {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 15px;
    }
    
    .stats-brand h2 {
        font-size: 18px;
    }
}
