/* 帮助页面样式 */
.help-container {
    padding: 40px 0;
    background: #f4f7fa;
    min-height: calc(100vh - 200px);
}

.help-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.help-header h1 {
    font-size: 36px;
    line-height: 56px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.help-header p {
    font-size: 18px;
    color: #666;
}

.help-content {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

/* 左侧导读列表 */
.help-sidebar {
    width: 280px;
    border-right: 1px solid #e8e8e8;
    padding-right: 30px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #006eff;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section li {
    margin-bottom: 10px;
}

.sidebar-section a {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.sidebar-section a:hover {
    background: #f0f5ff;
    color: #006eff;
}

.sidebar-section a.active {
    background: #006eff;
    color: #fff;
}

/* 右侧正文内容 */
.help-main {
    width: 820px;
    padding-left: 30px;
}

.content-section {
    display: none;
}

.content-section p {
    font-size: 14px;
}

.content-section.active {
    display: block;
}

.content-section h2 {
    font-size: 28px;
    line-height: 40px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 20px;
    line-height: 30px;
    color: #333;
    font-weight: bold;
    margin: 25px 0 15px 0;
}

.content-section p {
    font-size: 16px;
    line-height: 28px;
    color: #555;
    margin-bottom: 15px;
}

.content-section ol,
.content-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    font-size: 16px;
    line-height: 28px;
    color: #555;
    margin-bottom: 8px;
}

.content-section li strong {
    color: #333;
    font-weight: bold;
}

.content-section ul ul {
    margin-left: 20px;
    margin-top: 8px;
}

.content-section a {
    color: #006eff;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.content-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.content-img img {
    max-width: 100%;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .help-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .help-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding-right: 0;
        padding-bottom: 20px;
    }
    
    .sidebar-section ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .sidebar-section li {
        margin-bottom: 0;
    }
    
    .sidebar-section a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .help-main {
        padding-left: 0;
        max-height: none;
        overflow-y: visible;
    }
}

@media screen and (max-width: 768px) {
    .help-container {
        padding: 20px 0;
    }
    
    .help-header {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .help-header h1 {
        font-size: 28px;
        line-height: 40px;
    }
    
    .help-header p {
        font-size: 16px;
    }
    
    .help-content {
        padding: 20px;
    }
    
    .sidebar-section h3 {
        font-size: 16px;
    }
    
    .sidebar-section a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .content-section h2 {
        font-size: 24px;
        line-height: 36px;
    }
    
    .content-section h3 {
        font-size: 18px;
        line-height: 28px;
    }
    
    .content-section p,
    .content-section li {
        font-size: 14px;
        line-height: 24px;
    }
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #006eff;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 110, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    display: none;
}

.back-to-top:hover {
    background: #0056cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 110, 255, 0.4);
}

.back-to-top span {
    display: inline-block;
    vertical-align: middle;
}

/* 响应式设计 - 返回顶部按钮 */
@media screen and (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}
