/* 智能话务中心页面样式 */

/* 整体页面样式增强 */
.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

/* 介绍部分增强 */
.voice-intro-content {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}

.voice-intro-text {
  flex: 1;
}

.voice-intro-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #555;
}

.voice-intro-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.voice-intro-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.voice-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 核心价值增强 */
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.core-value-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-top: 5px solid transparent;
}

.core-value-item:nth-child(1) {
  border-top-color: #3498db;
}

.core-value-item:nth-child(2) {
  border-top-color: #2ecc71;
}

.core-value-item:nth-child(3) {
  border-top-color: #e74c3c;
}

.core-value-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.core-value-item .icon {
  margin-bottom: 25px;
  text-align: center;
}

.core-value-item .icon img {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}

.core-value-item:hover .icon img {
  transform: scale(1.1);
}

.core-value-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.core-value-item p {
  color: #666;
  line-height: 1.7;
}

/* 能力优势增强 */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* 当最后一个元素是奇数项时(即最后一行只有一个元素)，让它占满整行 */
.capability-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 auto;
}

.capability-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex; /* 添加flex布局 */
  /* flex-direction: column; 垂直布局 */
  align-items: flex-start; /* 顶部对齐 */
  gap: 20px; /* 图标和内容之间的间距 */
}

.capability-item .icon {
  margin-bottom: 0; /* 移除底部间距 */
  flex-shrink: 0; /* 防止图标缩小 */
}

.capability-item .content-info {
  flex: 1; /* 让内容区域占据剩余空间 */
}

.capability-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1) 0%,
    rgba(52, 152, 219, 0) 100%
  ); */
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.capability-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.capability-item:hover::before {
  opacity: 1;
}

.capability-item .icon {
  margin-bottom: 20px;
  display: inline-block;
  padding: 15px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
}

.capability-item .icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.capability-item:hover .icon img {
  transform: rotate(10deg);

}
.capability-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  padding-bottom: 12px;
  text-align: left;
}

.capability-item h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #3498db;
  text-align: left;
}

.capability-item p {
  color: #666;
  line-height: 1.7;
  text-align: left;
}

/* 应用场景 */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.scenario-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.8);
}

.scenario-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.scenario-content {
  padding: 20px;
  /* background: rgba(0, 0, 0, 0.8); */
  height: auto;
  position: static;
  width: 100%;
  box-sizing: border-box;
}

.scenario-content h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
}

.scenario-content ul {
  list-style: none !important; /* 强制移除默认的列表样式 */
  padding: 0;
}

.scenario-content li {
  color: #fff;
  margin-bottom: 8px;
  font-size: 14px;
  padding-left: 15px;
  position: relative;
  line-height: 1.6;
}

.scenario-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #3498db;
}

/* 移除冲突的样式 */
.scenario-content ul {
  list-style-type: none !important; /* 覆盖之前的 disc 样式 */
  padding-left: 0 !important; /* 覆盖之前的左内边距 */
}

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

@media (max-width: 576px) {
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  
  .scenario-item img {
    height: 180px;
  }
}

.scenario-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.scenario-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.scenario-content li {
  margin-bottom: 5px;
  font-size: 14px;
}

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .voice-intro-content {
    flex-direction: column;
    gap: 40px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capability-item:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }

  .core-value-item,
  .capability-item {
    padding: 25px;
  }

  .section {
    padding: 50px 0;
  }
}

@media (max-width: 576px) {
  .core-values-grid,
  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 24px;
  }

  .core-value-item h3,
  .capability-item h3 {
    font-size: 18px;
  }

  .scenario-item {
    height: 300px;
  }

  .section {
    padding: 40px 0;
  }
}
