/* =========================================
   CSS 重置与基础设置
   ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body {
  font-family: 'Poppins', -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--darker-bg);
  overflow-x: hidden;
}

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

section {
  padding: 100px 0;
  position: relative;
}

/* =========================================
   CSS 变量定义
   ========================================= */

:root {
  /* 主色调 */
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  
  /* 渐变色 */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --tech-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  /* 背景色 */
  --dark-bg: #0f172a;
  --darker-bg: #151a30;
  --card-bg: rgba(255, 255, 255, 0.05);
  
  /* 文字色 */
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  
  /* 交互色 */
  --accent: var(--primary-color);
  --accent-hover: var(--primary-dark);
  
  /* 阴影 */
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  --glow: 0 0 20px rgba(59, 130, 246, 0.5);
  
  /* 过渡效果 */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

.light-mode {
  --dark-bg: #f8fafc;
  --darker-bg: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.9);
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* =========================================
   标题样式系统
   ========================================= */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

.section-title h2 {
  padding-bottom: 30px;
  font-size: 3.2rem;
  background: var(--text-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #667eea, #f093fb, transparent);
  border-radius: 2px;
  opacity: 0.8;
  transition: var(--transition);
}

.section-title h2:hover::after {
  width: 120px;
  opacity: 1;
}

.section-title p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* =========================================
   按钮系统
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-slow);
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

/* 按钮变体 */
.btn-primary { background: var(--primary-gradient); color: white; box-shadow: var(--shadow); }
.btn-secondary { background: var(--secondary-gradient); color: white; box-shadow: var(--shadow); }
.btn-accent { background: var(--tech-gradient); color: white; box-shadow: var(--shadow); }
.btn-success { background: var(--success-gradient); color: white; box-shadow: var(--shadow); font-weight: 600; }
.btn-warning { background: var(--warning-gradient); color: white; box-shadow: var(--shadow); }
.btn-free { 
  background: var(--success-gradient); 
  color: white; 
  box-shadow: var(--shadow); 
  font-weight: 600; 
  padding: 8px 16px; 
  font-size: 0.9rem; 
  animation: pulse 2s infinite; 
}

.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); }
.btn-secondary:hover { background: var(--accent); transform: translateY(-3px); box-shadow: var(--glow); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 242, 254, 0.3); }
.btn-success:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3); }
.btn-warning:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3); }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* =========================================
   导航栏样式
   ========================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-slow);
  padding: 20px 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
}

.light-mode header { 
  background: rgba(248, 250, 252, 0.9); 
}

header.scrolled { 
  background: rgba(10, 15, 28, 0.95); 
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); 
  padding: 15px 0; 
}

.light-mode header.scrolled { 
  background: rgba(255, 255, 255, 0.95); 
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.light-mode .logo { color: var(--text-primary); }
.light-mode .logo i { color: #fff; }

.logo-icon {
  width: 40px;
  height: 40px; 
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
  font-size: 14px;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-links a.active { color: var(--accent); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(180deg);
}

.light-mode .theme-toggle:hover { 
  background: rgba(0, 0, 0, 0.05); 
}

/* =========================================
   英雄区域样式
   ========================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.light-mode .hero {
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
      radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-content {
  max-width: 700px;
  z-index: 2;
  position: relative;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeInUp 1s ease 0.4s both;
}

.download-count {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.download-count i { color: var(--accent); }

/* 科技线条效果 */
.tech-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.tech-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
  height: 1px;
  animation: techLineMove 8s linear infinite;
}

.tech-line:nth-child(1) { top: 20%; width: 100px; animation-delay: 0s; animation-duration: 12s; }
.tech-line:nth-child(2) { top: 40%; width: 200px; animation-delay: 2s; animation-duration: 10s; }
.tech-line:nth-child(3) { top: 60%; width: 150px; animation-delay: 4s; animation-duration: 15s; }
.tech-line:nth-child(4) { top: 80%; width: 180px; animation-delay: 6s; animation-duration: 8s; }
.tech-line:nth-child(5) { top: 30%; width: 120px; right: 0; animation-delay: 1s; animation-duration: 14s; }
.tech-line:nth-child(6) { top: 70%; width: 160px; right: 0; animation-delay: 3s; animation-duration: 11s; }

@keyframes techLineMove {
  0% { transform: translateX(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(100vw); opacity: 0; }
}

/* 数据流效果 */
.data-stream {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.data-point {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: dataFlow 6s linear infinite;
  box-shadow: 0 0 10px var(--primary-color);
}

.data-point:nth-child(1) { top: 25%; left: 10%; animation-delay: 0s; }
.data-point:nth-child(2) { top: 45%; left: 15%; animation-delay: 1s; }
.data-point:nth-child(3) { top: 65%; left: 20%; animation-delay: 2s; }
.data-point:nth-child(4) { top: 35%; left: 85%; animation-delay: 3s; }
.data-point:nth-child(5) { top: 55%; left: 90%; animation-delay: 4s; }
.data-point:nth-child(6) { top: 75%; left: 95%; animation-delay: 5s; }

@keyframes dataFlow {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-20px) scale(1.5); }
  90% { opacity: 1; }
  100% { transform: translateY(-40px) scale(1); opacity: 0; }
}

/* 浮动元素 */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  animation: floatEnhanced 8s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .floating-element {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes floatEnhanced {
  0%, 100% { 
      transform: translate(0, 0) rotate(0deg) scale(1);
      opacity: 0.7;
  }
  25% { 
      transform: translate(20px, -30px) rotate(90deg) scale(1.1);
      opacity: 0.9;
  }
  50% { 
      transform: translate(-15px, 20px) rotate(180deg) scale(0.9);
      opacity: 0.6;
  }
  75% { 
      transform: translate(25px, 15px) rotate(270deg) scale(1.05);
      opacity: 0.8;
  }
}

.floating-element:nth-child(1) { width: 120px; height: 120px; top: 15%; left: 5%; background: rgba(102, 126, 234, 0.15); animation-duration: 12s; }
.floating-element:nth-child(2) { width: 180px; height: 180px; top: 65%; left: 85%; background: rgba(240, 147, 251, 0.15); animation-duration: 15s; animation-delay: 2s; }
.floating-element:nth-child(3) { width: 90px; height: 90px; top: 75%; left: 15%; background: rgba(79, 172, 254, 0.15); animation-duration: 10s; animation-delay: 4s; }
.floating-element:nth-child(4) { width: 140px; height: 140px; top: 35%; left: 75%; background: rgba(67, 233, 123, 0.15); animation-duration: 14s; animation-delay: 1s; }
.floating-element:nth-child(5) { width: 110px; height: 110px; top: 65%; left: 55%; background: rgba(250, 112, 154, 0.15); animation-duration: 11s; animation-delay: 3s; }
.floating-element:nth-child(6) { width: 80px; height: 80px; top: 25%; left: 90%; background: rgba(168, 237, 234, 0.15); animation-duration: 13s; animation-delay: 5s; }

.hero:hover .floating-element { 
  animation-duration: 6s; 
  opacity: 0.8; 
}

/* 右侧科技面板 */
.tech-panel {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  height: 450px;
  border-radius: 100%;
  backdrop-filter: blur(10px);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: panelFloat 6s ease-in-out infinite;
}

.light-mode .tech-panel {
  background: rgba(59, 130, 246, 0.02);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

@keyframes panelFloat {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  33% { transform: translateY(-52%) translateX(5px) rotate(1deg); }
  66% { transform: translateY(-48%) translateX(-5px) rotate(-1deg); }
}

.tech-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 100%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.71) 0%, transparent 50%);
  animation: panelRotate 20s linear infinite;
}

@keyframes panelRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.panel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-primary);
}

.panel-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: iconBounce 2s ease-in-out infinite;
}

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

.panel-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

/* =========================================
   卡片网格系统
   ========================================= */

.features-grid,
.philosophy-grid,
.team-grid,
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* 通用卡片样式 */
.feature-card,
.philosophy-card,
.tech-card,
.team-card {
  background: var(--card-bg);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.light-mode .feature-card,
.light-mode .philosophy-card,
.light-mode .tech-card,
.light-mode .team-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

/* 卡片悬停效果 */
.feature-card:hover,
.philosophy-card:hover,
.tech-card:hover,
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.light-mode .feature-card:hover,
.light-mode .philosophy-card:hover,
.light-mode .tech-card:hover,
.light-mode .team-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
/* 卡片顶部装饰条 - 单双数上下间隔 */
.feature-card::before,
.philosophy-card::before,
.tech-card::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* 单数卡片 - 装饰条在顶部 */
.feature-card:nth-child(odd)::before,
.philosophy-card:nth-child(odd)::before,
.tech-card:nth-child(odd)::before {
  top: 0;
  bottom: auto;
  height: 0;
}

/* 双数卡片 - 装饰条在底部 */
.feature-card:nth-child(even)::before,
.philosophy-card:nth-child(even)::before,
.tech-card:nth-child(even)::before {
  top: auto;
  bottom: 0;
}

/* 悬停效果 */
.feature-card:hover::before,
.philosophy-card:hover::before,
.tech-card:hover::before { 
  opacity: 1; 
}

/* 如果需要动画效果，可以添加 */
.feature-card::before,
.philosophy-card::before,
.tech-card::before {
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-color), 
    var(--primary-light), 
    var(--primary-color), 
    transparent
  );
  background-size: 200% 100%;
  animation: flowLine 3s linear infinite;
}

@keyframes flowLine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.feature-card:hover::before,
.philosophy-card:hover::before,
.tech-card:hover::before { 
  opacity: 1; 
}

/* 卡片光扫效果 */
.feature-card::after,
.philosophy-card::after,
.tech-card::after,
.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.feature-card:hover::after,
.philosophy-card:hover::after,
.tech-card:hover::after,
.team-card:hover::after {
  left: 100%;
}

/* 卡片内容区域 */
.feature-card,
.philosophy-card,
.tech-card {
  padding: 40px 30px;
  text-align: center;
}

.team-card { 
  display: flex; 
  flex-direction: column; 
}

.team-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 70px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
}

.team-content { 
  padding: 30px; 
  position: relative; 
  z-index: 2; 
}

/* 图标样式 */
.feature-icon,
.philosophy-icon,
.tech-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 40px;
  color: white;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.light-mode .feature-icon,
.light-mode .philosophy-icon,
.light-mode .tech-icon {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 图标悬停效果 */
.feature-card:hover .feature-icon,
.philosophy-card:hover .philosophy-icon,
.tech-card:hover .tech-icon,
.team-card:hover .team-img i {
  transform: scale(1.1) rotate(5deg);
  transition: var(--transition-slow);
}

/* 卡片内容文本 */
.feature-card h3,
.philosophy-card h3,
.tech-card h3,
.team-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.light-mode .feature-card h3,
.light-mode .philosophy-card h3,
.light-mode .tech-card h3,
.light-mode .team-content h3 { 
  color: #1f2937; 
}

.feature-card p,
.philosophy-card p,
.tech-card p,
.team-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.light-mode .feature-card p,
.light-mode .philosophy-card p,
.light-mode .tech-card p,
.light-mode .team-content p { 
  color: #6b7280; 
}

/* 多彩渐变分配 */
.feature-card:nth-child(1) .feature-icon,
.philosophy-card:nth-child(1) .philosophy-icon,
.tech-card:nth-child(1) .tech-icon,
.team-card:nth-child(1) .team-img { background: var(--primary-gradient); }

.feature-card:nth-child(2) .feature-icon,
.philosophy-card:nth-child(2) .philosophy-icon,
.tech-card:nth-child(2) .tech-icon,
.team-card:nth-child(2) .team-img { background: var(--secondary-gradient); }

.feature-card:nth-child(3) .feature-icon,
.philosophy-card:nth-child(3) .philosophy-icon,
.tech-card:nth-child(3) .tech-icon,
.team-card:nth-child(3) .team-img { background: var(--tech-gradient); }

.feature-card:nth-child(4) .feature-icon,
.philosophy-card:nth-child(4) .philosophy-icon,
.tech-card:nth-child(4) .tech-icon,
.team-card:nth-child(4) .team-img { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.feature-card:nth-child(5) .feature-icon,
.philosophy-card:nth-child(5) .philosophy-icon,
.tech-card:nth-child(5) .tech-icon,
.team-card:nth-child(5) .team-img { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.feature-card:nth-child(6) .feature-icon,
.philosophy-card:nth-child(6) .philosophy-icon,
.tech-card:nth-child(6) .tech-icon,
.team-card:nth-child(6) .team-img { background: linear-gradient(135deg, #708aff 0%, #fed6e3 100%); }

/* 确保内容在上层 */
.feature-card > *,
.philosophy-card > *,
.tech-card > *,
.team-content {
  position: relative;
  z-index: 2;
}

/* =========================================
   区域背景色定义
   ========================================= */

.design-background { background: var(--dark-bg); }
.design-philosophy { background: var(--darker-bg); }
.team-advantages { background: var(--dark-bg); }
.tech-stack { background: var(--darker-bg); }
.core-features { background: var(--darker-bg); }
.tech-requirements { background: var(--dark-bg); }
.demo { background: var(--darker-bg); }
.thanks { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%); }
.download { 
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
  color: white; 
  text-align: center; 
  position: relative; 
  overflow: hidden; 
}

.light-mode .thanks { 
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); 
}

/* =========================================
   核心功能标签页样式
   ========================================= */

.features-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
  background: var(--card-bg);
  border-radius: 15px;
  padding: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .features-tabs {
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-btn {
  flex: 1;
  padding: 18px 25px;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: var(--transition);
  color: var(--text-secondary);
}

.tab-btn.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow);
}

.tab-content { 
  display: none; 
}

.tab-content.active { 
  display: block; 
  animation: fadeIn 0.5s ease; 
}

.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-text p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.feature-text ul { 
  list-style: none; 
}

.feature-text li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
}

.feature-text li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.feature-image { 
  text-align: center; 
}

.feature-image .demo-box {
  width: 100%;
  height: 350px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  background: var(--secondary-gradient);
}

.feature-image .demo-box:hover { 
  transform: scale(1.02); 
}

.feature-image .demo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.feature-image .demo-box i {
  font-size: 80px;
  margin-bottom: 20px;
  z-index: 1;
}

.feature-image .demo-box span { 
  z-index: 1; 
}

/* =========================================
   技术要求样式
   ========================================= */

.tech-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.light-mode .tech-content { 
  border: 1px solid rgba(0, 0, 0, 0.05); 
}

.tech-content h3 { 
  font-size: 1.8rem; 
  margin-bottom: 25px; 
  text-align: center; 
}

.code-block {
  background: rgba(0, 0, 0, 0.3);
  color: #e2e8f0;
  padding: 30px;
  border-radius: 15px;
  font-family: 'Monaco', 'Consolas', monospace;
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .code-block {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.code-block .line { 
  margin-bottom: 8px; 
  display: flex; 
  align-items: center; 
}

.code-comment { 
  color: #64748b; 
}

.light-mode .code-comment { 
  color: #6b7280; 
}

.code-keyword { 
  color: #f472b6; 
}

.code-string { 
  color: #34d399; 
}

.tech-note {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
}

.light-mode .tech-note { 
  background: rgba(59, 130, 246, 0.05); 
}

.tech-note h4 { 
  color: var(--accent); 
  margin-bottom: 10px; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}

.tech-note p { 
  color: var(--text-secondary); 
  line-height: 1.6; 
}

/* =========================================
   衷心感谢样式
   ========================================= */

.thanks-content { 
  margin: 0 auto; 
  position: relative; 
  z-index: 2; 
}

.thanks p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 1.2rem;
  position: relative;
  text-align: center;
}

.framework-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.framework-item {
  background: linear-gradient(135deg, rgba(168, 237, 234, 0.1) 0%, rgba(254, 214, 227, 0.1) 100%);
  padding: 20px 30px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition-slow);
  border: 1px solid rgba(168, 237, 234, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.framework-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.framework-item:hover::before { 
  left: 100%; 
}

.framework-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(168, 237, 234, 0.2);
  border-color: rgba(168, 237, 234, 0.4);
}

.framework-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #708aff 0%, #fed6e3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  transition: var(--transition-slow);
}

.framework-item:hover .framework-icon { 
  transform: scale(1.1) rotate(10deg); 
  box-shadow: 0 5px 15px rgba(168, 237, 234, 0.4); 
}

.framework-item span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.framework-item:hover span { 
  color: #708aff; 
}

/* 框架项颜色变体 */
.framework-item:nth-child(1) { 
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%); 
  border-color: rgba(102, 126, 234, 0.2); 
}

.framework-item:nth-child(1):hover { 
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2); 
  border-color: rgba(102, 126, 234, 0.4); 
}

.framework-item:nth-child(1) .framework-icon { 
  background: var(--primary-gradient); 
}

.framework-item:nth-child(1):hover span { 
  color: #667eea; 
}

.framework-item:nth-child(2) { 
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%); 
  border-color: rgba(240, 147, 251, 0.2); 
}

.framework-item:nth-child(2):hover { 
  box-shadow: 0 15px 30px rgba(240, 147, 251, 0.2); 
  border-color: rgba(240, 147, 251, 0.4); 
}

.framework-item:nth-child(2) .framework-icon { 
  background: var(--secondary-gradient); 
}

.framework-item:nth-child(2):hover span { 
  color: #f093fb; 
}

.framework-item:nth-child(3) { 
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%); 
  border-color: rgba(79, 172, 254, 0.2); 
}

.framework-item:nth-child(3):hover { 
  box-shadow: 0 15px 30px rgba(79, 172, 254, 0.2); 
  border-color: rgba(79, 172, 254, 0.4); 
}

.framework-item:nth-child(3) .framework-icon { 
  background: var(--tech-gradient); 
}

.framework-item:nth-child(3):hover span { 
  color: #4facfe; 
}

.framework-item:nth-child(4) { 
  background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%); 
  border-color: rgba(67, 233, 123, 0.2); 
}

.framework-item:nth-child(4):hover { 
  box-shadow: 0 15px 30px rgba(67, 233, 123, 0.2); 
  border-color: rgba(67, 233, 123, 0.4); 
}

.framework-item:nth-child(4) .framework-icon { 
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); 
}

.framework-item:nth-child(4):hover span { 
  color: #43e97b; 
}

.light-mode .framework-item { 
  background: linear-gradient(135deg, rgba(168, 237, 234, 0.05) 0%, rgba(254, 214, 227, 0.05) 100%); 
  border: 1px solid rgba(0, 0, 0, 0.08); 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
}

.light-mode .framework-item:hover { 
  box-shadow: 0 15px 30px rgba(168, 237, 234, 0.3); 
  border-color: rgba(168, 237, 234, 0.4); 
}

/* =========================================
   系统演示样式
   ========================================= */

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

.demo-image {
  max-width: 900px;
  margin: 0 auto 50px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .demo-image { 
  border: 1px solid rgba(0, 0, 0, 0.05); 
}

.demo-image .demo-box {
  width: 100%;
  height: 450px;
  background: var(--secondary-gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  position: relative;
  overflow: hidden;
}

.demo-image .demo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.demo-image .demo-box i {
  font-size: 100px;
  margin-bottom: 20px;
  z-index: 1;
}

.demo-image .demo-box div { 
  z-index: 1; 
}

.demo-image .demo-box div:last-child { 
  font-size: 18px; 
  margin-top: 10px; 
  opacity: 0.9; 
}

/* =========================================
   下载区域样式
   ========================================= */

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}

 
.download p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.download .btn { 
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.download .btn:hover { 
  background: rgba(255, 255, 255, 0.3); 
}

.community-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.community-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-links a:hover { 
  opacity: 1; 
}

/* =========================================
   页脚样式
   ========================================= */

footer {
  background: var(--darker-bg);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-content { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-text {
  opacity: 0.7;
  margin-bottom: 30px;
  max-width: 600px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-primary);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover { 
  opacity: 1; 
}

.copyright {
  opacity: 0.5;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* =========================================
   弹窗样式
   ========================================= */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--darker-bg);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: modalFadeIn 0.3s ease;
}

.light-mode .modal-content { 
  background: white; 
  border: 1px solid rgba(0, 0, 0, 0.1); 
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.9) translateY(-20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title { 
  font-size: 1.5rem; 
  font-weight: 600; 
  color: var(--text-primary); 
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover { 
  color: var(--accent); 
}

.modal-body { 
  margin-bottom: 30px; 
}

.modal-body p { 
  color: var(--text-secondary); 
  line-height: 1.6; 
  margin-bottom: 15px; 
}

.modal-footer { 
  display: flex; 
  gap: 15px; 
  justify-content: flex-end; 
}

.qr-code {
  width: 200px;
  height: 200px;
  background: #f0f0f0;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #333;
  border-radius: 10px;
}

.tech-service-info {
  background: rgba(59, 130, 246, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: left;
}

.light-mode .tech-service-info { 
  background: rgba(59, 130, 246, 0.05); 
}

.tech-service-info h4 { 
  color: var(--accent); 
  margin-bottom: 10px; 
}

.tech-service-info ul { 
  padding-left: 20px; 
}

.tech-service-info li { 
  margin-bottom: 8px; 
  color: var(--text-secondary); 
}

.free-badge {
  display: inline-block;
  background: var(--success-gradient);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 10px;
  vertical-align: middle;
  animation: pulse 2s infinite;
}

/* =========================================
   侧边按钮样式
   ========================================= */

.fixed-side-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.tech-service-button { 
  background: var(--success-gradient); 
}

.side-button:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
}

.side-button:active { 
  transform: translateY(0); 
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top.show { 
  opacity: 1; 
  visibility: visible; 
}

/* =========================================
   响应式设计
   ========================================= */

@media (max-width: 1200px) {
  .tech-panel { 
    width: 300px; 
    height: 300px; 
    right: 2%; 
  }
}

@media (max-width: 992px) {
  .tech-panel,
  .tech-lines,
  .data-stream {
    display: none;
  }
  
  .hero h1 { 
    font-size: 2.8rem; 
  }
  
  .feature-detail { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  
  .feature-image { 
    order: -1; 
  }
  
  .features-tabs { 
    flex-direction: column; 
  }
}

@media (max-width: 768px) {
  .hero-title{
    font-size: 2.4rem;
  }
  .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--darker-bg);
      flex-direction: column;
      padding:0 20px 20px;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .light-mode .nav-links { 
    background: white; 
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
  }
  .nav-links a.active::after{
      display: none;
  }
  .nav-links.active { 
    display: block; 
  }
  
  .nav-links li { 
    margin: 0; 
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-menu-btn { 
    display: block; 
  }
  
  .hero h1 { 
    font-size: 2.3rem; 
  }
  
  .hero p { 
    font-size: 1.1rem; 
  }
  
  .hero-btns {  
    align-items: flex-start; 
  }
  
  .download-count { 
    margin-left: 0; 
    margin-top: 15px; 
  }
  
  .download-btns { 
    flex-direction: column; 
    align-items: center; 
  }
  
  .features-grid,
  .philosophy-grid,
  .team-grid,
  .tech-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 40px;
  }
  
  .feature-card,
  .philosophy-card,
  .tech-card { 
    padding: 30px 20px; 
  }
  
  .feature-icon,
  .philosophy-icon,
  .tech-icon { 
    width: 80px; 
    height: 80px; 
    font-size: 36px; 
  }
  
  .team-img { 
    height: 180px; 
    font-size: 60px; 
  }
  
  .team-content { 
    padding: 25px 20px; 
  }
  .section-title{
    margin-bottom: 2rem;
  }
  .section-title h2 { 
    font-size: 2.2rem; 
  }
  section{
    padding: 4rem 0;
  }
 .feature-card h3, .philosophy-card h3, .tech-card h3, .team-content h3{
  font-size: 1.35rem;
 }
  .section-title h2:hover::after { 
    width: 100px; 
  }
  
  .section-title p { 
    font-size: 1.1rem; 
    padding: 0 20px; 
  }
  
  .tech-content { 
    padding: 30px 20px; 
  }
  
  .modal-content { 
    padding: 30px 20px; 
  }
  
  .modal-footer { 
    flex-direction: column; 
  }
  
  .fixed-side-buttons { 
    right: 15px; 
    bottom: 15px; 
  }
  
  .side-button { 
    width: 45px; 
    height: 45px; 
    font-size: 18px; 
  }
  
  .hero::after {
    background-size: 30px 30px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}