/* ============================================================
   AI 工具箱导航 · 主题样式
   新中式：水墨留白 · 低饱和暖灰 · 细描金 · 东方排版节奏
   ============================================================ */

:root {
  /* —— 色彩规范（严格使用给定色值） —— */
  --c-primary:   #419f51;   /* 主色 */
  --c-secondary: #b15985;   /* 辅助色 */
  --c-accent:    #3dc27b;   /* 强调色 / CTA */
  --c-bg:        #f8fbf9;   /* 页面背景 */
  --c-surface:   #ffffff;   /* 卡片 / 表面 */
  --c-text:      #1b2c1e;   /* 正文文字 */
  --c-text-sub:  #5c7a61;   /* 次要文字 */
  --c-line:      #dbe6dd;   /* 描边 */

  /* —— 水彩晕染（由给定色值以低透明度派生） —— */
  --c-primary-wash:   #edf6ee;
  --c-secondary-wash: #f8eff3;
  --c-accent-wash:    #e9f8f0;

  /* —— 描金（细金线点缀） —— */
  --c-gold:      #c3a566;
  --c-gold-soft: rgba(195, 165, 102, .30);

  /* —— 字体 —— */
  --font-serif: 'Noto Serif SC', 'Songti SC', Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;

  /* —— 圆角与阴影 —— */
  --radius: 4px;
  --shadow-card: 0 1px 2px rgba(27, 44, 30, .04), 0 10px 26px -14px rgba(27, 44, 30, .12);
  --shadow-lift: 0 2px 4px rgba(27, 44, 30, .06), 0 20px 40px -18px rgba(27, 44, 30, .20);

  --maxw: 1180px;
}

/* ============ 基础 ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; font-family: var(--font-serif); }
p { margin: 0; }
a { color: var(--c-primary); }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

::selection { background: rgba(65, 159, 81, .18); }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

/* 纸张纹理：淡淡的九宫格与晕染色，营造水墨纸面 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 520px at 86% -8%, rgba(65, 159, 81, .05), transparent 60%),
    radial-gradient(820px 460px at -8% 26%, rgba(177, 89, 133, .035), transparent 55%),
    repeating-linear-gradient(0deg, rgba(27, 44, 30, .014) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(27, 44, 30, .014) 0 1px, transparent 1px 72px);
}
.site-header, .site-footer, main, .cta-band, .page-hero { position: relative; z-index: 1; }

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

.section { padding: 78px 0; }
.section--band {
  background: linear-gradient(180deg, var(--c-bg), var(--c-primary-wash) 50%, var(--c-bg));
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

/* ============ 通用组件 ============ */

/* 区块标题 */
.sec-head { position: relative; margin-bottom: 34px; padding-left: 18px; }
.sec-head::before {
  content: "";
  position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--c-gold), rgba(195, 165, 102, .08));
}
.sec-head__title { font-size: 30px; letter-spacing: .1em; color: var(--c-text); }
.sec-head__sub { margin-top: 8px; font-size: 12px; letter-spacing: .28em; color: var(--c-text-sub); }
.sec-head__link {
  position: absolute; right: 0; top: 6px;
  font-size: 13px; color: var(--c-text-sub);
  text-decoration: none; letter-spacing: .12em; font-family: var(--font-serif);
}
.sec-head__link:hover { color: var(--c-primary); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; font-size: 14px; letter-spacing: .08em;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; line-height: 1.4;
  transition: all .25s ease; white-space: nowrap;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { filter: brightness(1.06); box-shadow: 0 8px 18px -10px rgba(65, 159, 81, .65); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-primary); background: var(--c-primary-wash); }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-primary-wash); }
.btn--lg { padding: 12px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* 筛选胶囊 */
.pill {
  font-size: 13px; padding: 6px 13px;
  border: 1px solid var(--c-line); background: var(--c-bg);
  color: var(--c-text-sub); border-radius: 2px; cursor: pointer;
  transition: all .22s ease; letter-spacing: .04em;
}
.pill:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pill.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* 价格标签 */
.price-tag { font-size: 12px; letter-spacing: .06em; padding: 2px 9px; border-radius: 2px; white-space: nowrap; }
.price-tag.free     { color: #2a9c56; background: var(--c-accent-wash); }
.price-tag.freemium { color: var(--c-primary); background: var(--c-primary-wash); }
.price-tag.paid     { color: var(--c-secondary); background: var(--c-secondary-wash); }
.price-tag.open     { color: #6d6a5c; background: #f1efe9; }

/* 分类色（严格取自三色） */
[data-cat="text"]   { --cat: #419f51; }
[data-cat="image"]  { --cat: #b15985; }
[data-cat="audio"]  { --cat: #3dc27b; }
[data-cat="video"]  { --cat: #419f51; }
[data-cat="code"]   { --cat: #b15985; }
[data-cat="office"] { --cat: #3dc27b; }
[data-cat="data"]   { --cat: #419f51; }
[data-cat="agent"]  { --cat: #b15985; }

/* ============ 头部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 251, 249, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.site-header::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold) 55%, transparent);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-text); }
.brand__seal {
  width: 38px; height: 38px; flex: none; border-radius: var(--radius);
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 4px 10px -6px rgba(65, 159, 81, .5);
}
.brand__text { font-family: var(--font-serif); font-size: 19px; letter-spacing: .14em; font-weight: 700; }
.brand__text em { font-style: normal; color: var(--c-primary); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  position: relative; font-size: 14.5px; letter-spacing: .12em;
  color: var(--c-text); text-decoration: none; font-family: var(--font-serif);
  transition: color .2s; padding: 4px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--c-primary);
  transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--c-primary); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { background: var(--c-primary); color: #fff !important; padding: 7px 16px !important; border-radius: var(--radius); }
.nav-cta::after { display: none; }
.nav-cta:hover { filter: brightness(1.06); }

.nav-toggle { display: none; }

/* ============ 首页 Hero ============ */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--c-line);
  background: linear-gradient(180deg, #fcfdfb, var(--c-bg));
}
.hero-in {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center;
  max-width: var(--maxw); margin: 0 auto;
  padding: 84px 24px 96px;
}
.hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 13.5px; letter-spacing: .26em; color: var(--c-text-sub); font-family: var(--font-serif); }
.kicker-line { width: 36px; height: 1px; background: var(--c-gold); display: inline-block; }
.hero-title {
  margin-top: 22px;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.32; letter-spacing: .05em;
  color: var(--c-text);
}
.hero-title span { color: var(--c-primary); position: relative; white-space: nowrap; }
.hero-title span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; z-index: -1;
  background: rgba(195, 165, 102, .28);
}
.hero-sub { margin-top: 22px; max-width: 560px; font-size: 15.5px; line-height: 2; color: var(--c-text-sub); letter-spacing: .04em; }
.hero-search { margin-top: 30px; }

.hero-search form {
  display: flex; align-items: stretch; max-width: 540px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 5px; box-shadow: var(--shadow-card);
  transition: border-color .25s, box-shadow .25s;
}
.hero-search form:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(65, 159, 81, .12), var(--shadow-card); }
.hero-search__mark {
  width: 36px; flex: none; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 18px; color: var(--c-primary);
  border-right: 1px solid var(--c-line);
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  padding: 10px 14px; font-size: 15px; color: var(--c-text); font-family: var(--font-sans);
}
.hero-search input::placeholder { color: #9db2a0; }
.hero-search button { flex: none; margin-left: 4px; }

.hero-stats { display: flex; gap: 0; margin-top: 36px; flex-wrap: wrap; }
.hero-stats div { padding: 0 26px; border-left: 1px solid var(--c-line); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats b { display: block; font-family: var(--font-serif); font-size: 30px; line-height: 1.15; color: var(--c-text); }
.hero-stats span { font-size: 12.5px; color: var(--c-text-sub); letter-spacing: .16em; }

.hero-art { position: relative; min-height: 380px; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-verse {
  position: absolute; right: 4px; top: 16px;
  writing-mode: vertical-rl;
  font-family: var(--font-serif); font-size: 13px; line-height: 2.2;
  letter-spacing: .5em; color: var(--c-text-sub);
}
.hero-verse::before {
  content: ""; position: absolute; top: -10px; bottom: -10px; left: -18px; width: 1px;
  background: var(--c-gold-soft);
}
.hero-stamp {
  position: absolute; left: 36px; bottom: 34px;
  width: 66px; height: 66px; display: grid; place-items: center;
  background: var(--c-primary); color: #fff;
  font-family: var(--font-serif); font-size: 21px; letter-spacing: .12em;
  border-radius: var(--radius); transform: rotate(-7deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 12px 24px -12px rgba(65, 159, 81, .6);
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid var(--c-line); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll span { width: 2px; height: 8px; background: var(--c-primary); border-radius: 2px; animation: floaty 1.6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(7px); opacity: .35; } }

/* ============ 分类卡片 ============ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 22px 18px; text-decoration: none; color: var(--c-text); overflow: hidden;
  transition: transform .32s cubic-bezier(.2,.7,.3,1), box-shadow .32s, border-color .32s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #c9dcc9; }
.cat-card__seal {
  width: 46px; height: 46px; flex: none; border-radius: var(--radius);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 22px; color: #fff;
  background: var(--cat, var(--c-primary));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.cat-card__body h3 { font-size: 17px; letter-spacing: .08em; }
.cat-card__body p { margin-top: 6px; font-size: 13px; color: var(--c-text-sub); line-height: 1.65; }
.cat-card__count {
  display: inline-block; margin-top: 11px; font-size: 12px; letter-spacing: .1em;
  color: var(--c-primary); border: 1px solid var(--c-line); border-radius: 2px; padding: 2px 9px;
}
.cat-card__arrow { position: absolute; right: 16px; bottom: 14px; font-size: 15px; color: var(--c-line); transition: all .3s; }
.cat-card:hover .cat-card__arrow { color: var(--c-primary); transform: translateX(3px); }

/* ============ 工具卡片 ============ */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.tool-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 22px 22px 20px; box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform .34s cubic-bezier(.2,.7,.3,1), box-shadow .34s, border-color .34s;
}
.tool-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--cat, var(--c-primary)), transparent 72%);
  opacity: 0; transition: opacity .34s;
}
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: #c6dac9; }
.tool-card:hover::before { opacity: 1; }

.tool-card__head { display: flex; align-items: center; gap: 13px; }
.tool-card__seal {
  width: 44px; height: 44px; flex: none; border-radius: var(--radius);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 22px; color: #fff;
  background: var(--cat, var(--c-primary));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.tool-card__title { flex: 1; min-width: 0; }
.tool-card__title h3 { font-size: 18px; letter-spacing: .05em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-card__title h3 a { color: var(--c-text); text-decoration: none; }
.tool-card__title h3 a:hover { color: var(--c-primary); }
.tool-card__brand { display: block; margin-top: 3px; font-size: 12px; color: var(--c-text-sub); letter-spacing: .1em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fav-btn {
  flex: none; width: 30px; height: 30px; line-height: 1;
  border: 1px solid var(--c-line); background: transparent; border-radius: 50%;
  color: var(--c-text-sub); font-size: 14px; cursor: pointer;
  transition: all .25s ease;
}
.fav-btn:hover { color: var(--c-secondary); border-color: var(--c-secondary); transform: scale(1.08); }
.fav-btn.on { color: #fff; background: var(--c-secondary); border-color: var(--c-secondary); animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.28); } }

.tool-card__intro {
  margin-top: 13px; min-height: 50px;
  font-size: 13.5px; line-height: 1.85; color: var(--c-text-sub);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tool-card__tags { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 6px; }
.tool-card__tags span {
  font-size: 12px; color: var(--c-text-sub);
  border: 1px solid var(--c-line); background: var(--c-bg);
  border-radius: 2px; padding: 2px 8px; letter-spacing: .04em;
}
.tool-card__foot {
  margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--c-line);
  display: flex; align-items: center; gap: 10px;
}
.tool-card__rate { margin-left: auto; color: var(--c-gold); font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.tool-card__rate b { color: var(--c-text); font-family: var(--font-serif); font-weight: 600; margin-left: 4px; }
.tool-card__hot { font-size: 12px; color: var(--c-text-sub); white-space: nowrap; }
.tool-card__actions { margin-top: 16px; display: flex; gap: 8px; }
.tool-card__actions .btn { flex: 1; padding: 8px 10px; }

/* ============ 热门榜单 ============ */
.hot-list { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 4px 22px; }
.hot-item {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 2px; border-bottom: 1px dashed var(--c-line);
  transition: background .25s;
}
.hot-item:last-child { border-bottom: 0; }
.hot-item:hover { background: var(--c-primary-wash); margin: 0 -12px; padding-left: 14px; padding-right: 14px; }
.hot-item__rank {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 15px;
  color: var(--c-text-sub); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.hot-item__rank.r1 { color: #fff; background: var(--c-gold); border-color: var(--c-gold); box-shadow: 0 4px 10px -6px rgba(195, 165, 102, .8); }
.hot-item__rank.r2 { color: #fff; background: var(--c-primary); border-color: var(--c-primary); }
.hot-item__rank.r3 { color: #fff; background: var(--c-secondary); border-color: var(--c-secondary); }
.hot-item__info { flex: 1; min-width: 0; }
.hot-item__info h3 { font-size: 16.5px; letter-spacing: .05em; }
.hot-item__info h3 a { color: var(--c-text); text-decoration: none; }
.hot-item__info h3 a:hover { color: var(--c-primary); }
.hot-item__info p { margin-top: 2px; font-size: 12px; color: var(--c-text-sub); letter-spacing: .08em; }
.hot-item__score { text-align: right; font-size: 12px; color: var(--c-text-sub); white-space: nowrap; letter-spacing: .06em; }
.hot-item__score b { display: block; font-family: var(--font-serif); font-size: 20px; color: var(--c-text); }
.hot-item__go {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  color: var(--c-text-sub); border: 1px solid var(--c-line); border-radius: 50%;
  text-decoration: none; transition: all .25s;
}
.hot-item:hover .hot-item__go { color: #fff; background: var(--c-primary); border-color: var(--c-primary); transform: translateX(2px); }

/* ============ 内页 Hero ============ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 66px 0 54px;
  border-bottom: 1px solid var(--c-line);
  background: linear-gradient(180deg, var(--c-primary-wash), var(--c-bg) 120%);
}
.page-hero::before {
  content: "器";
  position: absolute; right: -24px; top: -46px;
  font-family: var(--font-serif); font-size: 210px; line-height: 1;
  color: rgba(65, 159, 81, .05); pointer-events: none;
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--c-text-sub); letter-spacing: .05em; margin-bottom: 18px; }
.crumbs a { color: var(--c-text-sub); text-decoration: none; }
.crumbs a:hover { color: var(--c-primary); }
.crumbs span { opacity: .5; }
.page-hero h1 { font-size: 40px; letter-spacing: .12em; color: var(--c-text); }
.page-hero .page-sub { margin-top: 10px; color: var(--c-text-sub); letter-spacing: .08em; }

/* ============ 筛选栏（工具大全） ============ */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: flex-end;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-card);
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { font-size: 12px; color: var(--c-text-sub); letter-spacing: .24em; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-group--sort { margin-left: auto; }
.cat-search {
  display: flex; align-items: center; width: 220px;
  border: 1px solid var(--c-line); background: var(--c-bg); border-radius: var(--radius);
  padding: 0 12px; transition: border-color .25s;
}
.cat-search:focus-within { border-color: var(--c-primary); }
.cat-search::before { content: "寻"; font-family: var(--font-serif); color: var(--c-primary); margin-right: 8px; font-size: 13px; }
.cat-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 9px 0; font-size: 14px; color: var(--c-text); font-family: var(--font-sans); }
.cat-search input::placeholder { color: #9db2a0; }

.result-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 16px; font-size: 13px; color: var(--c-text-sub); letter-spacing: .05em; }
.result-meta__right { display: flex; gap: 8px; }
.fav-toggle, .clear-btn {
  border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text-sub);
  font-size: 12.5px; padding: 6px 13px; border-radius: 2px; cursor: pointer;
  transition: all .22s; letter-spacing: .06em;
}
.fav-toggle:hover, .clear-btn:hover { border-color: var(--c-secondary); color: var(--c-secondary); }
.fav-toggle.on { color: #fff; background: var(--c-secondary); border-color: var(--c-secondary); }

.empty { text-align: center; padding: 72px 20px; border: 1px dashed var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.empty__seal {
  width: 54px; height: 54px; margin: 0 auto 18px; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 22px; color: var(--c-text-sub);
  border: 1px solid var(--c-line); border-radius: var(--radius);
}
.empty p { color: var(--c-text-sub); margin-bottom: 20px; letter-spacing: .06em; }

/* ============ 详情页 ============ */
.detail-head { display: flex; gap: 26px; align-items: flex-start; }
.detail-head__seal {
  width: 92px; height: 92px; flex: none; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 46px; color: #fff;
  background: var(--c-primary); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 14px 28px -14px rgba(65, 159, 81, .6);
}
.detail-head__info { flex: 1; min-width: 0; }
.detail-head__info h1 { font-size: 34px; letter-spacing: .08em; }
.detail-head__brand { margin-top: 7px; font-size: 13px; color: var(--c-text-sub); letter-spacing: .16em; }
.detail-head__intro { margin-top: 15px; max-width: 760px; font-size: 15px; line-height: 2; color: var(--c-text-sub); }
.detail-head__meta { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.detail-head__meta .tool-card__rate { margin-left: 0; }
.detail-head__actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }

.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; padding-top: 40px; }
.detail-block { padding: 26px 0; border-bottom: 1px dashed var(--c-line); }
.detail-block:first-child { padding-top: 0; }
.detail-block__title { font-size: 20px; letter-spacing: .12em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.detail-block__title::before { content: ""; width: 20px; height: 1px; background: var(--c-gold); display: inline-block; }
.detail-block__text { line-height: 2.1; font-size: 15px; color: var(--c-text); }
.detail-block__scene { color: var(--c-text-sub); }

.detail-feats { list-style: none; display: grid; gap: 11px; }
.detail-feats li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px; background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: var(--radius); font-size: 14.5px; line-height: 1.75; color: var(--c-text);
}
.detail-feats li i {
  flex: none; width: 21px; height: 21px; margin-top: 3px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-style: normal; font-size: 11px;
  display: grid; place-items: center;
}

.aside-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-card);
  position: sticky; top: 92px;
}
.aside-card__title { font-size: 16px; letter-spacing: .14em; padding-bottom: 13px; border-bottom: 1px solid var(--c-line); margin-bottom: 14px; }
.aside-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--c-line); font-size: 13.5px; }
.aside-list div:last-child { border-bottom: 0; }
.aside-list dt { color: var(--c-text-sub); letter-spacing: .08em; }
.aside-list dd { margin: 0; text-align: right; color: var(--c-text); }
.aside-list a { color: var(--c-primary); text-decoration: none; }
.aside-list a:hover { text-decoration: underline; }
.aside-card .btn { margin-top: 18px; }

/* ============ CTA 横幅 ============ */
.cta-band {
  position: relative; margin-top: 30px; overflow: hidden;
  background: var(--c-text); color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 200' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0 148 L150 62 L250 132 L380 52 L520 158 L640 82 L760 150 L900 92 V200 H0 Z' fill='white' fill-opacity='0.07'/%3E%3Cpath d='M0 200 L210 132 L370 182 L520 122 L700 192 L900 142 V200 Z' fill='white' fill-opacity='0.05'/%3E%3C/svg%3E") right bottom / cover no-repeat;
  opacity: .9;
}
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--c-gold), transparent 65%); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 58px 0; }
.cta-in h2 { font-size: 28px; letter-spacing: .12em; line-height: 1.6; }
.cta-in p { margin-top: 10px; font-size: 14px; letter-spacing: .06em; color: rgba(255, 255, 255, .72); }
.cta-in .btn { font-size: 15px; padding: 13px 28px; }

/* ============ 页脚 ============ */
.site-footer {
  position: relative; background: #f0f4f0; border-top: 1px solid var(--c-line); margin-top: 60px;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--c-gold), var(--c-line) 32%, transparent); }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; padding: 48px 0 36px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.brand__seal--sm { width: 40px; height: 40px; font-size: 15px; }
.footer-name { font-family: var(--font-serif); font-size: 17px; letter-spacing: .12em; color: var(--c-text); }
.footer-slogan { margin-top: 7px; font-size: 12.5px; color: var(--c-text-sub); letter-spacing: .14em; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links h4 { font-size: 14px; letter-spacing: .18em; color: var(--c-text); margin-bottom: 4px; }
.footer-links a { font-size: 13px; color: var(--c-text-sub); text-decoration: none; letter-spacing: .08em; }
.footer-links a:hover { color: var(--c-primary); }
.footer-note p { font-size: 12.5px; color: var(--c-text-sub); line-height: 2.1; letter-spacing: .05em; }
.footer-bar { border-top: 1px solid var(--c-line); padding: 16px 0; text-align: center; font-size: 12px; letter-spacing: .14em; color: var(--c-text-sub); }

/* ============ 关于页 ============ */
.about-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 44px; align-items: start; }
.about-mission p { line-height: 2.2; font-size: 15.5px; color: var(--c-text); }
.about-mission p::first-letter {
  float: left; font-family: var(--font-serif); font-size: 3.4em; line-height: 1;
  color: var(--c-primary); padding: 8px 14px 0 0;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-stats div { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.about-stats b { display: block; font-family: var(--font-serif); font-size: 32px; color: var(--c-primary); line-height: 1.2; }
.about-stats span { font-size: 12px; color: var(--c-text-sub); letter-spacing: .18em; }

.timeline { position: relative; padding-left: 28px; display: grid; gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--c-line); }
.timeline li { position: relative; list-style: none; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 4px var(--c-bg); }
.timeline time { font-size: 12px; color: var(--c-text-sub); letter-spacing: .14em; }
.timeline h3 { font-size: 16px; margin-top: 4px; letter-spacing: .08em; }
.timeline p { margin-top: 7px; font-size: 13.5px; color: var(--c-text-sub); line-height: 2; }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 2px 22px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif); font-size: 15.5px; letter-spacing: .06em;
  padding: 16px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "问"; flex: none; width: 22px; height: 22px; border-radius: 2px;
  background: var(--c-primary); color: #fff; font-size: 12px;
  display: grid; place-items: center;
}
.faq summary::after { content: "＋"; margin-left: auto; color: var(--c-text-sub); font-size: 15px; }
.faq details[open] summary::after { content: "—"; color: var(--c-gold); }
.faq details p { margin: 0 0 18px; padding-left: 34px; color: var(--c-text-sub); line-height: 2; font-size: 14px; }

.contact-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-card); text-align: center;
}
.contact-card__seal {
  width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--c-primary); color: #fff; border-radius: var(--radius);
  font-family: var(--font-serif); font-size: 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.contact-card h3 { font-size: 19px; letter-spacing: .12em; }
.contact-card p { margin-top: 10px; color: var(--c-text-sub); font-size: 14px; line-height: 1.9; }
.contact-card .btn { margin-top: 20px; }

/* ============ 轻提示 / 返回顶部 ============ */
#toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 99;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 11px 20px;
  font-size: 14px; color: var(--c-text); letter-spacing: .06em;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.3,1);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast__seal { width: 22px; height: 22px; flex: none; border-radius: 2px; background: var(--c-primary); color: #fff; font-size: 11px; display: grid; place-items: center; font-family: var(--font-serif); }

#backTop {
  position: fixed; right: 24px; bottom: 30px; z-index: 50;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-surface); color: var(--c-primary);
  box-shadow: var(--shadow-card); cursor: pointer; font-size: 18px; font-family: var(--font-serif);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .32s ease;
}
#backTop.show { opacity: 1; visibility: visible; transform: none; }
#backTop:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ============ 滚动显现 ============ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; padding: 60px 24px 76px; }
  .hero-art { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--c-line); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--c-text); transition: all .3s; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
    width: min(78vw, 320px); flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--c-surface); border-left: 1px solid var(--c-line);
    padding: 88px 36px 34px; box-shadow: var(--shadow-lift);
    transform: translateX(100%); transition: transform .36s cubic-bezier(.2,.7,.3,1);
  }
  .site-nav.open { transform: none; }
  .site-nav a { font-size: 17px; padding: 12px 0; }
  .site-nav a::after { bottom: 6px; }
  .nav-cta { align-self: flex-start; margin-top: 14px; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 80; background: rgba(27, 44, 30, .3); }
}
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .sec-head__title { font-size: 25px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { padding: 16px; }
  .filter-group--sort { margin-left: 0; }
  .cat-search { width: 100%; }
  .hero-title span { white-space: normal; }
}
@media (max-width: 560px) {
  .tool-grid { grid-template-columns: 1fr; }
  .hero-stats div { padding: 0 16px; }
  .hero-stats b { font-size: 24px; }
  .page-hero { padding: 48px 0 42px; }
  .page-hero h1 { font-size: 30px; }
  .detail-head { flex-direction: column; gap: 18px; }
  .detail-head__seal { width: 68px; height: 68px; font-size: 34px; }
  .footer-in { grid-template-columns: 1fr; gap: 26px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
