/* 帮助页（版本1） */

.help-page {
    background: #f5f6f8;
}

.help-hero {
    height: 320px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-hero--bg {
    background: url("/static/images/help/top_bg.png") center / cover no-repeat;
}

.help-hero h1 {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 700;
}

.help-section {
    padding: 56px 0 70px;
}

.help-title {
    text-align: center;
    color: #2c2c2c;
}

.help-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.help-title p {
    font-size: 16px;
    color: #8a8a8a;
    margin-bottom: 34px;
}

.help-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    margin-bottom: 34px;
}

.help-icon {
    text-align: center;
}

.help-icon .circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.help-icon p {
    font-size: 18px;
    margin-top: 24px;
    color: #666;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.help-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    min-height: 300px;
    position: relative;
}

.help-card__inner {
    padding: 26px 26px 22px;
}

.help-card__inner .help-card__inner-img {
    width: 86px;
    height: 86px;
}

.help-card h3 {
    font-weight: 500;
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.help-card__inner > p {
    font-weight: 400;
    font-size: 16px;
    color: #838383;
}

.help-links {
    margin-top: 10px;
}

.help-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 14px;
    color: #666;
}

.help-links a:hover {
    color: var(--themeColor);
}

.help-links a span.arrow {
    color: #bbb;
}

.help-card__img {
    position: absolute;
    right: 16px;
    bottom: 10px;
    width: 160px;
    height: auto;
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .help-icons {
        grid-template-columns: repeat(3, 1fr);
    }

    .help-cards {
        grid-template-columns: 1fr;
    }

    .help-card {
        min-height: 240px;
    }

    .help-card__img {
        width: 140px;
    }
}

/* 帮助中心页面样式 */
.help-center-page {
    background: #f5f6f8;
}

/* 二级导航栏 */
.help-center-nav {
    margin-top: 70px;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

/* 版本选择器 */
.version-selector {
    position: relative;
}

.version-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
}

.version-btn:hover {
    border-color: var(--themeColor);
    color: var(--themeColor);
}

.version-btn .arrow-icon {
    font-size: 12px;
    transition: transform 0.3s;
    display: inline-block;
}

.version-btn.active .arrow-icon {
    transform: rotate(180deg);
}

.version-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    z-index: 10;
}

.version-dropdown.show {
    display: block;
}

.version-item {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid #f5f5f5;
}

.version-item:last-child {
    border-bottom: 0;
}

.version-item:hover {
    background: #f5f5f5;
    color: var(--themeColor);
}

/* 分类标签 */
.category-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.category-tab .tab-icon {
    font-size: 16px;
    display: inline-block;
}

.category-tab:hover {
    background: #f5f5f5;
    color: var(--themeColor);
}

.category-tab.active {
    background: var(--themeColor);
    color: #fff;
}

/* 主内容区布局 */
.help-center-main {
    padding: 24px 0 60px;
}

.help-center-layout {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 24px;
    align-items: start;
}

/* 侧边栏 */
.help-center-sidebar {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar-content {
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: #2b2f36;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f1f4;
}

.sidebar-nav {
    margin: 0;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 1px solid #f5f5f5;
}

.nav-link:last-child {
    border-bottom: 0;
}

.nav-link:hover {
    color: var(--themeColor);
}

.nav-link.active {
    color: var(--themeColor);
    font-weight: 600;
}

/* 主内容区 */
.help-center-content {
    background: #fff;
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-main-title {
    margin: 0 0 32px 0;
    font-size: 32px;
    font-weight: 700;
    color: #2b2f36;
    line-height: 1.4;
}

/* 促销Banner */
.promo-banner {
    display: flex;
    gap: 20px;
    margin: 32px 0;
    padding: 30px;
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE4B3 100%);
    border-radius: 8px;
    align-items: center;
}

.banner-left {
    flex: 0 0 120px;
}

.banner-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    padding: 20px 16px;
    border-radius: 4px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
}

.banner-purple span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.banner-center {
    flex: 1;
    text-align: center;
}

.banner-title {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 700;
    color: #2b2f36;
    line-height: 1.4;
}

.banner-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-tag {
    padding: 6px 16px;
    background: #fff;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.banner-btn {
    padding: 12px 32px;
    background: #FF5000;
    color: #fff;
    border: 0;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-btn:hover {
    background: #ff6a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 80, 0, 0.3);
}

.banner-right {
    flex: 0 0 300px;
}

.device-mockups {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: center;
}

.device {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.device.desktop {
    width: 120px;
}

.device.tablet {
    width: 80px;
}

.device.mobile {
    width: 50px;
}

.device img {
    width: 100%;
    height: auto;
    display: block;
}

/* 内容区域 */
.intro-section,
.feature-section {
    margin-top: 40px;
}

.section-title {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 700;
    color: #2b2f36;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--themeColor);
}

.intro-content,
.feature-content {
    line-height: 1.8;
    color: #333;
}

.intro-content p,
.feature-content p {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.8;
}

.intro-content h3,
.feature-content h3 {
    margin: 24px 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2b2f36;
}

.intro-content ul,
.feature-content ul {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.intro-content li,
.feature-content li {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.8;
}

.intro-content strong,
.feature-content strong {
    color: #2b2f36;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .help-center-layout {
        grid-template-columns: 180px 1fr 180px;
    }
}

@media (max-width: 960px) {
    .help-center-layout {
        grid-template-columns: 1fr;
    }

    .help-center-sidebar {
        position: static;
        max-height: none;
    }

    .left-sidebar {
        order: 3;
    }

    .right-sidebar {
        order: 2;
    }

    .promo-banner {
        flex-direction: column;
    }

    .banner-left,
    .banner-right {
        flex: 1;
        width: 100%;
    }

    .device-mockups {
        justify-content: center;
    }

    .nav-inner {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .category-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
}

