/* 
 * AI-POWERED SUPPORT SECTION - Premium Redesign
 * Aesthetic: Executive, Structured, Medical AI
 */

#ai-support {
    background-color: var(--bg-surface);
    padding: var(--space-4xl) 0;
}

.ai-premium-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.ai-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ai-header .section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.ai-header .section-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

.ai-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
}

/* Feature Card Styling */
.ai-feat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 252, 1) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    text-align: right; /* Default for RTL */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* RTL / LTR Alignment */
html[dir="ltr"] .ai-feat-card {
    text-align: left;
}

.ai-feat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 114, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 114, 255, 0.05),
        0 1px 1px rgba(0, 114, 255, 0.1);
}

/* Icon Box */
.ai-feat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-feat-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5px;
}

/* Content Hierarchy */
.ai-feat-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    position: relative;
}

.ai-feat-divider {
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.ai-feat-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Subtle Glow Effect on Hover */
.ai-feat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--color-primary) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    mix-blend-mode: soft-light;
}

.ai-feat-card:hover::after {
    opacity: 0.08;
}

/* Responsive Behavior */
@media (max-width: 1024px) {
    .ai-premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #ai-support {
        padding: var(--space-2xl) 0;
    }
    
    .ai-premium-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-feat-card {
        padding: 32px 24px;
    }
    
    .ai-header .section-title {
        font-size: var(--text-3xl);
    }
}
