/* ============================================================
   五量度 · industry 页 Apple 流体视觉层（2026-10-27）
   依赖 home-apple.css 的 .ah 设计令牌与基础组件（body 同时挂 ah / idypage）。
   区块：首屏 / 三大服务实景卡 / 覆盖行业网格 / 优势卡 / CTA
   注意：全部以 .idy- 前缀隔离，不与旧 style.css 的 .svc/.faq/.scene 等类名冲突。
   ============================================================ */

/* ============ 首屏：竖版活动主图 + 玻璃合作卡 ============ */
.idypage .ah-stage-photo { aspect-ratio: 4 / 5; border-radius: 28px; }
.idypage .ah-glass { width: min(320px, 88%); }
.idypage .ah-badge-live { left: auto; right: 16px; }
.idy-chans { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.idy-chans li {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 13px;
  background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9);
  transition: transform .5s var(--ah-spring), background .3s;
}
.idy-chans li:hover { transform: translateX(3px); background: #fff; }
.idy-chan-ico {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(22,166,199,.16), rgba(22,166,199,.05)); color: var(--ah-brand-deep);
}
.idy-chan-ico svg { width: 15px; height: 15px; }
.idy-chans b { display: block; font-size: 13px; color: var(--ah-ink); line-height: 1.35; }
.idy-chans em { display: block; font-style: normal; font-size: 11.5px; color: var(--ah-ink-3); margin-top: 1px; }

/* ============ 三大行业服务：实景图卡 ============ */
.idy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.idy-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: #fff; border: 1px solid var(--ah-line); box-shadow: var(--ah-shadow-1);
  transition: transform .6s var(--ah-spring), box-shadow .5s, border-color .3s;
}
.idy-card:hover { transform: translateY(-6px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.32); }
.idy-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(260px 180px at var(--mx, 50%) var(--my, 0%), rgba(22,166,199,.10), transparent 70%);
  opacity: 0; transition: opacity .4s ease;
}
.idy-card:hover::after { opacity: 1; }
.idy-card-pic { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #eef3f7; }
.idy-card-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.15s var(--ah-ease); }
.idy-card:hover .idy-card-pic img { transform: scale(1.06); }
.idy-card-pic::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,24,38,.14) 0%, rgba(6,24,38,0) 34%, rgba(6,24,38,.34) 100%);
}
.idy-card-ico {
  position: absolute; z-index: 2; left: 14px; top: 14px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; color: var(--ah-brand-deep);
  background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(8,26,42,.14);
}
.idy-card-ico svg { width: 20px; height: 20px; }
.idy-card-flag {
  position: absolute; z-index: 2; right: 14px; top: 14px; font-size: 12px; font-weight: 700;
  color: #fff; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px;
  background: linear-gradient(135deg, #f4a72c, #ec8f1a);
  box-shadow: 0 6px 16px rgba(236,143,26,.35);
}
.idy-card-body { padding: 17px 19px 19px; display: flex; flex-direction: column; flex: 1 1 auto; }
.idy-card-body h3 { margin: 0; font-size: 17px; color: var(--ah-ink); letter-spacing: -.01em; }
.idy-card-body p { margin: 8px 0 0; font-size: 13.5px; color: var(--ah-ink-2); line-height: 1.78; }
.idy-card-body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.idy-card-body .tags span {
  font-size: 12px; color: var(--ah-ink-3); padding: 4px 9px; border-radius: 7px;
  background: var(--ah-paper-2); transition: color .3s, background .3s;
}
.idy-card:hover .tags span { color: var(--ah-brand-deep); background: rgba(22,166,199,.09); }
.idy-card-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px;
  font-size: 12.5px; font-weight: 600; color: var(--ah-brand-deep); font-style: normal;
}
.idy-card-more i { font-style: normal; transition: transform .45s var(--ah-spring); }
.idy-card:hover .idy-card-more i { transform: translateX(4px); }

/* ============ 覆盖行业：12 类图标网格 ============ */
.idy-labs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.idy-lab {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 18px 12px 15px; border-radius: 18px; background: #fff; border: 1px solid var(--ah-line);
  transition: transform .5s var(--ah-spring), box-shadow .4s, border-color .3s,
              opacity .55s var(--ah-ease);
}
.idy-lab:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow-1); border-color: rgba(22,166,199,.3); }
.idy-lab-ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: var(--ah-brand-deep);
  background: linear-gradient(150deg, rgba(22,166,199,.14), rgba(22,166,199,.04));
  transition: background .4s, color .4s, transform .5s var(--ah-spring-soft);
}
.idy-lab:hover .idy-lab-ico {
  background: linear-gradient(150deg, #1aa2c0, #0f7a95); color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.idy-lab-ico svg { width: 22px; height: 22px; }
.idy-lab b { font-size: 13.5px; color: var(--ah-ink); line-height: 1.45; font-weight: 600; }
/* 有 JS 才启用逐个渐入；无 JS 保持默认可见 */
.idy-labs--js .idy-lab { opacity: 0; transform: translateY(14px); }
.idy-labs--js .idy-lab.on { opacity: 1; transform: none; }
.idy-labs-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px;
  margin-top: 18px; padding: 14px 18px; border-radius: 16px;
  background: var(--ah-paper-2); border: 1px solid var(--ah-line-soft);
  font-size: 13.5px; color: var(--ah-ink-2);
}
.idy-labs-note b { color: var(--ah-ink); }
.idy-labs-note a { font-weight: 700; color: var(--ah-brand-deep); white-space: nowrap; }

/* ============ 为什么选择：四张优势卡 ============ */
.idy-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.idy-why-card {
  padding: 20px 18px 18px; border-radius: 20px; background: #fff;
  border: 1px solid var(--ah-line); box-shadow: 0 1px 2px rgba(10,30,55,.03);
  transition: transform .55s var(--ah-spring), box-shadow .45s, border-color .3s;
}
.idy-why-card:hover { transform: translateY(-5px); box-shadow: var(--ah-shadow-1); border-color: rgba(22,166,199,.28); }
.idy-why-ico {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: var(--ah-brand-deep);
  background: linear-gradient(150deg, rgba(22,166,199,.14), rgba(22,166,199,.04));
  transition: background .4s, color .4s, transform .5s var(--ah-spring-soft);
}
.idy-why-card:hover .idy-why-ico {
  background: linear-gradient(150deg, #1aa2c0, #0f7a95); color: #fff;
  transform: scale(1.06) rotate(-4deg);
}
.idy-why-ico svg { width: 21px; height: 21px; }
.idy-why-card h3 { margin: 14px 0 0; font-size: 15.5px; color: var(--ah-ink); letter-spacing: -.01em; }
.idy-why-card p { margin: 7px 0 0; font-size: 13px; color: var(--ah-ink-2); line-height: 1.75; }

/* ============ FAQ 引言 ============ */
.idy-faq-intro { margin: -6px 0 26px; font-size: 14.5px; color: var(--ah-ink-2); max-width: 720px; }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .idy-labs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .idy-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .idy-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 620px) {
  .idy-labs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .idy-lab { padding: 13px 8px 11px; border-radius: 14px; }
  .idy-lab-ico { width: 38px; height: 38px; border-radius: 11px; }
  .idy-lab b { font-size: 12.5px; }
  .idy-why { grid-template-columns: minmax(0, 1fr); }
  .idy-card-body { padding: 15px 16px 17px; }
}

/* ============ 无障碍：减弱动效 ============ */
@media (prefers-reduced-motion: reduce) {
  .idy-card, .idy-lab, .idy-why-card, .idy-chans li,
  .idy-card-pic img, .idy-lab-ico, .idy-why-ico { transition-duration: .001ms !important; }
  .idy-labs--js .idy-lab { opacity: 1 !important; transform: none !important; }
}
