/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* 基础样式 */
body {
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto; /* 居中布局 */
}

/* 导航栏样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a.active, .nav a:hover {
    color: #4285F4; /* 谷歌蓝色 */
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background-color: #4285F4; /* 谷歌蓝色 */
    color: #fff;
}

.primary-btn:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: #FBBC05; /* 谷歌橙色/黄色 */
    color: #fff;
    margin-left: 15px;
}

.secondary-btn:hover {
    background-color: #f9ab00;
    transform: translateY(-2px);
}

/* 英雄区样式 */
.hero {
    background: linear-gradient(135deg, #4285F4 0%, #3367d6 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 产品介绍区样式 */
.features {
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #4285F4;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #4285F4;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* 文章区样式 */
.articles {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.articles h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    color: #4285F4;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.article-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.article-card h4 {
    color: #4285F4;
    margin-bottom: 10px;
}

.article-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 版本更新区样式 */
.updates {
    padding: 80px 0;
}

.updates h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    color: #4285F4;
}

.updates-list {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.update-item .version {
    background-color: #FBBC05;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 15px;
    font-weight: 600;
}

.update-item .date {
    color: #999;
    margin-right: 15px;
}

.update-item p {
    flex: 1;
    color: #666;
}

/* 下载页样式 */
.download-section {
    padding: 80px 0;
    text-align: center;
}

.download-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4285F4;
}

.download-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

/* 三端下载按钮横置排列 */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: #4285F4;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    min-width: 180px;
}

.download-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.download-btn:hover {
    background-color: #3367d6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mac-btn {
    background-color: #34A853; /* 谷歌绿色 */
}

.mac-btn:hover {
    background-color: #2d8f46;
}

.android-btn {
    background-color: #FBBC05; /* 谷歌黄色 */
}

.android-btn:hover {
    background-color: #f9ab00;
}

/* 产品图片样式 */
.product-image {
    margin-bottom: 40px;
}

.product-image img {
    max-width: 80%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.download-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.download-info h3 {
    color: #4285F4;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.download-info ul {
    list-style: none;
}

.download-info li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.download-info li:last-child {
    border-bottom: none;
}

/* 404页面样式 */
.error-page {
    padding: 80px 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-content i {
    font-size: 4rem;
    color: #FBBC05;
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 5rem;
    color: #4285F4;
    margin-bottom: 10px;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.error-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

/* 页脚样式 */
.footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links ul {
    display: flex;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4285F4;
}

.footer p {
    color: #999;
    font-size: 0.9rem;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features h2, .articles h2, .updates h2 {
        font-size: 1.8rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .error-content h1 {
        font-size: 3rem;
    }
    
    .error-content h2 {
        font-size: 1.5rem;
    }
}