/* 帮助中心页面专属样式 */
.jm-help-layout {
    position: relative;
    min-height: 100vh;
}

/* 帮助卡片样式 */
.jm-help-card {
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.jm-help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
    pointer-events: none;
}

.jm-help-card:hover::before {
    opacity: 1;
}

.jm-help-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
}

.jm-help-icon {
    transition: all 0.3s ease;
}

.jm-help-card:hover .jm-help-icon {
    transform: scale(1.15) rotate(10deg);
}

/* 帮助主题列表 */
.jm-help-topics {
    transition: all 0.3s ease;
}

.jm-help-topics > div {
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.jm-help-topics > div:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(5px);
}

/* FAQ样式 */
.jm-faq-item {
    transition: all 0.3s ease;
    position: relative;
}

.jm-faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

.jm-faq-question {
    transition: all 0.3s ease;
}

.jm-faq-question:hover {
    color: #a855f7;
}

.jm-faq-question i {
    transition: transform 0.3s ease;
}

.jm-faq-question.active i {
    transform: rotate(180deg);
}


/* 联系客服卡片 */
.jm-contact-card {
    transition: all 0.3s ease;
    position: relative;
}

.jm-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.jm-contact-icon {
    transition: all 0.3s ease;
}

.jm-contact-card:hover .jm-contact-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 反馈表单样式 */
.jm-feedback-form {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.jm-feedback-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

.jm-feedback-form input,
.jm-feedback-form select,
.jm-feedback-form textarea {
    transition: all 0.3s ease;
}

.jm-feedback-form input:focus,
.jm-feedback-form select:focus,
.jm-feedback-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* 帮助分类动画 */
.jm-help-grid > div {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUpHelp 0.8s ease forwards;
}

.jm-help-grid > div:nth-child(1) { animation-delay: 0.1s; }
.jm-help-grid > div:nth-child(2) { animation-delay: 0.3s; }
.jm-help-grid > div:nth-child(3) { animation-delay: 0.5s; }

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

/* FAQ项目动画 */
.jm-faq-list > div {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeftFaq 0.6s ease forwards;
}

.jm-faq-list > div:nth-child(1) { animation-delay: 0.1s; }
.jm-faq-list > div:nth-child(2) { animation-delay: 0.2s; }
.jm-faq-list > div:nth-child(3) { animation-delay: 0.3s; }
.jm-faq-list > div:nth-child(4) { animation-delay: 0.4s; }
.jm-faq-list > div:nth-child(5) { animation-delay: 0.5s; }
.jm-faq-list > div:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInLeftFaq {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 联系卡片动画 */
.jm-contact-grid > div {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleInContact 0.6s ease forwards;
}

.jm-contact-grid > div:nth-child(1) { animation-delay: 0.2s; }
.jm-contact-grid > div:nth-child(2) { animation-delay: 0.4s; }

@keyframes scaleInContact {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .jm-help-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .jm-contact-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .jm-feedback-form {
        padding: 1.5rem;
    }
    
    .jm-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .jm-user-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}