/* ===================帝王云 ==================== */
/* ============= www.diwangyun.com ================ */
/* ============= www.diwangyun.cn ================= */
/* ============== 代码有价，版权无价 ================= */
/* =======帝王云模板为帝王云自行开发，已办理源码著作权 ========== */
/* =======未经允许 仿站或扒站 发现必究，请尊重开发者心血 ========== */
/* ==========="愿你走完山水万城 仍与理想重逢" ============ */
/* ============模板作者：江遇:QQ 1481234828=========== */

/* 解决方案模块样式 */
.solutions-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
  position: relative;
  overflow: hidden;
}

.solutions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.solutions-section .section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.solutions-section .section-title h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #8a2be2 0%, #00bfff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solutions-section .section-title p {
  font-size: 18px;
  color: #a0a0c0;
  font-weight: 300;
}

/* 网格布局 - 4列2行 */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 解决方案卡片 */
.solution-card {
  position: relative;
}

.solution-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.solution-card:hover .solution-item {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(138, 43, 226, 0.4);
  border-color: rgba(138, 43, 226, 0.5);
}

/* 图片区域 */
.item-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 文本区域 */
.item-txt {
  position: relative;
  padding: 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
}

.item-txt-bd {
  position: relative;
  z-index: 2;
  flex: 1;
}

/* 顶部盒子 */
.top-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.top-box i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-box i img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.solution-card:hover .top-box i img {
  transform: scale(1.2);
}

.top-box .tit {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
}

.solution-card:hover .top-box .tit {
  color: #8a2be2;
}

/* 链接列表 */
.txt-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.txt-link a {
  display: block;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.txt-link a:hover {
  background: rgba(138, 43, 226, 0.2);
  transform: translateX(5px);
}

.txt-link a .arr-white {
  font-size: 13px;
  color: #a0a0c0;
  font-weight: 300;
  display: block;
  text-align: left;
  position: relative;
  padding-left: 15px;
}

.txt-link a:hover .arr-white {
  color: #fff;
}

.txt-link a .arr-white::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #8a2be2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.txt-link a:hover .arr-white::before {
  opacity: 1;
}

/* 文本背景 */
.item-txt-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(138, 43, 226, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.solution-card:hover .item-txt-bg {
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1400px) {
  .solutions-section .section-title h2 {
    font-size: 42px;
  }

  .solutions-section .section-title p {
    font-size: 16px;
  }

  .solutions-grid {
    gap: 24px;
  }

  .item-img {
    height: 180px;
  }

  .item-txt {
    padding: 18px;
    min-height: 150px;
  }

  .top-box .tit {
    font-size: 18px;
  }

  .txt-link a .arr-white {
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .solutions-section .section-title h2 {
    font-size: 36px;
  }

  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .item-img {
    height: 200px;
  }

  .top-box .tit {
    font-size: 17px;
  }
}

@media (max-width: 992px) {
  .solutions-section {
    padding: 60px 0;
  }

  .solutions-section .section-title h2 {
    font-size: 32px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 20px;
  }

  .item-img {
    height: 220px;
  }

  .item-txt {
    padding: 20px;
    min-height: 160px;
  }

  .top-box .tit {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .solutions-section {
    padding: 50px 0;
  }

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

  .solutions-section .section-title p {
    font-size: 14px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .item-img {
    height: 240px;
  }

  .item-txt {
    padding: 18px;
    min-height: 180px;
  }

  .top-box .tit {
    font-size: 17px;
  }

  .txt-link a .arr-white {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .solutions-section .section-title h2 {
    font-size: 24px;
  }

  .solutions-grid {
    padding: 0 5px;
    gap: 16px;
  }

  .item-img {
    height: 200px;
  }

  .item-txt {
    padding: 16px;
    min-height: 160px;
  }

  .top-box .tit {
    font-size: 16px;
  }

  .txt-link a {
    padding: 6px 10px;
  }

  .txt-link a .arr-white {
    font-size: 13px;
  }
}
