/* ============================================================
   why-redesign.css — 选择我们页 重设计（why.html 专属）
   依赖 style.css 全局变量 + hero-fx.css 粒子 banner
   ============================================================ */

/* ---------------- 01–04 四重保障卡 ---------------- */
.wy-guar-sec .ed-head { margin-bottom: 48px; }

.wy-card {
  --ac: #006aff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 60px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 3.6vw, 48px);
  margin-bottom: 24px;
  overflow: hidden;
  scroll-margin-top: 120px;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1),
              box-shadow .55s, border-color .45s;
}
.wy-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--ac) 36%, #fff);
  box-shadow: 0 26px 60px color-mix(in srgb, var(--ac) 16%, rgba(10, 25, 60, .08));
}

/* 左侧渐变轨道：hover 点亮 */
.wy-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ac), color-mix(in srgb, var(--ac) 40%, #00d168));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.wy-card:hover .wy-rail { transform: scaleY(1); }

/* 鼠标跟随光斑 */
.wy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%),
              color-mix(in srgb, var(--ac) 9%, transparent), transparent 72%);
  opacity: 0;
  transition: opacity .45s;
}
.wy-card:hover::after { opacity: 1; }

/* 右上大序号水印 */
.wy-no {
  position: absolute;
  top: 14px; right: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ac) 22%, #fff);
  pointer-events: none;
  transition: -webkit-text-stroke-color .5s, color .5s, transform .6s cubic-bezier(.22, 1, .36, 1);
}
.wy-card:hover .wy-no {
  color: color-mix(in srgb, var(--ac) 14%, #fff);
  -webkit-text-stroke-color: color-mix(in srgb, var(--ac) 46%, #fff);
  transform: translateY(4px);
}

/* 标题行：图标 + 标题 */
.wy-tt { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.wy-tt h2 {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
}
.wy-ico {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--ac) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--ac) 22%, #fff);
  color: var(--ac);
  transition: background .45s, color .45s, transform .5s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .5s, border-color .45s;
}
.wy-ico svg {
  width: 27px; height: 27px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.wy-card:hover .wy-ico {
  background: linear-gradient(135deg, var(--ac), color-mix(in srgb, var(--ac) 55%, #00d168));
  color: #fff;
  border-color: transparent;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--ac) 34%, transparent);
}

.wy-main > p {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 20px;
}

/* 右侧参数面板 */
.wy-side {
  position: relative;
  align-self: center;
  background: var(--blue-lighter);
  border: 1px solid var(--ed-rule-soft);
  border-radius: 16px;
  padding: clamp(20px, 2.4vw, 30px);
  transition: border-color .45s, background .45s, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.wy-card:hover .wy-side {
  background: color-mix(in srgb, var(--ac) 7%, #fff);
  border-color: color-mix(in srgb, var(--ac) 26%, #fff);
  transform: translateY(-3px);
}
.wy-side dl { display: grid; gap: 14px; margin: 0; }
.wy-side dt {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ed-quiet);
}
.wy-side dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: color .4s;
}
.wy-card:hover .wy-side dd { color: var(--ac); }

/* 入场：由 .ed-reveal/.visible 门控；hover 时复位 transition 延迟并接管 transform */
.js .wy-card.visible:hover {
  transform: translateY(-6px);
  transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .55s, border-color .45s;
}

/* ---------------- 对比表：交互增强 ---------------- */
.wy-guar-sec + .ed-section--paper .ed-table,
.ed-section--paper .ed-table { border-collapse: separate; border-spacing: 0; }

.ed-table tbody tr { transition: background .35s; }
.ed-table tbody tr:hover { background: rgba(0, 106, 255, .045); }
.ed-table tbody tr:hover th { color: var(--ed-blue); }

.ed-table .col-us {
  position: relative;
  background: linear-gradient(90deg, rgba(0, 106, 255, .07), rgba(0, 164, 255, .04));
}
.ed-table tbody .col-us {
  font-weight: 600;
  color: var(--ed-ink);
  transition: color .35s;
}
.ed-table tbody tr:hover .col-us { color: var(--ed-blue); }
.ed-table thead .col-us::after {
  content: "我们";
  display: inline-block;
  margin-left: 10px;
  font-size: 10px;
  letter-spacing: .1em;
  color: #fff;
  background: var(--grad-brand-135);
  border-radius: 999px;
  padding: 2px 10px;
  vertical-align: 2px;
}

/* ---------------- 06 服务承诺卡 ----------------
   redesign.css 后段把 .ed-section--ink 全局改成了浅色（品牌文化页），
   这里 why 页局部恢复深蓝夜航，保证白色承诺卡可读 */
.wy-promise-sec {
  background: linear-gradient(180deg, #0a1c46 0%, #071230 55%, #050f2b 100%);
  color: #e9effc;
}
.wy-promise-sec .ed-head { border-bottom-color: rgba(255, 255, 255, .16); }
.wy-promise-sec .ed-kicker { color: rgba(255, 255, 255, .5); }
.wy-promise-sec .ed-kicker::before { background: rgba(255, 255, 255, .4); }
.wy-promise-sec .ed-title { color: #fff; }
.wy-promise-sec .ed-head-note { color: rgba(255, 255, 255, .55); }

.wy-promise-sec .ed-head { margin-bottom: 48px; }

.wy-p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.wy-p-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  padding: 30px 24px 28px;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1),
              background .4s, border-color .4s, box-shadow .55s;
}
.wy-p-card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(111, 227, 180, .5);
  box-shadow: 0 22px 44px rgba(2, 14, 42, .45);
}
.wy-p-no {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(159, 208, 255, .5);
  margin-bottom: 16px;
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.wy-p-card:hover .wy-p-no { color: rgba(111, 227, 180, .22); -webkit-text-stroke-color: rgba(111, 227, 180, .85); }
.wy-p-card b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.wy-p-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .72);
}
.wy-p-glow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.wy-p-card:hover .wy-p-glow { transform: scaleX(1); }

/* 入场：由 .ed-reveal/.visible 门控；hover 复位延迟 */
.js .wy-p-card.visible:hover {
  transform: translateY(-7px);
  transition: transform .55s cubic-bezier(.22,1,.36,1), background .4s, border-color .4s, box-shadow .55s;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1060px) {
  .wy-card { grid-template-columns: 1fr; }
  .wy-side { max-width: 460px; }
  .wy-no { font-size: 56px; top: 10px; right: 18px; }
}
@media (max-width: 900px) {
  .wy-p-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wy-p-grid { grid-template-columns: 1fr; }
  .wy-card { padding: 24px 20px; }
  .wy-tt { gap: 12px; }
  .wy-ico { width: 46px; height: 46px; border-radius: 12px; }
}

/* ---------------- 无障碍：减少动效 ---------------- */
@media (prefers-reduced-motion: reduce) {
  .wy-card, .wy-p-card, .wy-ico, .wy-side, .wy-no, .wy-rail, .wy-p-glow { transition: none !important; }
  .js .wy-card, .js .wy-p-card { opacity: 1; transform: none; }
  .wy-card:hover, .wy-p-card:hover { transform: none; }
}

/* ============================================================
   wy-hero — 选择我们页专属 Banner（夜航·雷达守护主题）
   深墨蓝底 + 雷达扫掠 + 斜向光束 + 盾牌，区别于其他页粒子星座
   ============================================================ */
.wy-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 46% 52% at 86% 30%, rgba(0, 164, 255, .20), transparent 64%),
    radial-gradient(ellipse 40% 44% at 4% 92%, rgba(0, 209, 104, .12), transparent 60%),
    linear-gradient(158deg, #0a1f46 0%, #071638 48%, #050e28 100%);
  padding: 150px 0 96px;
  color: #fff;
}
/* 底层网格 */
.wyh-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 82% 92% at 50% 42%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 92% at 50% 42%, #000 30%, transparent 100%);
}
/* 大幽灵字：视差层 */
.wyh-ghost {
  position: absolute;
  top: 34px; right: -1.2%;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(120px, 16vw, 240px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(159, 208, 255, .13);
  letter-spacing: .02em;
  pointer-events: none;
  user-select: none;
  translate: calc(var(--hx, 0) * -26px) calc(var(--hy, 0) * -16px);
  transition: translate .35s ease-out;
  animation: wyhGhostIn 1.4s cubic-bezier(.22, 1, .36, 1) .1s backwards;
}
@keyframes wyhGhostIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

/* 雷达盘：右侧同心环 + 扫掠光楔 + 4 个保障节点 */
.wyh-radar {
  position: absolute;
  top: 50%; right: 6%;
  width: 560px; height: 560px;
  margin: -280px 0 0 0;
  pointer-events: none;
  translate: calc(var(--hx, 0) * 20px) calc(var(--hy, 0) * 14px);
  transition: translate .35s ease-out;
}
.wyh-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(159, 208, 255, .16);
  animation: wyhRingPulse 4.2s ease-in-out infinite;
}
.wyh-ring--1 { inset: 8%; }
.wyh-ring--2 { inset: 22%; animation-delay: .7s; }
.wyh-ring--3 { inset: 36%; animation-delay: 1.4s; }
@keyframes wyhRingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 164, 255, 0); }
  50% { box-shadow: 0 0 24px 2px rgba(0, 164, 255, .14); }
}
.wyh-sweep {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(111, 227, 180, .30) 0deg, rgba(111, 227, 180, .05) 48deg, transparent 90deg, transparent 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 98%, transparent 100%);
  mask-image: radial-gradient(circle, #000 0 98%, transparent 100%);
  animation: wyhSweep 6.5s linear infinite;
}
@keyframes wyhSweep { to { transform: rotate(360deg); } }
.wyh-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #6fe3b4;
  box-shadow: 0 0 0 4px rgba(0, 209, 104, .18), 0 0 14px rgba(0, 209, 104, .8);
  animation: wyhNodeGlow 3s ease-in-out infinite;
}
.wyh-node--1 { top: 16%; left: 27%; }
.wyh-node--2 { top: 44%; left: 72%; animation-delay: .6s; background: #7db4ff; box-shadow: 0 0 0 4px rgba(0, 164, 255, .18), 0 0 14px rgba(0, 164, 255, .8); }
.wyh-node--3 { top: 70%; left: 34%; animation-delay: 1.2s; background: #9fd0ff; box-shadow: 0 0 0 4px rgba(0, 164, 255, .14), 0 0 12px rgba(125, 180, 255, .7); }
.wyh-node--4 { top: 28%; left: 62%; animation-delay: 1.8s; }
@keyframes wyhNodeGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* 斜向光束 */
.wyh-beam {
  position: absolute;
  top: -30%;
  width: 180px;
  height: 170%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 164, 255, .16) 45%, transparent 100%);
  transform: rotate(28deg);
  filter: blur(4px);
  animation: wyhBeamDrift 9s ease-in-out infinite alternate;
}
.wyh-beam--a { right: 16%; }
.wyh-beam--b { right: 34%; width: 90px; animation-delay: -4s; opacity: .7; }
@keyframes wyhBeamDrift {
  from { translate: 0 0; opacity: .65; }
  to { translate: 46px 0; opacity: 1; }
}

/* 盾牌：守护主题主视觉 */
.wyh-shield {
  position: absolute;
  top: 24%; right: 12.5%;
  width: 190px; height: 190px;
  pointer-events: none;
  color: #6fe3b4;
  translate: calc(var(--hx, 0) * 34px) calc(var(--hy, 0) * 24px);
  transition: translate .35s ease-out;
  animation: wyhShieldFloat 7s ease-in-out infinite, wyhShieldIn 1.2s cubic-bezier(.34, 1.56, .64, 1) .5s backwards;
  filter: drop-shadow(0 14px 36px rgba(0, 209, 104, .30));
}
.wyh-shield svg {
  width: 100%; height: 100%;
  fill: rgba(0, 209, 104, .06);
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes wyhShieldFloat { 50% { margin-top: -18px; } }
@keyframes wyhShieldIn { from { opacity: 0; transform: scale(.6) rotate(-14deg); } to { opacity: 1; transform: none; } }

/* 文本与统计 */
.wy-hero .ph-crumbs a, .wy-hero .ph-crumbs span { color: rgba(255, 255, 255, .78); }
.wy-hero .ph-crumbs i { color: rgba(255, 255, 255, .45); }
.wy-hero h1 { color: #fff; animation: wyhTitleIn .9s cubic-bezier(.22, 1, .36, 1) .15s backwards; }
@keyframes wyhTitleIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.wy-hero .ph-lead { color: rgba(255, 255, 255, .82); animation: wyhTitleIn .8s ease .45s backwards; }
.wyh-stats { display: flex; gap: 14px; animation: wyhTitleIn .8s ease .62s backwards; }
.wyh-stat {
  position: relative;
  min-width: 118px;
  padding: 14px 20px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
  transition: background .35s, border-color .35s, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.wyh-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.wyh-stat:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); transform: translateY(-4px); }
.wyh-stat:hover::before { transform: scaleY(1); }
.wyh-stat b { display: block; font-size: 24px; font-weight: 800; color: #fff; line-height: 1.2; }
.wyh-stat span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.wyh-stats .wyh-stat:nth-child(2) { animation-delay: .7s; }
.wyh-stats .wyh-stat:nth-child(3) { animation-delay: .78s; }

@media (max-width: 1060px) {
  .wyh-radar { width: 400px; height: 400px; margin: -200px 0 0 0; right: -6%; opacity: .6; }
  .wyh-shield { width: 130px; height: 130px; right: 8%; opacity: .8; }
  .wyh-ghost { font-size: 120px; }
}
@media (max-width: 640px) {
  .wy-hero { padding: 120px 0 72px; }
  .wyh-radar, .wyh-beam { display: none; }
  .wyh-shield { top: 12%; right: 4%; width: 92px; height: 92px; }
  .wyh-stats { flex-wrap: wrap; }
  .wyh-stat { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .wyh-sweep, .wyh-ring, .wyh-node, .wyh-beam, .wyh-shield, .wyh-ghost,
  .wy-hero h1, .wy-hero .ph-lead, .wyh-stats { animation: none !important; }
}
