/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0088cc;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0088cc;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #0088cc 0%, #005599 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background-color: #fff;
    color: #0088cc;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 特色区域 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 48px;
    color: #0088cc;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
}

/* 内容区域通用样式 */
.content-section {
    padding: 80px 0;
    background-color: #fff;
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.content-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 40px;
    color: #444;
}

.content-section p {
    margin-bottom: 20px;
    color: #666;
}

.content-section ul, .content-section ol {
    margin-bottom: 20px;
    margin-left: 20px;
    color: #666;
}

.content-section li {
    margin-bottom: 10px;
}

/* 下载页面样式 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.download-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.download-card i {
    font-size: 40px;
    color: #0088cc;
    margin-bottom: 15px;
}

.download-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 0;
}

/* 版本更新页面样式 */
.update-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.update-item h3 {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.update-date {
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

/* FAQ页面样式 */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    cursor: pointer;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: #666;
    padding-left: 20px;
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    margin-left: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .content-section h2 {
        font-size: 30px;
    }
    
    .content-section h3 {
        font-size: 22px;
    }
    
    nav {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .nav-links {
        margin-top: 15px;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .cta-btn {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .features h2, .content-section h2 {
        font-size: 26px;
    }
    
    .feature-card, .download-card {
        padding: 20px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card, .download-card, .update-item, .faq-item {
    animation: fadeIn 0.5s ease-out;
}

/* Font Awesome 替代样式（如果无法加载外部资源） */
.icon {
    width: 40px;
    height: 40px;
    background-color: #0088cc;
    display: inline-block;
    border-radius: 50%;
    margin-bottom: 15px;
}

.icon::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    margin-top: 10px;
    margin-left: 10px;
}