/* 关键CSS优化 - 压缩和简化 */
:root {
  --primary-color: #3b82f6;
  --secondary-color: #4b5563;
  --accent-color: #8b5cf6;
  --light-bg: #f8fafc;
  --text-color: #1e293b;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif; background-color: var(--light-bg); color: var(--text-color); line-height: 1.6; overflow-x: hidden; }

/* 优化的页面加载动画 */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-circle {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 优化的滚动显示动画 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 图片懒加载优化 */
.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

/* 图片加载占位符 */
.lazy-image:not(.loaded) {
  background-color: #f1f5f9;
}

/* 合作伙伴图片懒加载 */
.partner-logo-img.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-logo-img.lazy-image.loaded {
  opacity: 1;
}

/* 管理员页面图片懒加载 */
.admin-page .lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-page .lazy-image.loaded {
  opacity: 1;
}

/* 简化的英雄区域 */
.hero-section {
  background: none !important;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 英雄滑块样式 */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: none !important;
  z-index: 1;
}

/* ensure overlay and particles stay behind content */
.particles-container { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-content {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1rem !important;
  text-align: center !important;
  z-index: 2;
}

/* 英雄导航按钮 */
.hero-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(0,0,0,0.35); color: #fff; border: none; width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hero-nav-btn:hover { background: rgba(0,0,0,0.55); transform: translateY(-50%) scale(1.05); }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
@media (max-width: 768px) { .hero-nav-btn { width: 36px; height: 36px; font-size: 18px; } }

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.8s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.8s ease 0.2s both;
}

/* 可选的描述文本阴影增强 */
.hero-description {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 卡片悬停效果 */
.tech-card.card-hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 英雄区域按钮样式优化 */
.hero-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-button::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.5s;
  z-index: -1;
}

.hero-button:hover::before {
  left: 100%;
}

.hero-button-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
}

.hero-button-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.hero-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-button-secondary:hover {
  background: white;
  color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* 按钮发光效果 */
.hero-button-primary:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 10px 25px rgba(59, 130, 246, 0.4);
}

.hero-button-secondary:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* 按钮脉冲动画 */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.hero-button-primary {
  animation: pulse 2s infinite;
}

/* 按钮微交互效果 */
.hero-button:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 按钮涟漪效果 */
.hero-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.hero-button:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    transform: scale(25, 25);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

/* 按钮文字微动画 */
.hero-button span {
  display: inline-block;
  position: relative;
  transition: transform 0.3s ease;
}

.hero-button:hover span {
  transform: translateY(-2px);
}

/* 按钮边框动画 */
.hero-button-secondary {
  position: relative;
}

.hero-button-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #60a5fa, #3b82f6) border-box;
  z-index: -2;
}

/* 按钮光泽效果 */
.hero-button-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg) translate(-100%, -100%);
  transition: transform 0.6s;
  z-index: 1;
}

.hero-button-primary:hover::after {
  transform: rotate(30deg) translate(100%, 100%);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 导航栏增强 */
nav {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav.scrolled {
  box-shadow: var(--shadow-medium);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* 移动端菜单按钮优化 */
.mobile-menu-button {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 50;
  background: none;
  border: none;
  padding: 0;
}

/* 移动端菜单按钮响应式控制 */
@media (min-width: 768px) {
  .mobile-menu-button {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .mobile-menu-button {
    display: flex !important;
  }
}

.mobile-menu-button span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-button.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-button.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* 关闭按钮特殊样式 */
#mobile-menu-close {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 50;
  background: none;
  border: none;
  padding: 0;
}

#mobile-menu-close span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  left: 0;
}

#mobile-menu-close span:nth-child(1) {
  transform: rotate(45deg);
}

#mobile-menu-close span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-close span:nth-child(3) {
  transform: rotate(-45deg);
}

/* 移动端关闭按钮样式 */
.mobile-menu-close {
  position: relative;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 50;
}

.mobile-menu-close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-close span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
  transform: translateY(-50%) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: white;
  box-shadow: var(--shadow-large);
  transition: right 0.3s ease;
  z-index: 40;
  overflow-y: auto;
}

/* 移动端菜单响应式控制 */
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .mobile-menu {
    display: block !important;
  }
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-nav {
  padding: 1.5rem 0;
}

.mobile-menu-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu-nav a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
  padding-left: 2rem;
}

/* 基础卡片样式增强 */
.tech-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.tech-card:hover::before {
  left: 100%;
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
  border-color: rgba(59, 130, 246, 0.2);
}

/* 服务卡片优化 */
.service-card {
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-description {
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* 按钮样式优化 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.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(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* 按钮波纹效果 */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.tech-card:hover::before {
  left: 100%;
}

.tech-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-10px) scale(1.02);
}

/* 导航链接效果增强 */
.nav-link {
  position: relative;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* 按钮样式增强 */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.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.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(59, 130, 246, 0.5);
}

/* 渐变文本效果增强 */
.gradient-text {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* 服务卡片增强 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon i {
  color: white;
  font-size: 1.8rem;
}

/* 客户卡片增强 */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* 公司优势和荣誉资质部分样式 */
.advantage-section {
  position: relative;
}

.advantage-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateX(5px);
}

.advantage-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

/* 荣誉资质部分样式 */
.honor-section {
  position: relative;
}

.honor-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.honor-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.honor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.honor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.honor-card:hover::before {
  transform: scaleX(1);
}

.honor-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.honor-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 8px;
  display: block;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.honor-card:hover .honor-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.honor-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.honor-period {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* 成功案例部分样式 */
.case-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.case-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image {
  transform: scale(1.05);
}

/* 详情页：仅让视频保持 16:9，避免影响普通图片 */
.case-detail video.case-image {
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 800px);
  object-fit: contain;
  background: #000;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .case-detail video.case-image {
    aspect-ratio: auto;
    max-height: 50vh;
  }
}

.case-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em; /* 保持标题区域高度一致 */
}

.case-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 描述限制2行，避免高度不齐 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-category {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
}

.case-link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.case-link:hover {
  color: var(--accent-color);
}

/* 客户群体卡片 */
.customer-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.customer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0) 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.customer-card:hover::before {
  transform: scale(1);
}

.customer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.customer-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.customer-card:hover .customer-icon {
  transform: scale(1.1);
}

.customer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.customer-logo {
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.customer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* 公司优势增强 */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.advantage-item {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.advantage-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
  border-radius: 0 0 0 100%;
}

.advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
  transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon {
  transform: scale(1.1) rotate(5deg);
}

.advantage-icon i {
  color: white;
  font-size: 1.5rem;
}

/* 荣誉资质增强 */
.honor-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.honor-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 案例卡片增强 */
.case-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.filter-btn {
  transition: all 0.3s ease;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

.filter-btn.active {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.filter-btn:hover:not(.active) {
  background-color: #e5e7eb;
  transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .tech-card {
    transform: none !important;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* 加载动画 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner {
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  border-top: 3px solid var(--primary-color);
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* 自定义样式 */
.tech-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 查看更多按钮样式 */
#viewMoreBtn {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

#viewMoreBtn::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.5s;
}

#viewMoreBtn:hover::before {
  left: 100%;
}

#viewMoreBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(59, 130, 246, 0.5);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary-color), var(--accent-color));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 20px rgba(59, 130, 246, 0.5);
}

.back-to-top::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.5s;
  border-radius: 50%;
}

.back-to-top:hover::before {
  left: 100%;
}

/* 客户群体部分样式 */
.customer-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.customer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(240, 245, 255, 0.8) 0%, rgba(230, 240, 255, 0.8) 100%);
  z-index: -1;
}

.customer-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.customer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.customer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.customer-card:hover::before {
  transform: scaleX(1);
}

.customer-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--gradient-accent);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.customer-card:hover .customer-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.customer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.customer-description {
  font-size: 14px;
  color: var(--secondary-color);
}

/* 客户Logo部分样式 */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

.client-logo {
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.customer-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.customer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.customer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.customer-card:hover::before {
  transform: scaleX(1);
}

.customer-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--gradient-accent);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.customer-card:hover .customer-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.customer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.customer-description {
  font-size: 14px;
  color: var(--secondary-color);
}

/* 客户Logo部分样式 */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

.client-logo {
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* zrkj移植 - 标题通用样式（作用域） */
.zrkj .wrap-tit h2 { text-align: center; display: block; }
.zrkj .wrap-tit h2 span { display: inline-block; font-size: 40px; color: #222; margin: 0 10px; font-weight: normal; }
.zrkj .wrap-tit h2 .i1,.zrkj .wrap-tit h2 .i2 { display: none; }
.zrkj .wrap-tit h2 .i1:after { content: ''; display: block; position: absolute; right: 0; top: 0; width: 10px; height: 1px; background: #ed1b23; }
.zrkj .wrap-tit h2 .i2:after { content: ''; display: block; position: absolute; left: 0; top: 0; width: 10px; height: 1px; background: #ed1b23; }
.zrkj .t2 h2 .i1:after {background: #0063b3;}
.zrkj .t2 h2 .i2:after {background: #0063b3;}
.zrkj .wrap-tit p { font-size: 14px; color: #666; margin-top: 6px; clear: both; text-align: center; display: block; }

/* zrkj移植 - 布局容器（作用域） */
.zrkj .content { width: 1400px; margin: 0 auto; }
@media screen and (max-width: 1500px) { .zrkj .content { width: 1200px; } }
@media screen and (max-width: 1200px) { .zrkj .content { width: 1150px; } }

/* zrkj移植 - 痛点区域（完全还原视觉） */
.zrkj .spot { position: relative; padding: 74px 0 65px; }
.zrkj .spot .wrap-tit span em { font-weight: bold; color: #ed1b23; }
.zrkj .spot-con { margin-top: 35px; overflow: hidden; }
.zrkj .spot-con .item { float: left; width: 200px; height: 370px; margin-right: 40px; border-radius: 100px; background: #f6f6f6; }
.zrkj .spot-con .item:last-of-type { margin-right: 0; }
.zrkj .spot-con .item span { display: block; margin: 20px auto 0; width: 172px; font-size: 0; border-radius: 50%; overflow: hidden; }
.zrkj .spot-con .item span img { width: 100%; }
.zrkj .spot-con .item h2 { font-size: 26px; color: #222; margin-top: 39px; text-align: center; }
.zrkj .spot-con .item p { margin: 20px auto 0; width: 77%; font-size: 16px; color: #222; line-height: 1.5; text-align: center; }
.zrkj .spot-con .item:hover { background: #ed1b23; }
.zrkj .spot-con .item:hover h2, .zrkj .spot-con .item:hover p { color: #fff; }

/* zrkj移植 - 流程区域（完全还原视觉） */
.zrkj .process { overflow: hidden; padding: 80px 0 90px; background: #f6f6f6; }
.zrkj .process-con { margin-top: 60px; overflow: hidden; position: relative; }
.zrkj .process-con:after { content: ''; display: block; margin-top: 61px; width: 95%; height: 1px; border-bottom: 1px dashed #666; box-sizing: border-box; }
.zrkj .process-con .item { margin-right: 60px; text-align: center; float: left; background: url('../uploads/process-bg.png') no-repeat center; width: 122px; height: 132px; }
.zrkj .process-con .item:last-of-type { margin-right: 0; }
.zrkj .process-con .item img { width: 40px; margin: 28px auto 0; display: block; }
.zrkj .process-con .item p { font-size: 17px; color: #fff; margin-top: 5px; }

/* zrkj移植 - 响应式微调 */
@media screen and (max-width: 1500px) {
  .zrkj .spot-con .item { width: 185px; margin-right: 18px; }
  .zrkj .spot-con .item span { width: 157px; }
  .zrkj .process-con .item { margin-right: 32px; }
}
@media screen and (max-width: 1200px) {
  .zrkj .spot-con .item { width: 176px; margin-right: 14px; }
  .zrkj .process-con .item { width: 114px; margin-right: 29px; }
}
/* 移动端优化 */
@media screen and (max-width: 768px) {
  .zrkj .content { width: 100%; max-width: 100%; padding: 0 16px; }
  .zrkj .spot { padding: 32px 0; }
  .zrkj .wrap-tit h2 span { font-size: 24px; }
  .zrkj .wrap-tit p { font-size: 12px; }
  .zrkj .spot-con { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
  .zrkj .spot-con .item { float: none; width: calc(50% - 12px); height: auto; border-radius: 16px; padding: 16px 12px; margin-right: 0; }
  .zrkj .spot-con .item span { width: 100%; max-width: 140px; }
  .zrkj .spot-con .item h2 { font-size: 18px; margin-top: 12px; }
  .zrkj .spot-con .item p { width: 100%; font-size: 14px; margin-top: 8px; }
  .zrkj .process { padding: 32px 0; }
  .zrkj .process-con { margin-top: 24px; }
  .zrkj .process-con:after { display: none; }
  .zrkj .process-con { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .zrkj .process-con .item { float: none; width: auto; height: auto; margin-right: 0; background-size: cover; padding: 12px 0; }
  .zrkj .process-con .item img { margin-top: 0; }
  .zrkj .process-con .item p { font-size: 14px; margin-top: 6px; }
}
@media screen and (max-width: 480px) {
  .zrkj .process-con { grid-template-columns: repeat(2, 1fr); }
  .zrkj .spot-con .item { width: 100%; }
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary-color), var(--accent-color));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 20px rgba(59, 130, 246, 0.5);
}

.back-to-top::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.5s;
  border-radius: 50%;
}

.back-to-top:hover::before {
  left: 100%;
}

/* 客户群体部分样式 */
.customer-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.customer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(240, 245, 255, 0.8) 0%, rgba(230, 240, 255, 0.8) 100%);
  z-index: -1;
}

.customer-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.customer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.customer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.customer-card:hover::before {
  transform: scaleX(1);
}

.customer-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--gradient-accent);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.customer-card:hover .customer-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.customer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.customer-description {
  font-size: 14px;
  color: var(--secondary-color);
}

/* 客户Logo部分样式 */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

.client-logo {
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}