/* Analytics & Insights Section Styles */

.analytics-insights {
    position: relative;
    padding: 50px 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.analytics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.95) 0%, rgba(26, 41, 66, 0.92) 100%);
    z-index: 1;
}

.analytics-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Header */
.analytics-insights .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.analytics-insights .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.analytics-insights .section-badge i {
    color: #4a9eff;
    font-size: 16px;
}

.analytics-insights .section-badge span {
    color: #4a9eff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.analytics-insights .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.analytics-insights .section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* Analytics Card */
.analytics-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.analytics-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.analytics-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #4a9eff, #00d9ff);
}


.analytics-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.analytics-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Analytics Stats Grid */
.analytics-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.analytics-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.analytics-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateY(-5px);
}

.analytics-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.2), rgba(0, 217, 255, 0.2));
    border: 2px solid rgba(74, 158, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a9eff;
    font-size: 26px;
}

.analytics-stat-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.analytics-stat-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .analytics-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .analytics-insights .section-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .analytics-insights {
        padding: 70px 0;
        background-attachment: scroll;
    }
    
    .analytics-container {
        padding: 0 20px;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .analytics-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .analytics-insights .section-title {
        font-size: 36px;
    }
    
    .analytics-insights .section-subtitle {
        font-size: 16px;
    }
    
    .analytics-card {
        padding: 30px 25px;
    }
    
    .analytics-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .analytics-title {
        font-size: 18px;
    }
    
    .analytics-stat-card {
        padding: 25px 20px;
    }
    
    .analytics-stat-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .analytics-stat-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .analytics-insights .section-title {
        font-size: 28px;
    }
    
    .analytics-insights .section-subtitle {
        font-size: 15px;
    }
    
    .analytics-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .analytics-card,
    .analytics-stat-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}