/* 岁寒输入法官网 - 主样式 */
:root {
  --bg: #060b14;
  --bg-soft: #0a1120;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9eff8;
  --text-dim: #b6c4d8;
  --muted: #8b9cb5;
  --brand: #38bdf8;
  --brand-2: #22d3ee;
  --brand-3: #818cf8;
  --jade: #34d399;
  --plum: #fb7185;
  --gold: #fbbf24;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 18px 60px rgba(14, 165, 233, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(760px 460px at 88% 4%, rgba(129, 140, 248, 0.16), transparent 62%),
    radial-gradient(900px 700px at 50% 108%, rgba(52, 211, 153, 0.1), transparent 60%),
    linear-gradient(180deg, #060b14 0%, #070d18 40%, #05090f 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0 0 1em; }

::selection { background: rgba(56, 189, 248, 0.35); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }
::-webkit-scrollbar-track { background: transparent; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ------------------------------ 导航 ------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(6, 11, 20, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }

.logo-mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-3) 100%);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35);
  font-size: 17px; color: #04121d; font-weight: 800;
}

.logo-text small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.22em; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-dim);
  transition: 0.2s;
}

.nav-links a:hover { color: #fff; background: var(--surface-2); }

.nav-links a.active { color: var(--brand); background: rgba(56, 189, 248, 0.1); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* ------------------------------ 按钮 ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-3) 100%);
  color: #041018;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(56, 189, 248, 0.42); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.28); }

.btn-sm { padding: 9px 18px; font-size: 14px; }

.btn-block { width: 100%; }

/* ------------------------------ 通用区块 ------------------------------ */

.section { padding: 92px 0; position: relative; }

.section-tight { padding: 56px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
  color: var(--brand);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 18px;
}

.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }

.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

.gradient-text {
  background: linear-gradient(120deg, #eaf6ff 0%, var(--brand) 45%, var(--brand-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s, box-shadow 0.28s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow);
}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.icon-box {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  font-size: 21px;
  margin-bottom: 16px;
}

.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------ Hero ------------------------------ */

.hero { padding: 78px 0 60px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.14; margin-bottom: 22px; }

.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 520px; margin-bottom: 16px; }

.hero-desc { color: var(--muted); max-width: 540px; font-size: 15.5px; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-meta div { font-size: 13.5px; color: var(--muted); }
.hero-meta b { display: block; font-size: 22px; color: var(--text); font-weight: 700; }

/* 键盘装饰 */
.keyboard {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow), 0 0 80px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(8px);
}

.keyboard-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 0 6px 14px;
}
.keyboard-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.keyboard-bar span { margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }

.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.key {
  position: relative;
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: 0.25s;
  overflow: hidden;
}

.key b { display: block; font-size: 17px; font-weight: 600; }
.key small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; margin-top: 2px; }

.key:hover { background: rgba(56, 189, 248, 0.16); border-color: rgba(56, 189, 248, 0.4); transform: translateY(-3px); }

.key.hot {
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.28), rgba(129, 140, 248, 0.22));
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.18) inset;
}

.key.jade { background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.3); }
.key.jade:hover { background: rgba(52, 211, 153, 0.24); }

.key.gold { background: rgba(251, 191, 36, 0.13); border-color: rgba(251, 191, 36, 0.28); }

/* --- 真实岁寒键盘布局 --- */
.kb-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.kb-tabs button {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: 0.25s;
}

.kb-tabs button:hover { color: #fff; }
.kb-tabs button.active { background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #041018; }

.kb-wrap { animation: kbIn 0.4s ease; }
@keyframes kbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.kb-grid { display: grid; gap: 7px; }
.kb-grid.c7 { grid-template-columns: repeat(7, 1fr); }
.kb-grid.c3 { grid-template-columns: repeat(3, 1fr); }

.kb-key {
  position: relative;
  min-height: 42px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: 0.2s;
  overflow: hidden;
}

.kb-key b { font-size: 15px; font-weight: 600; line-height: 1.1; }
.kb-key.tri b { font-size: 14px; letter-spacing: 0.05em; }
.kb-key sup { position: absolute; top: 4px; right: 5px; font-size: 9px; color: var(--muted); opacity: 0.9; }
.kb-key sub { position: absolute; bottom: 3px; right: 5px; font-size: 9px; color: var(--muted); opacity: 0.75; }

.kb-key.sm { background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.22); }
.kb-key.ym { background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.3); }
.kb-key.fn { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.22); }
.kb-key.fn b { font-size: 12.5px; color: var(--gold); }
.kb-key.blank { background: transparent; border-color: transparent; }

.kb-key:not(.blank):hover { transform: translateY(-2px); border-color: rgba(56, 189, 248, 0.5); }

.kb-grid.c3 .kb-key { min-height: 60px; }
.kb-grid.c3 .kb-key b { font-size: 19px; }

.kb-fn-row { display: flex; gap: 7px; margin-top: 7px; }
.kb-fn-row .kb-key { min-height: 38px; }

.kb-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 11.5px; color: var(--muted); }
.kb-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }

.keyboard-foot {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}

.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.orb-1 { width: 320px; height: 320px; background: rgba(56, 189, 248, 0.35); top: -80px; right: -60px; animation: floaty 9s ease-in-out infinite; }
.orb-2 { width: 260px; height: 260px; background: rgba(129, 140, 248, 0.28); bottom: -70px; left: -50px; animation: floaty 11s ease-in-out infinite reverse; }

@keyframes floaty {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(22px, -26px); }
}

/* ------------------------------ 价格 ------------------------------ */

.price-tabs {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin: 0 auto 40px;
}

.price-tabs button {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  font-family: inherit;
}

.price-tabs button.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  color: #041018;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.28);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 32px 28px;
  transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.price-card:hover { transform: translateY(-8px); border-color: rgba(56, 189, 248, 0.4); box-shadow: var(--shadow); }

.price-card.featured {
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.05));
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
  transform: translateY(-6px);
}

.price-card.featured:hover { transform: translateY(-14px); }

.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #2a1a00;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.35);
  white-space: nowrap;
}

.price-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.price-note { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; min-height: 24px; }

.price-amount { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 4px; }
.price-amount .cur { font-size: 22px; color: var(--brand); margin-bottom: 8px; }
.price-amount .num { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.price-amount .unit { font-size: 15px; color: var(--muted); margin-bottom: 8px; }

.price-origin { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.price-origin s { opacity: 0.7; }

.price-features { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.price-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-dim); }
.price-features li i { color: var(--jade); font-style: normal; flex-shrink: 0; }
.price-features li.off { color: var(--muted); opacity: 0.65; }
.price-features li.off i { color: rgba(255, 255, 255, 0.25); }

.price-card .btn { margin-top: auto; }

/* 功能对比表 */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-size: 13.5px; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.compare-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.compare-table td:first-child { font-weight: 600; }
.compare-table .yes { color: var(--jade); font-weight: 700; }
.compare-table .no { color: rgba(255, 255, 255, 0.28); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); margin-bottom: 14px; overflow: hidden; }
.faq-q { padding: 18px 22px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15.5px; }
.faq-q span:last-child { color: var(--brand); transition: transform 0.3s; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; color: var(--muted); font-size: 14.5px; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 400px; }

/* ------------------------------ 下载 ------------------------------ */

.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.platform-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  text-align: center;
  transition: 0.3s;
}

.platform-card:hover { transform: translateY(-8px); border-color: rgba(56, 189, 248, 0.4); box-shadow: var(--shadow); }

.platform-icon {
  width: 66px; height: 66px; margin: 0 auto 18px;
  border-radius: 20px;
  display: grid; place-items: center;
  border: 0;
  background: rgba(56, 189, 248, 0.12);
}

.platform-icon img { width: 36px; height: 36px; display: block; }

.platform-icon.android { background: rgba(61, 220, 132, 0.14); }
.platform-icon.harmony { background: rgba(230, 0, 18, 0.16); }
.platform-icon.ios { background: rgba(233, 237, 243, 0.1); }

.platform-card h3 { font-size: 20px; margin-bottom: 8px; }
.platform-card .pf-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; min-height: 46px; }
.platform-tag { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ------------------------------ 联系 ------------------------------ */

.qrcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qrcode-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.qrcode-tip { margin-top: 16px; color: var(--muted); font-size: 14px; }

.store-tip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border-strong);
  color: var(--text-dim);
  font-size: 14px;
}

.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.status-on { background: rgba(52, 211, 153, 0.14); color: var(--jade); border: 1px solid rgba(52, 211, 153, 0.3); }
.status-off { background: rgba(255, 255, 255, 0.06); color: var(--muted); border: 1px solid var(--border); }

.download-meta { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-top: 30px; font-size: 13.5px; color: var(--muted); }
.download-meta b { color: var(--text); font-weight: 600; }

/* ------------------------------ 信息展示 ------------------------------ */

.news-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }

.chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}

.chip:hover { border-color: var(--border-strong); color: #fff; }
.chip.active { background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #041018; border-color: transparent; font-weight: 600; }

.search-box { margin-left: auto; position: relative; }
.search-box input {
  width: 260px;
  padding: 10px 16px 10px 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: 0.2s;
}
.search-box input:focus { border-color: rgba(56, 189, 248, 0.5); background: var(--surface-2); }
.search-box::before { content: "🔍"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 13px; opacity: 0.6; }

.news-list { display: grid; gap: 18px; }

.news-item {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: 0.28s;
  cursor: pointer;
}

.news-item:hover { transform: translateX(6px); border-color: rgba(56, 189, 248, 0.38); box-shadow: var(--shadow); }

.news-date {
  text-align: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
}
.news-date .d { font-size: 26px; font-weight: 800; line-height: 1; }
.news-date .m { font-size: 12px; color: var(--muted); margin-top: 4px; }

.news-item h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-item p { color: var(--muted); font-size: 14.5px; margin: 0 0 10px; }

.tag {
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 500;
}

.tag.brand { background: rgba(56, 189, 248, 0.14); color: var(--brand); border-color: rgba(56, 189, 248, 0.28); }
.tag.gold { background: rgba(251, 191, 36, 0.14); color: var(--gold); border-color: rgba(251, 191, 36, 0.28); }
.tag.jade { background: rgba(52, 211, 153, 0.14); color: var(--jade); border-color: rgba(52, 211, 153, 0.28); }

.news-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .big { font-size: 44px; margin-bottom: 12px; opacity: 0.6; }

/* 正文排版（政策/协议/详情） */
.prose { max-width: 880px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin: 46px 0 16px; padding-left: 14px; border-left: 3px solid var(--brand); }
.prose h3 { font-size: 18.5px; margin: 28px 0 12px; color: var(--brand); }
.prose p, .prose li { color: var(--text-dim); font-size: 15.5px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #fff; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--brand-3);
  background: rgba(129, 140, 248, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--text-dim);
}
.prose code { background: rgba(255, 255, 255, 0.08); padding: 2px 7px; border-radius: 6px; font-size: 14px; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; }
.prose th { background: rgba(255, 255, 255, 0.04); }

.doc-hero { padding: 62px 0 20px; text-align: center; }
.doc-hero h1 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: 14px; }
.doc-hero p { color: var(--muted); margin: 0; }

.doc-updated { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 40px; }

.toc-box {
  max-width: 880px; margin: 0 auto 46px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}
.toc-box h4 { font-size: 14px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 12px; font-weight: 600; }
.toc-box ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.toc-box li { margin-bottom: 7px; font-size: 14.5px; }
.toc-box a { color: var(--text-dim); }
.toc-box a:hover { color: var(--brand); }

/* 详情页 */
.detail-head { max-width: 880px; margin: 0 auto 36px; }
.detail-title { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; line-height: 1.3; }
.detail-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; }

/* ------------------------------ 页脚 ------------------------------ */

.footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 56px 0 32px; background: rgba(4, 8, 14, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-size: 14.5px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li a { color: var(--muted); font-size: 14.5px; transition: 0.2s; }
.footer li a:hover { color: var(--brand); }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 320px; }
.footer-contact {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; font-size: 14.5px; color: var(--text-dim);
  cursor: default;
}
.footer-bottom { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.footer-bottom a.beian { color: var(--muted); transition: 0.2s; }
.footer-bottom a.beian:hover { color: var(--brand); }

/* ------------------------------ 提示条 ------------------------------ */

.toast-wrap { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 999; display: grid; gap: 10px; }
.toast {
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(12, 20, 32, 0.95);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-size: 14.5px;
  animation: toastIn 0.3s ease;
}
.toast.ok { border-color: rgba(52, 211, 153, 0.45); }
.toast.err { border-color: rgba(251, 113, 133, 0.45); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* ------------------------------ 响应式 ------------------------------ */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: rgba(7, 12, 21, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-toggle { display: grid; place-items: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero { padding: 46px 0 30px; }
  .news-item { grid-template-columns: 1fr; gap: 14px; }
  .news-date { display: flex; align-items: baseline; gap: 8px; width: fit-content; padding: 6px 14px; }
  .news-date .m { margin-top: 0; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .toc-box ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
