/* ============================================ */
/* index.css — 首页独有样式 + 响应式            */
/* （Header/Footer/搜索面板 → common.css）       */
/* ============================================ */

/* ---- Hero Banner ---- */
.hero {
  position: relative;
  width: 100%;
  height: 870px;
  margin-top: 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 37, 71, 0) 0%, rgba(17, 37, 71, 0.6) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
}
.hero__card {
  position: absolute;
  left: 0;
  bottom: 80px;
  width: 352px;
  min-height: 460px;
  height: auto;
  padding: 79px 0 30px 30px;
  background: linear-gradient(135deg, #2978fe 0%, #1a5cd6 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}
.hero__title {
  font-weight: bold;
  font-size: 50px;
  line-height: 66px;
  color: var(--color-white);
  margin-bottom: 16px;
  width: max-content;
  max-width: 679px;
}
.hero__subtitle {
  font-weight: 400;
  font-size: 26px;
  line-height: 39px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  white-space: nowrap;
  width: max-content;
  max-width: 725px;
}
.hero__cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-weight: 500;
  font-size: 20px;
  padding: 14px 30px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-base);
}
.hero__cta:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ---- Why Choose Us（Figma 2:435：846px / 白底+模糊+纹理 / 6 图标默认收起 hover 展开 / 右侧 QS） ---- */
.advantages {
  --adv-section-h: 846px;
  --adv-content-pad-top: 8px;
  --adv-content-pad-bottom: 32px;
  --adv-icons-row-max-w: 1440px;
  --adv-col-max-w: 220px;
  --adv-icon-stack-max-w: 132px;
  /* 与 .adv-detail-card__icon 的 margin-bottom 一致，避免焦点切换时图标-文案间距跳动 */
  --adv-icon-stack-gap: 20px;
  --adv-card-expanded-w: 388px;
  --adv-card-expanded-h: 520px;
  --adv-card-expanded-pad-t: 12px;
  /* 与展开卡 padding-top 一致，默认图标上沿与卡内图标上沿对齐 */
  --adv-icon-item-pad-top: var(--adv-card-expanded-pad-t);
  --adv-card-expanded-pad-x: 28px;
  --adv-card-expanded-pad-b: 36px;
  --adv-card-expanded-radius: 24px;
  --adv-card-expanded-shadow: 0 8px 40px rgba(17, 37, 71, 0.1);
  --adv-card-desc-max-w: 288px;
  --adv-card-l-inset: 14px;
  --adv-card-l-size: 28px;
  --adv-column-z: 1;
  --adv-column-z-active: 25;
  --adv-fade-in-dur: 0.26s;
  --adv-fade-out-dur: 0.22s;
  /* 失焦后图标稍晚再显现，避免与淡出中的白卡叠层闪烁 */
  --adv-icon-fade-in-delay: 0.12s;
  position: relative;
  min-height: var(--adv-section-h);
  padding: 0;
  /* 勿用 overflow-x: hidden：会迫使 overflow-y 变为 auto，展开卡 520px 超出时出现区块滚动条；横向由 body { overflow-x: hidden } 约束 */
  overflow: visible;
}
.advantages__layer--blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: var(--adv-section-h);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  fill: linear-gradient(180deg, rgba(17, 37, 71, 0.05) 0%, rgba(12, 29, 56, 0.1) 79.2%);
  backdrop-filter: blur(9px);
  pointer-events: none;
}
.advantages__layer--texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: var(--adv-section-h);
  background: linear-gradient(0deg, rgba(17, 37, 71, 0.09) 0%, rgba(12, 29, 56, 0.16) 100%);
  pointer-events: none;
}
/* 稿中 Group 3128：右侧大号 QS 线稿 */
.advantages__qs-graphic {
  position: absolute;
  right: 0;
  top: 18%;
  width: min(38vw, 716px);
  max-width: none;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.advantages__qs-graphic img {
  width: 100%;
  height: auto;
  display: block;
}
.advantages__inner {
  position: relative;
  z-index: 2;
  min-height: var(--adv-section-h);
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  padding-bottom: 56px;
  box-sizing: border-box;
}
.advantages .section__title--advantages {
  font-size: 36px;
  line-height: 66px;
  color: #112547;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 80px;
  width: 100%;
}
.advantages__content {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 突破 container 限制，让图标行延伸到更宽区域 */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: var(--adv-content-pad-top) var(--container-padding) var(--adv-content-pad-bottom);
  min-height: 0;
  box-sizing: border-box;
}
.adv-icons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--adv-icons-row-max-w);
  margin: 0 auto;
}
.adv-icons .adv-column {
  position: relative;
  z-index: var(--adv-column-z);
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  /* 与展开卡同高，避免默认/焦点切换时行高跳动 */
  min-height: var(--adv-card-expanded-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 117px;
  outline: none;
  cursor: default;
  isolation: isolate;
}
a.adv-column {
  text-decoration: none;
  color: inherit;
}
/* 悬停时列整体抬高，展开卡才能盖住两侧相邻图标与文案（否则 DOM 靠后的列会叠在上面） */
.adv-icons .adv-column:hover {
  z-index: var(--adv-column-z-active);
}
.adv-column:focus-visible {
  border-radius: var(--radius-md);
  box-shadow:
    0 0 0 2px var(--color-white),
    0 0 0 4px var(--color-accent);
}
/* 悬停/焦点：固定 388×520，顶对齐列顶，与同行默认 80px 图标上沿对齐 */
.adv-icons .adv-detail-card {
  position: absolute;
  top: 0;
  bottom: auto;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: min(var(--adv-card-expanded-w), calc(100vw - 32px));
  height: var(--adv-card-expanded-h);
  min-height: var(--adv-card-expanded-h);
  max-height: var(--adv-card-expanded-h);
  box-sizing: border-box;
  overflow: visible;
  background: rgba(248, 250, 251, 0.9);
  border-radius: var(--adv-card-expanded-radius);
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--adv-card-expanded-shadow);
  /* 与 hover 态同一 padding，避免失焦/获焦时 padding 突变造成闪动 */
  padding: 117px var(--adv-card-expanded-pad-x) var(--adv-card-expanded-pad-b);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  /* 默认态不设过渡，失去焦点时立即隐藏，避免闪烁 */
  text-align: center;
  backface-visibility: hidden;
}
/* 左上、右下蓝色圆弧装饰线，紧贴卡片边缘覆盖边框 */
.adv-icons .adv-detail-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
  border-radius: var(--adv-card-expanded-radius) 0 0 0;
  pointer-events: none;
}
.adv-icons .adv-detail-card::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  border-radius: 0 0 var(--adv-card-expanded-radius) 0;
  pointer-events: none;
}
/* 第一列左对齐、最后列右对齐，确保展开卡不溢出 container */
.adv-icons .adv-column:first-child .adv-detail-card {
  left: 0;
  transform: none;
}
.adv-icons .adv-column:last-child .adv-detail-card {
  left: auto;
  right: 0;
  transform: none;
}
.adv-icons .adv-column:hover .adv-detail-card {
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--adv-fade-in-dur) cubic-bezier(0.22, 1, 0.36, 1);
}
.adv-icons .adv-column:hover .adv-icon-item {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.adv-detail-card__num {
  position: absolute;
  top: calc(var(--adv-card-l-inset) + 10px);
  left: calc(var(--adv-card-l-inset) + 18px);
  z-index: 1;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-grey-600);
  margin: 0;
  display: block;
  text-align: left;
}
.adv-detail-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 0 20px;
  flex-shrink: 0;
}
.adv-detail-card__icon img {
  width: 100%;
  height: 100%;
}
.adv-detail-card__title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 12px;
  width: 100%;
  max-width: var(--adv-card-desc-max-w);
}
.adv-detail-card__desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 32px;
  color: var(--color-grey-700);
  margin: 0;
  width: 100%;
  max-width: var(--adv-card-desc-max-w);
  text-align: center;
}
.adv-icon-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--adv-icon-stack-gap);
  width: 100%;
  max-width: var(--adv-icon-stack-max-w);
  min-height: 0;
  box-sizing: border-box;
  text-align: center;
  flex-shrink: 0;
  opacity: 1;
  pointer-events: auto;
  /* 默认态不设过渡，失去焦点时立即恢复显示，避免闪烁 */
}
.adv-icons .adv-column:hover .adv-icon-item {
  opacity: 0;
  pointer-events: none;
}
.adv-icon-item__circle {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.adv-icon-item__circle img {
  width: 100%;
  height: 100%;
}
.adv-icon-item__label {
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  color: #333;
}
@media (prefers-reduced-motion: reduce) {
  .adv-detail-card,
  .adv-icon-item,
  .adv-icons .adv-column:hover .adv-detail-card {
    transition: none;
  }
}

/* ---- 数据展示 ---- */
.stats {
  position: relative;
  padding: 80px 0;
  background: #2978fe;
  overflow: hidden;
}
.stats__deco-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stats__deco-qs {
  position: absolute;
  right: 0;
  top: 50px;
  width: 51%;
  height: 610px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.stats__deco-qs img {
  width: auto;
  height: 610px;
  display: block;
  margin-left: auto;
}
.stats__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.stats .section__title--white {
  font-weight: bold;
  font-size: 36px;
  line-height: 66px;
  margin-bottom: 80px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 60px;
  align-items: center;
}
.stat-item {
  min-width: 0;
  overflow: visible;
}
.stat-item__value {
  font-family: var(--font-impact);
  font-weight: 400;
  font-size: 68px;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: 4px;
  display: inline;
  text-align: justify;
}
.stat-item__value--currency {
  font-family: var(--font-primary);
  font-weight: 800;
}
.stat-item__unit {
  font-family: var(--font-impact);
  font-size: 68px;
  color: var(--color-white);
  letter-spacing: 4px;
  margin-left: 8px;
}
.stat-item__label {
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  color: var(--color-white);
  margin-top: 16px;
}
.stats__photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  z-index: 3;
  align-self: end;
  justify-self: end;
}
.stats__photo img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  aspect-ratio: 540 / 280;
}
.stats__photo-shadow {
  position: absolute;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.stats__photo-shadow--1 {
  width: 96%;
  height: 88%;
  bottom: -6px;
  right: -10px;
  z-index: 2;
  opacity: 0.58;
  transform: rotate(2deg);
}
.stats__photo-shadow--2 {
  width: 96%;
  height: 88%;
  bottom: -12px;
  right: -20px;
  z-index: 1;
  opacity: 0.38;
  transform: rotate(4deg);
}

/* ---- 产品展示（手风琴模式） ---- */
.products {
  position: relative;
  overflow: hidden;
}
.products__bg-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.products__bg-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.products__bg-item--active {
  opacity: 1;
}
.products__bg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.products__accordion {
  --panel-skew: 120px;
  position: relative;
  z-index: 2;
  display: flex;
  height: 960px;
  width: 100%;
}
.products__panel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  clip-path: polygon(var(--panel-skew) 0, 100% 0, calc(100% - var(--panel-skew)) 100%, 0 100%);
  margin-left: calc(var(--panel-skew) * -1);
}
.products__panel:first-child {
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--panel-skew)) 100%, 0 100%);
  margin-left: 0;
}
.products__panel:last-child {
  clip-path: polygon(var(--panel-skew) 0, 100% 0, 100% 100%, 0 100%);
}
.products__panel--active {
  flex: 3;
  cursor: default;
}
/* 面板之间的斜向分隔边框线 */
.products__panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: var(--panel-skew);
  width: 1px;
  height: 101%;
  background: rgba(255, 255, 255, 0.3);
  z-index: 4;
  pointer-events: none;
  transform-origin: top center;
  transform: rotate(atan2(var(--panel-skew), 960px));
}
.products__panel:first-child::after {
  display: none;
}
.products__panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(-3deg, rgba(21, 30, 48, 0.85) 0%, rgba(41, 43, 51, 0.45) 97%);
  transition: background 0.6s ease;
}
.products__panel--active .products__panel-overlay {
  background: linear-gradient(to top, rgba(17, 37, 71, 0.4) 0%, rgba(17, 37, 71, 0.08) 50%, transparent 100%);
}
.products__panel-tab {
  position: absolute;
  top: 101px;
  left: 0;
  width: 80%;
  height: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  padding-left: calc(var(--panel-skew) / 2);
}
.products__panel:first-child .products__panel-tab {
  padding-left: 10px;
}
.products__panel-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(17, 37, 71, 0.3);
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  transition: background 0.5s ease;
}
.products__panel--active .products__panel-tab::before {
  background: rgba(255, 255, 255, 0.75);
}
.products__panel-num {
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  transition: color 0.4s ease;
}
.products__panel--active .products__panel-num {
  color: var(--color-primary);
  font-weight: 600;
}
.products__panel-tab-line {
  width: 38px;
  height: 2px;
  background: var(--color-white);
  opacity: 1;
  transition: background 0.4s ease;
  position: absolute;
  bottom: 0;
}
.products__panel--active .products__panel-tab-line {
  background: var(--color-primary);
}
.products__panel-detail {
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 3;
  max-width: 300px;
  width: 80%;
  opacity: 0;
  transition:
    opacity 0.4s ease 0.15s,
    transform 0.4s ease 0.15s;
  pointer-events: none;
}
.products__panel--active .products__panel-detail {
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: auto;
}
.products__panel-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: 18px;
}
.products__panel-title-line {
  width: 206px;
  height: 3px;
  background: var(--color-white);
  margin-bottom: 23px;
}
.products__panel-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 80px;
}
.products__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  min-width: 180px;
  border-radius: 25px;
  padding-left: 30px;
  padding-right: 10px;
  height: 50px;
  transition: transform var(--transition-base);
}
.products__more-btn:hover {
  transform: translateX(4px);
}
.products__more-btn span:first-child {
  font-size: 16px;
  color: var(--color-accent);
  margin-right: 16px;
}
.products__more-arrow {
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.products__panel-label {
  position: absolute;
  top: 41%;
  left: 0;
  right: 0;
  padding: 0 calc(var(--panel-skew) / 2 + 10px);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  transition: opacity 0.3s ease;
}
.products__panel--active .products__panel-label {
  opacity: 0;
  pointer-events: none;
}
.products__panel:last-child .products__panel-label {
  padding-right: calc(var(--panel-skew) / 2 + 10px);
  padding-left: calc(var(--panel-skew) / 2 + 10px);
}
.products__panel-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-white);
  text-align: center;
}
.products__panel-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 18px;
  transition: background var(--transition-base);
}
.products__panel:hover .products__panel-arrow {
  background: rgba(255, 255, 255, 0.2);
}

/* ---- Applications & Industries ---- */
.applications {
  padding: 80px 0 100px;
  background: #edf0f4;
}
.applications__header {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
}
.applications__shadow-text {
  font-weight: 700;
  font-size: 96px;
  color: rgba(17, 37, 71, 0.05);
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 4px;
  user-select: none;
}
.applications .section__title {
  margin-bottom: 0;
}
.app-card {
  position: relative;
  display: block;
  border: none;
  outline: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 1470px;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 50px;
  height: 365px;
  box-shadow: 0 2px 20px rgba(17, 37, 71, 0.06);
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base);
}
.app-card:last-child {
  margin-bottom: 0;
}
.app-card:hover {
  box-shadow: 0 8px 40px rgba(17, 37, 71, 0.12);
  transform: translateY(-4px);
}
.app-card__img-side {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.app-card__img-side img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.app-card:hover .app-card__img-side img {
  transform: scale(1.05);
}
.app-card__num {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 49%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 128px;
  line-height: 100px;
  color: rgba(17, 37, 71, 0.15);
  pointer-events: none;
  user-select: none;
  transition: color 0.4s ease;
}
.app-card:hover .app-card__num {
  color: rgba(17, 37, 71, 0.22);
}
.app-card__text-side {
  position: relative;
  z-index: 2;
  width: 68%;
  height: 100%;
  background: var(--color-white);
  clip-path: polygon(0 0, 72% 0, 100% 100%, 0 100%);
  padding: 0 0 0 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}
.app-card__heading {
  font-weight: 700;
  font-size: 48px;
  line-height: 66px;
  color: var(--color-primary);
  text-transform: uppercase;
}
.app-card__heading strong {
  font-weight: 700;
}
.app-card__muted {
  color: #a9b0bc;
  font-weight: 400;
}
.app-card__desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 38px;
  color: var(--color-primary);
  max-width: 300px;
}
.app-card__text-side--desc-bottom .app-card__heading {
  order: -1;
}
a.app-card {
  text-decoration: none;
  color: inherit;
}
.app-card--reverse {
  margin-left: 0;
  margin-right: auto;
}
.app-card--reverse .app-card__text-side {
  margin-left: auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 35% 100%);
  padding: 0 50px 0 38%;
}
.app-card--reverse .app-card__num {
  left: 41%;
}

/* ---- Contact CTA ---- */
.contact {
  padding: 100px 0;
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f4f6fa;
  z-index: 0;
}
.contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 178px;
  background: #2978fe;
  z-index: 1;
}
.contact .container {
  position: relative;
  z-index: 2;
}
.contact__panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 740px;
}
.contact__panel-bg {
  position: absolute;
  inset: 0;
}
.contact__panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact__panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(17, 37, 71, 0.55) 0%, rgba(17, 37, 71, 0.85) 100%);
}
.contact__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 530px) minmax(0, 682px);
  justify-content: space-between;
  padding: 80px 50px 50px;
  min-height: 740px;
  align-items: start;
}
.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.contact__heading {
  font-weight: 700;
  font-size: 36px;
  line-height: 66px;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 15px;
}
.contact__desc {
  font-weight: 400;
  font-size: 20px;
  line-height: 38px;
  color: var(--color-white);
  margin-bottom: 90px;
  max-width: 470px;
}
.contact__label {
  font-weight: 500;
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 56px;
}
.contact__email {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 0;
  margin-bottom: 50px;
  transition: background var(--transition-base);
}
.contact__email:hover {
  background: rgba(255, 255, 255, 0.14);
}
.contact__email-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  padding: 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
}
.contact__email span {
  font-weight: 500;
  font-size: 24px;
  color: var(--color-white);
  padding: 0 24px 0 14px;
  line-height: 52px;
}
.contact__socials {
  display: flex;
  gap: 30px;
}
.contact__social {
  width: 52px;
  height: 52px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.29);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition-base),
    transform var(--transition-base);
}
.contact__social:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.contact__social img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}
.contact__form-title {
  font-weight: 700;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.form-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 0 20px;
  height: 62px;
  font-size: 12px;
  color: var(--color-white);
  width: 100%;
  transition:
    border-color var(--transition-base),
    background var(--transition-base);
}
.form-input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}
.form-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}
.form-textarea {
  min-height: 206px;
  resize: vertical;
  margin-bottom: 40px;
}
.contact__form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact__privacy {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
  max-width: 388px;
}
.contact__submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border-radius: 30px;
  padding: 16px 36px;
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base);
  white-space: nowrap;
}
.contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
.contact__submit span:first-child {
  font-weight: 500;
  font-size: 24px;
  color: var(--color-primary);
}
.contact__submit-arrow {
  font-size: 22px;
  color: var(--color-primary);
  transition: transform var(--transition-base);
}
.contact__submit:hover .contact__submit-arrow {
  transform: translateX(3px);
}

/* ============================================ */
/* 响应式断点                                    */
/* ============================================ */

/* Small Desktop: 1200px ~ 1439px */
@media (max-width: 1439px) {
  .advantages {
    --adv-card-expanded-w: 360px;
    --adv-card-expanded-h: 480px;
  }
  .advantages__inner {
    padding-top: 64px;
    padding-bottom: 48px;
  }
  .adv-icons .adv-column {
    padding-top: 105px;
  }
  .adv-icons .adv-detail-card {
    height: var(--adv-card-expanded-h);
    min-height: var(--adv-card-expanded-h);
    max-height: var(--adv-card-expanded-h);
    padding-top: 105px;
  }
  .adv-icon-item__circle {
    width: 72px;
    height: 72px;
  }
  .adv-detail-card__icon {
    width: 72px;
    height: 72px;
  }
  .adv-icon-item__label {
    font-size: 18px;
    line-height: 28px;
  }
  .adv-detail-card__title {
    font-size: 24px;
  }
  .advantages .section__title--advantages {
    font-size: 32px;
    margin-bottom: 60px;
  }
  .stats {
    padding: 60px 0;
  }
  .stat-item__value,
  .stat-item__unit {
    font-size: 60px;
    letter-spacing: 3px;
  }
  .stat-item__label {
    font-size: 18px;
  }
  .stats__photo {
    min-height: 200px;
  }
  .stats .section__title--white {
    margin-bottom: 60px;
  }
  .products__accordion {
    height: 870px;
  }
  .products__panel::after {
    transform: rotate(atan2(var(--panel-skew), 870px));
  }
  .products__panel-tab {
    top: 80px;
    height: 40px;
  }
  .products__panel-num {
    font-size: 13px;
  }
  .products__panel-detail {
    top: 35%;
  }
  .products__panel-title {
    font-size: 32px;
  }
  .products__panel-desc {
    margin-bottom: 60px;
  }
  .products__panel-label {
    height: 180px;
  }
  .app-card {
    height: 340px;
    margin-bottom: 44px;
  }
  .app-card__heading {
    font-size: 42px;
    line-height: 58px;
  }
  .app-card__num {
    font-size: 110px;
    line-height: 90px;
  }
}

/* Tablet: 768px ~ 1199px */
@media (max-width: 1199px) {
  .hero {
    height: 600px;
  }
  .hero__card {
    width: 320px;
    min-height: auto;
    height: auto;
    padding: 36px 32px;
  }
  .hero__title {
    font-size: 28px;
    line-height: 38px;
    width: auto;
    max-width: none;
  }
  .hero__subtitle {
    font-size: 16px;
    line-height: 26px;
    white-space: normal;
    width: auto;
    max-width: none;
  }
  .hero__cta {
    font-size: 16px;
    padding: 10px 24px;
  }
  .advantages {
    --adv-card-expanded-w: 340px;
    --adv-card-expanded-h: 440px;
    min-height: auto;
  }
  .advantages__inner {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 48px;
  }
  .advantages__layer--blur,
  .advantages__layer--texture {
    min-height: auto;
  }
  .advantages__content {
    width: 100%;
    margin-left: 0;
    padding: var(--adv-content-pad-top) 0 var(--adv-content-pad-bottom);
  }
  .adv-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 20px;
    width: 100%;
  }
  .adv-icons .adv-column {
    flex: 0 0 calc(33.333% - 16px);
    max-width: 200px;
    min-height: 220px;
    padding-top: 100px;
  }
  .adv-icons .adv-detail-card {
    width: min(var(--adv-card-expanded-w), 88vw);
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 100px 24px 28px;
  }
  .adv-icons .adv-column:first-child .adv-detail-card,
  .adv-icons .adv-column:last-child .adv-detail-card {
    left: 50%;
    right: auto;
    transform: translate3d(-50%, 0, 0);
  }
  .adv-icon-item__circle {
    width: 68px;
    height: 68px;
  }
  .adv-detail-card__icon {
    width: 68px;
    height: 68px;
  }
  .adv-icon-item__label {
    font-size: 16px;
    line-height: 24px;
  }
  .adv-detail-card__title {
    font-size: 22px;
  }
  .adv-detail-card__desc {
    font-size: 13px;
    line-height: 28px;
  }
  .advantages .section__title--advantages {
    font-size: 30px;
    margin-bottom: 48px;
  }
  .stats {
    padding: 60px 0;
  }
  .stats__inner {
    padding-top: 0;
  }
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
  }
  .stat-item__value,
  .stat-item__unit {
    font-size: 48px;
    letter-spacing: 2px;
  }
  .stat-item__label {
    font-size: 16px;
  }
  .stats .section__title--white {
    margin-bottom: 48px;
  }
  .stats__photo {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 480px;
    min-height: 200px;
    justify-self: end;
  }
  .stats__photo-shadow--1 {
    right: -8px;
    bottom: -6px;
  }
  .stats__photo-shadow--2 {
    right: -16px;
    bottom: -12px;
  }
  .products__accordion {
    --panel-skew: 50px;
    height: 720px;
  }
  .products__panel::after {
    transform: rotate(atan2(var(--panel-skew), 720px));
  }
  .products__panel-tab {
    top: 60px;
    height: 36px;
    width: 90%;
  }
  .products__panel-num {
    font-size: 12px;
  }
  .products__panel-tab-line {
    width: 28px;
  }
  .products__panel-detail {
    top: 30%;
    max-width: 200px;
  }
  .products__panel-title {
    font-size: 26px;
  }
  .products__panel-title-line {
    width: 140px;
  }
  .products__panel-desc {
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 50px;
  }
  .products__panel-name {
    font-size: 13px;
  }
  .products__panel-arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .products__panel-label {
    height: 150px;
    top: 38%;
  }
  .app-card {
    height: 300px;
    margin-bottom: 40px;
  }
  .app-card__heading {
    font-size: 32px;
    line-height: 48px;
  }
  .app-card__text-side {
    width: 65%;
    padding-left: 36px;
  }
  .app-card__desc {
    font-size: 14px;
    line-height: 32px;
    max-width: 260px;
  }
  .app-card__num {
    font-size: 90px;
    line-height: 80px;
  }
  .app-card--reverse .app-card__text-side {
    padding-left: 38%;
    padding-right: 36px;
  }
  .contact__layout {
    grid-template-columns: 1fr 1.2fr;
    padding: 60px 36px 40px;
    min-height: auto;
  }
  .contact__heading {
    font-size: 28px;
    line-height: 48px;
  }
  .contact__desc {
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 36px;
  }
  .contact__email span {
    font-size: 18px;
  }
  .contact__social {
    width: 44px;
    height: 44px;
  }
  .contact__social img {
    width: 24px;
    height: 24px;
  }
  .contact__form-title {
    font-size: 20px;
  }
  .contact__submit span:first-child {
    font-size: 18px;
  }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 420px;
    margin-top: 0;
    padding-top: var(--header-h);
  }
  .hero__content {
    padding: 0 16px;
    display: flex;
    align-items: flex-end;
    min-height: 360px;
  }
  .hero__card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: auto;
    height: auto;
    padding: 28px 24px;
    margin-bottom: 24px;
  }
  .hero__title {
    font-size: 22px;
    line-height: 32px;
    width: auto;
    max-width: none;
  }
  .hero__subtitle {
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 20px;
    white-space: normal;
    width: auto;
    max-width: none;
  }
  .hero__cta {
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 16px;
  }
  .advantages {
    --adv-card-expanded-w: 300px;
    --adv-card-expanded-h: 380px;
    min-height: auto;
  }
  .advantages__inner {
    min-height: auto;
    gap: 20px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .advantages__layer--blur,
  .advantages__layer--texture {
    min-height: auto;
  }
  .advantages__qs-graphic {
    width: min(70vw, 400px);
    top: 8%;
  }
  .section__title {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 32px;
  }
  .advantages .section__title--advantages {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 0;
  }
  .advantages__content {
    width: 100%;
    margin-left: 0;
    padding: 8px 0 24px;
  }
  .adv-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 12px;
    width: 100%;
  }
  .adv-icons .adv-column {
    flex: 0 0 calc(33.333% - 10px);
    max-width: 140px;
    min-height: 180px;
    padding-top: 70px;
  }
  .adv-icons .adv-detail-card {
    width: min(var(--adv-card-expanded-w), 88vw);
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: hidden;
    padding: 70px 20px 24px;
  }
  .adv-icons .adv-column .adv-detail-card,
  .adv-icons .adv-column:first-child .adv-detail-card,
  .adv-icons .adv-column:last-child .adv-detail-card {
    left: 50%;
    right: auto;
    transform: translate3d(-50%, 0, 0);
  }
  .adv-icon-item {
    max-width: 100px;
    gap: 12px;
  }
  .adv-icon-item__circle {
    width: 52px;
    height: 52px;
  }
  .adv-detail-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }
  .adv-icon-item__label {
    font-size: 12px;
    line-height: 1.35;
  }
  .adv-detail-card__title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .adv-detail-card__desc {
    font-size: 12px;
    line-height: 24px;
  }
  .adv-detail-card__num {
    font-size: 14px;
    top: 10px;
    left: 18px;
  }
  .stats {
    padding: 40px 0 48px;
  }
  .stats__inner {
    padding-top: 0;
  }
  .stats .section__title--white {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 28px;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .stat-item {
    text-align: center;
  }
  .stat-item__value,
  .stat-item__unit {
    font-size: 36px;
    letter-spacing: 1px;
  }
  .stat-item__label {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 8px;
  }
  .stats__photo {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 180px;
    margin-top: 8px;
  }
  .stats__photo-shadow {
    display: none;
  }
  .stats__deco-qs {
    display: none;
  }
  .stats__deco-pattern {
    display: none;
  }
  .products__accordion {
    height: 520px;
    --panel-skew: 30px;
  }
  .products__panel::after {
    transform: rotate(atan2(var(--panel-skew), 520px));
  }
  .products__panel--active {
    flex: 4;
  }
  .products__panel-tab {
    top: 30px;
    height: 30px;
    width: 100%;
  }
  .products__panel-num {
    font-size: 11px;
  }
  .products__panel-tab-line {
    width: 22px;
    height: 1px;
    margin-top: 2px;
  }
  .products__panel-detail {
    top: 28%;
    max-width: 160px;
  }
  .products__panel-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .products__panel-title-line {
    width: 80px;
    margin-bottom: 12px;
  }
  .products__panel-desc {
    font-size: 12px;
    line-height: 22px;
    margin-bottom: 24px;
  }
  .products__panel-name {
    font-size: 11px;
  }
  .products__panel-arrow {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .products__panel-label {
    height: 120px;
    top: 35%;
  }
  .products__more-btn {
    height: 36px;
    min-width: 140px;
    padding-left: 18px;
  }
  .products__more-btn span:first-child {
    font-size: 14px;
    margin-right: 10px;
  }
  .products__more-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .applications {
    padding: 48px 0;
  }
  .applications__header {
    margin-bottom: 32px;
  }
  .applications__shadow-text {
    font-size: 36px;
  }
  .app-card {
    display: flex;
    flex-direction: column;
    height: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 24px;
  }
  .app-card:hover {
    transform: translateY(-2px);
  }
  .app-card--reverse {
    margin-left: 0;
    margin-right: 0;
  }
  .app-card__img-side {
    position: relative;
    inset: auto;
    min-height: 200px;
    order: -1;
  }
  .app-card__text-side {
    width: 100%;
    height: auto;
    clip-path: none;
    margin-left: 0;
    padding: 28px 24px;
  }
  .app-card--reverse .app-card__text-side {
    clip-path: none;
    margin-left: 0;
    padding: 28px 24px;
  }
  .app-card__heading {
    font-size: 24px;
    line-height: 36px;
  }
  .app-card__desc {
    font-size: 14px;
    line-height: 28px;
    max-width: none;
  }
  .app-card__num {
    font-size: 60px;
    line-height: 1;
    left: 20px;
    top: auto;
    bottom: 10px;
    transform: none;
  }
  .app-card--reverse .app-card__num {
    left: 20px;
  }
}

/* 小屏手机 */
@media (max-width: 479px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .products__accordion {
    height: 400px;
    --panel-skew: 16px;
  }
  .products__panel::after {
    transform: rotate(atan2(var(--panel-skew), 400px));
  }
  .products__panel--active {
    flex: 4;
  }
  .products__panel-tab {
    top: 16px;
    height: 24px;
    width: 100%;
  }
  .products__panel-num {
    font-size: 10px;
  }
  .products__panel-tab-line {
    width: 16px;
    height: 1px;
    margin-top: 2px;
  }
  .products__panel-tab::before {
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  }
  .products__panel-detail {
    top: 22%;
    max-width: 120px;
  }
  .products__panel-title {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .products__panel-title-line {
    width: 50px;
    height: 2px;
    margin-bottom: 6px;
  }
  .products__panel-name {
    font-size: 10px;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    white-space: nowrap;
  }
  .products__panel-arrow {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  .products__panel-label {
    height: 90px;
    top: 30%;
  }
  .products__more-btn {
    height: 30px;
    min-width: 110px;
    padding-left: 12px;
  }
  .products__more-btn span:first-child {
    font-size: 12px;
    margin-right: 6px;
  }
  .products__more-arrow {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .advantages {
    --adv-card-expanded-w: 280px;
    --adv-card-expanded-h: 360px;
  }
  .adv-icons {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 12px 10px;
  }
  .adv-icons .adv-column {
    flex: 0 0 calc(50% - 8px);
    max-width: 160px;
    min-height: 150px;
    padding-top: 60px;
  }
  .adv-icons .adv-detail-card {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 60px 16px 20px;
  }
  .adv-icon-item__circle {
    width: 44px;
    height: 44px;
  }
  .adv-detail-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }
  .adv-icon-item__label {
    font-size: 11px;
    line-height: 1.3;
  }
  .adv-detail-card__title {
    font-size: 16px;
  }
  .adv-detail-card__desc {
    font-size: 11px;
    line-height: 22px;
  }
  .contact {
    padding: 32px 0;
  }
  .contact::after {
    height: 100px;
  }
  .contact__panel {
    border-radius: 16px;
    min-height: auto;
  }
  .contact__layout {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
    min-height: auto;
  }
  .contact__heading {
    font-size: 24px;
    line-height: 38px;
  }
  .contact__desc {
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 28px;
  }
  .contact__label {
    font-size: 16px;
  }
  .contact__email-icon {
    width: 40px;
    height: 40px;
  }
  .contact__email span {
    font-size: 16px;
    padding-right: 16px;
  }
  .contact__socials {
    gap: 16px;
  }
  .contact__social {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .contact__social img {
    width: 24px;
    height: 24px;
  }
  .contact__form-title {
    font-size: 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-textarea {
    min-height: 120px;
  }
  .contact__form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .contact__privacy {
    max-width: none;
  }
  .contact__submit {
    width: 100%;
    justify-content: center;
  }
  .contact__submit span:first-child {
    font-size: 18px;
  }
}

