/* 帮助中心/使用教程页面样式 */

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 30px;
}

/* 侧边导航 */
.side-nav {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.side-nav-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.side-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.side-nav-list {
    list-style: none;
}

.side-nav-list li {
    margin-bottom: 8px;
}

.side-nav-list a {
    color: #606266;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}

.side-nav-list a:hover {
    background: #f5f7fa;
    color: rgba(0,157,217,1);
}

.side-nav-list a.active {
    background: rgba(0,157,217,0.1);
    color: rgba(0,157,217,1);
    font-weight: 500;
}

/* 教程内容 */
.guide-content {
    flex: 1;
}

.guide-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.guide-section h2 {
    font-size: 24px;
    color: #303133;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,157,217,1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-section h2 .icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.guide-section h3 {
    font-size: 18px;
    color: #303133;
    margin: 25px 0 15px;
}

.guide-section p {
    color: #606266;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 步骤列表 */
.step-list {
    list-style: none;
    counter-reset: step-counter;
}

.step-list li {
    position: relative;
    padding: 15px 15px 15px 60px;
    margin-bottom: 15px;
    background: #f9fafc;
    border-radius: 8px;
    border-left: 3px solid rgba(0,157,217,1);
}

.step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0,157,217,1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.step-list li strong {
    color: #303133;
    display: block;
    margin-bottom: 5px;
}

.step-list li span {
    color: #606266;
    font-size: 14px;
}

/* 功能卡片 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-card {
    background: #f9fafc;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #ebeef5;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0,157,217,0.3);
}

.feature-card h4 {
    font-size: 16px;
    color: #303133;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #606266;
    margin: 0;
}

/* 提示框 */
.tip-box {
    background: #ecf5ff;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    border-left: 4px solid rgba(0,157,217,1);
}

.tip-box.warning {
    background: #fdf6ec;
    border-left-color: #e6a23c;
}

.tip-box.success {
    background: #f0f9eb;
    border-left-color: #67c23a;
}

.tip-box-title {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tip-box p {
    margin: 0;
    font-size: 14px;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question::before {
    content: 'Q';
    background: rgba(0,157,217,1);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.faq-answer {
    color: #606266;
    line-height: 1.8;
    padding-left: 34px;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }

    .side-nav {
        width: 100%;
        position: static;
        order: -1;
    }

    .side-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .side-nav-list li {
        margin: 0;
    }

    .side-nav-list a {
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .guide-section {
        padding: 20px;
    }

    .guide-section h2 {
        font-size: 20px;
    }
}
