/* ===================================
   1. 基础样式和CSS变量
   =================================== */

:root {
  /* 主色调 - 基于橙色系 */
  --primary-color: #eb7d05;
  --primary-dark: #d16803;
  --primary-light: #f59e0b;
  --secondary-color: #f97316;
  --secondary-dark: #ea580c;
  --secondary-light: #fb923c;
  
  /* 渐变色 */
  --gradient-primary: linear-gradient(135deg, #eb7d05 0%, #f97316 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  
  /* 中性色 */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --border-color: #e5e7eb;
  
  /* 间距 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* 字体 */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 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);
  
  /* 动画时长 */
  --transition-fast: 0.15s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* 通用按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal) ease;
  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 var(--transition-slow) ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* 渐变文字 */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 通用动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===================================
   2. 导航栏样式和动画
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal) ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  animation: fadeInLeft 0.8s ease;
  flex-shrink: 0;
  z-index: 1001;
}

.nav-logo .logo {
  height: 40px;
  width: auto;
  transition: transform var(--transition-normal) ease;
}

.nav-logo:hover .logo {
  transform: scale(1.1);
}

.company-name {
  font-size: var(--font-size-xl);
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-lg);
  animation: fadeInUp 0.8s ease 0.2s both;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-normal) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-normal) ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}



.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all var(--transition-normal) ease;
  border-radius: 2px;
}

/* ===================================
   3. 主页横幅样式和动画
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}

.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(235, 125, 5, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 125, 5, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 6s ease-in-out infinite;
}





/* 简化网格背景 */
.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(235, 125, 5, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 125, 5, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.hero-text {
  animation: fadeInLeft 1s ease;
  text-align: left;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.hero-title .gradient-text {
  position: relative;
  display: inline-block;
}

.hero-title .gradient-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(2px);
  opacity: 0.5;
  z-index: -1;
  animation: glowPulse 2s ease-in-out infinite;
}

.hero-subtitle {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-secondary);
  margin-top: var(--spacing-sm);
  position: relative;
  animation: subtitleSlide 2s ease-out;
}


@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px rgba(235, 125, 5, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(235, 125, 5, 0.6), 0 0 30px rgba(249, 115, 22, 0.4);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

@keyframes subtitleSlide {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lineExpand {
  0% {
    width: 0;
  }
  100% {
    width: 60px;
  }
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.3s both;
}

/* ===================================
   粒子特效样式
   =================================== */

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: #f7f6f6; /* 提高透明度，增强可见性 */
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat 8s ease-in-out infinite; /* 延长动画时间，使用缓动效果 */
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 0 0 40px rgb(255, 255, 255); /* 增强发光效果 */
  transition: all 0.3s ease;
}

.particle.secondary {
  background: rgba(249, 115, 22, 0.9); /* 提高透明度 */
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.7), 0 0 35px rgba(249, 115, 22); /* 增强发光效果 */
}

.particle.accent {
  background: rgb(7, 226, 237); /* 提高透明度 */
  box-shadow: 0 0 25px rgba(7, 226, 237, 0.8), 0 0 45px rgba(16, 185, 129); /* 增强发光效果 */
}

.connection-line {
  position: absolute;
  background: linear-gradient(90deg, 
    rgba(235, 125, 5, 0.5) 0%, /* 增强连接线可见性 */
    rgba(249, 115, 22, 0.6) 50%,
    rgba(16, 185, 129, 0.5) 100%
  );
  height: 1px;
  pointer-events: none;
  animation: lineGlow 3s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-15px) rotate(90deg) scale(1.1);
    opacity: 1;
  }
  50% {
    transform: translateY(-30px) rotate(180deg) scale(1.2);
    opacity: 1;
  }
  75% {
    transform: translateY(-15px) rotate(270deg) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(360deg) scale(1);
    opacity: 0.6;
  }
}

@keyframes lineGlow {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.8; /* 增强连接线发光效果 */
  }
}

.floating-elements {
  position: relative;
  width: 400px;
  height: 400px;
}



.floating-card {
  position: absolute;
  background: white;
  padding: var(--spacing-md);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all var(--transition-normal) ease;
  cursor: pointer;
}

.floating-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.floating-card i {
  font-size: 2rem;
  margin-bottom: var(--spacing-xs);
}

.floating-card span {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.ai-card {
  top: 20%;
  left: 10%;
  animation: float 4s ease-in-out infinite;
}

.ai-card i {
  color: var(--primary-color);
}

.ai-companion-card {
  top: 10%;
  right: 20%;
  animation: float 4s ease-in-out infinite 1s;
}

.ai-companion-card i {
  color: var(--secondary-color);
}

.tech-card {
  bottom: 30%;
  left: 30%;
  animation: float 4s ease-in-out infinite 2s;
}

.tech-card i {
  color: #06b6d4;
}

/* ===================================
   4. 服务部分样式和动画
   =================================== */

.services {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.service-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal) ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal) ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card.featured {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-card.featured .service-title {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-card.featured .service-description {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-card.featured .service-features li {
  color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .service-features i {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 2px;
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  transition: transform var(--transition-normal) ease;
}

.service-card:hover .service-icon {
  transform: rotate(360deg);
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
  color: var(--text-secondary);
}

.service-features i {
  color: var(--primary-color);
  font-size: var(--font-size-sm);
}

.service-card.featured .service-features i {
  color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   5. 技术优势样式和动画
   =================================== */

.advantages {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-secondary);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.advantage-item {
  text-align: center;
  padding: var(--spacing-xl);
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal) ease;
  animation: fadeInUp 0.8s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  transition: all var(--transition-normal) ease;
}

.advantage-item:hover .advantage-icon {
  animation: pulse 1s ease infinite;
}

.advantage-icon i {
  font-size: 2.5rem;
  color: white;
}

.advantage-item h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.advantage-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================
   6. 关于我们样式和动画
   =================================== */

.about {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about-text {
  animation: fadeInLeft 0.8s ease;
}

.about-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

/* 经验展示部分 */
.experience-section {
  margin-top: var(--spacing-xl);
}

.experience-section h3 {
  font-size: var(--font-size-2xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.experience-description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.case-studies {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.case-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-normal) ease;
}

.case-item:hover {
  background: rgba(235, 125, 5, 0.05);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.case-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 4px;
  flex-shrink: 0;
}

.case-content h4 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.case-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: var(--font-size-sm);
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: all var(--transition-normal) ease;
}

.info-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(10px);
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color var(--transition-normal) ease;
}

.info-item:hover i {
  color: white;
}

.info-item h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.info-item p {
  color: var(--text-secondary);
  transition: color var(--transition-normal) ease;
}

.info-item:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease;
}

.tech-showcase {
  position: relative;
  width: 300px;
  height: 300px;
}

.tech-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.tech-item {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: var(--font-size-sm);
  animation: rotate 20s linear infinite reverse;
}

.tech-item:nth-child(1) {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.tech-item:nth-child(2) {
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
}

.tech-item:nth-child(3) {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.tech-item:nth-child(4) {
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}

/* ===================================
   7. 联系我们样式和动画
   =================================== */

.contact {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-secondary);
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  animation: fadeInLeft 0.8s ease;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal) ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-details h4 {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-details p {
  color: var(--text-secondary);
}

.contact-cta {
  text-align: center;
  padding: var(--spacing-xl);
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  animation: fadeInRight 0.8s ease;
}

.contact-cta h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.contact-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

/* ===================================
   8. 页脚样式
   =================================== */

.footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
}

.footer-info {
  animation: fadeInLeft 0.8s ease;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-logo .logo {
  height: 40px;
  width: auto;
}

.footer-logo span {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  animation: fadeInRight 0.8s ease;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-xs);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal) ease;
}

.footer-section li:hover {
  color: white;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin-bottom: var(--spacing-xs);
}

/* ===================================
   9. 响应式设计
   =================================== */

/* 移动端导航菜单 */
@media (max-width: 768px) {
  .nav-container {
    padding: var(--spacing-sm);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    transition: left var(--transition-slow) ease;
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: var(--font-size-lg);
    padding: var(--spacing-md);
    margin: var(--spacing-xs) 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(235, 125, 5, 0.1);
  }
  
  .nav-link:hover {
    background: linear-gradient(135deg, rgba(235, 125, 5, 0.2), rgba(249, 115, 22, 0.1));
    border-color: rgba(235, 125, 5, 0.3);
    transform: translateX(10px);
  }
  
  .nav-link.active {
    background: linear-gradient(135deg, rgba(235, 125, 5, 0.25), rgba(249, 115, 22, 0.15));
    border-color: rgba(235, 125, 5, 0.4);
    box-shadow: 0 4px 15px rgba(235, 125, 5, 0.2);
  }
  
  .hamburger {
    display: flex;
  }
  
  .company-name {
    font-size: var(--font-size-lg);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-xl);
    justify-items: center;
    padding: 0 var(--spacing-sm);
  }
  
  .hero-text {
    text-align: center;
    max-width: 600px;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .floating-elements {
    width: 300px;
    height: 300px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .service-card.featured {
    transform: none;
    margin: var(--spacing-md) 0;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .nav-container {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .company-name {
    font-size: var(--font-size-base);
  }
  
  .nav-logo .logo {
    height: 32px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
  }
  
  .floating-elements {
    width: 250px;
    height: 250px;
  }
  
  .floating-card {
    padding: var(--spacing-sm);
  }
  
  .floating-card i {
    font-size: 1.5rem;
  }
  
  .floating-card span {
    font-size: var(--font-size-xs);
  }
  
  .tech-showcase {
    width: 200px;
    height: 200px;
  }
  
  .tech-item {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xs);
  }
  
  .service-card {
    padding: var(--spacing-lg);
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .advantage-item {
    padding: var(--spacing-lg);
  }
  
  .advantage-icon {
    width: 80px;
    height: 80px;
  }
  
  .advantage-icon i {
    font-size: 2rem;
  }
  
  .contact-item {
    padding: var(--spacing-sm);
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
  }
  
  .contact-icon i {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  
  .hero-description {
    font-size: var(--font-size-base);
  }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
  .container {
    padding: 0 var(--spacing-xs);
  }
  
  .nav-container {
    padding: var(--spacing-xs);
  }
  
  .floating-elements {
    width: 200px;
    height: 200px;
  }
  
  .services-grid {
    gap: var(--spacing-md);
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* 滚动动画触发 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* 加载动画 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

/* 导航栏额外动画效果 */
.nav-link {
  position: relative;
}

.nav-link::before {
  z-index: -1;
}

@keyframes navLinkPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 125, 5, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(235, 125, 5, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(235, 125, 5, 0);
  }
}

.nav-link.active {
  animation: navLinkPulse 2s infinite;
}

.nav-link.active::after {
  animation: underlineGlow 2s ease-in-out infinite alternate;
}

@keyframes underlineGlow {
  0% {
    box-shadow: 0 0 5px rgba(235, 125, 5, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(235, 125, 5, 0.8), 0 0 25px rgba(249, 115, 22, 0.4);
  }
}

/* 移动端汉堡菜单动画 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--primary-color);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
  background: var(--primary-color);
}

/* 移动端菜单覆盖层 */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal) ease;
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 移动端菜单关闭按钮 */
.nav-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 1001;
}

/* 移动端优化的服务卡片 */
@media (max-width: 768px) {
  .service-card.featured {
    background: var(--gradient-primary);
    color: white;
    transform: none;
    margin: var(--spacing-md) 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .service-card.featured .service-title {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
  }
}