/* 解决方案横幅样式 */
.solutions-banner {
  margin-top: 70px;
  position: relative;
  height: 740px;
  overflow: hidden;
}

.solutions-banner .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
}

.solutions-banner .carousel-slide.active {
  display: block;
}

.solutions-banner .carousel-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 800px;
  padding: 40px;
  color: var(--white);
  z-index: 10;
}
.solutions-breadcrumb{
  width: 100%;
  height: 80px;
  background: white;
  border-bottom: 1px solid #F2F2F2;
  position: sticky;
  left:0;
  top:0;
  z-index: 200;
}
.solutions-breadcrumb a{
  font-size: 16px;
  display: inline-block;
  line-height: 80px;
  position: relative;
  margin-right: 80px;
}
.solutions-breadcrumb  .active{
  color: var(--primary-color);
}
.solutions-breadcrumb  .active::after{
  content: '';
  position: absolute;
  bottom: -0px;
  left: 50%;
  transform: translateX(-50%);
  width: 23px;
  height: 3px;
  background: var(--primary-color);
}

.solutions-banner .carousel-content h1 {
  font-size: 32px;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.solutions-banner .carousel-content p {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 解决方案标签页 */
.solution-tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  
  z-index: 20;
}

.tab-buttons {
  display: flex;
  overflow-x: auto;
  padding: 0 15px;
}

.tab-btn {
  padding: 15px 25px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--text-color);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

/* 解决方案内容 */
.solutions-content {
  padding: 40px 0;
  background: white;
}
.solutions-content-values{
  background-image: url(https://qixiuu.oss-cn-hangzhou.aliyuncs.com/wayline3/images/solutions/solutions-content-values.png);
  background-repeat: no-repeat;
  background-size: 100% 50%;
}
.solutions-content-architecture{
  background: linear-gradient( 180deg, #F6F9FC 0%, #FFFFFF 100%);
  background-image: url(https://qixiuu.oss-cn-hangzhou.aliyuncs.com/wayline3/images/solutions/solutions-content-architecture-bg.png);
  background-position: 0 10%;
  background-size: cover;
}

.solutions-content-process{
  background: #F2F7FC;
}
.solutions-content-scenarios{
  background: white;
  padding-bottom: 0px;
}

.section-item {
  margin-bottom: 80px;
}
.solutions-content-values .section-item{
  width: 90%;
  margin: 0 auto;
}
.solutions-content-scenarios .section-item{
  width: 100%;
  margin-bottom: 0px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-header h2::after{
  display: none!important;
}
.section-header p {
  font-size: 16px;
  color: var(--light-text);
  max-width: 900px;
  margin: 0 auto;
}

/* 行业痛点 */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.problem-item {
  padding:80px 30px;
  background-color: #FBFBFB;

  text-align: center;
}
.problem-item .default-png{
  display: block;
}
.problem-item .active-png{
  display: none;
}


.problem-item:hover{
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1);
}
.problem-item:hover .active-png{
  display: block;
}
.problem-item:hover .default-png{
  display: none;
}
.problem-item:hover  h3,
.problem-item:hover  p {
  color: var(--white);
}

.problem-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(22, 93, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.problem-item.highlighted .problem-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.problem-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.problem-item.highlighted .problem-icon i {
  color: var(--white);
}

.problem-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.problem-item.highlighted h3 {
  color: var(--white);
}

.problem-item p {
  font-size: 14px;
  color: var(--light-text);
  line-height: 1.6;
}

/* 方案价值 */
.value-comparison {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.value-column {
  flex: 1;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-header {
  padding: 20px;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--white);
}

.value-header h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.value-header p {
  font-size: 16px;
  opacity: 0.9;
}

.value-desc {
  padding: 20px;
  font-size: 14px;
  color: var(--light-text);
  line-height: 1.6;
}

.value-diagram {
  padding: 20px;
  text-align: center;
}

.value-diagram img {
  max-width: 100%;
  height: auto;
}

.value-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-divider i {
  font-size: 32px;
  color: var(--primary-color);
}

/* 方案架构 */
.architecture-table {
  overflow-x: auto;
}

.architecture-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.architecture-table th,
.architecture-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #e5e5e5;
}

.architecture-table th {
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: 500;
}

.architecture-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* 巡检流程 */
.process-steps {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-header {
  display: flex;
  align-items: stretch;
}

.process-item {
  padding: 20px;
  text-align: center;
}

.process-item.main {
  flex: 1;
  background-color: var(--light-bg);
}

.process-icon {
  margin-top: 20px;
}

.process-icon img {
  max-width: 100%;
  height: auto;
}

.flow-process {
  margin-top: 30px;
}

.flow-step {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.step-name {
  font-weight: 500;
  margin-bottom: 5px;
}

.step-desc {
  font-size: 14px;
  color: var(--light-text);
}

.flow-process {
  position: relative;
}

.flow-process::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 25px;
  width: 2px;
  height: calc(100% - 50px);
  background-color: var(--primary-color);
  z-index: 1;
}

.flow-step {
  position: relative;
  z-index: 2;
}

/* 应用场景 */
.scenario-buttons {
  width: 100%;
  height: 76px;
  display: flex;
  justify-content: center;

}

.scenario-btn {
  padding: 10px 0px;
  margin: 0 80px;
  background: none;
  border: none;
  border-radius: 0px;
  font-size: 14px;
  color: var(--text-color);
  cursor: pointer;
}

.scenario-btn.active {
  color: var(--primary-color);
  position: relative;

}
.scenario-btn.active::after {
  content: '';
  position: absolute;
  bottom: -0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background: var(--primary-color);
}

.scenario-contents {
  background-color: var(--white);
  border-radius: 0px;
  overflow: hidden;
  /* box-shadow: 8px 9px 12px 6px #c7d4e0; */
  position: relative;
  transition: min-height 0.3s ease;
  min-height: 400px;
}

.scenario-content {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;

}

.scenario-content.active {
  opacity: 1;
  pointer-events: auto;
}

.scenario-image {
  flex: 1;
}

.scenario-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-info {
  flex:1;
  padding: 40px;
}

.scenario-info h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  width: 80%;
}

.scenario-info p {
  font-size: 16px;
  color: var(--light-text);
  line-height: 1.8;
  width: 80%;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .problems-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .value-comparison {
    flex-direction: column;
  }
  
  .process-header {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
  .scenario-content.active {
    flex-direction: column;
  }
  
  .scenario-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .solutions-banner {
    margin-top: 0;
    height: 450px;
  }
  
  .solutions-banner .carousel-content {
    padding: 30px 20px;
  }
  
  .solutions-banner .carousel-content h1 {
    font-size: 26px;
  }
  
  .solutions-banner .carousel-content p {
    font-size: 14px;
  }
  
  .section-header h2 {
    font-size: 26px;
  }
  
  .tab-btn {
    padding: 15px 15px;
    font-size: 14px;
  }
  
  .scenario-buttons {
    flex-wrap: wrap;
  }
  
  .scenario-btn {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .solutions-banner {
    margin-top: 0;
    height: 500px;
  }
  
  .section-header h2 {
    font-size: 22px;
  }
  
  .section-item {
    margin-bottom: 50px;
  }
  
  .scenario-info {
    padding: 20px;
  }
  
  .scenario-info h3 {
    font-size: 20px;
  }
}