/* ============================================================
   产品演示中心 · 门户页
   深色科技风，与各产品 H5 保持同一套色系
   ============================================================ */

:root {
  --bg: #060f1c;
  --bg2: #0a1526;
  --cyan: #22d3ee;
  --cyan-d: #0ea5e9;
  --line: rgba(148, 197, 255, 0.14);
  --line-s: rgba(148, 197, 255, 0.26);
  --txt: #e8f0fb;
  --txt2: #9fb3cc;
  --txt3: #6b809b;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 背景：网格 + 两团光晕 */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 420px at 12% -6%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(620px 460px at 92% 8%, rgba(14, 165, 233, 0.13), transparent 60%),
    radial-gradient(700px 500px at 50% 112%, rgba(34, 211, 238, 0.07), transparent 65%),
    linear-gradient(180deg, #08121f 0%, #060f1c 55%, #040c17 100%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 197, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 26px 20px 40px;
}

/* ---------- 顶栏 ---------- */
.hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; }

.mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-size: 15px; font-weight: 700;
  color: #04141c;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-d) 100%);
  box-shadow: 0 4px 16px -4px rgba(34, 211, 238, 0.6);
}

.brand .txt {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ver {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--txt3);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- 主标题 ---------- */
.hero { padding: 34px 0 26px; }

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 6.4vw, 34px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #ffffff 8%, #8fe6f7 56%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin: 0;
  font-size: 13.5px;
  color: var(--txt2);
  line-height: 1.75;
}

/* ---------- 产品卡 ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  position: relative;
  display: block;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(26, 45, 68, 0.92) 0%, rgba(13, 26, 43, 0.94) 100%);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}

.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), transparent 85%);
  opacity: 0;
  transition: opacity .22s;
}

.card:hover {
  border-color: var(--line-s);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -22px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(34, 211, 238, 0.12);
}
.card:hover::before { opacity: 1; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 700;
  color: #7fe9f8;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.26);
}
.ico.dim {
  color: var(--txt3);
  background: rgba(148, 197, 255, 0.05);
  border-color: var(--line);
}

.badges { display: flex; gap: 6px; }

.badges i {
  font-style: normal;
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.b-h5 {
  color: #7fe9f8;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
}
.b-pc {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
}
.b-lock {
  color: var(--txt2);
  background: rgba(148, 197, 255, 0.07);
  border: 1px solid var(--line);
}
.b-soon {
  color: var(--txt3);
  background: rgba(148, 197, 255, 0.05);
  border: 1px dashed var(--line);
}

.card h2 {
  margin: 0 0 5px;
  font-size: 17.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--txt2);
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tags span {
  font-size: 11.5px;
  color: var(--txt3);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(148, 197, 255, 0.06);
  border: 1px solid rgba(148, 197, 255, 0.09);
}

.go {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}
.go em {
  font-style: normal;
  transition: transform .2s;
}
.card:hover .go em { transform: translateX(4px); }

.card.soon {
  border-style: dashed;
  background: rgba(13, 26, 43, 0.5);
  cursor: default;
}
.card.soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card.soon::before { display: none; }
.card.soon h2 { color: var(--txt2); font-size: 16px; }

/* ---------- 演示建议 ---------- */
.tips {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(13, 26, 43, 0.55);
}

.tips h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
}

.tips ol {
  margin: 0;
  padding-left: 18px;
  color: var(--txt2);
  font-size: 12.5px;
  line-height: 1.9;
}
.tips li { margin-bottom: 3px; }
.tips b { color: var(--txt); font-weight: 600; }

/* ---------- 页脚 ---------- */
.ft {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--txt3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ft .dot { opacity: 0.5; }

/* ---------- 桌面 ---------- */
@media (min-width: 720px) {
  .wrap { padding: 40px 32px 56px; }
  .hero { padding: 46px 0 34px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card { padding: 22px 22px 18px; }
  .card h2 { font-size: 19px; }
  .br { display: none; }
}

@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 36px; }
}

/* 安全区 */
@supports (padding: env(safe-area-inset-bottom)) {
  .wrap { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}
