/* =========================================================
   products.css —— 产品中心专用（v3，2026-11-24）
   参考 EVE 版式：主视觉 / 编号优势 / 规模与认证。
   仅 products/index.html 引用，不影响其他页面。
   ========================================================= */

/* ---------- 0. 面包屑 ---------- */
.pc-crumb-wrap { padding: calc(var(--nav-h) + 18px) 0 0; }
.pc-crumb { font-size: 12.5px; color: #8aa1aa; }
.pc-crumb a { color: #6b8291; text-decoration: none; }
.pc-crumb a:hover { color: #00aabb; }
.pc-crumb .sep { margin: 0 7px; color: #c2d3d9; }

/* ---------- 1. 主视觉 ---------- */
/* 注意：光晕必须合并进 background 的多层渐变，不能用 ::after 覆盖层。
   原因：如果光晕放在 ::after，就需要给 .pc-hero-inner 加 position+z-index 才能压住它，
   而带 z-index 的堆叠上下文会构成孤立混合组，使 .pc-float 的 mix-blend-mode 失效
   （表现为图片变成白色方块）。合并为背景层后既无覆盖问题，也保留了混合能力。 */
.pc-hero {
  position: relative; overflow: hidden;
  padding: 24px 0 0;
  background:
    radial-gradient(42% 34% at 50% 46%, rgba(0, 170, 187, .10), rgba(0, 170, 187, 0) 72%),
    radial-gradient(88% 62% at 50% 4%, #e2f4f8 0%, #f1f9fb 44%, #fdfefe 100%);
  border-bottom: 1px solid #e9f2f5;
}
.pc-hero-inner { text-align: center; }
.pc-eyebrow {
  display: inline-block; color: #00aabb; font-size: 11.5px;
  font-weight: 700; letter-spacing: .24em;
}
.pc-title {
  margin: 11px 0 13px; color: #0d2b33; letter-spacing: .01em;
  font-size: clamp(26px, 3.5vw, 43px); font-weight: 500; line-height: 1.24;
}
.pc-title b { font-weight: 800; color: #08222a; }
.pc-title em { font-style: normal; color: #01788f; font-weight: 800; }
.pc-pill {
  display: inline-block; margin: 0 0 4px; padding: 9px 28px;
  border: 1px solid #cfe2e7; border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: #3d5b66; font-size: 14.5px; letter-spacing: .02em;
}

/* 舞台：左图 / 电芯 / 右图 */
.pc-stage {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px;
  max-width: 820px; margin: 8px auto 0;
}
/* 两侧应用场景：纯图片悬浮，无文字、无线性图标 */
.pc-orbit { list-style: none; margin: 0; padding: 4px 0; display: flex; flex-direction: column; gap: 10px; }
.pc-orbit-l { align-items: flex-end; }
.pc-orbit-r { align-items: flex-start; }
.pc-orbit li { display: block; }
.pc-float {
  display: block; height: clamp(88px, 8.8vw, 114px); width: auto;
  mix-blend-mode: multiply;   /* 白底直接融进浅色页面，边缘由图片自带渐隐 */
  animation: pcFloat 5.4s ease-in-out infinite;
  will-change: transform;
}
.pc-orbit-l li:nth-child(2) .pc-float { animation-delay: -2.7s; }
.pc-orbit-r li:nth-child(1) .pc-float { animation-delay: -1.35s; }
.pc-orbit-r li:nth-child(2) .pc-float { animation-delay: -4.05s; }
@keyframes pcFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -11px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pc-float { animation: none; }
}

.pc-core {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 8px;
}
.pc-core .pc-cell {
  position: relative; z-index: 3; width: auto;
  height: clamp(238px, 24vw, 312px);
  filter: drop-shadow(0 24px 30px rgba(1, 60, 74, .20));
}
.pc-ring {
  position: absolute; left: 50%; border-radius: 50%;
  border: 1px solid rgba(0, 170, 187, .22); z-index: 2; pointer-events: none;
}
.pc-ring-1 { bottom: 4%; transform: translate(-50%, 50%); width: 176%; aspect-ratio: 2.9 / 1; }
.pc-ring-2 { bottom: 4%; transform: translate(-50%, 50%); width: 266%; aspect-ratio: 4.2 / 1; border-color: rgba(0, 170, 187, .11); }
.pc-glow {
  position: absolute; left: 50%; bottom: 4%; transform: translate(-50%, 50%);
  width: 112%; height: 30%; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 170, 187, .30), rgba(0, 170, 187, 0) 68%);
}

/* 应用场景宫格（必须压在 3D 光环之上：z-index 高于 .pc-ring / .pc-glow） */
.pc-apps {
  position: relative; z-index: 6;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
  max-width: 900px; margin: 12px auto 0; padding: 12px;
  background: #fff; border: 1px solid #e6f0f3; border-radius: 18px;
  box-shadow: 0 26px 54px -38px rgba(1, 60, 74, .55);
}
.pc-apps a {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 14px 6px 13px; border-radius: 12px;
  color: #43616c; font-size: 13px; text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s;
}
.pc-apps a:hover {
  background: #fff; color: #01788f;
  box-shadow: 0 12px 26px -20px rgba(1, 60, 74, .6);
}
.pc-apps svg {
  width: 27px; height: 27px;
  stroke: #00aabb; fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.pc-apps a:hover svg { stroke: #01788f; }

.pc-hero-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  padding: 22px 0 34px;
}
.pc-hero-cta .btn { padding: 12px 30px; font-size: 15px; border-radius: 10px; }

/* ---------- 2. 通用区块头 ---------- */
.pc-sec { padding: 72px 0; }
.pc-sec--alt { background: #f6fafb; }
.pc-h2 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 28px;
  font-size: clamp(20px, 2.3vw, 27px); color: #0d2b33; font-weight: 700;
}
.pc-h2::before {
  content: ""; width: 4px; height: 1.05em; border-radius: 2px;
  background: linear-gradient(#2bc3ce, #69d8c7);
}

/* ---------- 3. 编号优势卡 ---------- */
.pc-adv-list { display: flex; flex-direction: column; gap: 16px; max-width: 1080px; }
.pc-adv {
  display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: stretch;
  background: #fff; border: 1px solid #e6eef2; border-radius: 16px; padding: 16px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.pc-adv:hover {
  transform: translateY(-2px);
  border-color: #d3e5ea; box-shadow: 0 22px 44px -34px rgba(1, 60, 74, .6);
}
.pc-adv-visual {
  position: relative; overflow: hidden; border-radius: 10px;
  background: linear-gradient(140deg, #061019 0%, #0e2b3a 55%, #071620 100%);
  display: block; aspect-ratio: 3 / 2;
}
.pc-adv-visual img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.pc-adv-body { display: flex; gap: 20px; align-items: flex-start; padding: 10px 10px 10px 0; }
.pc-adv-no {
  flex: 0 0 auto; font-size: 30px; font-weight: 800; line-height: 1;
  color: #2bc3ce; letter-spacing: .01em;
}
.pc-adv-body h3 { margin: 2px 0 13px; font-size: 17px; color: #12262e; font-weight: 700; }
.pc-adv-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pc-adv-body li {
  position: relative; padding-left: 16px;
  font-size: 13.5px; line-height: 1.75; color: #5c7480;
}
.pc-adv-body li::before {
  content: ""; position: absolute; left: 1px; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: #2bc3ce;
}

/* ---------- 4. 规模 / 认证 双列 ---------- */
.pc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.pc-fact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-fact-list li {
  display: flex; gap: 13px; align-items: flex-start;
  background: #fff; border: 1px solid #e6eef2; border-radius: 12px; padding: 14px 17px;
}
.pc-fact-ic {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px;
  background: #eef8f9; color: #00aabb;
  display: flex; align-items: center; justify-content: center;
}
.pc-fact-ic svg {
  width: 18px; height: 18px; stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.pc-fact-list li p { margin: 0; font-size: 13.5px; line-height: 1.75; color: #4c6570; }
.pc-fact-list li p b { color: #0f2a33; }
.pc-note { margin: 14px 0 0; font-size: 12px; color: #93a7b2; text-align: right; }

/* ---------- 5. 产品与资料入口 ---------- */
.pc-entry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pc-entry {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e6eef2; border-radius: 16px;
  padding: 24px 22px 20px; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease;
}
/* 深色渐变背板：默认透明，hover 时淡入（linear-gradient 无法直接过渡，用 overlay 实现） */
.pc-entry::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(158deg, #013c4a 0%, #01596f 62%, #01788f 100%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.pc-entry > * { position: relative; z-index: 1; }
.pc-entry:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 24px 44px -28px rgba(1, 60, 74, .6); }
.pc-entry:hover::before { opacity: 1; }
a.pc-entry:focus-visible { transform: translateY(-3px); border-color: transparent; box-shadow: 0 24px 44px -28px rgba(1, 60, 74, .6); }
a.pc-entry:focus-visible::before { opacity: 1; }
.pc-entry-ic {
  width: 42px; height: 42px; border-radius: 11px; background: #eef8f9;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  transition: background .3s ease;
}
.pc-entry-ic svg {
  width: 21px; height: 21px; stroke: #00aabb; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .3s ease;
}
.pc-entry h3 { margin: 0 0 8px; font-size: 16.5px; color: #12262e; transition: color .3s ease; }
.pc-entry p { margin: 0 0 16px; font-size: 13px; line-height: 1.75; color: #6b8291; flex: 1 1 auto; transition: color .3s ease; }
.pc-entry .pc-more { font-size: 13px; font-weight: 600; color: #00aabb; transition: color .3s ease; }
/* hover / 键盘聚焦：整卡转为深青渐变（白字） */
.pc-entry:hover .pc-entry-ic,
.pc-entry:focus-visible .pc-entry-ic { background: rgba(255, 255, 255, .14); }
.pc-entry:hover .pc-entry-ic svg,
.pc-entry:focus-visible .pc-entry-ic svg { stroke: #69d8c7; }
.pc-entry:hover h3,
.pc-entry:focus-visible h3 { color: #fff; }
.pc-entry:hover p,
.pc-entry:focus-visible p { color: rgba(226, 242, 246, .82); }
.pc-entry:hover .pc-more,
.pc-entry:focus-visible .pc-more { color: #69d8c7; }
.pc-entry:hover .pc-tag-live,
.pc-entry:focus-visible .pc-tag-live { background: rgba(105, 216, 199, .2); color: #8ee6d6; }
.pc-entry:hover .pc-tag-soon,
.pc-entry:focus-visible .pc-tag-soon { background: rgba(255, 255, 255, .16); color: #d6e8ee; }
.pc-entry--soon { opacity: .72; }
.pc-entry--soon:hover { opacity: 1; }
.pc-tag-live {
  display: inline-block; margin-left: 8px; vertical-align: 2px;
  padding: 2px 9px; border-radius: 999px;
  background: #e9f8f3; color: #0d8a6a; font-size: 11px; font-weight: 600;
  transition: background .3s ease, color .3s ease;
}
.pc-tag-soon { background: #f1f5f7; color: #7d94a2; }

/* ---------- 6. 响应式 ---------- */
@media (max-width: 1020px) {
  .pc-adv { grid-template-columns: 240px 1fr; gap: 20px; }
  .pc-facts { gap: 24px; }
  .pc-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  /* 手机/窄屏：电芯独占一行，四张应用图并成一行（左 2 + 右 2） */
  .pc-stage { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; max-width: 100%; }
  .pc-core { grid-column: 1 / -1; order: -1; margin: 0 auto; }
  .pc-core .pc-cell { height: clamp(196px, 46vw, 250px); }
  .pc-orbit { flex-direction: row; flex-wrap: nowrap; gap: 0; }
  .pc-orbit-l { align-items: center; justify-content: flex-end; }
  .pc-orbit-r { align-items: center; justify-content: flex-start; }
  .pc-float { height: 72px; }
  .pc-facts { grid-template-columns: 1fr; }
  .pc-apps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pc-sec { padding: 52px 0; }
  .pc-hero { padding-top: 22px; }
  .pc-adv { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .pc-adv-visual { max-width: 340px; margin: 0 auto; }
  .pc-adv-body { padding: 0 4px 4px; gap: 14px; }
  .pc-adv-no { font-size: 25px; }
  .pc-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px; }
  .pc-apps a { font-size: 12px; padding: 11px 4px; }
  .pc-apps svg { width: 22px; height: 22px; }
  .pc-hero-cta { padding: 22px 0 32px; }
  .pc-note { text-align: left; }
}
@media (max-width: 520px) {
  .pc-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-entry-grid { grid-template-columns: 1fr; }
  .pc-pill { font-size: 13px; padding: 8px 20px; }
  .pc-float { height: 66px; }
}
