/* 重置和全局变量 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 颜色系统 */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-dark: #111827;
  --border: #e5e7eb;
  
  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-cosmic: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* 字体 */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* 动画 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 暗色主题 */
[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --border: #374151;
}

/* 基础样式 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(17, 24, 39, 0.9);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  min-width: fit-content;
  overflow: visible;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo:hover .logo-image {
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
  transform: scale(1.05);
}

.logo-image {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  animation: logoGlow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px rgba(91, 115, 255, 0.4));
  transition: all 0.3s ease;
}

@keyframes logoGlow {
  0% { 
    filter: drop-shadow(0 0 10px rgba(91, 115, 255, 0.4));
    transform: scale(1);
  }
  100% { 
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
    transform: scale(1.03);
  }
}

/* Logo响应式设计 */
@media (max-width: 768px) {
  .logo {
    gap: 0.6rem;
  }
  
  .logo-image {
    width: 34px;
    height: 34px;
  }
  
  .brand-name {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .logo-image {
    width: 30px;
    height: 30px;
  }
  
  .brand-name {
    font-size: 1.2rem;
    font-weight: 700;
  }
}

.brand-name {
  background: linear-gradient(135deg, #00D4FF 0%, #5B73FF 50%, #9C40FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.theme-toggle,
.lang-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

.theme-toggle:hover,
.lang-toggle:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

/* 主要内容区 */
main {
  padding-top: 4rem;
}

/* 英雄区域 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: 
    /* 轻柔的宇宙背景 */
    var(--bg-primary),
    radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 40% 40%, rgba(6, 182, 212, 0.03) 0%, transparent 80%);
}

.stars-bg {
  position: absolute;
  inset: 0;
  background: 
    /* 北极星 - 最亮的星星，位于中上部 */
    radial-gradient(8px 8px at 50% 20%, 
      rgba(255, 255, 255, 0.9) 0%, 
      rgba(255, 255, 255, 0.7) 25%, 
      rgba(255, 255, 255, 0.4) 50%, 
      rgba(255, 255, 255, 0.2) 70%,
      transparent 100%),
    /* 大星星层 */
    radial-gradient(2px 2px at 25px 45px, rgba(99, 102, 241, 0.4), transparent),
    radial-gradient(2px 2px at 180px 25px, rgba(139, 92, 246, 0.5), transparent),
    radial-gradient(3px 3px at 320px 80px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 450px 35px, rgba(99, 102, 241, 0.6), transparent),
    /* 中等星星层 */
    radial-gradient(1px 1px at 80px 60px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 200px 90px, rgba(139, 92, 246, 0.4), transparent),
    radial-gradient(2px 2px at 380px 50px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 520px 75px, rgba(6, 182, 212, 0.5), transparent),
    /* 小星星密集层 */
    radial-gradient(1px 1px at 15px 85px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 65px 25px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 135px 65px, rgba(139, 92, 246, 0.3), transparent),
    radial-gradient(1px 1px at 185px 15px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 235px 55px, rgba(6, 182, 212, 0.3), transparent),
    radial-gradient(1px 1px at 285px 85px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 335px 25px, rgba(99, 102, 241, 0.3), transparent),
    radial-gradient(1px 1px at 385px 75px, rgba(255, 255, 255, 0.25), transparent),
    /* 微小星星层 */
    radial-gradient(0.5px 0.5px at 45px 15px, rgba(255, 255, 255, 0.15), transparent),
    radial-gradient(0.5px 0.5px at 95px 55px, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(0.5px 0.5px at 145px 35px, rgba(139, 92, 246, 0.2), transparent),
    radial-gradient(0.5px 0.5px at 195px 75px, rgba(255, 255, 255, 0.15), transparent),
    radial-gradient(0.5px 0.5px at 245px 25px, rgba(6, 182, 212, 0.2), transparent),
    radial-gradient(0.5px 0.5px at 295px 65px, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(0.5px 0.5px at 345px 45px, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(0.5px 0.5px at 395px 85px, rgba(255, 255, 255, 0.1), transparent);
  background-repeat: no-repeat, repeat, repeat, repeat, repeat;
  background-size: 100% 100%, 400px 200px, 500px 300px, 400px 200px, 350px 250px;
  animation: cosmicFloat 25s linear infinite, twinkleStars 3s ease-in-out infinite alternate, northStarPulse 4s ease-in-out infinite alternate;
  opacity: 0.6;
}

[data-theme="dark"] .stars-bg {
  opacity: 0.8;
}

@keyframes cosmicFloat {
  0% { transform: translate(0, 0px) rotate(0deg); }
  33% { transform: translate(-15px, -8px) rotate(0.5deg); }
  66% { transform: translate(8px, -12px) rotate(-0.3deg); }
  100% { transform: translate(0, 0px) rotate(0deg); }
}

@keyframes twinkleStars {
  0% { opacity: 0.6; }
  50% { opacity: 0.9; }
  100% { opacity: 0.7; }
}

@keyframes northStarPulse {
  0% { 
    opacity: 0.6;
    filter: brightness(1); 
  }
  50% { 
    opacity: 0.8;
    filter: brightness(1.3); 
  }
  100% { 
    opacity: 0.6;
    filter: brightness(1); 
  }
}

/* 流星雨效果 - 划过天际 */
.stars-bg::before {
  content: '';
  position: absolute;
  top: 5%;
  left: -200px;
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  animation: meteorShower1 8s linear infinite;
  opacity: 0;
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.5);
}

.stars-bg::after {
  content: '';
  position: absolute;
  top: 15%;
  left: -250px;
  width: 250px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.7), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg);
  animation: meteorShower2 12s linear infinite 3s;
  opacity: 0;
  box-shadow: 0 0 4px rgba(139, 92, 246, 0.4);
}

/* 额外流星效果 */
.hero-content::before {
  content: '';
  position: absolute;
  top: 35%;
  left: -300px;
  width: 280px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.7), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(20deg);
  animation: meteorShower3 15s linear infinite 6s;
  opacity: 0;
  z-index: -1;
  box-shadow: 0 0 3px rgba(6, 182, 212, 0.3);
}

.hero-content::after {
  content: '';
  position: absolute;
  top: 55%;
  left: -180px;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(35deg);
  animation: meteorShower4 10s linear infinite 9s;
  opacity: 0;
  z-index: -1;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

@keyframes meteorShower1 {
  0% { 
    transform: translateX(-200px) translateY(-50px) rotate(25deg); 
    opacity: 0; 
  }
  5% { opacity: 1; }
  15% { opacity: 1; }
  20% { opacity: 0; }
  100% { 
    transform: translateX(calc(100vw + 200px)) translateY(80vh) rotate(25deg); 
    opacity: 0; 
  }
}

@keyframes meteorShower2 {
  0% { 
    transform: translateX(-250px) translateY(-60px) rotate(30deg); 
    opacity: 0; 
  }
  4% { opacity: 0.9; }
  12% { opacity: 0.9; }
  18% { opacity: 0; }
  100% { 
    transform: translateX(calc(100vw + 250px)) translateY(85vh) rotate(30deg); 
    opacity: 0; 
  }
}

@keyframes meteorShower3 {
  0% { 
    transform: translateX(-300px) translateY(-70px) rotate(20deg); 
    opacity: 0; 
  }
  3% { opacity: 0.8; }
  10% { opacity: 0.8; }
  15% { opacity: 0; }
  100% { 
    transform: translateX(calc(100vw + 300px)) translateY(90vh) rotate(20deg); 
    opacity: 0; 
  }
}

@keyframes meteorShower4 {
  0% { 
    transform: translateX(-180px) translateY(-40px) rotate(35deg); 
    opacity: 0; 
  }
  6% { opacity: 0.7; }
  14% { opacity: 0.7; }
  20% { opacity: 0; }
  100% { 
    transform: translateX(calc(100vw + 180px)) translateY(75vh) rotate(35deg); 
    opacity: 0; 
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* 按钮样式 */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* 服务网格 */
.services {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-primary);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
  background: var(--gradient-primary);
  color: white;
}

.service-card.featured h3,
.service-card.featured p {
  color: white;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.service-links a:hover {
  color: var(--primary-dark);
}

.service-card.featured .service-links a {
  color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .service-links a:hover {
  color: white;
}

/* 品牌故事 - 重新设计 */
.story {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

/* 故事开篇 */
.story-header {
  text-align: center;
  margin-bottom: 6rem;
}

.story-hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.story-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 银河系容器 */
.galaxy-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.1) 0%, rgba(15, 23, 42, 0.05) 100%);
  border-radius: 50%;
  overflow: hidden;
}

/* 背景星云效果 */
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  animation: float 8s ease-in-out infinite;
}

.nebula-1 {
  top: 20%;
  left: 15%;
  width: 60px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(147, 51, 234, 0.3) 0%, transparent 70%);
  animation-delay: 0s;
}

.nebula-2 {
  bottom: 25%;
  right: 20%;
  width: 80px;
  height: 50px;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  animation-delay: 2s;
}

.nebula-3 {
  top: 60%;
  left: 70%;
  width: 45px;
  height: 35px;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-10px) scale(1.1); }
}

/* 星域背景 */
.star-field {
  position: absolute;
  width: 100%;
  height: 100%;
}

.star {
  position: absolute;
  background: #FFF;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

.star-1 { top: 15%; left: 25%; width: 3px; height: 3px; animation-delay: 0s; }
.star-2 { top: 30%; right: 15%; width: 2px; height: 2px; animation-delay: 1s; }
.star-3 { bottom: 20%; left: 10%; width: 2px; height: 2px; animation-delay: 0.5s; }
.star-4 { top: 65%; right: 25%; width: 4px; height: 4px; animation-delay: 1.5s; }
.star-5 { bottom: 40%; left: 75%; width: 3px; height: 3px; animation-delay: 2s; }
.star-6 { top: 45%; left: 85%; width: 2px; height: 2px; animation-delay: 2.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* 中心恒星系统 */
.central-star-system {
  position: relative;
  z-index: 10;
}

.central-star {
  animation: starPulse 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 15px #FFD700);
}

@keyframes starPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* 轨道环系统 */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  -webkit-animation: rotate 20s linear infinite;
  -moz-animation: rotate 20s linear infinite;
  -o-animation: rotate 20s linear infinite;
  top: 50%;
  left: 50%;
  transform-origin: center;
  -webkit-transform-origin: center;
  -moz-transform-origin: center;
  -o-transform-origin: center;
  will-change: transform;
}

.ring-ai {
  width: 140px;
  height: 140px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  margin-left: -70px;
  margin-top: -70px;
  animation-duration: 18s;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.ring-stray {
  width: 180px;
  height: 180px;
  border: 2px solid rgba(255, 165, 0, 0.25);
  margin-left: -90px;
  margin-top: -90px;
  animation-duration: 28s;
  animation-direction: reverse;
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.15);
}

/* 轨道上的天体 */
.ai-satellite, .stray-comet {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  animation: orbitFloat 3s ease-in-out infinite;
  -webkit-animation: orbitFloat 3s ease-in-out infinite;
  -moz-animation: orbitFloat 3s ease-in-out infinite;
  -o-animation: orbitFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px currentColor);
  -webkit-filter: drop-shadow(0 0 10px currentColor);
  will-change: transform;
}

.ai-satellite {
  animation-delay: 0s;
}

.stray-comet {
  animation-delay: 1.5s;
}

@keyframes orbitFloat {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@-webkit-keyframes orbitFloat {
  0%, 100% { -webkit-transform: translateX(-50%) translateY(0px); }
  50% { -webkit-transform: translateX(-50%) translateY(-8px); }
}

@-moz-keyframes orbitFloat {
  0%, 100% { -moz-transform: translateX(-50%) translateY(0px); }
  50% { -moz-transform: translateX(-50%) translateY(-8px); }
}

@-o-keyframes orbitFloat {
  0%, 100% { -o-transform: translateX(-50%) translateY(0px); }
  50% { -o-transform: translateX(-50%) translateY(-8px); }
}

/* 银河系臂展 */
.galaxy-arm {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
  transform-origin: left center;
  animation: galaxyRotate 40s linear infinite;
}

.arm-1 {
  top: 48%;
  left: 50%;
  width: 120px;
  transform: rotate(20deg);
  animation-delay: 0s;
}

.arm-2 {
  top: 52%;
  left: 50%;
  width: 110px;
  transform: rotate(200deg);
  animation-delay: 20s;
}

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

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

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

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

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

.story-intro {
  text-align: left;
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.story-intro p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* 名字解析 */
.name-explanation {
  margin: 6rem 0;
}

.meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.meaning-card {
  background: var(--bg-primary);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.meaning-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.meaning-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.meaning-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

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

/* 个人旅程 */
.personal-narrative {
  margin: 6rem 0;
  text-align: center;
}

.narrative-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-radius: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.narrative-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

/* 使命转化 */
.mission-bridge {
  margin: 6rem 0;
  text-align: center;
}

.bridge-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-radius: 1rem;
  border: 1px solid rgba(255, 193, 7, 0.2);
  position: relative;
  overflow: hidden;
}

.bridge-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.bridge-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.bridge-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* 微信二维码悬停弹窗 */
.wechat-qr-popup {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 200px;
  text-align: center;
}

.wechat-qr-popup::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

.wechat-qr-popup img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  margin-bottom: 8px;
  display: block;
}

.wechat-qr-popup p {
  margin: 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* 悬停显示二维码 */
.contact-icon.wechat:hover .wechat-qr-popup,
.social-link.wechat:hover .wechat-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.contact-icon.wechat,
.social-link.wechat {
  position: relative;
}

/* 服务概览 */
.service-overview {
  margin: 6rem 0;
}

.service-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.service-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.brands-showcase {
  margin: 2.5rem 0;
  text-align: center;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brand-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.brand-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.brands-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.tech-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 0.75rem;
  margin-top: 2rem;
}

.tech-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.tech-highlight p {
  margin: 0;
}

/* 最终使命 */
.final-mission {
  margin: 6rem 0;
}

.mission-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 1rem;
}

.mission-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.mission-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  opacity: 0.95;
}

/* 故事结尾 */
.story-conclusion {
  text-align: center;
  margin-top: 6rem;
}

.story-conclusion blockquote {
  font-style: italic;
  font-size: 1.5rem;
  color: var(--primary);
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 1rem;
  border-left: 4px solid var(--primary);
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.story-conclusion blockquote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  color: var(--primary);
  opacity: 0.3;
}

/* 响应式设计 - 品牌故事 */
@media (max-width: 768px) {
  .story {
    padding: 4rem 0;
  }
  
  .story-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .meaning-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .narrative-content,
  .bridge-content,
  .service-content {
    padding: 2rem;
  }
  
  .brands-list {
    flex-direction: column;
    align-items: center;
  }
  
  .tech-highlight {
    flex-direction: column;
    text-align: center;
  }
}

/* 时间线 */
.journey {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

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

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

.year {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.timeline-item.current .year {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  animation: pulse 2s infinite;
}

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

.content {
  flex: 1;
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  margin: 0 3rem;
}

.timeline-item:nth-child(odd) .content {
  margin-right: calc(50% + 3rem);
}

.timeline-item:nth-child(even) .content {
  margin-left: calc(50% + 3rem);
}

.content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.content p {
  color: var(--text-secondary);
}

/* 优势对比 */
.advantages {
  padding: 6rem 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advantage {
  text-align: center;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 1rem;
  transition: var(--transition);
}

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

.advantage .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.advantage h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.advantage p {
  color: var(--text-secondary);
}

/* CTA区域 */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: #f9fafb;
}

.cta-section .btn-secondary {
  border-color: white;
  color: white;
}

.cta-section .btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* 联系我们板块 */
.contact {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--bg-primary);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-card .contact-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  color: white;
}

.contact-icon.wechat {
  background: linear-gradient(135deg, #07c160, #00d66f);
}

.contact-icon.qq {
  background: linear-gradient(135deg, #12b7f5, #0099ff);
}

.contact-icon.telegram {
  background: linear-gradient(135deg, #229ed9, #0088cc);
}

.contact-icon.email {
  background: linear-gradient(135deg, #ea4335, #fbbc05);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-details {
  margin-bottom: 1.5rem;
}

.contact-number {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: monospace;
}

.contact-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
  color: white;
}

.service-promise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.promise-item i {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.promise-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.promise-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 页脚 */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  padding: 3rem 0 1rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-brand p {
  opacity: 0.8;
  margin: 1rem 0 1.5rem 0;
  font-size: 1.1rem;
}

.footer-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

.link-group h4 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #f3f4f6;
  position: relative;
}

.link-group h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.link-group a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 0.5rem;
  white-space: nowrap;
}

.link-group a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.link-group a i {
  width: 1.25rem;
  text-align: center;
  opacity: 0.8;
}

/* 联系方式样式 */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: white;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-icon.wechat {
  background: linear-gradient(135deg, #07c160, #00d66f);
}

.contact-icon.telegram {
  background: linear-gradient(135deg, #229ed9, #0088cc);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-value {
  font-size: 0.85rem;
  opacity: 0.8;
}

.service-hours {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 0.75rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-top: 0.5rem;
}

.service-hours i {
  color: var(--primary);
  font-size: 1.2rem;
}

.service-hours div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hours-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.hours-desc {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Footer CTA按钮 */
.footer-cta {
  margin-top: 1.5rem;
}

.footer-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.footer-btn i {
  transition: transform 0.3s ease;
}

.footer-btn:hover i {
  transform: translateX(3px);
}

/* Footer底部 */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright p {
  opacity: 0.6;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-right: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1rem;
}

.social-link:hover {
  color: white;
  transform: translateY(-2px);
}

.social-link.wechat:hover {
  background: linear-gradient(135deg, #07c160, #00d66f);
}

.social-link.telegram:hover {
  background: linear-gradient(135deg, #229ed9, #0088cc);
}

.social-link.twitter:hover {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-link.github:hover {
  background: linear-gradient(135deg, #333, #24292e);
}

/* 响应式 - 联系我们 */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-card .contact-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }
  
  .service-promise {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .promise-item {
    padding: 1rem;
  }
  
  .promise-item i {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

/* 响应式 - Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-stats {
    justify-content: space-between;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .story-visual {
    height: 300px;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    flex-direction: column !important;
  }
  
  .year {
    position: relative;
    left: 2rem;
    transform: none;
    margin-bottom: 1rem;
  }
  
  .timeline-item.current .year {
    transform: none;
  }
  
  .content {
    margin: 0 0 0 1rem !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

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

.animate-in {
  animation: fadeInUp 0.6s ease-out;
}