/* ===================================================
   我的AI软件 — 站点样式
   =================================================== */

:root {
  --bg: #f7f8fc;
  --bg-soft: #eef1f9;
  --surface: #ffffff;
  --surface-2: #f2f4fb;
  --text: #16192b;
  --text-soft: #545a75;
  --text-mute: #8b90a8;
  --border: #e4e7f2;
  --brand: #5b5bd6;
  --brand-2: #8b5cf6;
  --brand-soft: #eeeefc;
  --accent: #06b6d4;
  --shadow-sm: 0 1px 2px rgba(20, 24, 60, .05), 0 2px 8px rgba(20, 24, 60, .04);
  --shadow: 0 4px 12px rgba(20, 24, 60, .06), 0 12px 32px rgba(20, 24, 60, .06);
  --shadow-lg: 0 10px 24px rgba(20, 24, 60, .08), 0 24px 64px rgba(20, 24, 60, .10);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 64px;
}

html[data-theme="dark"] {
  --bg: #0c0e19;
  --bg-soft: #12152a;
  --surface: #151930;
  --surface-2: #1c2140;
  --text: #eef0f8;
  --text-soft: #b3b8d0;
  --text-mute: #7b819e;
  --border: #262c4d;
  --brand: #8b8bf7;
  --brand-2: #a78bfa;
  --brand-soft: #1e2247;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.4em; }

::selection { background: var(--brand); color: #fff; }

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

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
html[data-theme="dark"] .header { background: rgba(12, 14, 25, .82); }
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center;
  color: #fff;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(91, 91, 214, .35);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 500;
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.icon-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 16px;
  transition: all .18s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.theme-toggle .i-sun { display: none; }

.nav-toggle { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 6px 18px rgba(91, 91, 214, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(91, 91, 214, .38); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 22% 30%, rgba(91, 91, 214, .20), transparent 70%),
    radial-gradient(34% 38% at 78% 22%, rgba(139, 92, 246, .18), transparent 70%),
    radial-gradient(30% 34% at 55% 68%, rgba(6, 182, 212, .14), transparent 70%);
  filter: blur(6px);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
  opacity: .5;
}
.hero .container { position: relative; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .06); }
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.18;
  margin: 22px 0 18px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .lbl { font-size: 13px; color: var(--text-mute); }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.section-head p { margin: 0; color: var(--text-mute); font-size: 15px; }
.link-more { color: var(--brand); font-weight: 600; font-size: 15px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- 筛选条 ---------- */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 14px;
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(91, 91, 214, .28);
}

/* ---------- 卡片网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
  opacity: 0;
  transition: opacity .22s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::after { opacity: 1; }

.card-top { display: flex; align-items: center; gap: 12px; }
.app-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
  flex: 0 0 auto;
  background: var(--surface-2);
}
.card h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.card .meta { font-size: 13px; color: var(--text-mute); }
.card-region {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 999px;
  font-weight: 600;
}
.card-region.cn { background: rgba(34, 197, 94, .13); color: #16a34a; }
.card-region.gl { background: rgba(245, 158, 11, .15); color: #d97706; }
html[data-theme="dark"] .card-region.cn { background: rgba(34, 197, 94, .16); color: #4ade80; }
html[data-theme="dark"] .card-region.gl { background: rgba(245, 158, 11, .18); color: #fbbf24; }
.card p { margin: 0; font-size: 14.5px; color: var(--text-soft); line-height: 1.7; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-mute);
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-mute);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}
.stars { color: #f59e0b; letter-spacing: 1px; }
.badge-free {
  font-size: 12px; padding: 2px 9px; border-radius: 6px;
  background: rgba(34,197,94,.12); color: #16a34a; font-weight: 600;
}
.badge-paid {
  font-size: 12px; padding: 2px 9px; border-radius: 6px;
  background: rgba(245,158,11,.14); color: #d97706; font-weight: 600;
}

/* ---------- 文章列表 ---------- */
.post-list { display: grid; gap: 14px; }
.post {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  align-items: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.post-thumb {
  height: 92px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 34px;
  background: var(--surface-2);
}
.post h3 { margin: 0 0 6px; font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; }
.post p { margin: 0 0 8px; font-size: 14.5px; color: var(--text-soft); }
.post-meta { font-size: 13px; color: var(--text-mute); display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 侧栏 ---------- */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.widget h4 { margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.widget li { font-size: 14.5px; color: var(--text-soft); display: flex; gap: 10px; align-items: baseline; }
.widget li span.idx { color: var(--text-mute); font-variant-numeric: tabular-nums; font-size: 13px; }
.widget li:hover { color: var(--brand); cursor: pointer; }

/* ---------- 正文排版 ---------- */
.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-soft);
}
.prose h1 { font-size: clamp(26px, 3.4vw, 36px); color: var(--text); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 14px; }
.prose h2 { font-size: 23px; color: var(--text); font-weight: 700; margin: 38px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); }
.prose h3 { font-size: 18.5px; color: var(--text); font-weight: 700; margin: 26px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  color: var(--text);
}
.prose code {
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 14.5px;
  font-family: "JetBrains Mono", Consolas, Monaco, monospace;
  color: var(--brand);
}
.prose pre {
  background: #12142a;
  color: #d7dcf5;
  padding: 18px 20px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
}
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.prose img { border-radius: 12px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-mute); font-size: 14px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }

/* ---------- 关于 ---------- */
.about-hero {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm);
}
.avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; font-size: 52px; color: #fff;
  box-shadow: 0 10px 30px rgba(91,91,214,.3);
}
.timeline { display: grid; gap: 0; margin-top: 8px; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.tl-item:last-child { border-bottom: none; }
.tl-date { color: var(--brand); font-weight: 700; font-size: 14px; }

/* ---------- 订阅 ---------- */
.subscribe {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 22px;
  padding: 46px 40px;
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 44px rgba(91, 91, 214, .28);
}
.subscribe h2 { margin: 0 0 10px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.subscribe p { margin: 0 auto 24px; max-width: 540px; opacity: .9; }
.subscribe form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.subscribe input {
  flex: 1 1 240px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.subscribe .btn { background: #12142a; color: #fff; }
.subscribe .btn:hover { background: #000; }
.subscribe .note { font-size: 13px; opacity: .8; margin-top: 14px; }
.subscribe-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 44px; flex-wrap: wrap;
}
.subscribe-text { flex: 1 1 320px; max-width: 540px; }
.subscribe-text p { margin: 0 0 22px; }
.subscribe-qr {
  flex: 0 0 auto;
  background: #fff; padding: 14px; border-radius: 18px;
  display: grid; place-items: center; gap: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}
.subscribe-qr img { width: 132px; height: 132px; border-radius: 8px; display: block; }
.subscribe-qr span { color: #334; font-size: 13px; font-weight: 600; }

/* ---------- 顶部通知横条 ---------- */
#topBar {
  position: relative;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 4px 18px rgba(91, 91, 214, .25);
  transition: max-height .5s ease, opacity .45s ease;
}
#topBar.show { max-height: 320px; opacity: 1; }
/* 收起后：横条归零，只留一个向下垂出的小舌片标签 */
#topBar.peek { max-height: 0; opacity: 1; overflow: visible; }
.topbar-peek { display: none; }
#topBar.peek .topbar-peek {
  display: flex; align-items: center; gap: 6px;
  position: absolute; top: 100%; left: 50%; z-index: 999;
  transform: translateX(-50%);
  padding: 7px 18px 9px;
  border-radius: 0 0 13px 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 7px 16px rgba(91, 91, 214, .32);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
#topBar.peek .topbar-peek:hover {
  transform: translate(-50%, 2px);
  box-shadow: 0 10px 20px rgba(91, 91, 214, .4);
}
#topBar.peek .topbar-inner { display: none; }
.topbar-inner {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 56px 20px 24px;
  min-height: 150px;
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
}
.topbar-img {
  flex: 0 1 180px;
  width: 180px; max-width: 42%;
  height: auto; aspect-ratio: 3 / 2;
  border-radius: 14px; object-fit: cover;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.topbar-text { flex: 1 1 auto; min-width: 0; }
.topbar-text strong {
  display: block; color: #fff;
  font-size: 17px; font-weight: 800; line-height: 1.45; margin-bottom: 7px;
}
.topbar-text span {
  display: block; color: #fff; opacity: .92;
  font-size: 14px; line-height: 1.7;
}
.topbar-btn {
  flex: 0 0 auto;
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: #fff; color: var(--brand);
  font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
  transition: transform .2s, box-shadow .2s;
}
.topbar-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.topbar-btn.soon { background: rgba(255, 255, 255, .22); color: #fff; cursor: pointer; }
.topbar-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255, 255, 255, .18); color: #fff;
  font-size: 16px; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s;
}
.topbar-close:hover { background: rgba(255, 255, 255, .32); }

/* ---------- 自制 AI 工具推广板块 ---------- */
#mytool { scroll-margin-top: 90px; }
.promo {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--brand-soft), transparent 58%), var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.promo::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}
.promo-inner {
  display: grid; grid-template-columns: 1fr 296px;
  gap: 38px; padding: 38px 40px; align-items: start;
}
.promo-badge {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
}
.promo-main h2 { margin: 14px 0 12px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.promo-main > p { margin: 0 0 16px; color: var(--text-soft); line-height: 1.8; font-size: 15px; }
.promo-slogan {
  margin: 0 0 22px; padding: 13px 17px; border-radius: 12px;
  background: var(--surface-2); border-left: 3px solid var(--brand);
  font-size: 14.5px; color: var(--text-soft); line-height: 1.75;
}
.promo-notes { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.promo-notes li { position: relative; padding-left: 21px; font-size: 14px; color: var(--text-soft); }
.promo-notes li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--brand); font-weight: 800; font-size: 14px;
}
.promo-side { position: sticky; top: 90px; }
.price-card {
  padding: 26px 24px; border-radius: 18px; text-align: center; color: #fff;
  background: linear-gradient(160deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 40px rgba(91, 91, 214, .3);
}
.price-old { font-size: 13.5px; opacity: .85; }
.price-old span { margin-left: 1px; }
.price-tag {
  display: inline-block; margin: 11px 0 9px; font-size: 12px; font-weight: 700;
  padding: 4px 13px; border-radius: 999px; background: rgba(255, 255, 255, .22);
}
.price-now { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.price-now .cur { font-size: 20px; font-weight: 600; vertical-align: middle; margin-right: 2px; }
.price-now .unit { font-size: 15px; font-weight: 500; opacity: .9; }
.price-save { margin: 12px 0 18px; font-size: 13px; opacity: .9; }
.price-card .btn, .price-card .btn:hover { background: #fff; color: var(--brand); }
.price-note { margin-top: 13px; font-size: 12.5px; opacity: .8; line-height: 1.6; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h5 { margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer li, .footer p { font-size: 14px; color: var(--text-mute); }
.footer a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-mute);
}
.beian { display: inline-flex; align-items: center; gap: 6px; }
.beian:hover { color: var(--brand); }
.footer-bottom a { text-decoration: none; }

/* ---------- 回到顶部 ---------- */
#toTop {
  position: fixed; right: 26px; bottom: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 18px;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: all .25s;
  z-index: 90;
}
#toTop.show { opacity: 1; pointer-events: auto; transform: none; }
#toTop:hover { color: #fff; background: var(--brand); border-color: var(--brand); }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-inner { grid-template-columns: 1fr; gap: 26px; padding: 32px 28px; }
  .promo-side { position: static; }
  .price-card { max-width: 340px; margin: 0 auto; }
  .topbar-img { max-width: 48%; }
  .topbar-inner { gap: 16px; padding: 16px 54px 16px 18px; }
  .topbar-text strong { font-size: 15.5px; }
  .topbar-text span { font-size: 13px; }
  .topbar-btn { padding: 10px 16px; font-size: 13.5px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav.open a { border-radius: 10px; padding: 12px 14px; }
  .nav-toggle { display: grid; margin-left: auto; }
  .header .container { position: relative; }
  .hero { padding: 48px 0 40px; }
  .hero-stats { gap: 26px; }
  .post { grid-template-columns: 1fr; }
  .post-thumb { height: 130px; }
  .prose { padding: 26px 20px; }
  .about-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .subscribe { padding: 34px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .promo-inner { padding: 26px 20px; }
  .promo-main h2 { font-size: 22px; }
  #topBar.show { max-height: 520px; }
  .topbar-inner { flex-wrap: wrap; gap: 12px; padding: 14px 50px 16px 14px; min-height: 0; }
  .topbar-img { flex: 1 1 100%; width: 100%; max-width: 100%; height: 150px; }
  .topbar-text strong { font-size: 15px; }
  .topbar-text span { font-size: 12.5px; }
  .topbar-btn { width: 100%; text-align: center; padding: 11px 18px; }
  .topbar-close { top: 10px; transform: none; }
  #topBar.peek { max-height: 0; }
  #topBar.peek .topbar-peek { font-size: 12px; padding: 6px 15px 8px; left: 50%; }
}
