/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 颜色变量定义 */
:root {
  --sky-blue: #1688f0;
  --sky-blue-dark: #0f6ecd;
  --mystery-black: #121212;
  --cream-white: #f8f9fa;
  --gray-light: #e9ecef;
  --gray: #6c757d;
  --shadow: 0 4px 12px rgba(22, 136, 240, 0.15);
  --transition: all 0.3s ease;
}

/* 基础样式 */
body {
  background-color: var(--cream-white);
  color: var(--mystery-black);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--sky-blue);
  transition: var(--transition);
}

a:hover {
  color: var(--sky-blue-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
.header {
  background-color: var(--mystery-black);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow);
}

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

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

.logo img {
  height: 40px;
}

.logo-text {
  color: var(--cream-white);
  font-size: 22px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--cream-white);
  font-size: 16px;
  font-weight: 500;
}

.nav-link.active {
  color: var(--sky-blue);
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--sky-blue);
  color: var(--cream-white);
}

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

/* 首页英雄区 */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--mystery-black) 0%, #1a1a1a 100%);
  color: var(--cream-white);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--sky-blue);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--gray-light);
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(22, 136, 240, 0.3);
}

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

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

.section-title span {
  color: var(--sky-blue);
}

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

.intro-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(22, 136, 240, 0.2);
}

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

.intro-card p {
  color: var(--mystery-black);
  font-size: 16px;
}

/* 下载页样式 */
.download-page {
  padding: 60px 0;
}

.download-card {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}

.download-options {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.download-option {
  flex: 1;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.download-option h3 {
  margin-bottom: 15px;
  color: var(--mystery-black);
}

/* 文章列表 */
.articles {
  margin: 40px 0;
}

.article-item {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
}

.article-item h4 {
  color: var(--sky-blue);
  margin-bottom: 10px;
}

/* 版本更新区域 */
.version-updates {
  margin: 60px 0;
}

.update-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: white;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

.update-version {
  font-weight: 700;
  color: var(--sky-blue);
}

.update-date {
  color: var(--gray);
}

/* 404页面样式 */
.error-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--mystery-black);
  color: var(--cream-white);
  text-align: center;
}

.error-page h1 {
  font-size: 120px;
  color: var(--sky-blue);
  margin-bottom: 20px;
}

.error-page h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.error-page p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--gray-light);
}

/* 页脚样式 */
.footer {
  background-color: var(--mystery-black);
  color: var(--cream-white);
  padding: 40px 0 20px;
  margin-top: 80px;
}

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

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

.footer-col h3 {
  color: var(--sky-blue);
  margin-bottom: 20px;
  font-size: 18px;
}

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

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

.footer-col a {
  color: var(--gray-light);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
  color: var(--gray);
}

/* 响应式适配 */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .intro-cards {
    grid-template-columns: 1fr;
  }
  
  .download-options {
    flex-direction: column;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}