:root {
  --primary-color: #0066CC;
  --primary-light: rgba(0, 102, 204, 0.1);
  --primary-dark: #004C99;
  --accent-color: #00CC99;
  --text-primary: #333;
  --text-secondary: #666;
  --bg-gradient: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
}

.home-container {
  width: 100%;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  opacity: 0;
  text-decoration: none;
}

.cta-button:hover {
  background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
  color: white;
}

/* 核心业务区域样式 */
.core-business {
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  padding: 1rem 0; /* 减少内边距 */
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(0, 102, 204, 0.1) 50%,
    transparent 100%
  );
}

/* 全局动效 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 102, 204, 0.2); }
  50% { box-shadow: 0 0 20px rgba(0, 102, 204, 0.4); }
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.business-tabs {
  position: relative;
  width: 100%;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 5rem;
  background: linear-gradient(
    to right,
    rgba(0, 102, 204, 0.12) 0%,
    rgba(0, 102, 204, 0.08) 50%,
    rgba(0, 102, 204, 0.04) 100%
  );
  padding: 2rem 0;
  border-radius: 8px;
  width: 100%;
}

.tab-item {
  text-align: center;
  cursor: pointer;
  padding: 0.8rem 1.2rem; /* 调整内边距 */
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* 添加轻微的底部边框 */
}

.tab-item h3 {
  font-size: 0.95rem; /* 减小字体大小 */
  font-weight: 500; /* 减轻字体粗细 */
  color: #2c3e50; /* 更深沉的颜色 */
  margin: 0.3rem 0 0; /* 调整外边距 */
  letter-spacing: 0.02em; /* 增加字母间距 */
}

.tab-item::after {
  content: '';
  position: absolute;
  bottom: -1px; /* 减少底部距离 */
  left: 0;
  width: 100%;
  height: 2px; /* 减少高度 */
  background: transparent;
  transition: background-color 0.3s;
}

.tab-item.active::after {
  background: #0066CC; /* 使用主色调 */
}

.tab-item.active h3 {
  color: #0066CC; /* 激活状态下的文字颜色 */
}

.tab-icon {
  width: 60px; /* 进一步减小图标尺寸 */
  height: 60px; /* 进一步减小图标尺寸 */
  margin: 0 auto 0.3rem; /* 减少底部外边距 */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-item:hover .tab-icon {
  background: rgba(0, 102, 204, 0.1);
}

/* 业务板块图标 */
.icon-business {
  width: 40px;
  height: 40px;
  position: relative;
}

.icon-business span {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #0066CC;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.icon-business span:nth-child(1) {
  top: 0;
  left: 0;
  transform: rotate(45deg);
  transform-origin: left;
}

.icon-business span:nth-child(2) {
  top: 50%;
  width: 60%;
  right: 0;
}

.icon-business span:nth-child(3) {
  bottom: 0;
  left: 0;
  transform: rotate(-45deg);
  transform-origin: left;
}

/* 智能终端图标 */
.icon-devices {
  width: 40px;
  height: 40px;
  position: relative;
}

.icon-devices span {
  position: absolute;
  background: #0066CC;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.icon-devices span:nth-child(1) {
  width: 20px;
  height: 30px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 3px solid #0066CC;
}

.icon-devices span:nth-child(2) {
  width: 16px;
  height: 16px;
  right: 0;
  top: 0;
  border: 3px solid #0066CC;
}

.icon-devices span:nth-child(3) {
  width: 16px;
  height: 16px;
  right: 0;
  bottom: 0;
  border: 3px solid #0066CC;
}

/* AI工具箱图标 */
.icon-ai {
  width: 40px;
  height: 40px;
  position: relative;
}

.icon-ai span:nth-child(1) {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 4px solid #0066CC;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.icon-ai span:nth-child(2) {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #0066CC;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.tab-item:hover .tab-icon [class^="icon-"] span {
  transform-origin: center;
  transform: scale(1.1);
}

/* Tab内容区域装饰 - 不改变原有功能 */
.tab-content {
    position: relative;
    width: 100%;
}

/* 保持原有的标签页切换功能 */
.tab-content {
  margin-top: 1.5rem; /* 增加上边距 */
  background: transparent;
  padding: 0; /* 移除内边距 */
  border-radius: 0; /* 移除圆角 */
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease; /* 添加过渡效果 */
}

.tab-pane.active {
  display: block;
  opacity: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; /* 增加间隔 */
}

.feature-item {
  background: white;
  border-radius: 4px; /* 更小的圆角，更加商务 */
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); /* 更轻微的阴影 */
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05); /* 添加轻微的边框 */
}

.feature-item:hover {
  transform: translateY(-3px); /* 减小悬停效果 */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); /* 悬停时增加阴影 */
}

.feature-item img {
  width: 100%;
  height: 160px; /* 减小图片高度 */
  object-fit: cover;
}

.feature-item h4 {
  padding: 1rem 1rem 0.3rem; /* 减少内边距 */
  margin: 0;
  font-size: 1rem; /* 减小字体大小 */
  color: #2c3e50; /* 更深沉的颜色，更加商务 */
  text-align: center;
  font-weight: 500; /* 减轻字体粗细 */
  letter-spacing: 0.02em; /* 增加字母间距 */
}

.feature-item p {
  padding: 0 1rem 1rem; /* 减少内边距 */
  margin: 0;
  color: #5a6a7e; /* 更商务的颜色 */
  text-align: center;
  font-size: 0.85rem; /* 减小字体大小 */
  line-height: 1.5; /* 调整行高 */
  letter-spacing: 0.01em; /* 增加字母间距 */
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-nav {
    gap: 2rem;
  }
}

/* 内容布局样式 */
.content-layout {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  gap: 2rem;
}

.sidebar {
  width: 240px;
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin: 0.5rem 0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.menu-link i {
  font-size: 1.2rem;
  color: #666;
  margin-right: 1rem;
  transition: color 0.3s;
}

.menu-link span {
  color: #333;
  font-size: 1rem;
  transition: color 0.3s;
}

.menu-link:hover {
  background: rgba(0, 102, 204, 0.1);
}

.menu-link:hover i,
.menu-link:hover span {
  color: #0066CC;
}

.content-area {
  flex: 1;
  background: white;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-section.reverse {
  flex-direction: row-reverse;
}

.content-info, .content-image {
  flex: 1;
}

.content-item {
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.content-item.active {
  display: block;
  opacity: 1;
}

.content-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.content-info {
  text-align: left;
}

.content-info h4 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.2rem;
}

.content-info p {
  color: #666;
  line-height: 1.2;
  font-size: 0.95rem;
}

.content-btn {
  display: block;
  width: fit-content;
  margin: 0.5rem auto 0;
  padding: 0.8rem 2rem;
  background: #0066CC;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .content-layout {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .content-section,
  .content-section.reverse {
    flex-direction: column;
  }
  
  .content-info {
    text-align: center;
  }
}

/* 解决方案区域样式 */
.solution-grid {
  position: relative;
  overflow: hidden;
    padding: 2rem 0;
    background: var(--bg-gradient);
}

/* 卡片容器 */
.solution-cards-wrapper {
  display: flex;
  gap: 1.5rem;
    padding: 1rem;
    animation: infiniteScroll 35s linear infinite;
    width: fit-content;
}

/* 卡片样式 */
.solution-card {
    min-width: 360px;  /* 减小卡片宽度，让一行能放下三张 */
    flex: 0 0 auto;
  position: relative;
    border-radius: 12px;
  overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
    height: 280px;  /* 适当减小高度 */
    transition: all 0.3s ease;
}

/* 静态卡片网格布局 */
.static-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 三列布局 */
    gap: 1.5rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.static-cards-grid .solution-card {
    min-width: unset;  /* 移除最小宽度限制 */
    width: 100%;      /* 让卡片填充网格单元格 */
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    transition: transform 0.5s ease;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    transform: translateY(70%);
    transition: transform 0.5s ease;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
  transform: translateY(20px);
    transition: all 0.5s ease;
}

/* 悬停效果 */
.solution-card:hover {
  transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.solution-card:hover .card-content {
    transform: translateY(0);
}

.solution-card:hover .card-description {
    opacity: 1;
  transform: translateY(0);
}

.solution-card:hover img {
    transform: scale(1.1);
}

/* 无限滚动动画 */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));  /* 调整滚动距离 */
    }
}

/* 鼠标悬停时暂停动画 */
.solution-grid:hover .solution-cards-wrapper {
  animation-play-state: paused;
}

/* 添加渐变遮罩，使边缘过渡更自然 */
.solution-grid::before,
.solution-grid::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.solution-grid::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-gradient), transparent);
}

.solution-grid::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-gradient), transparent);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .static-cards-grid {
        grid-template-columns: repeat(2, 1fr);  /* 平板上两列 */
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .solution-card {
        min-width: 280px;
        height: 240px;
    }
    
    .static-cards-grid {
        grid-template-columns: 1fr;  /* 手机上单列 */
    }
    
    .card-content {
        padding: 1.2rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

/* 业务卡片网格样式 */
.business-grid {
  display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2列布局 */
  gap: 2rem;
  padding: 1.5rem 0;
  margin: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.business-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid rgba(26, 54, 93, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
    height: 100%;  /* 确保所有卡片高度一致 */
}

.business-card h3 {
  color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.business-card p {
  color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-link {
  display: inline-block;
    padding: 0.8rem 2rem;
  border: 1px solid #333;
  color: #333;
  text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.business-card:hover {
    transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
}

.business-card:hover h3 {
  color: #0066CC;
}

.product-link:hover {
    background: #0066CC;
    color: #fff;
  border-color: #0066CC;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .business-grid {
    grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .business-card {
        padding: 1.2rem;
    }
    
    .business-card h3 {
        font-size: 1.2rem;
    }
    
    .product-link {
        padding: 0.6rem 1.5rem;
    }
}

/* 智能终端和AI工具箱网格布局 */
.device-grid,
.ai-tools-grid {
  display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2x2布局 */
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* 卡片样式保持不变 */
.device-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;  /* 保持固定的宽高比 */
}

.device-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
}

/* 悬停效果保持不变 */
.device-card:hover {
  transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .device-grid,
    .ai-tools-grid {
        grid-template-columns: 1fr;  /* 手机上改为单列 */
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

/* 合作伙伴区域样式 */
.partners-section {
    background: linear-gradient(135deg, #f8faff 0%, #f0f5ff 100%);
    padding: 4rem 0;
  position: relative;
    overflow: hidden;
}

/* 添加装饰效果 */
.partners-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
    z-index: 0;
}

.partners-section::after {
  content: '';
  position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
    z-index: 0;
}

.partners-grid .partner-card {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 1px;
	padding: 15px;
	width: 80%;
	margin: 0 auto;
    background: rgba(255, 255, 255, 0.7); /* 添加半透明白色背景 */
    border-radius: 8px; /* 添加圆角 */
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.08); /* 添加柔和阴影 */
}

.partners-grid .partner-item {
    border: 1px solid #eaeaea; /* 更淡的边框 */
    padding: 12px; /* 增加内边距 */
	text-align: center;
    background: white; /* 白色背景 */
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.partners-grid .partner-item:hover {
    border-color: rgba(0, 102, 204, 0.2); /* 悬停时边框颜色变化 */
    background: #f9fbff; /* 悬停时背景色变化 */
}

.partners-grid .partner-item img {
	max-width: 100%;
	height: auto;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    filter: grayscale(20%); /* 添加轻微灰度滤镜 */
    opacity: 0.9; /* 轻微降低不透明度 */
}

.partners-grid .partner-item img:hover {
    transform: scale(1.05) translateY(-2px); /* 减小放大效果 */
    box-shadow: 0 8px 15px rgba(0, 102, 204, 0.12); /* 更柔和的阴影 */
    filter: grayscale(0%); /* 移除灰度滤镜 */
    opacity: 1; /* 恢复完全不透明 */
}

/* 时间图标样式 */
.copy-left .fa-clock {
    font-size: 16px;
    margin-right: 8px;
    color: #2c5282;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.copy-left p:hover .fa-clock {
    color: #4a90e2;
}

/* AI工具箱卡片特殊样式 */
.ai-tools-grid .device-card {
    background: #ffffff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    aspect-ratio: 3/2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 添加背景装饰 */
.ai-tools-grid .device-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.05) 0%, rgba(43, 108, 176, 0.02) 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 0;
}

/* 添加底部装饰线 */
.ai-tools-grid .device-card::before {
    content: '';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 2.5rem;
    color: #2b6cb0;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(43, 108, 176, 0.1);
    width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

/* 内容容器 */
.ai-tools-grid .content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.ai-tools-grid .card-title {
	position: relative;
    color: #2b6cb0;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0;
    text-align: center;
}

/* 添加标题下划线动画 */
.ai-tools-grid .card-title::after {
	content: '';
	position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2b6cb0;
    transition: width 0.3s ease;
}

.ai-tools-grid .device-card:hover .card-title::after {
    width: 50px;
}

.ai-tools-grid .overlay-content {
    position: relative;
    opacity: 1;
    color: #666;
    text-align: center;
    padding: 0 1rem;
    max-width: 280px;
	margin: 0 auto;
}

.ai-tools-grid .overlay-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    padding-top: 1rem;
}

/* 悬停效果 */
.ai-tools-grid .device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.1);
    background: #f8fafc;
    border-color: rgba(43, 108, 176, 0.2);
}

.ai-tools-grid .device-card:hover::after {
    transform: translate(50%, -50%) scale(1.2);
    opacity: 0.8;
}

/* 保持原有的图标设置和其他样式 */
.ai-tools-grid .device-card:nth-child(1)::before {
    content: '\f121';  /* 代码图标 */
}

.ai-tools-grid .device-card:nth-child(2)::before {
    content: '\f544';  /* 机器人图标 */
}

/* 为不同选项卡设置不同SVG背景 */
.tab-pane[data-tab="smart-home"] .sidebar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cpath fill='none' stroke='%230066CC' stroke-width='2' stroke-opacity='0.15' d='M150,50 L250,120 L250,250 L50,250 L50,120 L150,50'/%3E%3Ccircle cx='150' cy='150' r='50' fill='none' stroke='%230066CC' stroke-width='2' stroke-opacity='0.15'/%3E%3Cpath fill='none' stroke='%230066CC' stroke-width='2' stroke-opacity='0.15' d='M150,120 L150,180 M120,150 L180,150'/%3E%3Ccircle cx='150' cy='150' r='10' fill='%230066CC' fill-opacity='0.15'/%3E%3Cpath fill='none' stroke='%230066CC' stroke-width='2' stroke-opacity='0.15' d='M100,250 L100,200 L200,200 L200,250'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -50px bottom -50px;
  background-size: 300px;
}

.tab-pane[data-tab="smart-park"] .sidebar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cpath fill='none' stroke='%230066CC' stroke-width='2' stroke-opacity='0.15' d='M60,250 L60,150 L100,120 L100,250 M140,250 L140,80 L180,80 L180,250 M220,250 L220,100 L260,70 L260,250'/%3E%3Ccircle cx='60' cy='180' r='8' fill='%230066CC' fill-opacity='0.15'/%3E%3Ccircle cx='140' cy='120' r='8' fill='%230066CC' fill-opacity='0.15'/%3E%3Ccircle cx='220' cy='160' r='8' fill='%230066CC' fill-opacity='0.15'/%3E%3Cpath fill='none' stroke='%230066CC' stroke-width='2' stroke-opacity='0.15' d='M60,180 C100,180 100,120 140,120 M140,120 C180,120 180,160 220,160'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -50px bottom -50px;
  background-size: 300px;
}

.tab-pane[data-tab="carbon"] .sidebar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cpath fill='none' stroke='%2300CC99' stroke-width='2' stroke-opacity='0.2' d='M150,50 C220,50 270,100 270,170 C270,240 220,290 150,290 C80,290 30,240 30,170 C30,100 80,50 150,50'/%3E%3Cpath fill='%2300CC99' fill-opacity='0.15' d='M150,100 C180,100 200,120 200,150 C200,180 180,200 150,200 C120,200 100,180 100,150 C100,120 120,100 150,100 M150,140 L180,80 L120,80 Z'/%3E%3Cpath fill='none' stroke='%2300CC99' stroke-width='2' stroke-opacity='0.2' d='M90,170 C90,140 120,120 150,120 M150,120 C180,120 210,140 210,170'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -50px bottom -50px;
  background-size: 300px;
}

.tab-pane[data-tab="ai"] .sidebar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Ccircle cx='150' cy='150' r='80' fill='none' stroke='%230066CC' stroke-width='2' stroke-opacity='0.15'/%3E%3Ccircle cx='150' cy='150' r='15' fill='%230066CC' fill-opacity='0.15'/%3E%3Ccircle cx='90' cy='90' r='10' fill='%230066CC' fill-opacity='0.15'/%3E%3Ccircle cx='210' cy='90' r='10' fill='%230066CC' fill-opacity='0.15'/%3E%3Ccircle cx='90' cy='210' r='10' fill='%230066CC' fill-opacity='0.15'/%3E%3Ccircle cx='210' cy='210' r='10' fill='%230066CC' fill-opacity='0.15'/%3E%3Cpath fill='none' stroke='%230066CC' stroke-width='2' stroke-opacity='0.15' d='M150,150 L90,90 M150,150 L210,90 M150,150 L90,210 M150,150 L210,210 M90,90 L210,90 M90,210 L210,210 M90,90 L90,210 M210,90 L210,210'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -50px bottom -50px;
  background-size: 300px;
}

/* 确保内容在装饰之上 */
.sidebar > * {
    position: relative;
    z-index: 1;
}

/* 客户案例样式 */
.solutions-section#cases {
    background: linear-gradient(135deg, #e8f1ff, #f8faff);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* 案例展示容器样式 */
.cases-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

/* 案例展示滑块样式 */
.cases-slider {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    animation: slideCards 30s linear infinite;
    will-change: transform;
}

/* 案例卡片样式 */
.case-card {
    flex: 0 0 380px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.case-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.case-card:hover img {
    transform: scale(1.05);
}

.case-content {
    padding: 1.5rem;
    background: #fff;
}

.case-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.case-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 添加渐变遮罩 */
.cases-container::before,
.cases-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.cases-container::before {
    left: 0;
    background: linear-gradient(to right, #e8f1ff 0%, transparent 100%);
}

.cases-container::after {
    right: 0;
    background: linear-gradient(to left, #e8f1ff 0%, transparent 100%);
}

/* 优化动画效果 */
@keyframes slideCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-380px * 4 - 2rem * 4));
    }
}

/* 鼠标悬停时暂停动画 */
.cases-slider:hover {
    animation-play-state: paused;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .case-card {
        flex: 0 0 340px;
    }
    
    @keyframes slideCards {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-340px * 4 - 2rem * 4));
        }
    }
}

@media (max-width: 768px) {
    .case-card {
        flex: 0 0 300px;
    }
    
    .case-card img {
        height: 200px;
    }
    
    .case-content {
        padding: 1.25rem;
    }
    
    .case-content h3 {
        font-size: 1.1rem;
    }
    
    .case-content p {
        font-size: 0.9rem;
    }
    
    @keyframes slideCards {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 4 - 2rem * 4));
        }
    }
    
    .cases-container::before,
    .cases-container::after {
        width: 80px;
    }
}