/* ==========================================================================
   VPNNK — components.css
   跨页面组件:首屏装置、tab、toc、FAQ、套餐卡、线路表、平台卡、文章卡、
   callout、文末推广块、悬浮 CTA、表格横滑容器、徽章标签。
   ========================================================================== */

/* ==========================================================================
   1. 首屏(签名元素 1/2/5)
   ========================================================================== */
.hero {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  padding-top: 24px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 18% -6%, var(--blush) 0%, rgba(246, 214, 232, 0) 70%),
    radial-gradient(760px 460px at 52% 8%, var(--lilac) 0%, rgba(230, 220, 247, 0) 68%),
    radial-gradient(700px 440px at 90% 4%, var(--frost) 0%, rgba(207, 233, 245, 0) 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 28%, rgba(0, 0, 0, 0) 60%);
  mask-image: linear-gradient(to bottom, #000 0, #000 28%, rgba(0, 0, 0, 0) 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 40%, rgba(0, 0, 0, 0) 75%);
  mask-image: linear-gradient(to bottom, #000 0, #000 40%, rgba(0, 0, 0, 0) 75%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 4.2vw, 66px);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
  max-width: 16ch;
}

.ctas {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .lede { margin-top: 14px; }

.trust {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg {
  width: 14px; height: 14px;
  stroke: var(--success); fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}

.chips {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.chip-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.chip-group li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.chip-group svg { width: 16px; height: 16px; color: var(--text); flex: 0 0 auto; }
.chip-group.flags li svg { width: 20px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px var(--border); }
.chip-divider { width: 1px; height: 18px; background: var(--border); flex: 0 0 auto; }
.chip-lead { font-size: 12px; color: var(--text-muted); opacity: .85; }

/* ---- 首屏装置 ---- */
.stage { position: relative; width: 82%; margin: 26px auto 0; z-index: 2; }
.glow {
  position: relative;
  height: 440px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(128deg, var(--blush) 0%, var(--lilac) 46%, var(--frost) 100%);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, .72);
}
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px 220px at 12% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%);
}
.win {
  position: absolute;
  left: 44px;
  top: 36px;
  right: -36px;
  bottom: -28px;
  background: var(--ink);
  border-radius: var(--radius-s);
  box-shadow: inset 0 1px 0 var(--ink-glow), var(--shadow-win);
  color: var(--on-ink);
  display: flex;
  flex-direction: column;
  padding-right: 64px;
  min-width: 0;
}
.titlebar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--ink-line);
  flex: 0 0 auto;
}
.titlebar i { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.titlebar i:nth-child(1) { background: var(--error); }
.titlebar i:nth-child(2) { background: var(--warn); }
.titlebar i:nth-child(3) { background: var(--success); }
.titlebar span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--on-ink-muted);
  letter-spacing: .01em;
}
.titlebar em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--on-ink-muted);
}

.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid var(--ink-line);
  flex: 0 0 auto;
}
.conn { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.conn i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
  flex: 0 0 auto;
}
.conn span { color: var(--on-ink-muted); font-weight: 500; }
.toggle {
  width: 56px; height: 30px;
  border-radius: 15px;
  position: relative;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  box-shadow: 0 0 0 1px var(--ink-glow), 0 6px 16px rgba(224, 16, 122, .28);
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px; right: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(20, 26, 46, .4);
}
.toggle-label { font-size: 12px; color: var(--on-ink-muted); }
.cur {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: var(--radius-s);
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
}
.cur small { font-size: 11px; color: var(--on-ink-muted); }
.cur svg { width: 20px; height: 13px; border-radius: 2px; }
.cur b { font-size: 13px; font-weight: 600; }

.win-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  padding: 14px 18px 0;
  flex: 1;
  min-height: 0;
}
.list-head {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 0 10px 6px;
  font-size: 11px;
  color: var(--on-ink-muted);
  letter-spacing: .02em;
}
.list-head span:nth-child(3) { width: 78px; }
.list-head span:nth-child(4) { width: 68px; text-align: right; }
.rows li {
  height: 38px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 13px;
}
.rows li + li { margin-top: 2px; }
.rows li.is-current { background: var(--violet-soft); box-shadow: inset 2px 0 0 var(--accent); }
.rows svg { width: 20px; height: 13px; border-radius: 2px; flex: 0 0 auto; }
.rows .name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.rows .name small { margin-left: 8px; font-size: 11px; color: var(--on-ink-muted); font-weight: 400; }

.tag {
  height: 20px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  width: 78px;
  white-space: nowrap;
}
.tag-iepl { background: var(--accent-soft); color: var(--blush); border: 1px solid var(--accent-line); }
.tag-relay { background: var(--violet-soft); color: var(--lilac); border: 1px solid var(--violet-line); }
.tag-direct { background: var(--ice-soft); color: var(--frost); border: 1px solid var(--ice-line); }
.media {
  width: 68px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--on-ink-muted);
  white-space: nowrap;
}

.summary {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-s);
  padding: 16px;
  align-self: start;
  box-shadow: inset 0 1px 0 var(--ink-glow);
  min-width: 0;
}
.summary .lbl { font-size: 11px; color: var(--on-ink-muted); letter-spacing: .02em; }
.summary .price {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.summary .price small { font-size: 12px; color: var(--on-ink-muted); font-weight: 500; margin-left: 6px; }
.kv { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ink-line); }
.kv li { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 1.5; }
.kv li + li { margin-top: 6px; }
.kv span { color: var(--on-ink-muted); }
.kv b { font-weight: 600; text-align: right; }
.plat-mini {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.plat-mini svg { width: 16px; height: 16px; color: var(--on-ink-muted); flex: 0 0 auto; }
.plat-mini small { margin-left: auto; font-size: 11px; color: var(--on-ink-muted); }
.refund {
  margin-top: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--on-ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.refund svg {
  width: 13px; height: 13px;
  stroke: var(--success); fill: none;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}

.float { position: absolute; z-index: 3; }
.float-pill {
  top: -16px; left: -28px;
  min-height: 32px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-s);
  background: var(--white);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: var(--shadow-float);
}
.float-pill svg {
  width: 14px; height: 14px;
  stroke: var(--accent); fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.float-mini {
  top: -20px; right: -32px;
  width: 164px;
  padding: 12px 14px;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
}
.float-mini .lbl { font-size: 11px; color: var(--text-muted); letter-spacing: .02em; }
.float-mini .num {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.float-mini .num + .lbl { margin-top: 8px; }
.float-mini .num em { font-style: normal; color: var(--accent); }
.float-bolt {
  left: -22px; bottom: -18px;
  width: 52px; height: 52px;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--accent), var(--violet));
  box-shadow: var(--shadow-bolt), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.float-bolt svg { width: 26px; height: 26px; fill: var(--white); }

/* ==========================================================================
   2. 数据条 / 缓滚带
   ========================================================================== */
.statsband {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 18px;
  padding-bottom: 18px;
}
.statsband ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
}
.statsband li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.statsband .stat-num { font-size: 19px; color: var(--text); }

.ticker {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 12px;
  padding-bottom: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 45s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker-track svg { width: 18px; height: 12px; border-radius: 2px; flex: 0 0 auto; }
.ticker-track i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
  flex: 0 0 auto;
}

/* ==========================================================================
   3. Tab 切换
   ========================================================================== */
.tabs { margin-top: 8px; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-m);
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  max-width: 100%;
}
.tab {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.tab[aria-selected="true"] {
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(20, 26, 46, .08), inset 0 0 0 1px var(--border);
}
.tab:hover { color: var(--text); }
.tabpanel { margin-top: 20px; }
.tabpanel[hidden] { display: none; }

/* ==========================================================================
   4. 长页分类跳转导航(吸顶跟随由 reveal.js 负责)
   ========================================================================== */
.toc-tabs {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 20;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  padding: 6px;
  margin-bottom: 24px;
  border-radius: var(--radius-m);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  scrollbar-width: none;
}
.toc-tabs::-webkit-scrollbar { display: none; }
.toc-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-s);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex: 0 0 auto;
}
.toc-tabs a:hover { color: var(--text); background: var(--bg-panel-2); }
.toc-tabs a.is-active {
  color: var(--accent-dark);
  font-weight: 700;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.toc-tabs.is-static { position: static; }

body:has(.toc-tabs) section[id],
body:has(.toc-tabs) h2[id],
body:has(.toc-tabs) h3[id] { scroll-margin-top: calc(var(--header-h) + 68px); }

/* ==========================================================================
   5. FAQ 折叠项
   ========================================================================== */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 2px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .faq-answer { padding: 0 2px 16px; color: var(--text-muted); font-size: 15px; max-width: 78ch; }

/* ==========================================================================
   6. 套餐卡片
   ========================================================================== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.plan-grid > * { min-width: 0; }
.plan {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.plan.is-featured {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-card);
}
.plan.is-current {
  border-color: var(--violet-line);
  background: linear-gradient(180deg, var(--lilac) 0%, var(--bg-panel) 42%);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 6px;
  background: linear-gradient(92deg, var(--accent), var(--violet));
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 6px 14px var(--accent-soft);
}
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.plan-cycle { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.plan-price {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
}
.plan-price small { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.plan-quota { font-size: 14px; color: var(--text-muted); }
.plan-quota b { color: var(--text); font-weight: 600; }
.plan-list { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--text-muted); }
.plan-list li { display: flex; align-items: flex-start; gap: 8px; }
.plan-list svg {
  width: 15px; height: 15px;
  margin-top: 3px;
  stroke: var(--success); fill: none;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.plan .btn { margin-top: auto; }

.pack-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pack-row > * { min-width: 0; }
.pack {
  background: var(--bg-panel-2);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pack b { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.pack span { font-size: 13px; color: var(--text-muted); }

/* ==========================================================================
   7. 线路表 / 宽表格横滑
   ========================================================================== */
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--bg-panel);
}
.table-scroll table { min-width: 640px; }
.data-table { font-size: 14px; }
.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table th {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text);
  background: var(--bg-panel-2);
  white-space: nowrap;
}
.data-table td { color: var(--text); word-break: keep-all; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--accent-soft); }
.data-table .cell-flag { display: inline-flex; align-items: center; gap: 8px; }
.data-table .cell-flag svg { width: 20px; height: 13px; border-radius: 2px; flex: 0 0 auto; }
.data-table .cell-muted { color: var(--text-muted); }
.data-table .cell-mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.table-scroll th { white-space: nowrap; }

.prose > .data-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
}

/* ==========================================================================
   8. 平台卡片
   ========================================================================== */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.plat-grid > * { min-width: 0; }
.plat {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plat:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.plat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.plat-icon svg { width: 22px; height: 22px; color: var(--accent-dark); }
.plat b { font-size: 14px; font-weight: 600; }
.plat .btn { margin-top: 4px; }

/* ==========================================================================
   9. 文章卡
   ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.post-grid > * { min-width: 0; }
.post {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-meta time { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.post h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.015em; }
.post h3 a { display: block; }
.post p { font-size: 14px; color: var(--text-muted); }
.post .link-arrow { margin-top: auto; font-size: 14px; }

/* ==========================================================================
   10. 引用块 / 提示块
   ========================================================================== */
.callout {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 100%;
}
.callout strong { color: var(--text); }
.callout.is-violet { border-left-color: var(--violet); }
.callout.is-ice { border-left-color: var(--ice); }
.callout + .callout { margin-top: 12px; }

/* ==========================================================================
   11. 文末推广块
   ========================================================================== */
.promo-block {
  background: linear-gradient(128deg, var(--lilac) 0%, var(--blush) 52%, var(--frost) 100%);
  border-radius: var(--radius-l);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}
.promo-block .promo-copy { flex: 1 1 320px; min-width: 0; }
.promo-block b {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.promo-block p { margin-top: 6px; font-size: 14.5px; color: var(--text-muted); }
.promo-block .btn { flex-shrink: 0; white-space: nowrap; }
.promo-block .btn-secondary { flex-shrink: 0; white-space: nowrap; }

/* ==========================================================================
   12. 底部 CTA 横带(签名元素 6)
   ========================================================================== */
.cta-band {
  background: var(--ink);
  color: var(--on-ink);
  padding-top: 32px;
  padding-bottom: 32px;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-collage { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cta-collage svg { width: 22px; height: 14px; border-radius: 2px; }
.cta-collage .bolt {
  width: 30px; height: 30px;
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--accent), var(--violet));
  flex: 0 0 auto;
}
.cta-collage .bolt svg { width: 16px; height: 16px; fill: var(--white); }
.cta-band .cta-copy { flex: 1 1 300px; min-width: 0; }
.cta-band b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.cta-band p { margin-top: 4px; font-size: 14px; color: var(--on-ink-muted); }

/* ==========================================================================
   13. 悬浮 CTA
   ========================================================================== */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-s);
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(224, 16, 122, .28);
}
.float-cta:hover { background: var(--accent-dark); }
.float-cta svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ==========================================================================
   14. 卖点长排版块(图标 + 短句 + 光晕面板,左右交替)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 64px; }
.feature-row > * { min-width: 0; }
.feature-row.is-flipped .feature-panel { order: -1; }
.feature-copy { display: flex; flex-direction: column; gap: 26px; }
.feature-item { display: flex; flex-direction: column; gap: 10px; }
.feature-item h3 { font-size: 21px; letter-spacing: -.02em; }
.feature-item p { font-size: 15px; color: var(--text-muted); max-width: 52ch; }
.feature-panel {
  border-radius: var(--radius-l);
  padding: 26px;
  min-height: 300px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, .72);
  overflow: hidden;
}
.feature-panel.is-blush { background: linear-gradient(132deg, var(--blush), var(--lilac)); }
.feature-panel.is-lilac { background: linear-gradient(132deg, var(--lilac), var(--frost)); }
.feature-panel.is-frost { background: linear-gradient(132deg, var(--frost), var(--blush)); }
.feature-panel .mini-win {
  width: 100%;
  background: var(--ink);
  border-radius: var(--radius-s);
  color: var(--on-ink);
  padding: 16px;
  box-shadow: var(--shadow-win), inset 0 1px 0 var(--ink-glow);
  font-size: 13px;
}
.mini-win .mini-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--on-ink-muted);
}
.mini-win ul { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mini-win li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.mini-win li svg { width: 18px; height: 12px; border-radius: 2px; flex: 0 0 auto; }
.mini-win .tag { width: auto; min-width: 56px; }
.mini-win .matrix { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mini-win .matrix span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 9px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--ice-soft);
  color: var(--frost);
  border: 1px solid var(--ice-line);
}
.mini-win .matrix span.is-ok { background: var(--success-soft); color: #A8F0CE; border-color: rgba(26, 158, 106, .4); }

/* ==========================================================================
   15. design-preview 专用示例类(演示排版,不进正式页面结构)
   ========================================================================== */
.pv-section { padding-top: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.pv-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.pv-swatch {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg-panel);
  min-width: 0;
}
.pv-swatch-color { height: 62px; }
.pv-swatch-meta { padding: 10px 12px; }
.pv-swatch-meta b { display: block; font-size: 13px; font-weight: 600; }
.pv-swatch-meta code { display: block; margin-top: 3px; font-size: 11.5px; color: var(--text-muted); }
.pv-type-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  flex-wrap: wrap;
}
.pv-type-row .pv-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  min-width: 92px;
  flex: 0 0 auto;
}
.pv-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pv-note { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .stage { width: 92%; }
  .plat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .feature-row { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .feature-row.is-flipped .feature-panel { order: 0; }
  .feature-panel { order: -1; min-height: 240px; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .pack-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 40px; max-width: 20ch; }
  .hero .lede { font-size: 16px; }
  .chips { flex-direction: column; gap: 10px; }
  .chip-divider { display: none; }
  .stage { width: 100%; }
  .glow { height: auto; padding: 20px; }
  .win {
    position: relative;
    left: auto; top: auto; right: auto; bottom: auto;
    padding-right: 0;
  }
  .win-body { grid-template-columns: minmax(0, 1fr); padding-bottom: 16px; }
  .list-head { grid-template-columns: 20px minmax(0, 1fr) auto; }
  .list-head span:nth-child(4) { display: none; }
  .rows li {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    height: auto;
    min-height: 38px;
  }
  .rows li > :nth-child(4) { display: none; }
  .cur { display: none; }
  .float { display: none; }
  .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .toc-tabs { top: calc(var(--header-h) + 4px); }
  .promo-block { padding: 22px; }
}

@media (max-width: 640px) {
  .ctas { flex-direction: column; width: 100%; }
  .ctas .btn { width: 100%; }
  .float-cta { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .promo-block { flex-direction: column; align-items: stretch; }
  .promo-block .btn,
  .promo-block .btn-secondary { width: 100%; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .pv-swatches { grid-template-columns: minmax(0, 1fr); }
}