/* 全局重置 & 基础样式 谷歌SEO友好 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/* 高清渲染 & 少女粉主色调 */
html {
  scroll-behavior: smooth;
  image-rendering: crisp-edges;
  -webkit-font-smoothing: antialiased;
}

:root {
  --primary: #ff8fab; /* 主少女粉 */
  --secondary: #ffc2d1;
  --light: #fff0f3;
  --dark: #333333;
  --tech: #ffffff; /* 科技白 */
  --shadow: 0 8px 30px rgba(255, 143, 171, 0.2);
}

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* 导航栏 */
header {
  background: var(--tech);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}
.logo img {
  height: 40px;
  width: auto;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s;
}
.nav-menu a:hover {
  color: var(--primary);
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.btn:hover {
  background: #ff6b9d;
  transform: translateY(-3px);
}

/* 容器 & 通用布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 40px;
  position: relative;
}
.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--secondary);
  display: block;
  margin: 10px auto;
  border-radius: 2px;
}

/* 产品卡片 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-info {
  padding: 20px;
}
.product-info h3 {
  color: var(--primary);
  margin-bottom: 10px;
}
.product-info p {
  font-size: 14px;
  color: #666;
}

/* 版本更新 */
.update-list {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.update-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--secondary);
}
.update-item:last-child {
  border: none;
}
.update-item h4 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 页脚 */
footer {
  background: var(--tech);
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
  box-shadow: var(--shadow);
}
footer p {
  color: #666;
  font-size: 14px;
}

/* 404页面 */
.page-404 {
  text-align: center;
  padding: 100px 20px;
}
.page-404 h1 {
  font-size: 120px;
  color: var(--primary);
}
.page-404 h2 {
  font-size: 30px;
  margin-bottom: 20px;
}