/* 
 * 简洁现代的通用样式表
 * 遵循前端设计规范，简化层次，保持视觉统一
 * 美化版本 - 蓝绿清新配色方案
 */

/* 重置默认样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.65;
  color: #333;
  background: linear-gradient(180deg, #f0f4f8 0%, #d9e2ec 100%);
  font-size: 16px;
}

/* 标题样式优化 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #2c3e50;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2a0);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #007bff;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

/* 段落样式优化 */
p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  color: #555;
}

/* 列表样式优化 */
ul, ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

/* 链接样式优化 */
a {
  color: #007bff;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* 引用样式 */
blockquote {
  border-left: 4px solid #007bff;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* 强调文本 */
strong {
  font-weight: 600;
  color: #2c3e50;
}

/* 小型文本 */
small {
  font-size: 0.875rem;
  color: #6c757d;
}

/* 移动端排版优化 */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  p {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  p {
    margin-bottom: 0.8rem;
  }
  
  ul, ol {
    padding-left: 1.2rem;
  }
  
  li {
    margin-bottom: 0.5rem;
  }
}

/* 头部样式 - 美化增强 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 25px rgba(0, 123, 255, 0.15);
  padding: 12px 5%;
}

/* 导航链接样式优化 */
nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
  text-align: center;
  min-width: 80px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

nav a:hover {
  color: #007bff;
  background: rgba(0, 123, 255, 0.08);
  text-decoration: none;
}

nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  font-weight: 600;
}

/* 特殊链接样式 - 痛点集市 */
nav a[target="_blank"] {
  background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 175, 25, 0.3);
  font-weight: 600;
}

nav a[target="_blank"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 175, 25, 0.4);
  color: #fff;
}

/* 主体内容区 */
main {
  padding-top: 100px;
  min-height: calc(100vh - 120px);
  background: linear-gradient(180deg, #f0f4f8 0%, #d9e2ec 100%);
}

/* 页脚样式 - 美化增强 */
footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #ecf0f1;
  text-align: center;
  padding: 30px 5%;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #007bff 0%, #00d2a0 100%);
}

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: #bdc3c7;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.copyright:hover {
  color: #fff;
}

/* 卡片样式增强 */
.featured-item-content {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 480px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

/* 按钮样式优化 */
.btn-primary, .btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary::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 ease;
  z-index: -1;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4), 0 0 10px rgba(0, 123, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
  transition: transform 0.1s ease;
}

.btn-secondary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.btn-secondary:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #007bff;
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s ease;
}

/* 服务列表样式增强 */
.service-list > li {
  background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  list-style: none;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
  border-left: 4px solid #007bff;
}

.service-list > li:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-left-color: #00d2a0;
}

/* 核心优势样式增强 */
.core-advantages {
  background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
  border-radius: 15px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.core-advantages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 0;
}

.core-advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.core-advantages li {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #fff;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.core-advantages li:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 产品页面模块样式增强 */
.module {
  background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.3s ease;
}

.module:hover {
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
  transform: translateY(-2px);
}

/* 案例页面样式增强 */
#cases {
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

/* 价格对比页面样式增强 */
.price-comparison-main {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
    position: relative;
}

.price-comparison-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
  header {
    padding: 10px 5%;
  }
  
  header.scrolled {
    padding: 8px 5%;
  }
  
  nav a {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .featured {
    padding: 40px 5%;
    gap: 20px;
  }
  
  .module {
    padding: 20px;
  }
  
  #cases {
    padding: 30px 5%;
    margin-top: 20px;
  }
  
  .service-list > li {
    padding: 20px;
  }
  
  .core-advantages {
    padding: 30px 20px;
  }
}

/* 暗色模式支持（可选） */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
  }
  
  header {
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 1px solid rgba(0, 123, 255, 0.2);
  }
  
  .featured-item-content {
    background: linear-gradient(135deg, #2a2a4a 0%, #1e293b 100%);
    border-color: rgba(0, 123, 255, 0.2);
  }
  
  .featured-item-text p {
    color: #c0c0c0;
  }
  
  .module {
    background: linear-gradient(135deg, #2a2a4a 0%, #1e293b 100%);
    border-color: rgba(0, 123, 255, 0.2);
  }
  
  .module p, .module li {
    color: #c0c0c0;
  }
  
  footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  }
}

/* 移动端触摸目标优化 */
@media (max-width: 768px) {
  /* 汉堡菜单按钮 */
  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 8px;
  }
  
  /* 导航链接 */
  nav a {
    padding: 16px 20px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 轮播图控制按钮 */
  .carousel-control {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  
  /* 灯箱控制按钮 */
  .lightbox-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  
  /* 案例页面图片 */
  .gallery-item {
    min-height: 120px;
    cursor: pointer;
  }
  
  /* 按钮 */
  .btn-primary,
  .btn-secondary {
    min-width: 120px;
    min-height: 44px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 卡片 */
  .featured-item-content {
    min-height: 450px;
  }
  
  /* 服务列表项 */
  .service-list > li {
    padding: 24px;
    min-height: 150px;
  }
  
  /* 核心优势项 */
  .core-advantages li {
    padding: 16px 20px;
    min-height: 80px;
  }
  
  /* 产品页面模块 */
  .module {
    padding: 24px;
  }
  
  /* 轮播图指示器 */
  .carousel-indicator {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
  }
}

/* 小屏幕移动端优化 */
@media (max-width: 480px) {
  /* 汉堡菜单按钮 */
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  
  /* 导航链接 */
  nav a {
    padding: 14px 18px;
    min-height: 40px;
  }
  
  /* 轮播图控制按钮 */
  .carousel-control {
    width: 40px;
    height: 40px;
  }
  
  /* 灯箱控制按钮 */
  .lightbox-close {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }
  
  /* 案例页面图片 */
  .gallery-item {
    min-height: 100px;
  }
  
  /* 按钮 */
  .btn-primary,
  .btn-secondary {
    min-width: 100px;
    min-height: 40px;
    padding: 10px 20px;
  }
  
  /* 卡片 */
  .featured-item-content {
    min-height: 400px;
  }
  
  /* 服务列表项 */
  .service-list > li {
    padding: 20px;
    min-height: 130px;
  }
  
  /* 核心优势项 */
  .core-advantages li {
    padding: 14px 18px;
    min-height: 70px;
  }
  
  /* 产品页面模块 */
  .module {
    padding: 20px;
  }
  
  /* 轮播图指示器 */
  .carousel-indicator {
    width: 12px;
    height: 12px;
  }
}

/* 触摸目标通用样式 */
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* 确保所有可点击元素都有足够的触摸区域 */
.clickable {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 键盘焦点样式 */
*:focus {
  outline: 3px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* 导航栏可访问性 */
nav ul {
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
  text-align: center;
}

/* 轮播图可访问性 */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #007bff;
  font-family: inherit;
}

/* 灯箱可访问性 */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-family: inherit;
}

/* 图片可访问性 */
img {
  max-width: 100%;
  height: auto;
}

/* 表单元素可访问性 */
input,
textarea,
select {
  font-size: 16px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 10px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* 按钮可访问性 */
button {
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

button:focus {
  outline: 3px solid #007bff;
  outline-offset: 2px;
}

/* 减少动画对 prefers-reduced-motion 用户的影响 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 屏幕阅读器专用样式 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 焦点可见性 */
:focus-visible {
  outline: 3px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 键盘导航优化 */
button,
a,
input,
textarea,
select {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 确保所有链接都有明确的焦点状态 */
a:focus {
  outline: 3px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 确保所有按钮都有明确的焦点状态 */
button:focus {
  outline: 3px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 禁用双击缩放 */
* {
  touch-action: manipulation;
}

/* 图片懒加载样式 */
.lazyload {
  opacity: 0;
  transition: opacity 0.5s ease;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.lazyload::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 123, 255, 0.2);
  border-radius: 50%;
  border-top-color: #007bff;
  animation: spin 1s ease-in-out infinite;
  z-index: 1;
}

.lazyload.loaded {
  opacity: 1;
}

.lazyload.loaded::before {
  display: none;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 图片容器样式 */
.img-container {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.logo-container-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 50px;
  transition: transform 0.3s ease;
}

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

/* 汉堡菜单按钮 - 移动端专用 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  align-items: center;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

nav {
  flex-shrink: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

/* 移动端导航菜单 */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 20px;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  nav a {
    display: block;
    padding: 16px 20px;
    border-radius: 10px;
    text-align: left;
  }
}

nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #007bff 0%, #00d2a0 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav a:hover {
  color: #007bff;
  background: rgba(0, 123, 255, 0.05);
}

nav a:hover::before {
  width: 80%;
}

nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

nav a.active::before {
  width: 0;
}

/* 特殊链接样式 - 痛点集市 */
nav a[target="_blank"] {
  background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 175, 25, 0.3);
}

nav a[target="_blank"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 175, 25, 0.4);
}

nav a[target="_blank"]::before {
  background: transparent;
}

/* 产品下拉菜单 */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a .caret {
  display: inline-block;
  margin-left: 5px;
  font-size: 11px;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover > a .caret {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(30, 60, 114, 0.18);
  border: 1px solid rgba(0, 123, 255, 0.1);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
  list-style: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: flex;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  text-align: left;
  padding: 11px 16px;
  border-radius: 10px;
  min-width: 0;
  min-height: 0;
}
.dropdown-menu a::before {
  display: none;
}
.dropdown-menu a.active {
  background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
  color: #fff;
}

/* 移动端：下拉子项缩进平铺 */
@media (max-width: 768px) {
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 18px;
    display: flex;
    gap: 4px;
  }
  .nav-dropdown > a .caret {
    display: none;
  }
}

/* 主体内容区 */
main {
  padding-top: 100px;
  min-height: calc(100vh - 120px);
  background: linear-gradient(180deg, #f0f4f8 0%, #d9e2ec 100%);
}

/* 首页样式 - 美化增强 */
#home {
  padding: 20px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  z-index: 1;
  margin-top: 80px;
}

.carousel-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: block;
}

.carousel-item {
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: none;
}

.carousel-item.active {
  opacity: 1;
  display: block;
  animation: fadeInUp 1s ease-out;
}

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

.carousel-container img {
  width: 100%;
  display: block;
}

.carousel-container img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #007bff;
  font-family: inherit;
  min-width: 50px;
  min-height: 50px;
}

.carousel-control:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #0056b3;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-indicator.active {
  background: #007bff;
  transform: scale(1.3);
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.6);
  }
  100% {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  }
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .carousel {
    padding: 10px;
    margin-top: 70px;
  }
  
  .carousel-control {
    width: 44px;
    height: 44px;
    font-size: 20px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .carousel-control.prev {
    left: 15px;
  }
  
  .carousel-control.next {
    right: 15px;
  }
  
  .carousel-indicators {
    bottom: 20px;
  }
  
  .carousel-indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .carousel {
    margin-top: 60px;
  }
  
  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 18px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .carousel-control.prev {
    left: 10px;
  }
  
  .carousel-control.next {
    right: 10px;
  }
  
  .carousel-indicators {
    bottom: 15px;
  }
  
  .carousel-indicator {
    width: 8px;
    height: 8px;
  }
}

.featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 60px 5%;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.featured-item {
  height: 100%;
}

.featured-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.featured-item-content {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 480px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  overflow: hidden;
}

.featured-item-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.03) 0%, rgba(0, 210, 160, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.featured-item-content::after {
  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 ease;
  z-index: 1;
}

.featured-item-content:hover::after {
  left: 100%;
}

.featured-item-content:hover {
  transform: translateY(-12px) scale(1.02) rotateX(5deg);
  box-shadow: 0 25px 45px rgba(0, 123, 255, 0.2), 0 0 20px rgba(0, 123, 255, 0.1), 0 0 40px rgba(0, 210, 160, 0.05);
  border-color: rgba(0, 123, 255, 0.4);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 25px 45px rgba(0, 123, 255, 0.2), 0 0 20px rgba(0, 123, 255, 0.1), 0 0 40px rgba(0, 210, 160, 0.05);
  }
  to {
    box-shadow: 0 25px 55px rgba(0, 123, 255, 0.25), 0 0 30px rgba(0, 123, 255, 0.15), 0 0 50px rgba(0, 210, 160, 0.1);
  }
}

.featured-item-content:active {
  transform: translateY(-8px) scale(0.98);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
  transition: transform 0.1s ease;
}

.featured-item-content:hover::before {
  opacity: 1;
}

.featured-item-content img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(0, 123, 255, 0.1);
}

.featured-item-content:hover img {
  transform: scale(1.1) rotateY(10deg);
}

.featured-item-text {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.featured-item-content:hover .featured-item-text {
  transform: translateY(-5px);
}

.featured-item-text h3 {
  background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 700;
  transition: all 0.4s ease;
  position: relative;
  display: inline-block;
}

.featured-item-content:hover h3 {
  transform: translateX(8px);
  text-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
  animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {
  0% {
    text-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
  }
  50% {
    text-shadow: 0 2px 20px rgba(0, 123, 255, 0.5);
  }
  100% {
    text-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
  }
}

.featured-item-text h3::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2a0);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.featured-item-content:hover h3::after {
  width: 5px;
  animation: pulseLine 1.5s ease-in-out infinite;
}

@keyframes pulseLine {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

.featured-item-text p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  flex-grow: 1;
  text-align: justify;
  transition: all 0.4s ease;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

.featured-item-content:hover p {
  opacity: 1;
  transform: translateX(3px);
  color: #333;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .featured-item-content {
    transition: all 0.3s ease;
  }
  
  .featured-item-content:active {
    transform: translateY(-5px) scale(0.98);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
  }
}

/* 卡片进入动画 */
.featured-item-content {
  animation: fadeInUp 1s ease-out;
}

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

/* 为不同卡片添加延迟动画 */
.featured-item:nth-child(1) .featured-item-content {
  animation-delay: 0.1s;
}

.featured-item:nth-child(2) .featured-item-content {
  animation-delay: 0.2s;
}

.featured-item:nth-child(3) .featured-item-content {
  animation-delay: 0.3s;
}

/* 服务页面样式 */
#services {
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

#services h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
}

#services h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
}

#services > p {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0;
  margin-bottom: 50px;
}

.service-list > li {
  background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  list-style: none;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.service-list > li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #007bff 0%, #0056b3 100%);
}

.service-list > li:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-list h3 {
  color: #007bff;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list h3::before {
  content: '✦';
  color: #007bff;
  font-size: 1.2rem;
}

.service-list > li > p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.7;
}

.service-list > li > ul {
  padding-left: 20px;
}

.service-list > li > ul > li {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.7;
}

.service-list > li > ul > li strong {
  color: #2c3e50;
  font-weight: 600;
}

.service-list > li > ul > li > ul {
  margin-top: 8px;
  padding-left: 15px;
}

.service-list > li > ul > li > ul > li {
  margin-bottom: 8px;
  color: #666;
  position: relative;
  padding-left: 15px;
}

.service-list > li > ul > li > ul > li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #007bff;
}

.core-advantages {
  background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
  border-radius: 15px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.core-advantages h3 {
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 15px;
}

.core-advantages h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.core-advantages {
  margin-top: 30px;
  padding: 30px 40px;
}

.core-advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.core-advantages li {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #fff;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.core-advantages li:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.core-advantages li strong {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}

#services > p:last-of-type {
  text-align: center;
  color: #666;
  margin-top: 40px;
  font-size: 1.05rem;
  font-style: italic;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #007bff;
}

/* 产品页面样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 5%;
}

.intro {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.intro-title {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.module {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.module h3 {
  color: #007bff;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.module ul {
  padding-left: 25px;
}

.module li {
  margin-bottom: 15px;
  line-height: 1.7;
}

.module-image {
  display: block;
  margin: 15px auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-row {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  justify-content: center;
}

/* 案例页面样式 */
#cases {
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

#cases h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #2c3e50;
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
}

#cases h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
}

#cases p {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #f0f0f0;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 123, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 2rem;
  color: white;
  transition: transform 0.3s ease;
}

.gallery-overlay:hover .gallery-icon {
  transform: scale(1.2);
}

/* 灯箱样式 */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.3s ease;
  transform: scale(0.8);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

#lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .gallery-item img {
    height: 120px;
  }
  
  .lightbox-content {
    max-width: 95%;
  }
  
  #lightbox-image {
    max-height: 70vh;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .gallery-item img {
    height: 100px;
  }
  
  .lightbox-content {
    max-width: 98%;
  }
  
  #lightbox-image {
    max-height: 60vh;
  }
  
  .lightbox-close {
    top: -30px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

/* 页脚样式 - 美化增强 */
footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #ecf0f1;
  text-align: center;
  padding: 30px 5%;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #007bff 0%, #00d2a0 100%);
}

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: #bdc3c7;
  line-height: 1.8;
}

.copyright:hover {
  color: #fff;
  transition: color 0.3s ease;
}

/* 比价页面专用样式 */
.price-comparison-main {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
}

.price-upload-section {
    padding: 60px 0;
}

.price-upload-section h1 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.upload-area {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.upload-area.drag-over {
    border: 3px dashed #007bff;
    background-color: #f8f9ff;
    transform: scale(1.02);
}

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

.upload-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #007bff;
}

.upload-content p {
    margin: 10px 0;
    color: #666;
}

.file-types {
    font-size: 0.9rem;
    color: #999;
}

.upload-btn {
    background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.processing-info {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 结果展示区域样式 */
.results-section {
    background: white;
    padding: 40px 0;
    margin-top: 40px;
}

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

.results-header h2 {
    color: #333;
    margin: 0;
}

.results-actions {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.results-table-container {
    overflow-x: auto;
    margin: 0 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.results-table th {
    background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
    color: white;
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
}

.results-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.results-table tr:hover {
    background-color: #f8f9ff;
}

.price-cell {
    font-weight: bold;
    color: #333;
}

.price-cell.price-found {
    color: #28a745;
}

.link-cell a {
    color: #007bff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 15px;
    background: #f8f9ff;
    transition: all 0.3s ease;
}

.link-cell a:hover {
    background: #007bff;
    color: white;
}

.status-cell {
    font-weight: 500;
    text-align: center;
    padding: 8px 15px;
    border-radius: 15px;
    color: white;
}

.status-completed {
    background: #28a745;
}

.status-partial {
    background: #ffc107;
    color: #333;
}

.status-processing {
    background: #17a2b8;
}

.status-not-found {
    background: #dc3545;
}

.status-failed {
    background: #6c757d;
}

.status-pending {
    background: #6c757d;
}

/* 响应式设计 - 导航栏适配 */
@media (max-width: 768px) {
    /* 强制 header 不换行，三个元素横向排列：Logo - 汉堡按钮 - 占位 */
    header {
        padding: 10px 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .logo-container-left {
        flex-shrink: 0;
    }
    
    .logo {
        height: 40px;
    }
    
    /* 强制显示汉堡菜单按钮 */
    .menu-toggle {
        display: flex !important;
        flex-shrink: 0;
        order: 2; /* 放在第二个位置 */
    }
    
    /* Logo 在第一个位置 */
    .logo-container-left {
        order: 1;
    }
    
    /* nav 在第三个位置但隐藏 */
    nav {
        order: 3;
    }
    
    /* 完全隐藏原始导航列表 */
    nav ul {
        display: none !important;
    }
    
    /* 移动端下拉导航容器样式 */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
        box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
        backdrop-filter: blur(10px);
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
    }
    
    /* 激活状态下显示导航 */
    nav.active {
        max-height: 500px;
        padding: 20px 0;
        opacity: 1;
        transform: translateY(0);
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, transform 0.5s ease;
    }
    
    nav.active ul {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
        margin: 0;
    }
    
    nav.active li {
        opacity: 0;
        transform: translateY(-10px);
        animation: fadeInUp 0.3s ease forwards;
    }
    
    nav.active li:nth-child(1) { animation-delay: 0.1s; }
    nav.active li:nth-child(2) { animation-delay: 0.2s; }
    nav.active li:nth-child(3) { animation-delay: 0.3s; }
    nav.active li:nth-child(4) { animation-delay: 0.4s; }
    nav.active li:nth-child(5) { animation-delay: 0.5s; }
    nav.active li:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    nav li {
        width: 100%;
    }
    
    nav.active li a {
        width: 100%;
        padding: 12px 16px;
        min-height: 44px;
        border-radius: 10px;
        font-size: 15px;
        justify-content: flex-start;
    }
    
    nav a {
        display: block;
        padding: 14px 16px;
        border-radius: 12px;
        text-align: center;
        width: 100%;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s ease;
    }
    
    nav a:hover::before {
        left: 100%;
    }
    
    nav a:hover {
        background: rgba(0, 123, 255, 0.08);
        transform: translateX(5px);
    }
    
    nav a.active {
        background: linear-gradient(135deg, #007bff 0%, #00d2a0 100%);
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
    
    nav a.active:hover {
        transform: translateX(0);
    }
    
    /* 特殊链接在移动端也保持样式 */
    nav a[target="_blank"] {
        background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
        box-shadow: 0 4px 15px rgba(245, 175, 25, 0.3);
    }
    
    nav a[target="_blank"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(245, 175, 25, 0.4);
    }
    
    /* 价格对比页面适配 */
    .price-comparison-main {
        padding-top: 80px;
    }
    
    .price-upload-section h1 {
        font-size: 2rem;
    }
    
    .upload-area {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .results-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .results-actions {
        width: 100%;
        justify-content: center;
    }
    
    .results-table-container {
        margin: 0 10px;
    }
    
    .results-table {
        font-size: 0.9rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 8px 5px;
    }
    
    /* 轮播图适配 */
    .carousel {
        padding: 10px;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    /* 特色卡片适配 */
    .featured {
        padding: 40px 5%;
        gap: 20px;
    }
    
    .featured-item-content {
        min-height: 400px;
    }
    
    .featured-item-content img {
        height: 150px;
    }
    
    /* 服务列表适配 */
    .service-list {
        gap: 20px;
    }
    
    .service-list > li {
        padding: 20px;
    }
    
    /* 核心优势适配 */
    .core-advantages {
        padding: 30px 20px;
    }
    
    /* 案例页面适配 */
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 120px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 5%;
    }
    
    .logo-container-left {
        order: 1;
    }
    
    .menu-toggle {
        order: 2;
        width: 26px;
        height: 22px;
    }
    
    nav {
        order: 3;
    }
    
    .logo {
        height: 35px;
    }
    
    .menu-toggle span {
        height: 2.5px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    nav.active ul {
        padding: 0 15px;
    }
    
    nav a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* 价格对比页面小屏适配 */
    .price-upload-section h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 6px 3px;
        font-size: 0.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    /* 轮播图小屏适配 */
    .carousel-container {
        height: 200px;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .carousel-control.prev {
        left: 10px;
    }
    
    .carousel-control.next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    /* 特色卡片小屏适配 */
    .featured {
        padding: 30px 5%;
        gap: 15px;
    }
    
    .featured-item-content {
        min-height: 350px;
    }
    
    .featured-item-content img {
        height: 120px;
    }
    
    .featured-item-text {
        padding: 20px;
    }
    
    .featured-item-text h3 {
        font-size: 1.2rem;
    }
    
    .featured-item-text p {
        font-size: 0.85rem;
    }
    
    /* 服务列表小屏适配 */
    .service-list {
        gap: 15px;
    }
    
    .service-list > li {
        padding: 15px;
    }
    
    .service-list h3 {
        font-size: 1.1rem;
    }
    
    /* 核心优势小屏适配 */
    .core-advantages {
        padding: 20px 15px;
    }
    
    .core-advantages h3 {
        font-size: 1.3rem;
    }
    
    .core-advantages li {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    /* 案例页面小屏适配 */
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item img {
        height: 100px;
    }
    
    /* 产品页面小屏适配 */
    .container {
        padding: 15px 5%;
    }
    
    .intro {
        padding: 20px;
    }
    
    .intro-title {
        font-size: 1.5rem;
    }
    
    .module {
        padding: 20px;
    }
    
    .module h3 {
        font-size: 1.2rem;
    }
}

/* 页面滚动动画 */
@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);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 服务页面元素动画 */
.service-list > li {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.service-list > li.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 产品页面元素动画 */
.module {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.module.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 案例页面元素动画 */
.gallery-item {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

/* 渐入动画延迟 */
.service-list > li:nth-child(1) { transition-delay: 0.1s; }
.service-list > li:nth-child(2) { transition-delay: 0.2s; }
.service-list > li:nth-child(3) { transition-delay: 0.3s; }
.service-list > li:nth-child(4) { transition-delay: 0.4s; }
.service-list > li:nth-child(5) { transition-delay: 0.5s; }

.gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.15s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.25s; }
.gallery-item:nth-child(5) { transition-delay: 0.3s; }
.gallery-item:nth-child(6) { transition-delay: 0.35s; }
.gallery-item:nth-child(7) { transition-delay: 0.4s; }
.gallery-item:nth-child(8) { transition-delay: 0.45s; }
.gallery-item:nth-child(9) { transition-delay: 0.5s; }
.gallery-item:nth-child(10) { transition-delay: 0.55s; }

.module:nth-child(1) { transition-delay: 0.1s; }
.module:nth-child(2) { transition-delay: 0.2s; }
.module:nth-child(3) { transition-delay: 0.3s; }
.module:nth-child(4) { transition-delay: 0.4s; }
.module:nth-child(5) { transition-delay: 0.5s; }
.module:nth-child(6) { transition-delay: 0.6s; }
