/* --- 帮助中心标题区域 --- */
.help-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
}

.help-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.help-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 16px 24px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
}

/* --- 主要内容区域 --- */
.help-content {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* 左侧导航 */
.help-sidebar {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.help-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-nav li a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-nav li a:hover {
    background: var(--accent-light);
    color: var(--primary-color);
}

.sidebar-nav li.active a {
    background: var(--primary-color);
    color: white;
}

/* 右侧内容 */
.help-main {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.section-title h2 {
    font-size: 1.8rem;
    color: var(--text-main);
}

/* 常见问题 */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8fafc;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

/* 步骤指南 */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-light);
}

/* 联系支持 */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-card h4 {
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.contact-card .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* --- 移动端适配 --- */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links, .auth-buttons {
        display: none;
    }

    .help-header h1 {
        font-size: 2rem;
    }

    .help-header p {
        font-size: 1rem;
    }

    .help-content {
        grid-template-columns: 1fr;
    }

    .help-sidebar {
        position: static;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    nav {
        padding: 10px 0;
    }

    .help-main {
        padding: 25px;
    }
}