@charset "utf-8";

.about-advantage {
  --aa-red: #d11919;
  --aa-bg: rgba(41, 41, 41, 1);
  --aa-card-odd: rgba(255, 255, 255, 0.3);
  --aa-card-even: rgba(255, 255, 255, 0.4);
  --aa-white: #fff;
  --aa-desc: rgba(222, 222, 222, 1);
  background: var(--aa-bg);
  padding: 0;
  color: var(--aa-white);
}

.about-advantage .advantage-head {
  text-align: center;
  margin: 0;
  padding: 96px 0 80px;
}

.about-advantage .advantage-panel {
  overflow: visible;
  padding: 0 0 96px;
}

.about-advantage .advantage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.about-advantage .advantage-item {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
  padding: 0 56px;
  min-height: 120px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(32px);
  outline: none;
  cursor: default;
  transition: background 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.about-advantage .advantage-item:nth-child(odd) {
  background: var(--aa-card-odd);
}

.about-advantage .advantage-item:nth-child(even) {
  background: var(--aa-card-even);
}

.about-advantage .advantage-item.is-visible {
  opacity: 1;
  transform: none;
}

.about-advantage .advantage-item.is-visible.is-pulse {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 4px 0 0 var(--aa-red);
}

.about-advantage .advantage-item.is-visible.is-pulse .advantage-num span {
  transform: scale(1.06);
  filter: brightness(1.15);
}

@media (hover: hover) and (pointer: fine) {
  .about-advantage .advantage-item.is-visible:hover,
  .about-advantage .advantage-item.is-visible:focus-visible {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 4px 0 0 var(--aa-red);
  }

  .about-advantage .advantage-item.is-visible:hover .advantage-num span,
  .about-advantage .advantage-item.is-visible:focus-visible .advantage-num span {
    transform: scale(1.06);
    filter: brightness(1.15);
  }
}

.about-advantage .advantage-num span {
  transition: filter 0.35s ease, transform 0.35s ease;
}

.about-advantage .advantage-num {
  flex-shrink: 0;
  width: auto;
  height: auto;
  text-align: center;
  font-family: "Noto Sans SC", "Noto Sans S Chinese", "Microsoft YaHei", sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 50px;
  letter-spacing: 0;
}

.about-advantage .advantage-num span {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
  background: linear-gradient(180deg, #d11919 0%, rgba(209, 25, 25, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-advantage .advantage-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 64px);
}

.about-advantage .advantage-title {
  flex: 0 0 240px;
  margin: 0;
  font-family: "Noto Sans SC", "Noto Sans S Chinese", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--aa-white);
}

.about-advantage .advantage-desc {
  flex: 1;
  margin: 0;
  font-family: "Noto Sans SC", "Noto Sans S Chinese", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--aa-desc);
}

@media only screen and (max-width: 991px) {
  .about-advantage {
    padding: 0;
  }

  .about-advantage .advantage-head {
    padding: 72px 0 40px;
  }

  .about-advantage .advantage-panel {
    padding-bottom: 72px;
  }

  .about-advantage .advantage-item {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    padding: 0 32px;
    min-height: 112px;
  }

  .about-advantage .advantage-body {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .about-advantage .advantage-title {
    flex: none;
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .about-advantage {
    padding: 0;
  }

  .about-advantage .advantage-head {
    padding: 56px 0 32px;
  }

  .about-advantage .advantage-panel {
    padding-bottom: 56px;
  }

  .about-advantage .advantage-item {
    padding: 0 24px;
    min-height: 100px;
  }

  .about-advantage .advantage-num {
    font-size: 40px;
    line-height: 42px;
  }

  .about-advantage .advantage-title {
    font-size: 18px;
  }

  .about-advantage .advantage-desc {
    font-size: 14px;
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-advantage .advantage-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
