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

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s;
}

a:hover {
    color: #004499;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #004499;
    color: white;
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
}

.main-nav a:hover {
    color: #0066cc;
}

/* 主要内容区域 */
.main-content {
    padding: 40px 0;
}

.page-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #222;
}

.page-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #222;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 特性网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0066cc;
}

/* 新闻列表 */
.news-list {
    margin-bottom: 40px;
}

.news-item {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-item .meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.more-link {
    display: inline-block;
    font-weight: 500;
}

/* 下载页面样式 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.download-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.download-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #0066cc;
}

.download-btn {
    margin: 15px 0;
}

.file-info {
    font-size: 14px;
    color: #666;
}

.download-guide {
    background: #f0f7ff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.download-guide h2 {
    margin-bottom: 15px;
    color: #0066cc;
}

.download-guide ol {
    padding-left: 20px;
}

/* 资讯详情页样式 */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #666;
}

.article-title {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-content {
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 24px;
    margin: 25px 0 15px;
    color: #0066cc;
}

.article-content p, 
.article-content ul, 
.article-content ol {
    margin-bottom: 15px;
}

.article-content ul, 
.article-content ol {
    padding-left: 20px;
}

.article-tags {
    margin-bottom: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.article-tags a {
    display: inline-block;
    background: #f0f7ff;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 14px;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-navigation a {
    max-width: 45%;
}

/* 帮助中心样式 */
.help-search {
    margin-bottom: 40px;
}

.help-search input {
    width: 100%;
    max-width: 600px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.help-search button {
    padding: 12px 20px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0066cc;
}

.category ul {
    list-style: none;
}

.category li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.category li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-articles, 
.contact-support {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.popular-articles h2, 
.contact-support h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0066cc;
}

.popular-articles ul {
    list-style: none;
}

.popular-articles li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.popular-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* 页脚样式 */
.footer {
    background: #222;
    color: #aaa;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 15px;
}

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

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

.footer-section a {
    color: #aaa;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .main-nav {
        margin-top: 15px;
    }
    
    .main-nav li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .article-navigation a {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .article-navigation a:last-child {
        margin-bottom: 0;
    }
}
/* 帮助中心特定样式 */
.help-tabs {
    margin-top: 40px;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #0066cc;
}

.tab-btn.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

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

/* 平台选项卡样式 */
.platform-nav {
    display: flex;
    margin-bottom: 20px;
}

.platform-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    border: none;
    margin-right: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.platform-btn:hover {
    background: #e0e0e0;
}

.platform-btn.active {
    background: #0066cc;
    color: white;
}

.platform-content {
    display: none;
}

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

/* 分步指导样式 */
.step-by-step {
    margin: 30px 0;
}

.step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    margin-bottom: 10px;
    color: #0066cc;
}

.step-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-top: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.note, .warning {
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 14px;
}

.note {
    background: #e6f2ff;
    border-left: 3px solid #0066cc;
}

.warning {
    background: #fff3e0;
    border-left: 3px solid #ff9800;
}

/* 使用教程部分样式 */
.usage-section {
    margin-bottom: 40px;
}

.usage-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-card h4 {
    color: #0066cc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-card h4 i {
    margin-right: 10px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.setting-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.setting-item h4 {
    color: #0066cc;
    margin-bottom: 10px;
}

/* 故障排除样式 */
.trouble-section {
    margin-bottom: 40px;
}

.solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.solution {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.solution h4 {
    color: #0066cc;
    margin-bottom: 10px;
}

.error-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.error-table th, .error-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.error-table th {
    background: #f5f5f5;
    font-weight: 500;
}

.diagnostic-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.diagnostic-step {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.diagnostic-step h4 {
    color: #0066cc;
    margin-bottom: 10px;
}

/* 常见问题样式 */
.faq-category {
    margin-bottom: 30px;
}

.faq-category h3 {
    color: #0066cc;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.faq-item {
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: "+";
    font-size: 20px;
}

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

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

.faq-answer.show {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* 联系支持部分 */
.contact-support-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-method {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-method h3 {
    color: #0066cc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-method h3 i {
    margin-right: 10px;
}

/* 图标样式 */
.icon-download:before { content: "↓"; }
.icon-guide:before { content: "📖"; }
.icon-fix:before { content: "🔧"; }
.icon-question:before { content: "?"; }
.icon-support:before { content: "💬"; }
.icon-email:before { content: "✉"; }
.icon-chat:before { content: "💬"; }
.icon-community:before { content: "👥"; }
.icon-speed:before { content: "⚡"; }
.icon-globe:before { content: "🌎"; }
.icon-lock:before { content: "🔒"; }

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 0 auto;
        text-align: center;
        padding: 10px 5px;
        font-size: 14px;
    }
    
    .platform-nav {
        flex-wrap: wrap;
    }
    
    .platform-btn {
        margin-bottom: 10px;
    }
}