/* 支持页面专用样式 */

/* 支持页面特定样式补充 */
.support-page .section-title svg {
    color: var(--primary-400);
}

/* FAQ 动画和交互增强 */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 0 0.5rem;
    margin: 0 -0.5rem 1rem -0.5rem;
}

.faq-question {
    user-select: none;
}

.faq-answer {
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    animation: fadeInAnswer 0.4s ease forwards;
}

@keyframes fadeInAnswer {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 表单增强样式 */
.support-form .form-input:invalid {
    border-color: #f87171;
}

.support-form .form-input:valid {
    border-color: #10b981;
}

.support-form .form-input::placeholder {
    color: var(--gray-500);
}

/* 状态指示器脉动动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.status-indicator.status-online {
    animation: pulse 2s infinite;
}

/* 帮助卡片悬停效果增强 */
.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.help-card:hover::before {
    opacity: 0.1;
}

/* 联系方式卡片悬停效果 */
.contact-method {
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(4px);
    border-color: var(--primary-400);
    background: rgba(99, 102, 241, 0.05);
}

/* 教程卡片进度指示 */
.tutorial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-500);
    border-radius: 0 0 12px 12px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tutorial-card:hover::after {
    transform: scaleX(1);
}

/* 按钮加载状态 */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 移动端优化 */
@media (max-width: 480px) {
    .help-card {
        padding: 1rem;
    }
    
    .help-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .help-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .tutorial-step {
        position: static;
        margin: 0 auto 1rem auto;
        display: flex;
    }
    
    .status-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}