/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 颜色变量 - 科技风灰蓝配色 */
:root {
  --primary-blue: #258bf7;       /* 主蓝色 */
  --dark-blue: #165dff;          /* 深蓝 */
  --light-blue: #e8f3ff;         /* 浅蓝 */
  --gray-100: #f5f7fa;           /* 浅灰 */
  --gray-200: #e5e6eb;           /* 中浅灰 */
  --gray-300: #c9cdd4;           /* 中灰 */
  --gray-800: #333647;           /* 深灰 */
  --gray-900: #1d2129;           /* 近黑灰 */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

body {
  background-color: var(--gray-100);
  color: var(--gray-800);
  line-height: 1.6;
}

/* 通用布局 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
.header {
  background-color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-blue);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-800);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-blue);
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background-color: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
}

.btn-icon {
  margin-right: 8px;
  font-size: 18px;
}

/* 英雄区域 */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light-blue) 0%, #fff 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary-blue);
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-800);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-img {
  flex: 1;
  text-align: center;
}

.hero-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* 产品介绍区域 */
.product-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--gray-900);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-blue);
  margin: 20px auto 0;
  border-radius: 2px;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.product-card h3 {
  color: var(--dark-blue);
  font-size: 20px;
  margin-bottom: 15px;
}

.product-card p {
  color: var(--gray-800);
  line-height: 1.7;
}

/* 版本更新区域 */
.version-section {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.version-list {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.version-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.version-item:last-child {
  border-bottom: none;
}

.version-info {
  display: flex;
  align-items: center;
}

.version-tag {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-right: 15px;
}

.version-desc {
  font-size: 16px;
}

.version-date {
  color: var(--gray-300);
  font-size: 14px;
}

/* 下载页面样式 */
.download-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  color: #fff;
}

.download-title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
}

.download-desc {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.download-content {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
}

.download-img {
  flex: 1;
}

.download-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.download-options {
  flex: 1;
}

.download-option {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.download-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 24px;
  color: var(--primary-blue);
}

.download-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.download-text p {
  color: var(--gray-800);
  margin-bottom: 10px;
}

/* 404页面样式 */
.error-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.error-message {
  font-size: 24px;
  color: var(--gray-800);
  margin-bottom: 30px;
}

/* 页脚样式 */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  margin-right: 40px;
}

.footer-col:last-child {
  margin-right: 0;
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}

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

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

.footer-col a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-blue);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--gray-800);
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero-content, .download-content {
    flex-direction: column;
    text-align: center;
  }
  
  .product-cards {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .download-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
  }
  
  .nav-links {
    margin-top: 20px;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-col {
    margin-right: 0;
    margin-bottom: 30px;
  }
}