/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

/* 变量定义 */
:root {
  --google-orange: #FBBC05;
  --google-blue: #4285F4;
  --google-red: #EA4335;
  --google-green: #34A853;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --dark-gray: #5F6368;
}

/* 基础样式 */
body {
  background-color: var(--white);
  color: #202124;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--google-blue);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--google-blue);
}

/* 首页英雄区 */
.hero-section {
  padding: 60px 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--google-blue);
}

.hero-desc {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--dark-gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.product-img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 下载按钮区域 */
.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
}

.btn-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  padding: 20px;
  background-color: var(--google-blue);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.btn-primary:hover {
  transform: translateY(-5px);
}

.btn-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.btn-text {
  font-weight: 500;
  margin-bottom: 5px;
}

.btn-desc {
  font-size: 14px;
  opacity: 0.9;
}

.btn-group {
  display: flex;
  gap: 20px;
}

/* 产品介绍区域 */
.product-section {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--google-blue);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 20px;
}

.article-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--google-blue);
}

.article-desc {
  color: var(--dark-gray);
  font-size: 14px;
  line-height: 1.8;
}

/* 版本更新区域 */
.update-section {
  padding: 60px 0;
}

.updates-list {
  max-width: 800px;
  margin: 0 auto;
}

.update-item {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.update-version {
  font-weight: 700;
  color: var(--google-orange);
}

.update-desc {
  flex: 1;
  margin: 0 20px;
}

.update-date {
  color: var(--dark-gray);
  font-size: 14px;
}

/* 下载页样式 */
.download-page {
  padding: 60px 0;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.download-card {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: var(--light-gray);
}

.download-card-icon {
  font-size: 48px;
  color: var(--google-blue);
  margin-bottom: 20px;
}

.download-card-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.download-card-desc {
  margin-bottom: 25px;
  color: var(--dark-gray);
}

.download-card-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--google-orange);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.download-card-btn:hover {
  background-color: #f5a623;
}

/* 404页面样式 */
.error-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-size: 120px;
  color: var(--google-red);
  margin-bottom: 20px;
}

.error-message {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--dark-gray);
}

.error-btn {
  padding: 12px 30px;
  background-color: var(--google-blue);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

/* 页脚样式 */
footer {
  padding: 40px 0;
  background-color: var(--light-gray);
  margin-top: 80px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-size: 14px;
}

.copyright {
  color: var(--dark-gray);
  font-size: 14px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .download-options {
    grid-template-columns: 1fr;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .hero-title {
    font-size: 36px;
  }
}