/* ==========================================================================
   猫猫云加速器 · 全站样式表
   主题：深空紫 + 霓虹青，玻璃拟态卡片，响应式（320px → 1920px）
   ========================================================================== */

:root {
  --ink-900: #07080f;
  --ink-800: #0b0d1a;
  --ink-700: #111427;
  --ink-600: #171b31;
  --ink-500: #1f2440;
  --line: rgba(148, 163, 255, 0.14);
  --line-strong: rgba(148, 163, 255, 0.28);
  --purple: #8b5cf6;
  --purple-soft: #a78bfa;
  --cyan: #22d3ee;
  --mint: #34d399;
  --pink: #f472b6;
  --amber: #fbbf24;
  --text: #eceaff;
  --text-dim: #a8aecb;
  --text-mute: #767d9c;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -28px rgba(6, 8, 22, 0.95);
  --glow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 18px 50px -22px rgba(139, 92, 246, 0.55);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple-soft); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--cyan); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.35rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1em; color: var(--text-dim); }

ul, ol { margin: 0 0 1em; padding-left: 1.25rem; color: var(--text-dim); }
li { margin-bottom: 0.45em; }

code, kbd, pre {
  font-family: "JetBrains Mono", "Cascadia Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
code {
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  font-size: 0.9em;
  color: var(--purple-soft);
  word-break: break-word;
}
pre {
  background: #0a0c18;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #cfd6f5;
}
pre code { background: none; border: 0; padding: 0; color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: rgba(139, 92, 246, 0.42); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--purple);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* 供屏幕阅读器/爬虫识别的结构化标题，不占视觉空间 */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------- 布局容器 ---------------- */
.container {
  width: min(var(--maxw), 100% - 40px);
  margin-inline: auto;
}
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 2px;
}
.lede { font-size: 1.06rem; color: var(--text-dim); }

/* ---------------- 顶部广告条 ---------------- */
.topstrip {
  display: block;
  position: relative;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.75));
  color: #0b0b16;
  font-weight: 700;
  font-size: 0.87rem;
  text-align: center;
  padding: 8px 44px;
  overflow: hidden;
}
.topstrip:hover { color: #0b0b16; }
.topstrip strong { color: #1a0b2e; }
.topstrip .strip-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(11, 11, 22, 0.55);
  border-radius: 4px;
  padding: 1px 6px;
  margin-right: 8px;
  vertical-align: 1px;
}
.topstrip .strip-arrow { display: inline-block; transform: translateY(1px); }

/* ---------------- 导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(7, 8, 15, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 600;
}
.nav-links a:hover { color: #fff; background: rgba(139, 92, 246, 0.14); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(139, 92, 246, 0.2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(139, 92, 246, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9 55%, #22d3ee 140%);
  color: #fff;
  box-shadow: 0 14px 34px -16px rgba(139, 92, 246, 0.9);
}
.btn-primary:hover { color: #fff; box-shadow: 0 18px 40px -14px rgba(139, 92, 246, 0.95); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { color: #fff; background: rgba(139, 92, 246, 0.16); }
.btn-sm { min-height: 36px; padding: 6px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 60px;
  background:
    radial-gradient(900px 520px at 18% 8%, rgba(109, 40, 217, 0.36), transparent 62%),
    radial-gradient(760px 480px at 88% 26%, rgba(14, 116, 144, 0.3), transparent 62%),
    linear-gradient(180deg, #0a0b16, #07080f 78%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 52px;
  align-items: center;
}
.hero h1 span {
  background: linear-gradient(100deg, #a78bfa 10%, #22d3ee 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede { max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.86rem;
  color: var(--text-mute);
  list-style: none;
  padding: 0;
}
.hero-meta li { display: flex; align-items: center; gap: 7px; margin: 0; }
.hero-meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
}
.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
}
.float-card {
  position: absolute;
  left: -14px;
  bottom: 34px;
  background: rgba(13, 15, 30, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.float-card b { display: block; color: #fff; font-size: 1.05rem; }
.float-card .ok { color: var(--mint); }

/* ---------------- 数据条 ---------------- */
.statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -34px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow);
}
.statbar div {
  background: #0c0e1b;
  padding: 22px 18px;
  text-align: center;
}
.statbar b {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(120deg, #fff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.statbar span { font-size: 0.8rem; color: var(--text-mute); letter-spacing: 0.06em; }

/* ---------------- 卡片网格 ---------------- */
.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); }

.card {
  position: relative;
  background: linear-gradient(160deg, rgba(28, 30, 54, 0.9), rgba(14, 16, 30, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 22px 48px -30px rgba(139, 92, 246, 0.8);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.94rem; }
/* 需要紧跟 h1 的卡片标题用 h2，但保持 h3 的视觉尺寸，避免标题层级跳跃 */
.card > h2,
.price > h2,
.post-card h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  margin-bottom: 8px;
}
.card .ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.16));
  border: 1px solid var(--line-strong);
  font-size: 1.28rem;
}
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.88rem; font-weight: 700; }

/* ---------------- 表格 ---------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 14, 27, 0.85);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.93rem; }
caption {
  caption-side: bottom;
  padding: 12px 16px;
  font-size: 0.78rem;
  color: var(--text-mute);
  text-align: left;
}
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th {
  background: rgba(139, 92, 246, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(139, 92, 246, 0.07); }
td { color: var(--text-dim); }
td b, td strong { color: #fff; }
.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag-mint { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; border-color: rgba(52, 211, 153, 0.3); }
.tag-purple { background: rgba(139, 92, 246, 0.16); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.34); }
.tag-cyan { background: rgba(34, 211, 238, 0.14); color: #67e8f9; border-color: rgba(34, 211, 238, 0.3); }
.tag-amber { background: rgba(251, 191, 36, 0.14); color: #fcd34d; border-color: rgba(251, 191, 36, 0.3); }

/* ---------------- 步骤 ---------------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 17, 32, 0.8);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(120deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---------------- 套餐 ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, rgba(30, 28, 58, 0.92), rgba(12, 14, 28, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
}
.price--hot {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 26px 60px -34px rgba(139, 92, 246, 0.9);
}
.price--hot::before {
  content: "最受欢迎";
  position: absolute;
  top: -13px;
  left: 26px;
  background: linear-gradient(120deg, var(--amber), #f97316);
  color: #2a1400;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.price h3 { font-size: 1.1rem; margin-bottom: 4px; }
.price .desc { font-size: 0.85rem; color: var(--text-mute); min-height: 2.6em; }
.price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 10px 0 2px;
}
.price .amount small { font-size: 0.9rem; font-weight: 600; color: var(--text-mute); }
.price .save { font-size: 0.78rem; color: var(--mint); min-height: 1.4em; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; font-size: 0.9rem; }
.price li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; color: var(--text-dim); }
.price li::before { content: "✓"; color: var(--mint); font-weight: 800; flex-shrink: 0; }
.price .btn { margin-top: auto; }

/* ---------------- 评价 ---------------- */
.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(15, 17, 32, 0.75);
}
.quote p { color: var(--text); font-size: 0.95rem; }
.quote footer { font-size: 0.82rem; color: var(--text-mute); display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0b0b16;
  background: linear-gradient(135deg, var(--purple-soft), var(--cyan));
}
.stars { color: var(--amber); letter-spacing: 2px; font-size: 0.85rem; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
details.qa {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(14, 16, 30, 0.8);
  padding: 16px 20px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
details.qa[open] { border-color: rgba(139, 92, 246, 0.45); background: rgba(24, 22, 46, 0.85); }
details.qa summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 0.98rem;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  color: var(--purple-soft);
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .answer { padding-top: 12px; }
details.qa .answer p:last-child { margin-bottom: 0; }

/* ---------------- 广告位（站内） ---------------- */
.ad-slot {
  position: relative;
  border: 1px dashed rgba(251, 191, 36, 0.4);
  background: linear-gradient(120deg, rgba(251, 191, 36, 0.07), rgba(139, 92, 246, 0.07));
  border-radius: var(--radius);
  padding: 18px;
}
.ad-label {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: rgba(251, 191, 36, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 4px;
  padding: 0 5px;
  line-height: 1.5;
  background: rgba(8, 9, 18, 0.7);
}
.ad-slot a { display: block; color: inherit; }
.ad-slot a:hover { color: inherit; }
.ad-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
}
.ad-banner h3 { font-size: 1.1rem; margin-bottom: 4px; }
.ad-banner p { margin: 0; font-size: 0.88rem; }
.ad-inline {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  min-width: 0;
}
.ad-inline > a {
  min-width: 0;
  flex-wrap: wrap;
}
.ad-inline img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.ad-inline .ad-copy { font-size: 0.9rem; min-width: 0; flex: 1 1 170px; }
.ad-inline .ad-copy b { display: block; color: #fff; margin-bottom: 2px; }
.ad-inline .ad-copy span { color: var(--text-mute); font-size: 0.82rem; }
.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fcd34d;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ---------------- CTA 区块 ---------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.35);
  background:
    radial-gradient(600px 320px at 12% 20%, rgba(109, 40, 217, 0.5), transparent 65%),
    radial-gradient(520px 300px at 88% 80%, rgba(14, 116, 144, 0.44), transparent 65%),
    #0d0f1e;
  padding: 46px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 46ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #06070e;
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { font-size: 0.88rem; max-width: 30em; }
.footer-col h2,
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-dim); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.8rem;
  color: var(--text-mute);
}
.footer-bottom p { margin: 0; font-size: 0.8rem; }
.footer-note { font-size: 0.78rem; color: #5c6280; margin-top: 14px; line-height: 1.7; }

/* ---------------- 弹窗广告（核心组件） ---------------- */
.popup-mask {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(3, 4, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.popup-mask.is-open { display: grid; animation: maskIn 0.32s var(--ease) both; }

.popup-content {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: linear-gradient(168deg, #1b1936, #0c0d1a 72%);
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 20px;
  padding: 26px 22px 22px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: popIn 0.42s var(--ease) both;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.popup-close:hover { background: rgba(244, 114, 182, 0.22); color: #fff; transform: rotate(90deg); }

.popup-ad-label {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(251, 191, 36, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 4px;
  padding: 1px 6px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.popup-stack { display: flex; flex-direction: column; gap: 14px; align-items: center; }

.popup-link { display: block; width: 100%; color: inherit; }
.popup-link:hover { color: inherit; }
.popup-title {
  font-size: 1.16rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}
.popup-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}
.popup-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #101226;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.popup-link:hover .popup-image {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 20px 44px -24px rgba(139, 92, 246, 0.95);
}

.popup-shop-wrap { width: 100%; }
.popup-shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(120deg, #8b5cf6, #6d28d9 60%, #0ea5e9);
  box-shadow: 0 16px 34px -18px rgba(139, 92, 246, 0.95);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease);
}
.popup-shop-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  animation: shine 2.6s 0.6s infinite;
}
.popup-shop-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -16px rgba(139, 92, 246, 1);
}
.popup-shop-btn::after { pointer-events: none; }

.popup-tip { font-size: 0.72rem; color: var(--text-mute); margin: 0; letter-spacing: 0.02em; }

/* ---------------- 侧边悬浮广告（次要广告位） ---------------- */
.corner-ad {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 186px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(150deg, rgba(30, 24, 52, 0.97), rgba(12, 14, 26, 0.97));
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: cornerIn 0.4s var(--ease) both;
}
.corner-ad[hidden] { display: none; }
.corner-ad a {
  display: block;
  padding: 12px 14px 13px;
  color: var(--text-dim);
  font-size: 0.74rem;
  line-height: 1.5;
}
.corner-ad a:hover { color: #fff; }
.corner-ad b { display: block; color: #fff; font-size: 0.9rem; margin: 4px 0 2px; }
.corner-tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: rgba(251, 191, 36, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 3px;
  padding: 0 4px;
  line-height: 1.5;
}
.corner-close {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #14162a;
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.corner-close:hover { color: #fff; background: rgba(244, 114, 182, 0.35); }

@keyframes cornerIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .corner-ad { display: none !important; }
}

@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes shine {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}

/* ---------------- 内容排版 ---------------- */
.prose { max-width: 780px; min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: 2.2em; padding-top: 0.2em; }
.prose h3 { margin-top: 1.7em; color: var(--purple-soft); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin: 1.6em 0; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--purple);
  background: rgba(139, 92, 246, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dim);
}
.prose blockquote p:last-child { margin: 0; }

.breadcrumb { font-size: 0.82rem; color: var(--text-mute); padding: 18px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #3d4363; }
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--cyan); }

.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}
.layout-split > * { min-width: 0; }
/* 移动端：文章内的宽表格改为卡片式，避免 620px 最小宽度撑破视口 */
@media (max-width: 720px) {
  .prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose .table-wrap table { min-width: 520px; }
  .prose pre { max-width: 100%; }
  .prose img { width: 100%; height: auto; }
}
.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.sidebar .card { padding: 20px; }
.sidebar h3 { font-size: 0.95rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0; font-size: 0.88rem; }
.sidebar li { padding: 8px 0; border-bottom: 1px dashed rgba(148, 163, 255, 0.12); margin: 0; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { color: var(--text-dim); }
.sidebar li a:hover { color: #fff; }

.post-list { display: grid; gap: 18px; }
.post-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 16, 30, 0.82);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.post-card:hover { border-color: rgba(139, 92, 246, 0.45); transform: translateY(-2px); }
.post-card img { height: 100%; width: 100%; object-fit: cover; }
.post-card .body { padding: 20px 22px; }
.post-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--purple-soft); }
.post-card p { font-size: 0.9rem; margin-bottom: 8px; }
.post-meta { font-size: 0.76rem; color: var(--text-mute); display: flex; gap: 14px; flex-wrap: wrap; }

.article-head { padding: 30px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.article-head h1 { margin-bottom: 12px; }
.article-head .post-meta { margin-top: 12px; }

.notice {
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.07);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #a5f3fc;
  margin: 0 0 22px;
}
.notice b { color: #fff; }

.error-page { text-align: center; padding: 110px 0; }
.error-page .code {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .float-card { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .layout-split { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 34px 26px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    background: rgba(7, 8, 15, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav-cta { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .post-card { grid-template-columns: 1fr; }
  .post-card img { height: 170px; }
  .section { padding: 56px 0; }
  .ad-banner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .container { width: min(var(--maxw), 100% - 28px); }
  .hero { padding-top: 46px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1 1 auto; }
  .ad-inline { flex-direction: column; align-items: flex-start; }
  .ad-inline img { width: 100%; height: 120px; }
  .popup-content { padding: 22px 16px 18px; }
  .topstrip { font-size: 0.78rem; padding: 8px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .topstrip, .site-footer, .popup-mask, .cta-band, .hero-art { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .table-wrap { border-color: #ddd; background: #fff; }
}
