/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* 绚丽多彩的渐变背景和基础样式 */
body {
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: #333;
    min-height: 100vh;
}

/* 背景渐变动画 */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #4285F4;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #EA4335;
}

/* 英雄区域样式 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.cta-button {
    display: inline-block;
    background: #4285F4;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
}

.cta-button:hover {
    background: #3367d6;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(66, 133, 244, 0.4);
}

/* 浮动产品图片样式 */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-image {
    height: 300px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 产品介绍区域 */
.product-intro {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #4285F4;
    text-align: center;
}

.product-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 1000px;
    margin: 0 auto 30px;
    text-align: center;
}

/* 文章列表样式 */
.articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #4285F4;
}

.article-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 下载页面样式 */
.download-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.download-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #4285F4;
}

.download-button {
    display: inline-block;
    background: #34A853;
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0;
    transition: all 0.3s;
    box-shadow: 0 6px 15px rgba(52, 168, 83, 0.3);
}

.download-button:hover {
    background: #2d8f46;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 168, 83, 0.4);
}

/* 404页面样式 */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    background: linear-gradient(135deg, #4285F4, #EA4335);
    color: white;
}

.error-page h1 {
    font-size: 150px;
    margin-bottom: 20px;
}

.error-page h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.error-page p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
}

.back-home {
    background: white;
    color: #4285F4;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
}

.back-home:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

/* 页脚样式 */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px 0;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
}

footer p {
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .articles {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .download-section {
        padding: 30px;
    }
    
    .error-page h1 {
        font-size: 100px;
    }
    
    .error-page h2 {
        font-size: 36px;
    }
}