/* ===================================
   极码客官方网站 - 全局样式 (浅色简约版)
   =================================== */

/* CSS 变量定义 - 浅色主题 */
:root {
  /* 色彩系统 - 浅色简约 */
  --primary: #2563EB;
  --primary-light: #3B82F6;
  --primary-dark: #1D4ED8;
  --accent: #10B981;
  --accent-light: #34D399;

  /* 浅色背景 */
  --bg-main: #FAFBFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-section: #F1F5F9;

  /* 文字颜色 */
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;

  /* 边框 */
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
  --gradient-hero: linear-gradient(180deg, #FAFBFC 0%, #F1F5F9 100%);
  --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* 间距 */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* 动画 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* 导航栏背景 */
  --navbar-bg: rgba(250, 251, 252, 0.85);
  --navbar-scrolled-bg: rgba(250, 251, 252, 0.95);

  /* 网格颜色 */
  --grid-color: 37, 99, 235;
}

/* 深色主题 */
[data-theme="dark"] {
  /* 色彩系统 - 深色 */
  --primary: #0066FF;
  --primary-light: #3385FF;
  --primary-dark: #0052CC;
  --accent: #00D4FF;
  --accent-light: #33DDFF;

  /* 深色背景 */
  --bg-main: #0F0F1A;
  --bg-card: #1A1A2E;
  --bg-card-hover: #252542;
  --bg-section: #1A1A2E;

  /* 文字颜色 */
  --text-primary: #FFFFFF;
  --text-secondary: #8B8B9E;
  --text-muted: #5A5A6E;

  /* 边框 */
  --border-color: #2A2A3E;
  --border-light: #3A3A4E;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  --gradient-hero: linear-gradient(180deg, #0F0F1A 0%, #1A1A2E 100%);
  --gradient-card: linear-gradient(145deg, #1A1A2E 0%, #252542 100%);

  /* 导航栏背景 */
  --navbar-bg: rgba(15, 15, 26, 0.85);
  --navbar-scrolled-bg: rgba(15, 15, 26, 0.98);

  /* 网格颜色 */
  --grid-color: 0, 102, 255;
}

/* 重置样式 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-main);
  overflow-x: hidden;
  position: relative;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-section);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* 链接样式 */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--accent);
}

/* 容器 */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-accent:hover {
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

/* 标题样式 */
h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}

h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  color: var(--text-primary);
}

.section-title p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================
   导航栏
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 14px 0;
  background: var(--navbar-scrolled-bg);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 20px;
}

/* 主题切换按钮 */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-left: 16px;
  font-size: 20px;
}

.theme-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.theme-toggle:hover .theme-icon {
  filter: brightness(10);
}

.theme-icon {
  font-size: 18px;
  transition: transform var(--transition-normal);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

/* ===================================
   页脚
   =================================== */
.footer {
  background: #FFFFFF;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.footer-column h4 {
  color: var(--text-primary);
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition-normal);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ===================================
   网格背景效果
   =================================== */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.grid-canvas {
  width: 100%;
  height: 100%;
}

/* ===================================
   Hero 区域
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 24px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 500;
  animation: fadeInDown 0.6s ease;
}

.hero h1 {
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat h3 {
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

/* 装饰性图形 */
.hero-decoration {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.4;
}

.decoration-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.decoration-dot:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.decoration-dot:nth-child(2) { top: 40%; left: 60%; animation-delay: 1s; }
.decoration-dot:nth-child(3) { top: 60%; left: 25%; animation-delay: 2s; }
.decoration-dot:nth-child(4) { top: 30%; left: 70%; animation-delay: 0.5s; }
.decoration-dot:nth-child(5) { top: 70%; left: 55%; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===================================
   功能卡片
   =================================== */
.features {
  padding: var(--section-padding);
  background: var(--bg-main);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h4 {
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ===================================
   产品展示
   =================================== */
.products-preview {
  padding: var(--section-padding);
  background: #FFFFFF;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.product-card h4 {
  color: var(--text-primary);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.product-link:hover {
  color: var(--accent);
}

.product-link span {
  transition: transform var(--transition-normal);
}

/* 产品标签 */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.product-link:hover span {
  transform: translateX(4px);
}

/* ===================================
   优势展示
   =================================== */
.advantages {
  padding: var(--section-padding);
  background: var(--bg-section);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 30px 20px;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  border: 2px solid var(--border-color);
  transition: all var(--transition-normal);
}

.advantage-item:hover .advantage-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.advantage-item h4 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 14px;
  margin: 0;
}

/* ===================================
   CTA 区域
   =================================== */
.cta-section {
  padding: 80px 0;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 30% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ===================================
   页面标题
   =================================== */
.page-header {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb span {
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--text-primary);
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  max-width: 600px;
}

/* ===================================
   产品中心页面
   =================================== */
.products-section {
  padding: 80px 0;
  background: var(--bg-main);
}

.products-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

/* ===================================
   产品详情页
   =================================== */
.product-detail {
  padding: 60px 0 100px;
  background: var(--bg-main);
}

.product-detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.product-detail-icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
}

.product-detail-info h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.product-detail-info .tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 20px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 500;
}

.product-detail-info > p {
  font-size: 18px;
  margin-bottom: 30px;
}

.product-actions {
  display: flex;
  gap: 16px;
}

.product-features {
  margin-bottom: 80px;
}

.product-features h2 {
  margin-bottom: 40px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.feature-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-item h4 {
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-item p {
  font-size: 14px;
  margin: 0;
}

.product-scenarios {
  margin-bottom: 80px;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: all var(--transition-normal);
}

.scenario-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.scenario-card h4 {
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scenario-card p {
  font-size: 14px;
  margin: 0;
}

/* ===================================
   关于我们页面
   =================================== */
.about-section {
  padding: 60px 0 100px;
  background: var(--bg-main);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.about-intro h2 {
  margin-bottom: 24px;
}

.about-image {
  width: 100%;
  height: 400px;
  background: var(--gradient-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}

.timeline {
  margin-bottom: 100px;
}

.timeline h2 {
  text-align: center;
  margin-bottom: 60px;
}

.timeline-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--border-color);
}

.timeline-item {
  display: flex;
  gap: 60px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg-main);
}

.timeline-content {
  flex: 1;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.timeline-content h4 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  margin: 0;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-member {
  text-align: center;
}

.team-avatar {
  width: 110px;
  height: 110px;
  background: var(--gradient-card);
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  transition: all var(--transition-normal);
}

.team-member:hover .team-avatar {
  border-color: var(--primary);
  transform: scale(1.05);
}

.team-member h4 {
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-member p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* ===================================
   联系我们页面
   =================================== */
.contact-section {
  padding: 60px 0 100px;
  background: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--text-primary);
  margin-bottom: 4px;
  font-size: 16px;
}

.contact-item p {
  margin: 0;
  font-size: 15px;
}

.contact-form-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* ===================================
   动画定义
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 1024px) {
  :root {
    --container-width: 960px;
  }

  h1 { font-size: 44px; }
  h2 { font-size: 36px; }

  .features-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .product-detail-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-detail-icon {
    margin: 0 auto;
  }

  .product-actions {
    justify-content: center;
  }

  .features-list,
  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .timeline-list::before {
    left: 20px;
  }

  .timeline-item::after {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    padding-left: 50px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 100%;
    --section-padding: 60px 0;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }

  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    justify-content: center;
    gap: 30px;
  }

  .hero-stat h3 {
    font-size: 32px;
  }

  .hero-decoration {
    display: none;
  }

  .features-grid,
  .products-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .products-filters {
    flex-wrap: wrap;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
