/* 雨丝作品 · 推广页样式 —— 配色沿用 App 主题 */
:root {
  --bg: #f1f6fd;
  --card: #ffffff;
  --ink: #16324f;
  --ink-soft: #43597a;
  --sub: #67809f;
  --faint: #9db0c8;
  --line: #e3ebf5;
  --accent: #2f6fed;
  --accent-soft: #e8f0fe;
  --green: #1fa97a;
  --orange: #e2822f;
  --purple: #8a63d2;
  --cyan: #2fa7e8;
  --r-card: 18px;
  --shadow: 0 6px 14px rgba(29, 58, 99, 0.08);
  --shadow-lg: 0 18px 42px rgba(29, 58, 99, 0.14);
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------ 导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 246, 253, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(227, 235, 245, 0.9);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}
.brand-text { font-size: 15.5px; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 22px; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a { padding: 4px 0; border-bottom: 2px solid transparent; transition: color 0.18s, border-color 0.18s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--accent); border-color: var(--accent); }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.5; }
.orb-a { width: 420px; height: 420px; background: #bcd3ff; top: -120px; right: -60px; }
.orb-b { width: 340px; height: 340px; background: #c8f0e2; bottom: -140px; left: -80px; }
.orb-c { width: 260px; height: 260px; background: #ffe1bd; top: 180px; left: 44%; opacity: 0.38; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 0.14em; font-weight: 700;
  color: var(--accent); background: var(--accent-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
.hero-lead { margin-top: 20px; font-size: 17px; color: var(--ink-soft); max-width: 34em; }
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; gap: 12px; margin: 28px 0 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 12px; font-size: 15px; font-weight: 600;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(47, 111, 237, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47, 111, 237, 0.34); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero-note { font-size: 13.5px; color: var(--sub); }
.muted { color: var(--faint); }

/* Hero 装饰（纯 CSS 原子） */
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.atom-art { position: relative; width: 320px; height: 320px; }
.atom-art .ring {
  position: absolute; top: 50%; left: 50%; border: 1.5px solid rgba(47, 111, 237, 0.28);
  border-radius: 50%; transform: translate(-50%, -50%);
}
.ring-1 { width: 300px; height: 300px; animation: spin 26s linear infinite; }
.ring-2 { width: 224px; height: 224px; transform: translate(-50%, -50%) rotate(38deg); }
.ring-3 { width: 148px; height: 148px; transform: translate(-50%, -50%) rotate(-24deg); }
.ring-2 { animation: spin 19s linear infinite reverse; }
.ring-3 { animation: spin 14s linear infinite; }
.ring .e {
  position: absolute; top: -6px; left: calc(50% - 5px);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px rgba(47, 167, 232, 0.8);
}
.ring .e2 { top: auto; bottom: -6px; left: calc(50% - 5px); background: var(--orange); box-shadow: 0 0 14px rgba(226, 130, 47, 0.8); }
.ring-2 .e, .ring-3 .e { background: var(--purple); box-shadow: 0 0 14px rgba(138, 99, 210, 0.8); }
.ring-2 .e2, .ring-3 .e2 { background: var(--green); box-shadow: 0 0 14px rgba(31, 169, 122, 0.8); }
.atom-art .nucleus {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #7ea8ff, #2f6fed 62%, #1c47a8);
  box-shadow: 0 0 0 8px rgba(47, 111, 237, 0.12), 0 0 30px rgba(47, 111, 237, 0.4);
  animation: pulse 4.2s ease-in-out infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.ring-2 { animation-name: spin-2; }
.ring-3 { animation-name: spin-3; }
@keyframes spin-2 { from { transform: translate(-50%, -50%) rotate(38deg); } to { transform: translate(-50%, -50%) rotate(-322deg); } }
@keyframes spin-3 { from { transform: translate(-50%, -50%) rotate(-24deg); } to { transform: translate(-50%, -50%) rotate(336deg); } }
@keyframes pulse { 50% { transform: scale(1.08); } }
.art-caption { font-size: 13px; color: var(--sub); letter-spacing: 0.02em; }

@media (prefers-reduced-motion: reduce) {
  .ring, .atom-art .nucleus { animation: none !important; }
}

/* ------------------------------------------------------------------ 区块通用 */
.section { padding: 76px 0; }
.section-soft { background: #eaf1fb; }
.sec-head { max-width: 720px; margin-bottom: 34px; }
.sec-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.sec-lead { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow); padding: 24px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* 功能亮点 */
.feat { transition: transform 0.18s, box-shadow 0.18s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat h3 { font-size: 17px; margin-bottom: 10px; }
.feat p { color: var(--ink-soft); font-size: 14.5px; }
.feat-icon { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 16px; }
.i-3d { background: linear-gradient(135deg, #dbe7ff, #b9d1ff); }
.i-step { background: linear-gradient(135deg, #ffe6c9, #ffd0a1); }
.i-proof { background: linear-gradient(135deg, #d7f3e6, #adf2cf); }
.i-wrong { background: linear-gradient(135deg, #ffdcd9, #ffc0b9); }
.i-offline { background: linear-gradient(135deg, #e2dbfb, #c7baf7); }
.i-level { background: linear-gradient(135deg, #cdeaf9, #a5d8f3); }

/* 学科卡 */
.subject { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.t-chem { background: rgba(31, 169, 122, 0.12); color: #137a58; }
.t-geo { background: rgba(138, 99, 210, 0.13); color: #6a45b8; }
.t-phy { background: rgba(226, 130, 47, 0.14); color: #b9631c; }
.subject .sub-desc { font-size: 13.5px; color: var(--faint); margin-top: -4px; }
.tick li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 8px; }
.tick li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 3px; background: var(--accent); opacity: 0.55;
}
.subject.s-chem { border-top: 3px solid var(--green); }
.subject.s-geo { border-top: 3px solid var(--purple); }
.subject.s-phy { border-top: 3px solid var(--orange); }

/* 数字条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 32px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.stat span { font-size: 13.5px; color: var(--sub); }

.audience h3 { font-size: 18px; margin-bottom: 12px; }
.audience p { color: var(--ink-soft); font-size: 15px; }

/* ------------------------------------------------------------------ 演示区 */
.demo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.tabs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fbfdff;
}
.tab {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font: inherit; font-size: 14.5px; font-weight: 600;
  padding: 8px 16px; border-radius: 10px; cursor: pointer; transition: all 0.16s;
}
.tab:hover { border-color: #c9dcf7; color: var(--accent); }
.tab.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab-hint { margin-left: auto; font-size: 13px; color: var(--sub); }
.tab-hint b { color: var(--accent); }

.view { padding: 24px; }
.view[hidden] { display: none; }

/* 周期表 */
.pt-layout { display: grid; grid-template-columns: 1fr 292px; gap: 26px; align-items: start; }
.pt-wrap { overflow-x: auto; padding-bottom: 6px; }
.ptable {
  display: grid; grid-template-columns: repeat(18, minmax(0, 1fr));
  gap: 3px; min-width: 780px;
}
.el {
  position: relative; aspect-ratio: 1 / 1; min-height: 40px;
  border: 1px solid var(--line); border-radius: 7px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; padding: 2px; overflow: hidden;
  transition: transform 0.14s, box-shadow 0.14s, border-color 0.14s;
}
.el:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(29, 58, 99, 0.16); border-color: #c9dcf7; z-index: 2; }
.el .z { position: absolute; top: 2px; left: 4px; font-size: 9px; color: var(--faint); }
.el .sym { font-size: clamp(13px, 1.5vw, 17px); font-weight: 700; line-height: 1.1; }
.el .nm { font-size: 9.5px; color: var(--sub); line-height: 1.2; white-space: nowrap; }
.el.is-on { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.c-metal { background: #f4f8ff; }
.c-nonmetal { background: #f3fbf7; }
.c-noble { background: #f7f4ff; }
.c-metalloid { background: #fff8ef; }
.c-fblock { background: #fdf3ed; }
.el-holder { background: #f7f9fc; border-style: dashed; cursor: default; }
.el-holder:hover { transform: none; box-shadow: none; border-color: var(--line); }
.el-holder span { font-size: 9px; color: var(--faint); text-align: center; line-height: 1.25; padding: 0 2px; }

.pt-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--sub); }
.pt-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line); }

/* 元素详情卡 */
.pt-detail {
  background: #fbfdff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
.pt-detail .d-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.d-badge {
  width: 62px; height: 62px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #14324f;
  border: 1px solid rgba(22, 50, 79, 0.14); background: #fff;
}
.pt-detail h3 { font-size: 22px; }
.pt-detail .d-sub { font-size: 13px; color: var(--sub); }
.kv { margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13.5px; }
.kv dt { color: var(--faint); white-space: nowrap; }
.kv dd { margin: 0; color: var(--ink); }
.shells { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.shell {
  font-size: 12px; padding: 3px 8px; border-radius: 8px;
  background: var(--accent-soft); color: #2455b8; border: 1px solid #d3e2fb;
}
.d-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.link-btn {
  appearance: none; border: none; background: var(--accent-soft); color: var(--accent);
  font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 14px;
  border-radius: 10px; cursor: pointer; margin-top: 16px; width: 100%;
  transition: background 0.16s;
}
.link-btn:hover { background: #dbe7ff; }

/* 原子浏览 */
.atom-layout { display: grid; grid-template-columns: 1fr 292px; gap: 26px; align-items: start; }
.atom-stage { position: relative; }
#atomCanvas {
  display: block; width: 100%; height: auto; aspect-ratio: 760 / 520;
  background: radial-gradient(circle at 50% 45%, #ffffff, #eef4fd 70%, #e6eefb);
  border: 1px solid var(--line); border-radius: 16px;
}
.atom-tools { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.mini {
  appearance: none; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft); font: inherit; font-size: 13px; padding: 7px 13px;
  border-radius: 9px; cursor: pointer; transition: all 0.16s;
}
.mini:hover { color: var(--accent); border-color: #c9dcf7; }

.atom-side { background: #fbfdff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.atom-badge {
  width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; border: 1px solid rgba(22, 50, 79, 0.14); background: #fff; margin-bottom: 12px;
}
.atom-name { font-size: 20px; }
.atom-sub { font-size: 13px; color: var(--sub); margin-top: 2px; margin-bottom: 14px; }
.atom-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.quick button {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font: inherit; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; cursor: pointer;
  transition: all 0.16s;
}
.quick button:hover { border-color: #c9dcf7; color: var(--accent); }
.quick button.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 数学游戏（数学 · 动手 的穿点挑战） */
.game-intro {
  padding: 22px 24px 4px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}
.rules {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 0; padding: 0; list-style: none; counter-reset: step;
}
.rules li {
  counter-increment: step;
  position: relative; padding-left: 30px;
}
.rules li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 7px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 800; line-height: 21px; text-align: center;
}
.rules b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.rules span { font-size: 13px; color: var(--sub); line-height: 1.65; }
.game-note { font-size: 13px; color: var(--sub); padding: 14px 0 18px; }

.play-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.play-stage { position: relative; }
#playCanvas {
  display: block; width: 100%;
  background: #fbfcff;
  border: 1px solid var(--line); border-radius: 14px;
  touch-action: none; cursor: crosshair;
}
.play-tools { position: absolute; right: 12px; top: 12px; display: flex; gap: 8px; align-items: center; }
.play-zoom {
  font-size: 11.5px; font-weight: 700; color: var(--sub);
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 9px;
}
.play-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.lg-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.lg-item.is-off { color: var(--faint); }
.lg-bar { width: 16px; height: 3px; border-radius: 2px; flex: none; }
.play-tip { margin-top: 8px; font-size: 12.5px; color: var(--faint); }

.play-side { background: #fbfdff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.side-title { font-size: 16px; margin-bottom: 12px; }
.prow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pdot { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.pinput {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; font-weight: 600;
  padding: 8px 11px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
}
.pinput:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.pmini {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font: inherit; font-size: 12px; font-weight: 600; padding: 7px 9px;
  border-radius: 9px; cursor: pointer; transition: all 0.16s;
}
.pmini:hover { color: var(--accent); border-color: #c9dcf7; }
.pmini.is-off { color: var(--faint); background: #f4f6fa; }
.perr { font-size: 12px; color: #d0433b; margin: -2px 0 8px 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font: inherit; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; cursor: pointer;
  transition: all 0.16s;
}
.chip:hover { border-color: #c9dcf7; color: var(--accent); }
.chip-add { border-style: dashed; }

.pslider { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.pslider .pk {
  width: 22px; flex: none; font-size: 13.5px; font-weight: 800; color: var(--accent);
  font-style: italic; text-align: center;
}
.pslider input[type='range'] { flex: 1; min-width: 0; accent-color: var(--accent); }
.pslider .pv { width: 40px; flex: none; text-align: right; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.p-tip { font-size: 12.5px; color: var(--sub); margin: 10px 0 2px; }
.play-help { font-size: 12.5px; line-height: 1.7; color: var(--sub); margin-top: 12px; }
.play-help b { color: var(--ink-soft); }

.play-game { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.switch { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.switch input { width: 17px; height: 17px; accent-color: var(--accent); }
.play-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.play-row .lab { font-size: 13px; color: var(--sub); }
.play-row select {
  font: inherit; font-size: 13px; padding: 6px 9px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
}
.pt-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pt-item {
  font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 8px;
  background: #fdf3e7; color: #b06a1d; border: 1px solid #f4ddc4;
}
.pt-item.is-hit { background: #e6f6ef; color: #167a58; border-color: #c7ecdc; }
.pt-off { font-size: 12.5px; color: var(--faint); }
.play-status { margin-top: 10px; font-size: 13px; color: var(--sub); }
.play-status.is-good { color: var(--green); font-weight: 700; }
.play-answer { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--sub); }
.play-answer b { display: block; color: var(--ink); font-size: 13.5px; }

@media (max-width: 900px) {
  .play-layout { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; gap: 10px; }
}

/* ------------------------------------------------------------------ 页脚 */
.footer { background: #12263f; color: #cddcf0; padding: 46px 0 40px; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-title { font-size: 17px; font-weight: 700; color: #fff; }
.footer-sub { font-size: 13px; color: #8fa7c6; }
.footer-note { font-size: 13px; line-height: 1.8; color: #a9bdd8; }
.footer-note b { color: #e6efff; }
.footer-meta { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(205, 220, 240, 0.16); font-size: 12.5px; color: #8fa7c6; }
.footer-icp { grid-column: 1 / -1; margin-top: 10px; text-align: center; font-size: 12.5px; color: #a9bdd8; }
.footer-icp a { color: #a9bdd8; text-decoration: none; }
.footer-icp a:hover { color: #e6efff; text-decoration: underline; text-underline-offset: 2px; }
.footer-beian-mps { display: inline-flex; align-items: center; gap: 6px; }
.footer-beian-mps img { width: 16px; height: 17px; display: block; }

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .atom-art { width: 240px; height: 240px; }
  .atom-art .ring-1 { width: 226px; height: 226px; }
  .atom-art .ring-2 { width: 170px; height: 170px; }
  .atom-art .ring-3 { width: 112px; height: 112px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pt-layout, .atom-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap, .nav-inner { padding: 0 18px; }
  .nav-inner { padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; row-gap: 8px; }
  .brand-sub { display: none; }
  .nav-links { gap: 14px 12px; font-size: 13.5px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .hero { padding: 52px 0 64px; }
  .section { padding: 56px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .view { padding: 16px; }
  .ptable { min-width: 720px; }
  .stat b { font-size: 26px; }
}
