/* ===== AI TOOLS BUTTONS ENHANCEMENT ===== */
/* Этот файл содержит улучшенные стили только для кнопок AI tools */

/* Основные стили для кнопок AI tools */
.ai-tools-section .tool-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
    min-height: 56px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Эффект блеска при наведении */
.ai-tools-section .tool-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.ai-tools-section .tool-btn:hover::before {
    left: 100%;
}

/* Эффекты при наведении */
.ai-tools-section .tool-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.ai-tools-section .tool-btn:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Анимация иконок */
.ai-tools-section .tool-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.ai-tools-section .tool-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Специфичные стили для каждой кнопки */

/* AI University Matcher - Фиолетово-синий градиент */
.ai-tools-section .tool-btn[data-tool="matcher"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.ai-tools-section .tool-btn[data-tool="matcher"]:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.4);
}

/* Essay Assistant - Розово-красный градиент */
.ai-tools-section .tool-btn[data-tool="essay"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 32px rgba(240, 147, 251, 0.3);
}

.ai-tools-section .tool-btn[data-tool="essay"]:hover {
    background: linear-gradient(135deg, #e879f9 0%, #f43f5e 100%);
    box-shadow: 0 16px 48px rgba(240, 147, 251, 0.4);
}

/* Admission Predictor - Сине-голубой градиент */
.ai-tools-section .tool-btn[data-tool="predictor"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3);
}

.ai-tools-section .tool-btn[data-tool="predictor"]:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    box-shadow: 0 16px 48px rgba(79, 172, 254, 0.4);
}

/* Extracurricular Planner - Зелено-бирюзовый градиент */
.ai-tools-section .tool-btn[data-tool="extracurricular"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 8px 32px rgba(67, 233, 123, 0.3);
}

.ai-tools-section .tool-btn[data-tool="extracurricular"]:hover {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    box-shadow: 0 16px 48px rgba(67, 233, 123, 0.4);
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
    animation: pulse-glow 2s infinite;
    position: relative;
    overflow: hidden;
}

.coming-soon-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Disabled button state */
.ai-tools-section .tool-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
}

.ai-tools-section .tool-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
}

.ai-tools-section .tool-btn:disabled::before,
.ai-tools-section .tool-btn:disabled::after {
    display: none;
}

/* Состояния фокуса для доступности */
.ai-tools-section .tool-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3);
}

.ai-tools-section .tool-btn:focus:not(:hover) {
    transform: translateY(-2px) scale(1.01);
}

/* Состояние загрузки */
.ai-tools-section .tool-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.ai-tools-section .tool-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid transparent;
    border-top: 3px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .ai-tools-section .tool-btn {
        padding: 14px 20px;
        font-size: 15px;
        min-height: 52px;
        border-radius: 10px;
    }
    
    .ai-tools-section .tool-btn i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ai-tools-section .tool-btn {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 48px;
        border-radius: 8px;
    }
    
    .ai-tools-section .tool-btn i {
        font-size: 15px;
    }
}

/* Дополнительные эффекты для премиум вида */
.ai-tools-section .tool-btn {
    position: relative;
    z-index: 1;
}

.ai-tools-section .tool-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.ai-tools-section .tool-btn:hover::after {
    transform: translateX(100%);
}

/* Улучшенная типографика */
.ai-tools-section .tool-btn {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Эффект пульсации при загрузке */
.ai-tools-section .tool-btn.loading {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 0.6; }
    100% { opacity: 0.8; }
}
