/* ===========================================================
   起司短链官网 · 全站样式
   设计语言：青绿渐变 + 毛玻璃 + 移动优先 + 微交互动效
   无外部依赖，全部本地化
   =========================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand:        #00BDE9;
  --brand-2:      #7ED957;
  --brand-dark:   #0098B8;
  --brand-deep:   #007A94;
  --green-dark:   #4FAA2C;

  --grad-brand:   linear-gradient(135deg, #00BDE9 0%, #7ED957 100%);
  --grad-brand-h: linear-gradient(135deg, #0098B8 0%, #4FAA2C 100%);
  --grad-soft:    linear-gradient(135deg, rgba(0,189,233,.12) 0%, rgba(126,217,87,.12) 100%);

  --text-1: #1F2937;
  --text-2: #6B7280;
  --text-3: #9CA3AF;

  --bg-1: #FFFFFF;
  --bg-2: #F6F9FC;
  --bg-3: #E8FCFF;
  --line: #E6ECF3;
  --line-2: #D7E0EA;

  --ok:     #16A34A;
  --warn:   #F59E0B;
  --danger: #EF4444;
  --info:   #0284C7;

  --radius:   16px;
  --radius-s: 10px;
  --radius-l: 24px;

  --shadow-1: 0 2px 10px rgba(31,41,55,.06);
  --shadow-2: 0 10px 30px rgba(0,189,233,.14);
  --shadow-3: 0 18px 50px rgba(0,189,233,.20);

  --glass-bg:     rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.85);

  --header-h: 64px;
  --maxw:     1160px;
}

/* ---------- 2. 基础重置 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei",
               "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-1);
  background: var(--bg-2);
  -webkit-font-smoothing: antialiased;
}
/* 背景光斑 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% -8%,  rgba(0,189,233,.20), transparent 60%),
    radial-gradient(760px 480px at 92% 4%,   rgba(126,217,87,.18), transparent 62%),
    radial-gradient(820px 560px at 78% 96%,  rgba(102,126,234,.14), transparent 60%),
    radial-gradient(600px 420px at 8% 88%,   rgba(255,193,120,.12), transparent 62%),
    linear-gradient(160deg, #E8FCFF 0%, #F7FEF6 45%, #EAF7FF 100%);
  pointer-events: none;
}
a { color: var(--brand-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 700; line-height: 1.35; color: var(--text-1); }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.muted { color: var(--text-2); }
.center { text-align: center; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3. 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230,236,243,.9);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.is-stuck { box-shadow: var(--shadow-1); background: rgba(255,255,255,.92); }
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0,189,233,.35);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__name { font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.brand__name small { display: block; font-size: 11px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; color: var(--text-1); font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.nav__link:hover { background: var(--grad-soft); color: var(--brand-deep); }
.nav__link.is-active { color: var(--brand-deep); background: var(--grad-soft); }
.header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--text-1); border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.drawer.is-open { display: block; animation: slideDown .25s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drawer a {
  display: block; padding: 14px 20px; border-bottom: 1px solid var(--line);
  color: var(--text-1); font-weight: 500;
}
.drawer a:last-child { border-bottom: none; }
.drawer .drawer__cta { display: flex; gap: 10px; padding: 16px 20px; }
.drawer .drawer__cta .btn { flex: 1; justify-content: center; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 20px rgba(0,189,233,.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,189,233,.42); color: #fff; }
.btn--ghost { background: #fff; color: var(--brand-deep); border-color: var(--brand); }
.btn--ghost:hover { background: var(--grad-soft); transform: translateY(-2px); color: var(--brand-deep); }
.btn--soft { background: rgba(255,255,255,.8); color: var(--text-1); border-color: var(--line); }
.btn--soft:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.btn--sm { padding: 7px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- 5. Hero ---------- */
.hero { padding: 72px 0 40px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  font-size: 13px; color: var(--brand-deep); font-weight: 600;
  box-shadow: var(--shadow-1);
}
.hero__tag i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(126,217,87,.22);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { font-size: 42px; margin: 18px 0 14px; letter-spacing: -.5px; }
.hero__sub { font-size: 17px; color: var(--text-2); max-width: 30em; }
.hero__cta { display: flex; gap: 12px; margin: 26px 0 18px; flex-wrap: wrap; }
.hero__note { font-size: 13px; color: var(--text-3); }
.hero__stats { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero__stat b { display: block; font-size: 24px; font-weight: 700; color: var(--brand-deep); }
.hero__stat span { font-size: 13px; color: var(--text-2); }

/* Hero 演示卡 */
.mock {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-l);
  padding: 20px;
  box-shadow: var(--shadow-3);
}
.mock__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.mock__bar i:first-child { background: #FF5F57; }
.mock__bar i:nth-child(2) { background: #FEBC2E; }
.mock__bar i:nth-child(3) { background: #28C840; }
.mock__field {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 10px 12px; font-size: 13px; color: var(--text-3);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.mock__btn {
  margin: 12px 0 14px; width: 100%; text-align: center;
  padding: 10px; border-radius: var(--radius-s);
  background: var(--grad-brand); color: #fff; font-weight: 600; font-size: 14px;
}
.mock__result {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--grad-soft); border: 1px dashed var(--brand);
  border-radius: var(--radius-s); padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--brand-deep);
}
.mock__qr {
  margin-top: 14px; display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px;
}
.mock__qr .qr-box { width: 76px; height: 76px; flex: 0 0 76px; }
.mock__qr .qr-txt { font-size: 12.5px; color: var(--text-2); }
.mock__qr .qr-txt b { display: block; color: var(--text-1); font-size: 14px; }

/* ---------- 6. 通用区块与卡片 ---------- */
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: 30px; }
.sec-head p { color: var(--text-2); max-width: 42em; margin: 8px auto 0; }
.sec-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--brand-deep); margin-bottom: 10px;
}

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-1);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0; transition: opacity .28s ease; pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(0,189,233,.35); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card__icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--grad-brand); box-shadow: 0 6px 16px rgba(0,189,233,.28);
}
.card__icon svg { width: 24px; height: 24px; color: #fff; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: rgba(0,189,233,.10); color: var(--brand-deep); font-weight: 600;
}

/* 分类小卡（四类短链） */
.type-card { text-align: left; }
.type-card .card__icon { margin-bottom: 12px; }
.type-card ul { margin: 12px 0 0; padding-left: 0; list-style: none; }
.type-card ul li {
  font-size: 13.5px; color: var(--text-2); padding-left: 18px; position: relative; margin-bottom: 4px;
}
.type-card ul li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand);
}

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.82); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.step__no {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 18px;
  box-shadow: 0 6px 16px rgba(0,189,233,.3); margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14.5px; margin: 0; }

/* CTA 通栏 */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-l); padding: 46px 32px; text-align: center;
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-3);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.18);
}
.cta-band::before { width: 280px; height: 280px; top: -120px; left: -60px; }
.cta-band::after  { width: 220px; height: 220px; bottom: -110px; right: -40px; }
.cta-band h2 { color: #fff; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 40em; margin: 6px auto 22px; }
.cta-band .btn--ghost { background: #fff; color: var(--brand-deep); border-color: #fff; }
.cta-band .btn--soft { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* FAQ 手风琴 */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  box-shadow: var(--shadow-1); transition: box-shadow .25s ease;
}
.faq__item.is-open { box-shadow: var(--shadow-2); border-color: rgba(0,189,233,.35); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 52px 18px 22px; font-size: 16px; font-weight: 600; color: var(--text-1);
  position: relative; font-family: inherit; line-height: 1.6;
}
.faq__q::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(225deg); }
.faq__a { display: none; padding: 0 22px 20px; color: var(--text-2); font-size: 14.5px; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__item.is-open .faq__a { display: block; animation: fadeUp .3s ease; }

/* 场景卡 */
.scene-card { display: flex; flex-direction: column; }
.scene-card .pain { font-size: 13.5px; color: var(--text-3); margin-bottom: 10px; }
.scene-card .fix { font-size: 14.5px; color: var(--text-2); }
.scene-card .card__foot { margin-top: auto; padding-top: 16px; }

/* ---------- 7. 资讯中心 ---------- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.85); border: 1px solid var(--line); color: var(--text-2);
  transition: all .22s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.chip.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(0,189,233,.28); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
  background: rgba(255,255,255,.88); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-1);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.news-card__cover {
  height: 132px; display: grid; place-items: center; position: relative;
  background: var(--grad-brand); color: #fff;
}
.news-card__cover svg { width: 40px; height: 40px; opacity: .95; }
.news-card__cover .cover-cat {
  position: absolute; left: 14px; top: 14px;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.9); color: var(--brand-deep);
}
.news-card__cover.c-guide { background: linear-gradient(135deg,#00BDE9,#0284C7); }
.news-card__cover.c-scene { background: linear-gradient(135deg,#7ED957,#16A34A); }
.news-card__cover.c-faq   { background: linear-gradient(135deg,#F59E0B,#EF4444); }
.news-card__cover.c-news  { background: linear-gradient(135deg,#667EEA,#764BA2); }
.news-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-card__body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.5; }
.news-card__body h3 a { color: var(--text-1); }
.news-card__body h3 a:hover { color: var(--brand-deep); }
.news-card__sum { font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.news-card__meta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 12px;
}
.badge-top {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px;
  background: linear-gradient(135deg,#667EEA,#764BA2); color: #fff; font-weight: 700; margin-right: 6px;
}

.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty svg { width: 64px; height: 64px; opacity: .5; margin-bottom: 14px; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pager__item {
  min-width: 38px; padding: 8px 12px; border-radius: 10px; text-align: center;
  background: #fff; border: 1px solid var(--line); color: var(--text-2); font-size: 14px;
  transition: all .2s ease;
}
.pager__item:hover { border-color: var(--brand); color: var(--brand-deep); }
.pager__item.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* 文章详情 */
.crumb { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.crumb a { color: var(--text-2); }
.article {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 40px; box-shadow: var(--shadow-2);
}
.article__head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; }
.article__head h1 { font-size: 30px; margin-bottom: 12px; }
.article__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.prose { font-size: 16px; line-height: 1.9; color: #374151; }
.prose h2 { margin-top: 1.6em; font-size: 22px; padding-left: 12px; border-left: 4px solid var(--brand); }
.prose h3 { margin-top: 1.3em; font-size: 18px; color: var(--brand-deep); }
.prose p { margin-bottom: 1.05em; }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.05em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--brand-2);
  background: var(--grad-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--text-2);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: var(--radius-s); margin: 1.2em 0; }
.prose code {
  background: #F3F4F6; padding: 2px 6px; border-radius: 4px; font-size: 14px;
  font-family: "SFMono-Regular", Consolas, monospace;
}
.prose pre {
  background: #1F2937; color: #E5E7EB; padding: 16px 18px; border-radius: var(--radius-s);
  overflow-x: auto; font-size: 13.5px; line-height: 1.7;
}
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-3); }
.prose a { color: var(--brand-dark); text-decoration: underline; }

.article__nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px;
}
.article__nav a {
  display: block; padding: 14px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 14px; color: var(--text-2);
}
.article__nav a:hover { border-color: var(--brand); color: var(--brand-deep); }
.article__nav .is-next { text-align: right; }
.article__nav .lbl { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }

.related { margin-top: 40px; }
.related h3 { font-size: 18px; margin-bottom: 16px; }
.related__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related__list a {
  padding: 16px 18px; border-radius: var(--radius); background: rgba(255,255,255,.85);
  border: 1px solid var(--line); font-size: 14.5px; color: var(--text-1); font-weight: 500;
  transition: all .22s ease;
}
.related__list a:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-1); }
.related__list a small { display: block; font-weight: 400; color: var(--text-3); font-size: 12.5px; margin-top: 6px; }

/* ---------- 8. 页脚 ---------- */
.footer {
  margin-top: 40px; padding: 48px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(232,252,255,.75));
  border-top: 1px solid var(--line);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; font-size: 14px; }
.footer li a { color: var(--text-2); }
.footer li a:hover { color: var(--brand-deep); }
.footer__brand p { font-size: 13.5px; color: var(--text-2); margin-top: 12px; }
.disclaimer {
  margin-top: 34px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  font-size: 13px; color: var(--text-2); line-height: 1.8;
}
.footer__bottom {
  margin-top: 20px; padding: 18px 0 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-3);
}
.footer__bottom a { color: var(--text-2); }

/* 移动端底部 CTA 条 */
.cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.cta-bar__inner { display: flex; gap: 10px; }
.cta-bar .btn { flex: 1; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 18px; bottom: 84px; z-index: 65;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.92); color: var(--brand-deep);
  display: none; place-items: center; cursor: pointer; box-shadow: var(--shadow-1);
}
.to-top.is-show { display: grid; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 9. 动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 10. 后台样式 ---------- */
.admin-body { background: var(--bg-2); }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 20px 60px; }
.admin-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0 20px; flex-wrap: wrap;
}
.admin-top h1 { font-size: 22px; margin: 0; }
.admin-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-1);
}
.login-box { max-width: 380px; margin: 8vh auto; }
.login-box h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.login-box .sub { text-align: center; color: var(--text-3); font-size: 13.5px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--text-1); }
.field input[type=text], .field input[type=password], .field input[type=number],
.field select, .field textarea {
  width: 100%; padding: 10px 12px; font-size: 14.5px; font-family: inherit;
  border: 1px solid var(--line-2); border-radius: var(--radius-s); background: #fff; color: var(--text-1);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,189,233,.15);
}
.field textarea { min-height: 300px; line-height: 1.8; }
.field .hint { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.alert {
  padding: 10px 14px; border-radius: var(--radius-s); font-size: 14px; margin-bottom: 16px;
  background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA;
}
.alert--ok { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { background: var(--bg-3); font-weight: 600; color: var(--text-2); font-size: 13px; }
.table tr:hover td { background: #FAFCFE; }
.table .ops a { margin-right: 10px; font-size: 13px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-actions input[type=text], .admin-actions select { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-s); font-size: 14px; }
.pill { font-size: 12px; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.pill--on  { background: #ECFDF5; color: #047857; }
.pill--off { background: #F3F4F6; color: #6B7280; }
.admin-foot { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 26px; }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .related__list { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 44px 0 28px; }
  .hero h1 { font-size: 32px; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
@media (max-width: 768px) {
  body { font-size: 15px; padding-bottom: 68px; }
  .nav, .header__actions { display: none; }
  .nav-toggle { display: block; }
  .header__actions.is-in-drawer { display: flex; }
  .container { padding: 0 16px; }
  .grid--4, .grid--2, .news-grid, .related__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .cta-bar { display: block; }
  .article { padding: 24px 18px; border-radius: var(--radius); }
  .article__head h1 { font-size: 24px; }
  .prose { font-size: 15.5px; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav .is-next { text-align: left; }
  .sec-head h2 { font-size: 24px; }
  .to-top { bottom: 92px; }
  .table { font-size: 13px; }
  .table th:nth-child(4), .table td:nth-child(4) { display: none; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 27px; }
  .hero__sub { font-size: 15.5px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cta-band { padding: 34px 20px; }
}

/* ---------- 12. 功能介绍页布局 ---------- */
.fc-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.fc-side { position: sticky; top: calc(var(--header-h) + 20px); }
.fc-nav {
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.fc-nav h4 { font-size: 14px; color: var(--text-3); margin-bottom: 10px; }
.fc-nav ul { list-style: none; padding: 0; margin: 0; }
.fc-nav li { margin-bottom: 4px; }
.fc-nav a {
  display: block; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; color: var(--text-2);
}
.fc-nav a:hover { background: var(--grad-soft); color: var(--brand-deep); }
.fc-block { margin-bottom: 20px; scroll-margin-top: 90px; }
.fc-block h3 { font-size: 20px; }
.fc-block__desc { color: var(--text-2); font-size: 15px; margin-bottom: 16px; }
.fc-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fc-point {
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 14px 16px;
}
.fc-point__t { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 4px; color: var(--brand-deep); }
.fc-point__d { display: block; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.card__foot { margin-top: 14px; }

@media (max-width: 1024px) {
  .fc-wrap { grid-template-columns: 1fr; }
  .fc-side { position: static; }
  .fc-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .fc-nav li { margin-bottom: 0; }
}
@media (max-width: 768px) {
  .fc-points { grid-template-columns: 1fr; }
}
