/* ========== Why Section ========== */
.why-section {
  /* padding: 100px 0 0; */
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f3f7 0%, #fff 100%);
 
}
.why-section-bg{
padding: 100px 0 100px;
position: relative;
overflow: hidden;
border-radius: 50px 50px 0 0;
background: 
  url(../img/ind6-bg.png) no-repeat right bottom / auto 50%, 
  linear-gradient(180deg, #031530 10%, #2C23AF 50%, #729FFF 75%, #fff 100%) no-repeat center / 100% 100%;
background-blend-mode: screen; /* multiply / screen 等模式自选 */
}
.why-title {
  font-size: var(--big-font-size);
  font-weight: 700;
  color: var(--color-bg);
  margin-bottom: 88px;
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: flex-start;
  padding-bottom: 80px;
}

.why-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-tab-item {
  border-bottom: 2px dashed rgba(255, 255, 255, 0.15);
  cursor: pointer;
}
.why-tab-item:first-of-type{
  border-top: 2px dashed rgba(255, 255, 255, 0.15);
}
/* .why-tab-item:last-child {
  border-bottom: none;
} */

.why-tab-head {
  padding: 24px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-tab-tag {
  display: inline-block;
  padding: 1px 8px;
  background: #BAE8FF;
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  width: fit-content;
  position: relative;
}
.why-tab-tag::after{
  position: absolute;
    left: -9px;
    top: 0;
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--color-primary);
    flex-shrink: 0;
}
.why-tab-heading {
  font-size: 30px;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  transition: color 0.3s ease;
}

.why-tab-item.active .why-tab-heading {
  color: white;
}

.why-tab-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.why-tab-item.active .why-tab-body {
  grid-template-rows: 1fr;
}

.why-tab-body-inner {
  overflow: hidden;
}

.why-tab-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 1);
  line-height: 25.6px;
  margin-bottom: 16px;
}

.why-tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
}

.why-tab-list li {
  font-size: 14px;
  color: #D0D5DD;
  padding-left: 16px;
  position: relative;
  background-image: url(../img/dot-2.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 10px auto ;
}

/* .why-tab-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 15px;
  background-image: url(../img/dot-2.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 10px auto ;
} */

.why-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.why-image {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  /* aspect-ratio: 4 / 3; */
  aspect-ratio: 2/2.8;
}

.why-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.why-img.active {
  opacity: 1;
  pointer-events: auto;
}

/* Why Responsive */
@media (max-width: 1024px) {
  .why-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-right {
    order: -1;
  }

  .why-image {
    max-height: 400px;
    aspect-ratio: auto;
  }
}

@media (max-width: 768px) {
  .why-section-bg{
    background:  url(../img/ind6-bg.png) no-repeat right bottom / auto 50%, 
    linear-gradient(180deg, #031530 20%, #2C23AF 68%, #729FFF 93%, #fff 100%) no-repeat center / 100% 100%;
  }
  .why-section {
    padding: 60px 0 0;
  }

  .why-title {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .why-image {
    aspect-ratio: 9 / 10;
  }
}
