/**
 * 云蜗智能 - 关于我们 - 区域三：公司实力概览 (Company Strength Overview)
 */
.about-strength {
  background-color: #ffffff;
  padding: 80px 0;
}

.about-strength__inner {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.about-strength__header {
  display: flex;
  flex-direction: column;
}

.about-strength__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-main, #1a1a1a);
  line-height: 1.2;
  margin-bottom: 8px;
}

.about-strength__subtitle {
  font-size: 18px;
  color: var(--color-text-regular, #4a4a4a);
  font-weight: 400;
  margin-bottom: 16px;
}

.about-strength__body {
  display: flex;
  flex-direction: column;
}

.about-strength__desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-main, #1a1a1a);
  margin-bottom: 48px;
}

.about-strength__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.about-strength__item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-strength__icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.about-strength__info {
  display: flex;
  flex-direction: column;
}

.about-strength__val {
  font-size: 32px;
  font-weight: 700;
  color: #0e7055;
  line-height: 1.2;
}

.about-strength__lbl {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-main, #1a1a1a);
  margin-top: 4px;
}

/* 响应式适配 */
@media (max-width: 1023px) {
  .about-strength {
    padding: 60px 0;
  }
  .about-strength__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-strength__desc {
    margin-bottom: 32px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .about-strength {
    padding: 40px 0;
  }
  .about-strength__title {
    font-size: 28px;
  }
  .about-strength__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-strength__val {
    font-size: 26px;
  }
}

/* ==========================================================================
   滚动入场动画（Scroll Reveal）

   与区域二、五、七同一套观感（600ms / easeOutQuint / 32px 位移）。
   整个 .about-strength 为一个观察单元，按阅读顺序错峰：
   标题 → 英文副标题 → 绿线 → 描述 → 四个数据项依次弹出。

   四个数据项带轻微缩放，让数字有"跳出来"的分量感。
   总时长约 1.16s（末项延迟 560ms + 600ms），仍在"不用太慢"的范围内。

   可见性安全：初始态 opacity:0 只在 JS 主动加上 .about-strength-reveal 后
   生效，基础样式本身即「完全可见」的终态。JS 未执行、报错、或系统要求
   减少动效时，内容都正常显示。
   ========================================================================== */
.about-strength-reveal .about-strength__title,
.about-strength-reveal .about-strength__subtitle,
.about-strength-reveal .about-title-line,
.about-strength-reveal .about-strength__desc,
.about-strength-reveal .about-strength__item {
  opacity: 0;
  transform: translateY(32px);
  transition-property: opacity, transform;
  transition-duration: 600ms;
  /* easeOutQuint：末端缓慢"弹出"减速，无回弹过冲 */
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.about-strength-reveal .about-strength__title {
  transition-delay: 0ms;
}

.about-strength-reveal .about-strength__subtitle {
  transition-delay: 80ms;
}

.about-strength-reveal .about-title-line {
  transition-delay: 160ms;
}

.about-strength-reveal .about-strength__desc {
  transition-delay: 240ms;
}

/* 四个数据项依次弹出，带轻微缩放突出数字 */
.about-strength-reveal .about-strength__item {
  transform: translateY(32px) scale(0.96);
}

.about-strength-reveal .about-strength__item:nth-child(1) {
  transition-delay: 320ms;
}
.about-strength-reveal .about-strength__item:nth-child(2) {
  transition-delay: 400ms;
}
.about-strength-reveal .about-strength__item:nth-child(3) {
  transition-delay: 480ms;
}
.about-strength-reveal .about-strength__item:nth-child(4) {
  transition-delay: 560ms;
}

/* 小屏收敛动效：大位移在窄视口显得笨重，且单列排开会拉长总时长 */
@media (max-width: 640px) {
  .about-strength-reveal .about-strength__title,
  .about-strength-reveal .about-strength__subtitle,
  .about-strength-reveal .about-title-line,
  .about-strength-reveal .about-strength__desc,
  .about-strength-reveal .about-strength__item {
    transform: translateY(20px);
    transition-duration: 480ms;
  }

  .about-strength-reveal .about-strength__item {
    transform: translateY(20px) scale(0.97);
  }

  /* 错峰间隔收紧，避免末项等太久 */
  .about-strength-reveal .about-strength__item:nth-child(1) {
    transition-delay: 260ms;
  }
  .about-strength-reveal .about-strength__item:nth-child(2) {
    transition-delay: 320ms;
  }
  .about-strength-reveal .about-strength__item:nth-child(3) {
    transition-delay: 380ms;
  }
  .about-strength-reveal .about-strength__item:nth-child(4) {
    transition-delay: 440ms;
  }
}

/* 无障碍降级：尊重系统"减少动态效果"偏好，直接呈现最终态 */
@media (prefers-reduced-motion: reduce) {
  .about-strength-reveal .about-strength__title,
  .about-strength-reveal .about-strength__subtitle,
  .about-strength-reveal .about-title-line,
  .about-strength-reveal .about-strength__desc,
  .about-strength-reveal .about-strength__item {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* --------------------------------------------------------------------------
   激活态：必须置于全部初始态与响应式覆盖之后。与初始态特异性相同，
   靠后者胜出；若写在 @media 之前，640px 断点内的 translateY(20px) 会
   压掉 transform: none，小屏元素将淡入后停在偏移位置、永不归位。
   -------------------------------------------------------------------------- */
.about-strength-reveal--in .about-strength__title,
.about-strength-reveal--in .about-strength__subtitle,
.about-strength-reveal--in .about-title-line,
.about-strength-reveal--in .about-strength__desc,
.about-strength-reveal--in .about-strength__item {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   瞬时归位：完全滚出视口后，JS 借这个类临时关掉过渡再抹去激活态，
   让元素立刻回到初始偏移，而不是在视口外反向播放。
   置于最后是因为要压掉 640px 断点里的 transition-duration 覆盖。
   -------------------------------------------------------------------------- */
.about-strength-reveal--noanim .about-strength__title,
.about-strength-reveal--noanim .about-strength__subtitle,
.about-strength-reveal--noanim .about-title-line,
.about-strength-reveal--noanim .about-strength__desc,
.about-strength-reveal--noanim .about-strength__item {
  transition: none;
}
