/* 基础样式 */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --white: #ffffff;
    --black: #000000;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    text-decoration: underline;
}

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;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn.primary:hover {
    background-color: #3a5bef;
    text-decoration: none;
}

.btn.secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn.secondary:hover {
    background-color: #5a6268;
    text-decoration: none;
}

.btn.outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

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

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* 英雄区域 */
.hero {
    padding: 80px 0;
    background-color: #f5f7ff;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* 特性区域 */
.features {
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--dark-color);
}

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

.feature-item {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* 资讯区域 */
.news-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
}

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

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

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

.news-item h3 a {
    color: var(--dark-color);
}

.news-item h3 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.news-item .meta {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

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

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

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

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

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

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

.footer-section ul li a {
    color: #adb5bd;
}

.footer-section ul li a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 14px;
}

/* 页面头部 */
.page-header {
    padding: 60px 0;
    background-color: #f5f7ff;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.page-header p {
    font-size: 18px;
    color: var(--gray);
}

.page-header .meta {
    color: var(--gray);
    font-size: 16px;
}

/* 资讯列表页 */
.news-list {
    padding: 60px 0;
}

.news-list .news-item {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-list .news-item h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.news-list .news-item h2 a {
    color: var(--dark-color);
}

.news-list .news-item h2 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.news-list .news-item .meta {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-list .news-item p {
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-weight: 500;
    color: var(--primary-color);
}

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

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    color: var(--dark-color);
    background-color: var(--light-gray);
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 资讯详情页 */
.article-content {
    padding: 60px 0;
}

.article-content article {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 28px;
    margin: 30px 0 20px;
    color: var(--dark-color);
}

.article-content h3 {
    font-size: 24px;
    margin: 25px 0 15px;
    color: var(--dark-color);
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

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

.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.tags {
    display: flex;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--light-gray);
    border-radius: 20px;
    font-size: 14px;
    color: var(--gray);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-buttons span {
    color: var(--gray);
}

.social-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--gray);
    text-align: center;
    line-height: 36px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.related-articles {
    margin-top: 60px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.related-articles h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

.related-articles ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

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

.related-articles ul li a {
    color: var(--dark-color);
}

.related-articles ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 下载页 */
.download-options {
    padding: 60px 0;
}

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

.platform-card {
    padding: 30px;
    text-align: center;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-10px);
}

.platform-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.platform-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.platform-card p {
    margin-bottom: 20px;
    color: var(--gray);
}

.platform-card .version {
    font-size: 14px;
    color: var(--gray);
    margin-top: 15px;
}

.download-instructions {
    margin-bottom: 60px;
}

.download-instructions h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
}

.instruction-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.faq {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.faq h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-size: 18px;
    cursor: pointer;
    color: var(--dark-color);
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.faq-question:hover {
    background-color: #f5f7ff;
}

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

.faq-answer p {
    padding: 0 0 20px;
}

.faq-item.active .faq-question {
    background-color: #f5f7ff;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .feature-grid,
    .news-grid,
    .platforms {
        grid-template-columns: 1fr;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .share-buttons {
        justify-content: center;
    }
}