/* AI Premium Styles - Enterprise-Grade Design */

/* ============================================
   Premium Variables & Custom Properties
   ============================================ */
:root {
    --ai-gradient-primary: linear-gradient(135deg, #6b21a8 0%, #3b82f6 100%);
    /* Purple to Blue */
    --ai-gradient-glow: linear-gradient(135deg, #a855f7 0%, #60a5fa 100%);
    --ai-gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #172554 100%);
    --ai-glass-bg: rgba(30, 27, 75, 0.4);
    --ai-glass-border: rgba(139, 92, 246, 0.2);
    --ai-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --ai-shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
    --ai-shadow-lg: 0 20px 40px rgba(88, 28, 135, 0.2);
    --ai-hover-lift: translateY(-8px);
}

/* ============================================
   Typography Enhancements
   ============================================ */
.ai-text-gradient {
    background: linear-gradient(135deg, #c084fc 0%, #60a5fa 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.ai-subtitle-gradient {
    background: linear-gradient(135deg, #e9d5ff 0%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Premium Card Styles
   ============================================ */
.ai-card {
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.6), rgba(17, 24, 39, 0.8));
    border: 1px solid var(--ai-glass-border);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    transition: left 0.6s;
}

.ai-card:hover::before {
    left: 100%;
}

.ai-card:hover {
    transform: var(--ai-hover-lift);
    box-shadow: var(--ai-shadow-lg);
    border-color: rgba(168, 85, 247, 0.5);
    background: linear-gradient(145deg, rgba(46, 16, 101, 0.7), rgba(23, 37, 84, 0.8));
}

.ai-card-icon-wrapper {
    background: rgba(107, 33, 168, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    transition: all 0.4s ease;
}

.ai-card:hover .ai-card-icon-wrapper {
    background: rgba(107, 33, 168, 0.4);
    border-color: rgba(168, 85, 247, 0.6);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.ai-card svg {
    transition: all 0.4s ease;
}

.ai-card:hover svg {
    color: #d8b4fe;
    filter: drop-shadow(0 0 8px rgba(216, 180, 254, 0.6));
}

/* ============================================
   Hero Section Enhancements
   ============================================ */
.ai-hero-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(88, 28, 135, 0.15) 0%, rgba(17, 24, 39, 0.9) 100%);
}

.ai-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-glow 8s infinite alternate;
    z-index: 0;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2) translate(20px, -20px);
        opacity: 0.8;
    }
}

/* ============================================
   Button Enhancements
   ============================================ */
.ai-btn-primary {
    background: var(--ai-gradient-primary);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-btn-primary:hover {
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.ai-btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
}

.ai-btn-primary:hover::after {
    transform: scale(1);
}

.ai-btn-outline {
    background: transparent;
    border: 1px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-btn-outline:hover {
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   Feature List Items
   ============================================ */
.ai-feature-item {
    transition: all 0.3s ease;
}

.ai-feature-item:hover {
    transform: translateX(5px);
}

.ai-feature-item svg {
    transition: all 0.3s ease;
}

.ai-feature-item:hover svg {
    color: #22d3ee;
    filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.6));
}

/* ============================================
   Animations
   ============================================ */
@keyframes ai-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-ai-fade-up {
    animation: ai-fade-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

/* ============================================
   Section Dividers/Separators
   ============================================ */
.ai-section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
    width: 100%;
    margin: 2rem 0;
}

/* ============================================
   Tech Stack Badges
   ============================================ */
.ai-tech-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #e5e7eb;
    transition: all 0.3s ease;
}

.ai-tech-badge:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}