/* AI Automation Section Styles */

.ai-automation {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px 0;
    position: relative;
}

.ai-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Header */
.ai-automation .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-automation .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
}

.ai-automation .section-badge i {
    color: #8a2be2;
    font-size: 16px;
}

.ai-automation .section-badge span {
    color: #8a2be2;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ai-automation .section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a2942;
    margin-bottom: 20px;
    line-height: 1.2;

    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.ai-automation .section-subtitle {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* AI Features Grid */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* AI Feature Card */
.ai-feature-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 5px;
    background: #1a2942;
}


.ai-feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a2942;
    line-height: 1.3;
    margin: 0;
}

.ai-feature-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.ai-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(74, 158, 255, 0.1);
    padding: 8px 14px;
    border-radius: 20px;
    align-self: flex-start;
    margin-top: 5px;
}


.ai-feature-badge span {
    color: #4a9eff;
    font-size: 12px;
    font-weight: 400;
}

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

.ai-stat-card {
    background: linear-gradient(135deg, #0a1929 0%, #1a2942 100%);
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

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

.ai-stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4a9eff, #00d9ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}


.ai-stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #4a9eff;
    margin-bottom: 4px;
    line-height: 1;
}

.ai-stat-label {
    font-size: 12px;
    color: #c5c9d1;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .ai-automation {
        padding: 70px 0;
    }
    
    .ai-container {
        padding: 0 20px;
    }
    
    .ai-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ai-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .ai-automation .section-title {
        font-size: 36px;
    }
    
    .ai-automation .section-subtitle {
        font-size: 16px;
    }
    
    .ai-feature-card {
        padding: 30px 25px;
    }
    
    .ai-feature-icon {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    
    .ai-feature-title {
        font-size: 18px;
    }
    
    .ai-stat-card {
        padding: 25px 20px;
    }
    
    .ai-stat-number {
        font-size: 40px;
    }
}

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