/* ==========================================
   帮助中心页面样式
   ========================================== */

/* 英雄区域 */
.vm-help-hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #FF6A00 0%, #FF8533 100%);
    text-align: center;
}

.vm-help-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.vm-help-hero .container {
    position: relative;
    z-index: 1;
}

.vm-help-hero-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.vm-help-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.vm-help-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 搜索框 */
.vm-help-search {
    max-width: 600px;
    margin: 0 auto;
}

.help-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.help-search-box:focus-within {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.help-search-box .search-icon {
    color: var(--text-light);
    margin-right: 12px;
    flex-shrink: 0;
}

.help-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 0;
    color: var(--text-dark);
}

.help-search-box input::placeholder {
    color: var(--text-light);
}

.help-search-hint {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
}

/* 快速导航分类 */
.vm-help-categories {
    padding: 80px 0;
    background: white;
}

.vm-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
}

.vm-help-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.help-category-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.help-category-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.category-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.category-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-links li {
    margin-bottom: 10px;
}

.category-links li:last-child {
    margin-bottom: 0;
}

.category-links a {
    display: block;
    font-size: 14px;
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.category-links a:hover {
    background: var(--bg-light);
    padding-left: 16px;
}

/* 常见问题FAQ */
.vm-help-faq {
    padding: 80px 0;
    background: var(--bg-light);
}

.vm-faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faq-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 0 30px 30px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ol,
.faq-answer ul {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer ol li,
.faq-answer ul li {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

.faq-answer strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* FAQ警告框 */
.faq-warning-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.05), rgba(255, 149, 0, 0.05));
    border-left: 4px solid #ff3b30;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.faq-warning-box .warning-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.faq-warning-box .warning-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.faq-warning-box .warning-content p {
    margin-bottom: 0;
}

/* 联系支持CTA */
.vm-help-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #FF6A00 0%, #FF8533 100%);
    position: relative;
    overflow: hidden;
}

.vm-help-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.vm-help-cta .vm-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.vm-help-cta .cta-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.vm-help-cta h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.vm-help-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.vm-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.vm-btn-primary,
.vm-btn-secondary {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.vm-btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

.vm-btn-primary {
    background: white;
    color: var(--primary-color);
}

.vm-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vm-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.vm-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   响应式设计
   ========================================== */

@media (max-width: 1024px) {
    .vm-help-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vm-help-hero {
        padding: 80px 0 60px;
    }
    
    .vm-help-hero-title {
        font-size: 36px;
    }
    
    .vm-help-hero-subtitle {
        font-size: 18px;
    }
    
    .vm-help-categories,
    .vm-help-faq,
    .vm-help-cta {
        padding: 60px 0;
    }
    
    .vm-help-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .vm-help-cta h2 {
        font-size: 32px;
    }
    
    .vm-cta-buttons {
        flex-direction: column;
    }
    
    .vm-btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .vm-help-hero-title {
        font-size: 28px;
    }
    
    .vm-help-hero-subtitle {
        font-size: 16px;
    }
    
    .help-search-box {
        padding: 6px 6px 6px 15px;
    }
    
    .help-search-box input {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-icon {
        font-size: 24px;
    }
    
    .vm-help-cta h2 {
        font-size: 24px;
    }
    
    .vm-help-cta .cta-icon {
        font-size: 48px;
    }
}
