/* 泓铭源 · 产品门户 v2 · demo
   设计基线：深空底色 + 玻璃卡片 + 流动渐变描边；无框架、无外链字体。 */

@property --ang {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #05070f;
  --bg-2: #070b16;
  --fg: #e9efff;
  --dim: #93a3bd;
  --dim-2: #6b7c96;
  --line: #1a2334;
  --line-2: #263349;
  --card: rgba(255, 255, 255, 0.042);
  --card-2: rgba(255, 255, 255, 0.016);
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #a78bfa;
  --amber: #f59e0b;
  --emerald: #10b981;
  --radius: 18px;
  --nav-h: 66px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.65 "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 背景层：网格 + 两团光晕 + 鼠标光斑 ---------- */
.bg-grid,
.bg-glow,
.cursor-glow { position: fixed; inset: 0; pointer-events: none; }

.bg-grid {
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 25%, transparent 78%);
  z-index: 0;
}

.bg-glow { z-index: 0; overflow: hidden; }
.bg-glow i {
  position: absolute; display: block; border-radius: 50%; filter: blur(70px); opacity: 0.5;
  animation: breathe 14s ease-in-out infinite;
}
.bg-glow i:nth-child(1) {
  width: 620px; height: 620px; left: -160px; top: -220px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 66%);
}
.bg-glow i:nth-child(2) {
  width: 700px; height: 700px; right: -220px; top: -160px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.46), transparent 66%);
  animation-delay: -7s;
}
@keyframes breathe {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.42; }
  50% { transform: translate3d(0, 26px, 0) scale(1.08); opacity: 0.6; }
}

.cursor-glow {
  z-index: 1;
  width: 520px; height: 520px; inset: auto;
  left: 0; top: 0;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.4s;
  opacity: 0;
  will-change: transform;
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 26px;
  padding: 0 clamp(18px, 4vw, 44px);
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; flex: none; }
.brand svg { width: 34px; height: 34px; display: block; }
.brand .wz { display: block; font-size: 19px; font-weight: 800; letter-spacing: 3px; line-height: 1; }
.brand .en { display: block; font-size: 8.5px; letter-spacing: 2.6px; color: var(--dim-2); margin-top: 5px; text-transform: uppercase; }

.nav { position: relative; display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav button {
  position: relative; z-index: 1;
  appearance: none; border: 0; background: transparent; cursor: pointer;
  color: var(--dim); font: inherit; font-size: 14px; letter-spacing: 0.6px;
  padding: 8px 14px; border-radius: 10px; white-space: nowrap;
  transition: color 0.22s;
}
.nav button:hover { color: #dbe6ff; }
.nav button.active { color: #fff; }
.nav .indicator {
  position: absolute; height: 32px; top: 50%; left: 0; width: 0;
  border-radius: 10px; transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(167, 139, 250, 0.18));
  box-shadow: inset 0 0 0 1px rgba(120, 190, 255, 0.28), 0 0 22px -6px rgba(34, 211, 238, 0.6);
  transition: left 0.34s cubic-bezier(0.22, 0.8, 0.2, 1), width 0.34s cubic-bezier(0.22, 0.8, 0.2, 1);
  pointer-events: none;
}

.search {
  flex: none; display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s, background 0.25s;
}
.search:focus-within { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.06); }
.search svg { width: 15px; height: 15px; color: var(--dim-2); flex: none; }
.search input {
  width: 132px; border: 0; background: transparent; color: var(--fg);
  font: inherit; font-size: 13.5px; outline: none;
}
.search input::placeholder { color: #5d6d86; }

.icon-btn {
  flex: none; width: 36px; height: 36px; display: none;
  align-items: center; justify-content: center; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--dim); cursor: pointer;
}
.icon-btn:hover { color: #fff; border-color: rgba(34, 211, 238, 0.45); }
.icon-btn.on { display: flex; }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------- 主体 ---------- */
main { position: relative; z-index: 2; }

.wrap { width: min(1180px, 100% - clamp(36px, 8vw, 96px)); margin: 0 auto; }

/* HERO */
.hero { padding: clamp(54px, 9vh, 96px) 0 26px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: 2.4px; color: #7fd8ea; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.07);
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.18; letter-spacing: 0.5px;
  margin: 20px 0 0; font-weight: 800; max-width: 16em;
  background: linear-gradient(100deg, #ffffff 8%, #b9d6ff 46%, #8b9dff 74%, #d7b6ff 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub {
  margin: 18px 0 0; max-width: 44em; color: var(--dim); font-size: 15.5px; line-height: 1.8;
}

.stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.stat {
  flex: 1 1 170px; min-width: 150px;
  padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.075);
}
.stat b {
  display: block; font-size: 30px; line-height: 1.1; font-weight: 800;
  background: linear-gradient(135deg, #22d3ee, #7c9cff 60%, #c4a6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--dim-2); letter-spacing: 0.5px; }

.notice {
  margin: 22px 0 0; display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: 12px; font-size: 13.5px; color: #b6c6de;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.02));
}
.notice .dot {
  flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* 区块标题 */
.sec { padding: 54px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.sec-head h2 { margin: 0; font-size: 22px; letter-spacing: 0.6px; font-weight: 700; }
.sec-head h2 em { font-style: normal; color: var(--cyan); }
.sec-head p { margin: 6px 0 0; font-size: 13.5px; color: var(--dim-2); }
.sec-count { font-size: 12.5px; color: var(--dim-2); letter-spacing: 1.5px; flex: none; }

/* ---------- 产品卡 ---------- */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-sum {
  position: relative; z-index: 1; margin: 13px 0 0;
  font-size: 13px; color: #9dadc6; line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.app-card {
  position: relative; overflow: hidden; cursor: pointer;
  padding: 22px 22px 18px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.36s;
  opacity: 0; transform: translateY(16px);
}
.app-card.in { opacity: 1; transform: none; }

.app-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang), transparent 0 58%, var(--ac, #22d3ee) 74%, transparent 88%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.app-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px 160px at 10% -10%, var(--ac-soft, rgba(34, 211, 238, 0.14)), transparent 70%);
  opacity: 0.7;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 46px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(120, 190, 255, 0.12);
}
.app-card:hover::before { opacity: 1; animation: spin 4.6s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }

.card-top { display: flex; align-items: flex-start; gap: 14px; position: relative; z-index: 1; }
.card-icon {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; font-size: 23px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.card-name { font-size: 16.5px; font-weight: 700; letter-spacing: 0.3px; line-height: 1.4; }
.card-tagline { margin-top: 4px; font-size: 13px; color: var(--dim); line-height: 1.55; }

.card-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 0; position: relative; z-index: 1; }
.badge {
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.4px;
  border: 1px solid; white-space: nowrap;
}
.b-live { color: #7ff0c2; border-color: rgba(52, 211, 153, 0.4); background: rgba(16, 185, 129, 0.12); }
.b-demo { color: #8fd3ff; border-color: rgba(59, 130, 246, 0.42); background: rgba(59, 130, 246, 0.12); }
.b-wip { color: #ffd28a; border-color: rgba(245, 158, 11, 0.42); background: rgba(245, 158, 11, 0.11); }
.b-plan { color: #a8b6cc; border-color: rgba(148, 163, 184, 0.34); background: rgba(148, 163, 184, 0.09); }
.b-free { color: #9fe8ff; border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.1); }
.b-trial { color: #cfc0ff; border-color: rgba(167, 139, 250, 0.4); background: rgba(167, 139, 250, 0.1); }

.card-more {
  position: relative; z-index: 1; margin-top: 16px; display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #7f93b0; transition: color 0.25s, gap 0.25s;
}
.app-card:hover .card-more { color: var(--cyan); gap: 10px; }

/* 空状态 */
.empty { padding: 60px 0; text-align: center; color: var(--dim-2); font-size: 14px; }

/* ---------- 能力底座 ---------- */
.caps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.cap {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 16px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.28s, background 0.28s;
}
.cap:hover { border-color: rgba(34, 211, 238, 0.34); background: rgba(34, 211, 238, 0.055); }
.cap .ic { flex: none; font-size: 18px; line-height: 1.4; }
.cap b { display: block; font-size: 14px; font-weight: 650; }
.cap small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--dim-2); line-height: 1.55; }

/* ---------- 关于 ---------- */
.about-box {
  border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  padding: 6px 22px 22px;
}
.kv { display: grid; grid-template-columns: 118px 1fr; gap: 10px 16px; margin-top: 16px; font-size: 13.5px; }
.kv dt { color: var(--dim-2); }
.kv dd { margin: 0; color: #cfdcf0; line-height: 1.75; }
details.more { margin-top: 12px; }
details.more summary {
  cursor: pointer; font-size: 13px; color: #8fb6e8; list-style: none;
  display: inline-flex; align-items: center; gap: 6px;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: '▾'; font-size: 11px; transition: transform 0.25s; }
details.more[open] summary::after { transform: rotate(180deg); }

/* ---------- 页脚 ---------- */
footer {
  position: relative; z-index: 2;
  margin-top: 64px; padding: 34px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
}
.foot-grid {
  display: grid; gap: 26px;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  align-items: start;
}
.foot-grid h4 { margin: 0 0 10px; font-size: 12.5px; letter-spacing: 2px; color: var(--dim-2); font-weight: 600; }
.foot-grid p, .foot-grid li { margin: 0 0 5px; font-size: 12.5px; color: #8b9cb6; line-height: 1.8; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid a { color: #8b9cb6; text-decoration: none; }
.foot-grid a:hover { color: var(--cyan); }

.icp-slot {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 10px; padding: 10px 14px; font-size: 12px; color: #6f819b;
  display: inline-flex; align-items: center; gap: 8px;
}
.icp-slot b { color: #9bacc6; font-weight: 600; letter-spacing: 0.4px; }
.legal { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: #6f819b; }
.legal a { color: #7e91ad; }
.copyright {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 12px; color: #66778f; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- 详情弹层 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(3, 5, 12, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-mask.on { display: flex; animation: fade 0.2s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: min(720px, 100%); max-height: 88vh; overflow: auto;
  border-radius: 20px; padding: 26px 28px 24px;
  background: linear-gradient(180deg, #0b1222, #080d18);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px #000, 0 0 0 1px rgba(120, 190, 255, 0.07);
  transform: translateY(10px) scale(0.99);
  animation: pop 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes pop { to { transform: none; } }

.modal-head { display: flex; gap: 15px; align-items: flex-start; }
.modal-head .card-icon { width: 54px; height: 54px; font-size: 27px; border-radius: 15px; }
.modal-head h3 { margin: 0; font-size: 20px; letter-spacing: 0.3px; }
.modal-head .card-tagline { margin-top: 5px; font-size: 13.5px; }
.close-x {
  margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 9px; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dim); font-size: 16px; line-height: 1;
}
.close-x:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }

.modal-body { margin-top: 18px; }
.m-sec { margin-top: 20px; }
.m-sec h5 {
  margin: 0 0 9px; font-size: 12px; letter-spacing: 1.8px; color: var(--dim-2);
  text-transform: uppercase; font-weight: 600;
}
.m-sec p { margin: 0; font-size: 14px; color: #c2d0e5; line-height: 1.85; }
/* 风险提示（如医疗类产品的「重要提示」）：琥珀色、左侧粗边，一眼看得见 */
.m-warn {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.45); border-left: 4px solid #fbbf24;
  background: rgba(72, 52, 10, 0.42);
}
.m-warn b { display: block; margin-bottom: 6px; font-size: 13.5px; color: #ffd77a; letter-spacing: 0.3px; }
.m-warn p { margin: 0; font-size: 13.5px; color: #f6e5bd; line-height: 1.8; }
.m-disclaim { padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.m-disclaim p { color: #9fb2cc; font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; padding: 4px 11px; border-radius: 9px; color: #b9c9e0;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.085);
}
.chip.warn { color: #ffd28a; border-color: rgba(245, 158, 11, 0.34); background: rgba(245, 158, 11, 0.09); }

.modal-foot {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.btn {
  appearance: none; cursor: pointer; font: inherit; font-size: 13.5px;
  padding: 9px 18px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05); color: var(--fg); text-decoration: none;
  transition: all 0.24s;
}
.btn:hover { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.1); }
.btn.primary {
  border-color: transparent; color: #04121a; font-weight: 650;
  background: linear-gradient(135deg, #67e8f9, #7dd3fc 55%, #c4b5fd);
}
.btn.primary:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.free-note { font-size: 12px; color: #7d8ea8; line-height: 1.7; width: 100%; margin-top: 4px; }

/* 详情里的能力清单 */
.feat { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.feat li { position: relative; padding-left: 18px; font-size: 13.5px; color: #c2d0e5; line-height: 1.7; }
.feat li::before { content: '▸'; position: absolute; left: 0; color: var(--cyan); }

@media (max-width: 900px) {
  .icon-btn { display: flex; }
}

/* ---------- 进场动画 & 响应式 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .app-card { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .search { display: none; }
  .search.on { display: flex; position: absolute; top: 100%; right: 12px; margin-top: 8px; z-index: 70; background: #0b1222; }
  .icon-btn.on { display: flex; }
}

@media (max-width: 720px) {
  .topbar { gap: 12px; padding: 0 14px; }
  .brand .wz { font-size: 17px; letter-spacing: 2px; }
  .brand .en { display: none; }
  .nav { overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav button { padding: 8px 10px; font-size: 13px; }
  .grid { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stat b { font-size: 24px; }
  .modal-mask { padding: 0; align-items: flex-end; }
  .modal { max-height: 92vh; border-radius: 18px 18px 0 0; padding: 22px 18px; }
  .kv { grid-template-columns: 92px 1fr; }
}

/* ---------- 顶栏下拉菜单（mega） ---------- */
.b-cat { color: #9fb4d4; border-color: rgba(148, 163, 184, 0.3); background: rgba(148, 163, 184, 0.08); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
  padding: 10px clamp(18px, 4vw, 44px) 0;
  animation: megaIn 0.18s ease-out;
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega[hidden] { display: none; }

.mega-inner {
  width: min(1180px, 100%); margin: 0 auto;
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.985), rgba(7, 11, 22, 0.985));
  border: 1px solid rgba(120, 190, 255, 0.16); border-radius: 16px;
  box-shadow: 0 28px 64px -26px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 14px 18px 16px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.mega-head {
  display: flex; align-items: center; gap: 10px;
  padding: 2px 2px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mega-ic { font-size: 18px; line-height: 1; }
.mega-tt { display: flex; flex-direction: column; min-width: 0; }
.mega-tt b { font-size: 14.5px; letter-spacing: 0.6px; }
.mega-tt small { margin-top: 3px; font-size: 12px; color: var(--dim-2); }

.mega-all {
  margin-left: auto; flex: none;
  appearance: none; cursor: pointer;
  border: 1px solid rgba(34, 211, 238, 0.32); background: rgba(34, 211, 238, 0.1);
  color: #9fe8ff; font: inherit; font-size: 12.5px;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mega-all:hover { background: rgba(34, 211, 238, 0.18); color: #d8f6ff; border-color: rgba(34, 211, 238, 0.55); }

.mega-cols {
  display: grid; gap: 12px 26px; padding-top: 12px;
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}
.mega-col h4 {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 6px; font-size: 11.5px; letter-spacing: 2px;
  color: var(--dim-2); font-weight: 600;
}
.mega-col h4 i {
  font-style: normal; font-size: 10.5px; letter-spacing: 0;
  padding: 1px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: #8fa3c0;
}
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list li { break-inside: avoid; }
.mega-list button {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 7px 9px; border: 0; border-radius: 9px; background: transparent;
  color: var(--dim); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mega-list button:hover, .mega-list button:focus-visible { background: rgba(34, 211, 238, 0.1); color: #eaf3ff; outline: none; }
.mi { flex: none; width: 18px; text-align: center; font-size: 14px; }
.mn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdot {
  margin-left: auto; flex: none; font-style: normal;
  font-size: 10.5px; padding: 1px 6px; border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.4); color: #7ff0c2;
  background: rgba(16, 185, 129, 0.1);
}

/* 页脚产品按分类分组 */
.foot-cat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0 0 7px; }
.foot-cat-name {
  flex: none; min-width: 58px;
  font-size: 11px; letter-spacing: 1.4px; color: #61748f;
}
.foot-grid .sep { font-style: normal; color: #33455c; }

@media (max-width: 900px) {
  .mega {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    z-index: 80; padding: 8px 12px 16px; overflow: auto;
    overscroll-behavior: contain;
    background: rgba(3, 6, 13, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .mega-inner { width: 100%; padding: 12px 14px 16px; }
  .mega-cols { grid-template-columns: 1fr; gap: 14px; }
  .mega-list[style] { column-count: 1 !important; }
  .mega-list button { font-size: 14px; padding: 9px 10px; }
}

@media (max-width: 720px) {
  .mega-tt small { display: none; }
  .mega-all { font-size: 12px; padding: 5px 10px; }
}

/* ---------- 帮助 / 升级 面板补样式 ---------- */
.mega-badge {
  margin-left: auto; flex: none;
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  color: #cfc0ff; border: 1px solid rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.12); white-space: nowrap;
}
.mega-list .help-row .mgo {
  margin-left: auto; font-style: normal; color: #4d6485;
  transition: transform 0.2s, color 0.2s;
}
.mega-list .help-row:hover .mgo { color: var(--cyan); transform: translateX(2px); }

.wlog { display: grid; gap: 14px; padding: 14px 4px 4px; max-height: min(56vh, 460px); overflow: auto; }
.log-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.log-row + .log-row { border-top: 1px dashed rgba(255, 255, 255, 0.08); padding-top: 14px; }
.log-v { display: flex; flex-direction: column; gap: 3px; }
.log-v b { font-size: 14px; color: #9fe8ff; letter-spacing: 0.6px; }
.log-v span { font-size: 11.5px; color: var(--dim-2); }
.log-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.log-ul li {
  position: relative; padding-left: 15px; font-size: 13px; line-height: 1.75; color: var(--dim);
}
.log-ul li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(34, 211, 238, 0.55);
}
.log-note { margin: 12px 4px 0; font-size: 12px; color: var(--dim-2); line-height: 1.7; }

.info-body { white-space: pre-wrap; line-height: 1.85; font-size: 13.5px; color: #c3d0e4; }

@media (max-width: 900px) {
  .log-row { grid-template-columns: 1fr; gap: 8px; }
  .wlog { max-height: none; }
}

/* ---------- 公司介绍 ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  align-items: start;
}
.intro-text p { margin: 0 0 14px; font-size: 14px; line-height: 1.95; color: #c3d0e4; }
.intro-text p:first-child { color: #dbe6f5; }
.license { margin: 0; }
.lic-btn {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff; cursor: zoom-in;
  transition: border-color 0.25s, transform 0.25s;
}
.lic-btn:hover { border-color: rgba(34, 211, 238, 0.55); transform: translateY(-2px); }
.lic-btn img { display: block; width: 100%; height: auto; }
.lic-zoom {
  position: absolute; right: 10px; bottom: 10px;
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  color: #0b1020; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.license figcaption { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--dim-2); }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; margin: 22px 0 0;
}
.fact {
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.fact dt { font-size: 11.5px; color: var(--dim-2); letter-spacing: 0.6px; }
.fact dd { margin: 6px 0 0; font-size: 14.5px; color: #e6eefb; font-weight: 600; }

/* ---------- 业务介绍 ---------- */
.line-note { margin: 0 0 16px; font-size: 12.5px; color: var(--dim-2); }
.biz-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.biz {
  display: grid; gap: 8px; text-align: left;
  padding: 18px 18px 16px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.biz:hover {
  transform: translateY(-3px);
  border-color: var(--ac, #22d3ee);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.biz-ic { font-size: 20px; line-height: 1; }
.biz-tt { display: flex; align-items: baseline; gap: 8px; font-size: 15.5px; font-weight: 700; color: #edf3fb; }
.biz-tt em {
  font-style: normal; font-size: 11.5px; font-weight: 500;
  color: var(--ac, #22d3ee);
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--ac, #22d3ee);
}
.biz-desc { font-size: 12.5px; line-height: 1.75; color: var(--dim); }
.biz-list { font-size: 11.5px; color: var(--dim-2); line-height: 1.6; }

.sub-tt { margin: 30px 0 14px; font-size: 15px; font-weight: 700; color: #e6eefb; }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin: 0; padding: 0; list-style: none;
  counter-reset: st;
}
.steps li {
  position: relative; padding: 18px;
  border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  counter-increment: st;
}
.steps li::before {
  content: counter(st, decimal-leading-zero);
  display: block; margin-bottom: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: rgba(34, 211, 238, 0.85);
}
.steps li b { display: block; font-size: 14.5px; color: #e6eefb; margin-bottom: 6px; }
.steps li span { font-size: 12.5px; line-height: 1.8; color: var(--dim); }

/* 图片放大弹层 */
.img-wrap { display: flex; justify-content: center; background: #fff; border-radius: 10px; padding: 8px; }
.img-wrap img { max-width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-lines, .steps { grid-template-columns: 1fr; }
}

/* 产品弹层里的「← 返回」按钮（浏览器后退键同样有效） */
.back-btn{margin-right:10px;flex:0 0 auto;align-self:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:#cfe1ff;border-radius:9px;padding:7px 12px;font-size:13px;line-height:1;cursor:pointer;white-space:nowrap;transition:.16s}
.back-btn:hover{background:rgba(34,211,238,.16);border-color:rgba(34,211,238,.5);color:#e7f8ff}

/* 右下角常驻「↑ 回顶部」（手机端也在，但更小） */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, .38);
  background: rgba(10, 20, 36, .82);
  color: #bfe9ff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(2, 8, 20, .55);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.to-top em { font-style: normal; font-size: 9px; letter-spacing: .5px; opacity: .78; }
.to-top:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, .85); background: rgba(16, 34, 56, .95); color: #eaf9ff; }
.to-top:active { transform: translateY(0); }
@media (max-width: 720px) {
  .to-top { right: 12px; bottom: 14px; width: 40px; height: 40px; border-radius: 12px; font-size: 15px; }
  .to-top em { font-size: 8px; }
}
