/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px; /* 基础字体增大 */
}

/* 减少两侧留白 - 关键优化 */
.container {
    max-width: 1400px; /* 增大最大宽度 */
    margin: 0 auto;
    padding: 0 16px; /* 减少内边距 */
}

/* 导航栏 */
.navbar {
    background-color: #0f0f0f;
    border-bottom: 1px solid #1a1a1a;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #ff453a;
    font-size: 16px; /* 增大logo字体 */
}

.logo-icon {
    font-size: 20px; /* 增大logo图标 */
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px; /* 增大导航字体 */
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ff453a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-btn, .lang-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 15px; /* 增大按钮字体 */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cta-btn {
    background-color: #ff453a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 15px; /* 增大按钮字体 */
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cta-btn:hover {
    background-color: #ff3b30;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 24px; /* 增大汉堡菜单图标 */
    cursor: pointer;
}

/* 移动端菜单样式 */
.mobile-menu {
    display: none;
    padding: 16px 0;
    border-top: 1px solid #1a1a1a;
    margin-top: 16px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.mobile-nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
}

.mobile-nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* 英雄区 */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #121212 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1a1a1a;
    padding: 8px 16px; /* 增大徽章内边距 */
    border-radius: 20px;
    font-size: 14px; /* 增大徽章字体 */
    color: #a0a0a0;
    margin-bottom: 24px;
}

.badge-link {
    color: #ff453a;
    text-decoration: none;
    font-size: 14px;
}

.hero-title {
    font-size: 48px; /* 增大标题字体 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.highlight {
    color: #ff453a;
}

.hero-subtitle {
    font-size: 18px; /* 增大副标题字体 */
    color: #a0a0a0;
    max-width: 800px; /* 增大宽度 */
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background-color: #ff453a;
    color: white;
    border: none;
    padding: 14px 28px; /* 增大按钮尺寸 */
    border-radius: 8px; /* 增大圆角 */
    font-size: 16px; /* 增大按钮字体 */
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #ff3b30;
}

.btn-secondary {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #2a2a2a;
    padding: 14px 28px; /* 增大按钮尺寸 */
    border-radius: 8px; /* 增大圆角 */
    font-size: 16px; /* 增大按钮字体 */
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: #ff453a;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px; /* 增大间距 */
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px; /* 增大数字字体 */
    font-weight: 700;
    color: #ff453a;
    display: block;
}

.stat-label {
    font-size: 14px; /* 增大标签字体 */
    color: #a0a0a0;
}

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 14px; /* 增大标签字体 */
    color: #ff453a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px; /* 增大区块标题字体 */
    font-weight: 600;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px; /* 增大区块副标题字体 */
    color: #a0a0a0;
    max-width: 800px; /* 增大宽度 */
    margin: 0 auto;
}

/* 功能特性 */
.features {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: #1a1a1a;
    padding: 28px; /* 增大卡片内边距 */
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: #ff453a;
}

.feature-icon {
    font-size: 28px; /* 增大图标 */
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px; /* 增大卡片标题 */
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 16px; /* 增大卡片内容字体 */
    color: #a0a0a0;
    line-height: 1.6;
}

/* 安装指南 */
.installation {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.install-notice {
    background-color: #1a2a1a;
    border: 1px solid #2a4a2a;
    padding: 16px 20px; /* 增大通知内边距 */
    border-radius: 8px; /* 增大圆角 */
    font-size: 16px; /* 增大通知字体 */
    color: #80c080;
    margin-bottom: 24px;
}

.install-tabs {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: #121212;
    border-bottom: 1px solid #2a2a2a;
}

.tab-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    padding: 14px 24px; /* 增大标签按钮内边距 */
    font-size: 16px; /* 增大标签按钮字体 */
    cursor: pointer;
    transition: color 0.2s;
}

.tab-btn.active {
    color: #ff453a;
    border-bottom: 2px solid #ff453a;
}

/* 标签内容样式 - 关键优化 */
.tab-content {
    display: none; /* 默认隐藏 */
    padding: 28px; /* 增大内边距 */
}

.tab-content.active {
    display: block; /* 激活时显示 */
}

.code-block {
    background-color: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 20px; /* 增大代码块内边距 */
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.code-comment {
    font-size: 14px; /* 增大注释字体 */
    color: #60a060;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 16px; /* 增大代码字体 */
    color: #e0e0e0;
    line-height: 1.6;
}

.copy-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 16px; /* 增大复制按钮字体 */
    cursor: pointer;
    padding: 4px 8px;
}

.copy-btn:hover {
    color: #ff453a;
}

.code-note {
    font-size: 16px; /* 增大备注字体 */
    color: #a0a0a0;
}

/* 平台集成 */
.integrations {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #121212 100%);
}

.integration-categories {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.category {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-label {
    font-size: 14px; /* 增大分类标签字体 */
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.integration-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* 增大徽章间距 */
    align-items: center;
}

.badge {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 8px 16px; /* 增大徽章内边距 */
    border-radius: 8px; /* 增大圆角 */
    font-size: 16px; /* 增大徽章字体 */
    color: #e0e0e0;
}

.badge-link {
    color: #ff453a;
    text-decoration: none;
    font-size: 16px;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px; /* 增大FAQ间距 */
    max-width: 900px; /* 增大宽度 */
    margin: 0 auto;
}

.faq-item {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px; /* 增大问题内边距 */
    text-align: left;
    font-size: 18px; /* 增大问题字体 */
    color: #e0e0e0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "▼";
    font-size: 16px; /* 增大箭头字体 */
    color: #a0a0a0;
}

/* FAQ答案样式 */
.faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #121212 100%);
    text-align: center;
}

.cta-title {
    font-size: 36px; /* 增大CTA标题 */
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px; /* 增大CTA副标题 */
    color: #a0a0a0;
    max-width: 800px; /* 增大宽度 */
    margin: 0 auto 32px;
}

/* 页脚 */
.footer {
    padding: 48px 0 24px;
    background-color: #0f0f0f;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-brand {
    max-width: 350px; /* 增大品牌区域宽度 */
}

.footer-brand p {
    font-size: 16px; /* 增大页脚文本字体 */
    color: #a0a0a0;
    margin: 12px 0 16px;
}

.footer-links {
    display: flex;
    gap: 64px; /* 增大链接组间距 */
}

.link-group h4 {
    font-size: 18px; /* 增大链接组标题 */
    font-weight: 600;
    margin-bottom: 16px;
}

.link-group a {
    display: block;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 16px; /* 增大链接字体 */
    margin-bottom: 8px;
    transition: color 0.2s;
}

.link-group a:hover {
    color: #ff453a;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #1a1a1a;
    font-size: 14px; /* 增大页脚底部字体 */
    color: #606060;
}

.legal-links {
    display: flex;
    gap: 16px;
}

.legal-links a {
    color: #606060;
    text-decoration: none;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }
    .mobile-nav-actions{
        display: none;
    }
}



/* 博客头部 */
.blog-header {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #121212 100%);
}

.blog-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #e0e0e0;
}

.blog-subtitle {
    font-size: 16px;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* 博客标签 */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tag-btn {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #a0a0a0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-btn.active {
    background-color: #ff453a;
    border-color: #ff453a;
    color: white;
}

.tag-btn:hover:not(.active) {
    border-color: #ff453a;
    color: #ff453a;
}

/* 博客文章列表 */
.blog-list {
    padding: 40px 0 80px;
    background-color: #0a0a0a;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.article-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s;
}

.article-card:hover {
    border-color: #ff453a;
}

.article-tag {
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.tag-newbie { background-color: #2a2a4a; color: #80a0ff; }
.tag-config { background-color: #2a4a2a; color: #80c080; }
.tag-advanced { background-color: #4a2a2a; color: #ff8080; }
.tag-troubleshooting { background-color: #4a4a2a; color: #ffff80; }
.tag-security { background-color: #4a2a4a; color: #ff80ff; }
.tag-plugins { background-color: #2a4a4a; color: #80ffff; }

.article-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-desc {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #606060;
    margin-bottom: 16px;
}

.read-more {
    font-size: 14px;
    color: #ff453a;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.load-more {
    text-align: center;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .blog-title {
        font-size: 28px;
    }
}



/* 文章页面布局 */
.article-page {
    padding: 40px 0;
    background-color: #0a0a0a;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* 面包屑导航 */
.breadcrumbs {
    font-size: 12px;
    color: #606060;
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: #606060;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #ff453a;
}

/* 文章元信息（顶部） */
.article-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

/* 文章标题 */
.article-content .article-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #e0e0e0;
}

.article-subtitle {
    font-size: 16px;
    color: #a0a0a0;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* 作者信息 */
.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ff453a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
}

.author-role {
    font-size: 12px;
    color: #a0a0a0;
}

.publish-date {
    margin-left: auto;
    font-size: 12px;
    color: #606060;
}

/* 文章章节 */
.article-section {
    margin-bottom: 48px;
}

.article-section p{
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.section-text {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 16px;
}

.section-list {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.6;
    margin: 0 0 16px 24px;
}

.section-list.ordered {
    list-style-type: decimal;
}

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

/* 代码块 */
.code-block {
    background-color: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
}

.code-lang {
    font-size: 12px;
    color: #606060;
    text-transform: uppercase;
}

.code-block pre {
    padding: 16px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.5;
}

/* 故障排查 */
.troubleshooting .trouble-item {
    margin-bottom: 32px;
}

.troubleshooting .trouble-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 12px;
}

/* 下一步 */
.next-steps .section-list a {
    color: #ff453a;
    text-decoration: none;
}

.next-steps .section-list a:hover {
    text-decoration: underline;
}

/* 文章操作栏 */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 48px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #a0a0a0;
}

.share-btn {
    background: none;
    border: 1px solid #2a2a2a;
    color: #a0a0a0;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.share-btn:hover {
    border-color: #ff453a;
    color: #ff453a;
}

.btn-more-articles {
    background-color: #ffb020;
    color: #0a0a0a;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.btn-more-articles:hover {
    background-color: #ff9f0a;
}

/* 相关文章 */
.related-articles {
    margin-bottom: 48px;
}

.related-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.related-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 16px;
}

.related-article-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.related-article-desc {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* 右侧目录 */
.article-toc {
    position: sticky;
    top: 100px;
}

.toc-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-item {
    margin-bottom: 12px;
}

.toc-link {
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s;
}

.toc-link:hover,
.toc-link.active {
    color: #ff453a;
}

.toc-sub-list {
    list-style: none;
    padding: 0 0 0 16px;
    margin-top: 8px;
}

.toc-sub-item {
    margin-bottom: 8px;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-toc {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-content .article-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 20px;
    }
}



/* 资源页面基础样式 */
.resource-page {
    padding: 40px 0;
    background-color: #0a0a0a;
}

.top-alert {
    background-color: #2a1a1a;
    color: #ff8080;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    margin-bottom: 24px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 16px;
    color: #a0a0a0;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.top-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.btn-green {
    background-color: #2ea043;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-green:hover {
    background-color: #268f3a;
}

.btn-red {
    background-color: #ff453a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-red:hover {
    background-color: #ff3b30;
}

.disclaimer, .bottom-disclaimer {
    background-color: #2a2a1a;
    color: #ffff80;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    margin-bottom: 48px;
}

.bottom-disclaimer {
    margin-top: 48px;
}

/* 两栏布局 */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.section-block {
    background-color: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 24px;
}

.section-block.full-width {
    grid-column: 1 / -1;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 16px;
}

.section-text {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.6;
}

/* 特性列表 */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "🟢";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
}

/* 链接列表 */
.section-note {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 16px;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.link-item {
    display: grid;
    grid-template-columns: auto 100px 1fr auto;
    align-items: center;
    gap: 12px;
    background-color: #1a1a1a;
    padding: 12px;
    border-radius: 6px;
}

.link-icon {
    font-size: 16px;
}

.link-label {
    font-size: 12px;
    color: #a0a0a0;
}

.link-url {
    font-size: 12px;
    color: #60a0ff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.warning-box {
    background-color: #2a1a1a;
    color: #ff8080;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.6;
}

/* 工作原理流程图 */
.flow-diagram {
    background-color: #1a1a1a;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 12px;
}

.warning-note {
    font-size: 12px;
    color: #ff8080;
    padding-left: 20px;
    position: relative;
}

.warning-note::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 0;
}

/* 加入方式标签 */
.join-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    margin-bottom: 16px;
}

.join-tab {
    background: none;
    border: none;
    color: #a0a0a0;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.join-tab.active {
    background-color: #121212;
    color: #e0e0e0;
    border-bottom: 2px solid #ff453a;
}

.join-content {
    display: none;
    padding: 16px;
    background-color: #121212;
    border-radius: 0 0 6px 6px;
}

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

.join-desc {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #e0e0e0;
}

.join-icon {
    font-size: 16px;
}

/* 安全清单 */
.checklist-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #1a1a1a;
    padding: 12px;
    border-radius: 6px;
}

.checklist-item input {
    margin-top: 4px;
}

.check-title {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
    display: block;
}

.check-desc {
    font-size: 12px;
    color: #a0a0a0;
}

.checklist-tip {
    background-color: #2a2a1a;
    color: #ffff80;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 16px;
}

.checklist-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.checklist-progress {
    font-size: 12px;
    color: #606060;
    text-align: right;
}

/* 热门主题 */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.topic-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-icon {
    font-size: 16px;
}

.topic-name {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
}

.topic-desc {
    font-size: 12px;
    color: #a0a0a0;
}

/* 相关指南 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.related-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-icon {
    font-size: 16px;
    color: #ff453a;
}

.related-title {
    font-size: 14px;
    font-weight: 500;
    color: #ff453a;
    display: block;
}

.related-desc {
    font-size: 12px;
    color: #a0a0a0;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

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

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

    .link-item {
        grid-template-columns: auto auto 1fr auto;
    }

    .link-label {
        display: none;
    }
}


/* 指南页面布局 */
.guide-page {
    padding: 40px 0;
    background-color: #0a0a0a;
}

.guide-layout {
    display: grid;
    grid-template-columns: 200px 1fr 240px;
    gap: 32px;
    align-items: start;
}

/* 左侧侧边栏 */
.guide-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-header {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a;
}

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

.sidebar-link {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: none;
}

.sidebar-link.active {
    background-color: #2a1a1a;
    color: #ff453a;
}

.sidebar-link:hover:not(.active) {
    background-color: #1a1a1a;
}

/* 中间内容区 */
.guide-content {
    max-width: 800px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #606060;
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: #606060;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #ff453a;
}

.breadcrumbs .eta {
    margin-left: auto;
    background-color: #2a1a1a;
    color: #ff8080;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.guide-title {
    font-size: 32px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 12px;
}

.guide-subtitle {
    font-size: 16px;
    color: #a0a0a0;
    margin-bottom: 32px;
}

/* 指南区块 */
.guide-section {
    margin-bottom: 24px;
}

.guide-section.highlight {
    background: linear-gradient(90deg, #1a1a1a 0%, #1a1a2a 100%);
    border: 1px solid #2a2a4a;
    border-radius: 8px;
    padding: 16px;
}

.section-header {
    margin-bottom: 12px;
}

.section-badge {
    background-color: #2a1a1a;
    color: #ff8080;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.section-text {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.section-text.small {
    font-size: 12px;
}

/* 步骤样式 */
.guide-section.step {
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #1a1a1a;
    padding: 12px 16px;
    cursor: pointer;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ff453a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    flex: 1;
}

.collapse-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 18px;
    cursor: pointer;
}

.step-content {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 16px;
    background-color: #121212;
}

/* 环境要求 */
.requirement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #1a1a1a;
    padding: 12px;
    border-radius: 6px;
}

.req-icon {
    font-size: 14px;
}

.req-title {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
    display: block;
}

.req-desc {
    font-size: 12px;
    color: #a0a0a0;
}

.warning-box {
    background-color: #2a2a1a;
    color: #ffff80;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.warn-icon {
    font-size: 14px;
}

/* 安装标签 */
.install-tabs {
    display: flex;
    background-color: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.install-tab {
    background: none;
    border: none;
    color: #a0a0a0;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
}

.install-tab.active {
    background-color: #ff453a;
    color: white;
}

.os-tabs {
    display: flex;
    background-color: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.os-tab {
    background: none;
    border: none;
    color: #a0a0a0;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
}

.os-tab.active {
    background-color: #2ea043;
    color: white;
}

.install-content {
    display: none;
}

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

.success-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #1a2a1a;
    color: #80c080;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.note-icon {
    font-size: 14px;
}

/* 配置列表 */
.config-list {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.config-list li {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.config-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff453a;
}

.info-box {
    background-color: #1a1a2a;
    color: #80a0ff;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 12px;
}

.info-title {
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.tip-box {
    background-color: #1a2a2a;
    color: #80ffff;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tip-icon {
    font-size: 14px;
}

/* 链接框 */
.link-box {
    background-color: #1a1a1a;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.link-text {
    color: #60a0ff;
    text-decoration: none;
    font-size: 14px;
}

.link-text:hover {
    text-decoration: underline;
}

/* 展开框 */
.expand-box {
    margin-top: 12px;
}

.expand-btn {
    width: 100%;
    background: none;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 8px;
    text-align: left;
    font-size: 12px;
    color: #a0a0a0;
    cursor: pointer;
}

.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 8px;
}

/* 平台卡片 */
.platform-card {
    background-color: #1a1a1a;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #e0e0e0;
}

.platform-icon {
    font-size: 16px;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.doc-list li {
    font-size: 12px;
    margin-bottom: 8px;
}

.doc-list a {
    color: #ff453a;
    text-decoration: none;
}

.doc-list a:hover {
    text-decoration: underline;
}

/* 成功状态 */
.guide-section.success {
    background-color: #1a2a1a;
    border: 1px solid #2a4a2a;
    border-radius: 8px;
    padding: 16px;
}

.success-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.success-icon {
    font-size: 20px;
}

.success-title {
    font-size: 16px;
    font-weight: 600;
    color: #80c080;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.next-step-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 12px;
    border-radius: 6px;
    color: #ff453a;
    text-decoration: none;
    font-size: 14px;
}

.next-step-item:hover {
    background-color: #2a1a1a;
}

/* 右侧目录 */
.guide-toc {
    position: sticky;
    top: 100px;
}

.toc-title {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-item {
    margin-bottom: 8px;
}

.toc-link {
    font-size: 12px;
    color: #a0a0a0;
    text-decoration: none;
}

.toc-link.active {
    color: #ff453a;
}

.toc-link:hover {
    color: #ff453a;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar, .guide-toc {
        display: none;
    }
}

@media (max-width: 768px) {
    .guide-title {
        font-size: 24px;
    }

    .step-title {
        font-size: 14px;
    }

    .install-tabs {
        flex-direction: column;
    }
}


/* FAQ 页面样式 */
.faq-page {
    padding: 40px 0;
    background-color: #0a0a0a;
}

.top-badge {
    background-color: #2a1a1a;
    color: #ff8080;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
    margin-bottom: 24px;
}

.faq-title {
    font-size: 36px;
    font-weight: 700;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 12px;
}

.faq-subtitle {
    font-size: 14px;
    color: #a0a0a0;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.faq-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #606060;
}

.search-count {
    font-size: 12px;
    color: #606060;
}

/* 分类标签 */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.tag-btn {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 12px;
    color: #a0a0a0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tag-btn.active {
    background-color: #ff453a;
    border-color: #ff453a;
    color: white;
}

.tag-btn:hover:not(.active) {
    border-color: #ff453a;
    color: #ff453a;
}

/* FAQ 区块 */
.faq-section {
    margin-bottom: 48px;
}

.section-icon {
    font-size: 18px;
    color: #ff453a;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
}

.section-desc {
    font-size: 12px;
    color: #a0a0a0;
    margin-left: auto;
}

/* FAQ 列表 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.faq-item {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px;
    text-align: left;
    font-size: 14px;
    color: #e0e0e0;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #a0a0a0;
}

.faq-question.active::after {
    content: "▲";
}

/* 区块 CTA */
.section-cta {
    text-align: center;
    gap: 16px;
}

.cta-link {
    color: #ff453a;
    text-decoration: none;
    font-size: 12px;
}

.cta-link:hover {
    text-decoration: underline;
}

/* 卡住了？模块 */
.stuck-section {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 48px;
}

.stuck-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stuck-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #2a1a1a;
    color: #ff8080;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.stuck-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
}

.stuck-subtitle {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 24px;
}

.stuck-resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.resource-card {
    background-color: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ff453a;
    text-decoration: none;
}

.resource-icon {
    font-size: 20px;
}

.resource-title {
    font-size: 12px;
}

.resource-card:hover {
    background-color: #2a1a1a;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .faq-title {
        font-size: 28px;
    }

    .category-tags {
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stuck-resources {
        grid-template-columns: 1fr;
    }

    .section-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}





@media (max-width: 768px) {
  .navbar .container {
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  .footer .container {
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  .guide-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .guide-sidebar,
  .guide-toc {
    display: none !important;
  }

  .guide-content {
    max-width: 100% !important;
    padding: 0 8px;
  }

  .step-content {
    padding: 12px !important;
  }
  .code-block pre {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
  }
}


.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
}
.pagination-wrap .paging-cls {
    text-align: center;
}
.pagination-wrap .paging-cls li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}
.pagination-wrap .paging-cls span, .pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}