/**
 * Mid-Range Section Styling System
 * Dedicated styles for mid-range camera sections
 * Version: 1.0.0 - Modular Section System
 */

/* =================================== */
/*      MODERN MID-RANGE SECTION      */
/* =================================== */

.mid-range-section {
    margin: 60px 0;
    position: relative; 
}

.mid-range-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 50px 40px;
    text-align: center;
    position: relative;
}

.mid-range-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #1e40af, #3730a3, #3b82f6);
    background-size: 200% 100%;
    animation: midRangeGlow 3s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes midRangeGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mid-range-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.mid-range-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.25));
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.mid-range-badge:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
}

.mid-range-title {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 25%, #1e40af 50%, #3730a3 75%, #3b82f6 100%) !important;
    background-size: 300% 300% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: midRangeTextShine 4s ease-in-out infinite !important;
    margin-bottom: 20px !important;
    text-shadow: none !important;
}

@keyframes midRangeTextShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mid-range-subtitle {
    font-size: 1.1rem !important;
    color: #cbd5e1 !important;
    line-height: 1.6 !important;
    max-width: 700px !important;
    margin: 0 auto 30px auto !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

/* Mid-Range Stats - Updated with Blue Theme */
.mid-range-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 0;
}

.mid-range-stats .stat-item {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(29, 78, 216, 0.08));
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mid-range-stats .stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(29, 78, 216, 0.15));
}

.mid-range-stats .stat-item .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.9;
}

.mid-range-stats .stat-item .stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #60a5fa;
    text-shadow: 0 2px 8px rgba(96, 165, 250, 0.4);
    margin-bottom: 8px;
    line-height: 1;
}

.mid-range-stats .stat-item .stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.9;
}

/* Mid-Range Features Section - Updated Blue Theme */
.mid-range-features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: center !important;
    margin-top: 30px !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mid-range-features .feature-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(29, 78, 216, 0.12)) !important;
    color: #60a5fa !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.mid-range-features .feature-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(29, 78, 216, 0.2)) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mid-range-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .mid-range-stats .stat-item {
        padding: 20px 12px;
        min-height: 100px;
    }
    
    .mid-range-stats .stat-item .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .mid-range-container {
        padding: 40px 30px;
        margin-bottom: 40px;
    }
    
    .mid-range-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .mid-range-stats .stat-item {
        padding: 15px 10px;
        min-height: 90px;
    }
    
    .mid-range-title {
        font-size: 2.2rem !important;
    }
    
    .mid-range-stats .stat-item .stat-number {
        font-size: 1.6rem;
    }
    
    .mid-range-stats .stat-item .stat-icon {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .mid-range-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .mid-range-stats .stat-item {
        padding: 12px 8px;
        min-height: 80px;
    }
    
    .mid-range-stats .stat-item .stat-number {
        font-size: 1.4rem;
    }
    
    .mid-range-stats .stat-item .stat-icon {
        font-size: 1.4rem;
    }
    
    .mid-range-stats .stat-item .stat-label {
        font-size: 0.8rem;
    }
}
