/* ============================================================
   AI 搞钱工具箱 · 站点样式 v1.0
   视觉体系：青绿主色 + 暖橙强调，浅色简洁卡片风
   ============================================================ */
:root {
  --bg: #f6f8f9;
  --card: #ffffff;
  --ink: #1c2b33;
  --muted: #5f7280;
  --brand: #0f766e;
  --brand-dark: #0b5a54;
  --brand-soft: #e6f4f2;
  --accent: #ea580c;
  --accent-soft: #fef0e6;
  --danger: #dc2626;
  --line: #e4eaec;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(16, 42, 51, 0.06), 0 4px 14px rgba(16, 42, 51, 0.05);
  --shadow-hover: 0 4px 10px rgba(16, 42, 51, 0.08), 0 10px 28px rgba(16, 42, 51, 0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 18px; height: 58px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 17px; color: var(--ink);
  letter-spacing: 0.5px; white-space: nowrap;
}
.logo .logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #14919b);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a {
  padding: 6px 12px; border-radius: 8px; color: var(--muted);
  font-size: 14px; white-space: nowrap;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav a.nav-cta {
  background: var(--brand); color: #fff; font-weight: 600;
}
.nav a.nav-cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; }

/* ---------- 分类下拉（参考鲸鱼） ---------- */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-block; }
.nav-drop .caret { font-size: 10px; opacity: .55; margin-left: 2px; }
.drop-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 190px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 10px 28px rgba(16,42,51,.14);
  padding: 6px; z-index: 130;
}
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; }
.drop-menu a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.hot-chip { background: #fde8e8; color: #b91c1c; font-size: 11px; padding: 2px 8px; border-radius: 99px; font-weight: 600; margin-left: 6px; vertical-align: middle; }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 30px; text-align: center; }
.hero h1 { font-size: 30px; font-weight: 800; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.hero-stats {
  display: flex; justify-content: center; gap: 34px; margin-top: 22px; flex-wrap: wrap;
}
.hero-stats .stat b { font-size: 24px; color: var(--brand); font-weight: 800; }
.hero-stats .stat span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- 区块 ---------- */
.section { padding: 26px 0; }
.section-head {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px;
}
.section-head h2, .section-head h1 { font-size: 20px; font-weight: 800; }
.section-head .sub { color: var(--muted); font-size: 13px; }
.section-head .more { margin-left: auto; font-size: 13px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.card .card-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 12px;
}
.card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.card .card-meta { margin-top: 12px; font-size: 12px; color: #8ba1ad; display: flex; gap: 10px; flex-wrap: wrap; }

.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
}
.badge-hot { background: var(--accent-soft); color: var(--accent); }
.badge-new { background: #e8f5ee; color: #15803d; }
.badge-free { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------- 分类磁贴 ---------- */
.cat-tile {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow); color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.cat-tile .cat-icon { font-size: 24px; }
.cat-tile b { font-size: 14px; display: block; }
.cat-tile span { font-size: 12px; color: var(--muted); }

/* ---------- 工具页通用 ---------- */
.tool-page { max-width: 760px; margin: 0 auto; padding: 34px 20px 60px; }
.tool-page .tool-head { text-align: center; margin-bottom: 26px; }
.tool-page .tool-head .tool-emoji { font-size: 40px; }
.tool-page .tool-head h1 { font-size: 24px; font-weight: 800; margin-top: 8px; }
.tool-page .tool-head p { color: var(--muted); margin-top: 6px; font-size: 14px; }

.panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.panel h2 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.panel .hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

label.opt {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 10px;
  cursor: pointer; transition: border-color 0.12s, background 0.12s;
}
label.opt:hover { border-color: var(--brand); }
label.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
label.opt input { margin-top: 4px; accent-color: var(--brand); }
label.opt b { font-size: 14px; display: block; }
label.opt span { font-size: 12.5px; color: var(--muted); }

.btn {
  display: inline-block; border: none; cursor: pointer;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 26px; border-radius: 10px; transition: background 0.15s;
  font-family: inherit;
}
.btn:hover { background: var(--brand-dark); }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent; color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand-soft); }

.result {
  border-radius: 12px; padding: 18px; margin-top: 16px; font-size: 14px;
  border: 1.5px solid var(--line); background: #fbfcfd;
}
.result.ok { border-color: #15803d; background: #f2faf5; }
.result.warn { border-color: var(--accent); background: #fff8f2; }
.result.bad { border-color: var(--danger); background: #fdf3f3; }
.result h3 { font-size: 16px; margin-bottom: 8px; }

table.cmp { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13.5px; }
table.cmp th, table.cmp td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
table.cmp th { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
table.cmp .row-best td { background: #f2faf5; font-weight: 700; color: #15803d; }

input[type="text"], input[type="password"], input[type="number"], select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--ink);
}
input:focus, select:focus { outline: none; border-color: var(--brand); }

.strength-bar { height: 8px; border-radius: 99px; background: var(--line); margin-top: 10px; overflow: hidden; }
.strength-bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 0.25s, background 0.25s; }

/* ---------- 页脚 ---------- */
footer { margin-top: 40px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 26px 20px;
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--muted);
}
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--brand); }
.footer-note { width: 100%; font-size: 12px; color: #93a7b1; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 24px; }
}
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 58px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 16px; gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
  .nav-toggle {
    display: flex; margin-left: auto; background: none; border: none;
    font-size: 22px; cursor: pointer; color: var(--ink); padding: 4px 8px;
  }
  /* 汉堡展开后，分类下拉改为静态分组列表 */
  .nav-drop { width: 100%; }
  .drop-menu {
    display: block; position: static; min-width: 0;
    border: none; box-shadow: none; background: transparent;
    padding: 0 0 4px 14px;
  }
}

@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 30px 0 20px; }
  .hero-stats { gap: 20px; }
}

/* ============================================================
   资源库（自动生成页专用） v1.0
   ============================================================ */
.crumb { font-size: 13px; color: var(--muted); margin: 22px 0 16px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 6px; opacity: .5; }

.res-head { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; margin-bottom: 18px; }
.res-head h1 { font-size: 24px; line-height: 1.4; margin-bottom: 8px; }
.res-tagline { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.res-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 11px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); }
.chip.alt { background: var(--accent-soft); color: var(--accent); }
.chip.plain { background: #f1f4f5; color: var(--muted); }

.res-body { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 28px 26px; margin-bottom: 18px; }
.res-body h2 { font-size: 17px; margin: 24px 0 10px; padding-left: 10px; border-left: 3px solid var(--brand); }
.res-body p { color: #33454f; font-size: 14.5px; margin-bottom: 10px; }
.res-body ul { margin: 6px 0 10px 20px; }
.res-body li { font-size: 14.5px; color: #33454f; margin-bottom: 6px; }
.res-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.res-note { background: var(--accent-soft); color: #9a3412; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-top: 12px; }

.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rel-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; }
.rel-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); }
.rel-card b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.rel-card span { font-size: 12.5px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: 99px; padding: 6px 15px; font-size: 13px; font-weight: 600; cursor: pointer; }
.filters button.on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.res-list-item { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; margin-bottom: 10px; }
.res-list-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.res-list-item .ico { font-size: 22px; line-height: 1.2; }
.res-list-item h3 { font-size: 15.5px; margin-bottom: 3px; }
.res-list-item h3 a { color: var(--ink); }
.res-list-item p { font-size: 13px; color: var(--muted); margin: 0; }

/* ============================================================
   商城 · 商品页 · 转化位 v1.0
   ============================================================ */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }

/* 商城页 */
.shop-intro { background: var(--brand-soft); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; font-size: 14px; color: #24413f; }
.shop-intro b { color: var(--brand-dark); }

.goods-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.goods-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); }
.goods-card .badge { position: absolute; top: 14px; right: 16px; }
.gc-role { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .5px; margin-bottom: 6px; }
.goods-card h3 { font-size: 17px; margin-bottom: 8px; padding-right: 60px; }
.goods-card h3 a { color: var(--ink); }
.goods-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; flex: 1; }
.gc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.gc-price { font-size: 22px; font-weight: 800; color: var(--accent); }

.bundle { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--accent-soft); border: 1px solid #fbd9bd; border-radius: var(--radius); padding: 18px 22px; }
.bundle h3 { font-size: 17px; margin-bottom: 4px; }
.bundle h3 .gc-price { font-size: 20px; }
.bundle p { font-size: 13.5px; color: #8a4a1c; }
.bundle s { font-size: 14px; color: #b98055; font-weight: 400; }

/* 商城 · 四大业务板块 */
.biz-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; }
.biz-nav a {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: #33454f; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 7px 14px; transition: border-color .15s, color .15s, background .15s;
}
.biz-nav a b { font-size: 11px; color: var(--brand); letter-spacing: .5px; }
.biz-nav a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }

.biz-sec { margin-bottom: 38px; scroll-margin-top: 76px; }
.biz-head { display: flex; align-items: flex-start; gap: 13px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.biz-no { flex-shrink: 0; font-size: 13px; font-weight: 800; color: var(--brand); background: var(--brand-soft); border-radius: 9px; padding: 4px 10px; letter-spacing: 1px; line-height: 1.5; }
.biz-title { flex: 1; min-width: 220px; }
.biz-head h2 { font-size: 20px; line-height: 1.4; }
.biz-desc { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-top: 6px; max-width: 700px; }
.biz-tag { flex-shrink: 0; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 20px; white-space: nowrap; }
.biz-tag.live { background: #e7f5ef; color: #0f766e; border: 1px solid #bde3d7; }
.biz-tag.soon { background: #fff6e5; color: #a15c00; border: 1px solid #f3ddb3; }
.biz-tag.manual { background: #eef2ff; color: #4338ca; border: 1px solid #cfd6fb; }
.biz-sub-h { font-size: 15px; margin: 22px 0 12px; }
.biz-foot { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-top: 12px; }

/* 订阅板块占位 */
.biz-soon { border: 1px dashed #d5e3e1; background: #fafdfc; border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.soon-icon { font-size: 26px; margin-bottom: 8px; }
.biz-soon h3 { font-size: 16px; margin-bottom: 8px; }
.biz-soon > p { font-size: 13.5px; color: var(--muted); line-height: 1.7; max-width: 560px; margin: 0 auto; }
.soon-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0 18px; }
.soon-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.soon-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* 技术服务卡 */
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.svc-card.feature { border-color: var(--brand); box-shadow: 0 10px 26px rgba(15,118,110,.10); }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.svc-no { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: 1px; }
.svc-badge { font-size: 11.5px; font-weight: 600; color: #0f766e; background: var(--brand-soft); border-radius: 20px; padding: 2px 9px; }
.svc-card h3 { font-size: 17px; margin-bottom: 8px; }
.svc-price { font-size: 25px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.svc-price small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.svc-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 8px 0 12px; }
.svc-anchor { font-size: 12.5px; color: #0f766e; background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: 0 6px 6px 0; padding: 8px 10px; line-height: 1.6; margin: 0 0 12px; }
.svc-list { list-style: none; margin: 0 0 14px; padding: 0; }
.svc-list li { position: relative; padding-left: 18px; font-size: 13.5px; color: #33454f; line-height: 1.6; margin-bottom: 7px; }
.svc-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.svc-who { font-size: 12.5px; color: var(--muted); line-height: 1.65; border-top: 1px dashed var(--line); padding-top: 11px; }
.svc-who b { color: #33454f; }
.svc-note { font-size: 11.5px; color: #8a6a2f; background: #fffaf0; border-radius: 8px; padding: 8px 10px; margin-top: 9px; line-height: 1.6; }
.svc-brief { margin: 0 0 12px; padding: 11px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.svc-row { display: grid; grid-template-columns: 56px 1fr; gap: 9px; font-size: 12.5px; line-height: 1.6; }
.svc-row .k { color: var(--muted); font-weight: 600; }
.svc-row .v { color: #33454f; }
.svc-limit { font-size: 11.5px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-top: 10px; line-height: 1.65; }
.svc-limit b { color: var(--brand); }
.svc-limit .svc-sub { display: block; margin-top: 5px; padding-top: 5px; border-top: 1px dashed var(--line); color: #8a6a2f; }
@media (max-width: 480px) { .svc-row { grid-template-columns: 62px 1fr; font-size: 12px; } }
.svc-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }

/* 合伙人分级 */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.tier.mid { border-color: #bfe0da; }
.tier.top { border-color: var(--brand); background: var(--brand-soft); }
.tier-flag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 20px; padding: 2px 10px; white-space: nowrap; }
.tier-name { font-size: 14px; font-weight: 700; color: #33454f; }
.tier-amt { font-size: 26px; font-weight: 800; color: var(--ink); margin: 6px 0 8px; }
.tier-amt small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.tier-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; min-height: 40px; }
.tier .btn { margin-top: 12px; }

.callout { background: var(--accent-soft); border: 1px solid #fbd9bd; border-radius: 11px; padding: 12px 16px; font-size: 13.5px; color: #8a4a1c; line-height: 1.7; margin-top: 14px; }
.callout b { color: #7a3d10; }

.perk { list-style: none; counter-reset: perk; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.perk li { counter-increment: perk; position: relative; padding: 14px 16px 14px 46px; background: #fbfdfd; border: 1px solid var(--line); border-radius: 11px; }
.perk li::before { content: counter(perk, decimal-leading-zero); position: absolute; left: 14px; top: 14px; font-size: 12px; font-weight: 800; color: var(--brand); }
.perk li b { display: block; font-size: 14px; margin-bottom: 4px; }
.perk li span { font-size: 13px; color: var(--muted); line-height: 1.65; display: block; }

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; }
  .perk { grid-template-columns: 1fr; }
  .tier-note { min-height: 0; }
}


/* 商品详情页 */
.goods-head { display: flex; gap: 24px; align-items: flex-start; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; margin-bottom: 18px; }
.goods-head-main { flex: 1; min-width: 0; }
.goods-head h1 { font-size: 24px; line-height: 1.4; margin-bottom: 8px; }
.buy-box { width: 258px; flex-shrink: 0; background: var(--brand-soft); border-radius: 12px; padding: 18px; text-align: center; }
.price-now { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.price-note { font-size: 12px; color: var(--muted); margin: 6px 0 14px; }
.buy-tip { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* 步骤与 FAQ */
.steps { margin: 8px 0 12px 20px; }
.steps li { font-size: 14.5px; color: #33454f; margin-bottom: 8px; }
.steps li b { color: var(--ink); }
.faq > div { border-top: 1px solid var(--line); padding: 12px 0; }
.faq > div:first-child { border-top: none; padding-top: 4px; }
.faq b { font-size: 14.5px; }
.faq p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* 商品小卡 */
.goods-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.goods-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 10px; }
.goods-mini-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; }
.goods-mini-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.gm-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.gm-top b { font-size: 14.5px; color: var(--ink); }
.gm-price { font-size: 16px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.gm-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: block; }

.aff-note { background: var(--accent-soft); color: #9a3412; border-radius: 10px; padding: 9px 14px; font-size: 13px; margin-top: 10px; }

@media (max-width: 860px) {
  .grid-2, .goods-mini-grid, .goods-mini { grid-template-columns: 1fr; }
  .goods-head { flex-direction: column; }
  .buy-box { width: 100%; }
  .bundle { flex-direction: column; align-items: flex-start; }
}

/* 工具页底部转化位 */
.tool-goods {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--brand-soft); border: 1px solid #cdeae5; border-radius: var(--radius);
  padding: 16px 20px; margin: 18px 0 30px;
}
.tool-goods .tg-txt { min-width: 0; }
.tool-goods b { display: block; font-size: 15px; color: var(--brand-dark); margin-bottom: 3px; }
.tool-goods span { font-size: 13px; color: #3d5c58; }
.tool-goods .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 860px) {
  .tool-goods { flex-direction: column; align-items: flex-start; }
}

/* ---------- 文章（博客） ---------- */
.art-head { max-width: 780px; margin: 6px 0 26px; }
.art-head h1 { font-size: 30px; line-height: 1.32; margin: 12px 0 14px; letter-spacing: -0.3px; }
.art-lead {
  font-size: 16px; line-height: 1.75; color: #3f5a56; margin: 0 0 14px;
  padding-left: 14px; border-left: 3px solid var(--brand);
}
.art-meta { font-size: 12.5px; color: var(--muted); }
.art-wrap { display: flex; gap: 32px; align-items: flex-start; }
.art-body { flex: 1; min-width: 0; max-width: 780px; font-size: 15.5px; line-height: 1.85; color: #24312f; }
.art-body h2 {
  font-size: 20px; margin: 34px 0 12px; padding-top: 6px; line-height: 1.4;
  scroll-margin-top: 84px;
}
.art-body h2::before {
  content: ''; display: inline-block; width: 4px; height: 15px; background: var(--brand);
  border-radius: 2px; margin-right: 9px; vertical-align: -2px;
}
.art-body p { margin: 0 0 14px; }
.art-body ul { margin: 0 0 16px; padding-left: 22px; }
.art-body li { margin-bottom: 8px; }
.art-body blockquote.art-quote {
  margin: 18px 0; padding: 14px 18px; background: #f6faf9; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14px; line-height: 1.9; color: #33514d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.art-tip {
  display: flex; gap: 10px; margin: 18px 0; padding: 13px 16px;
  background: #fff8f1; border: 1px solid #fbdcc2; border-radius: 10px; font-size: 14px; line-height: 1.75;
}
.art-tip span { flex: none; }
.art-table-wrap { overflow-x: auto; margin: 18px 0; }
.art-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.art-table th, .art-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.art-table th { background: #f4f9f8; font-weight: 700; font-size: 13px; color: #33514d; white-space: nowrap; }
.art-table tr:last-child td { border-bottom: none; }

.art-toc {
  flex: none; width: 210px; position: sticky; top: 84px; font-size: 13px;
  background: #f8fbfa; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.art-toc b { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.5px; margin-bottom: 8px; }
.art-toc ol { margin: 0; padding-left: 16px; }
.art-toc li { margin-bottom: 7px; line-height: 1.5; }
.art-toc a { color: #33514d; }
.art-toc a:hover { color: var(--brand); }

.art-faq details {
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
.art-faq details:last-child { border-bottom: none; }
.art-faq summary {
  cursor: pointer; font-weight: 600; font-size: 15px; color: #1b2b29; list-style: none;
}
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq summary::before { content: '＋ '; color: var(--brand); font-weight: 700; }
.art-faq details[open] summary::before { content: '－ '; }
.art-faq p { margin: 10px 0 4px; font-size: 14px; line-height: 1.8; color: #40534f; }

.art-card h3 { font-size: 16px; line-height: 1.5; }
.art-card .chip { margin-bottom: 8px; }

@media (max-width: 860px) {
  .art-wrap { flex-direction: column; }
  .art-toc { position: static; width: 100%; order: -1; }
  .art-head h1 { font-size: 24px; }
  .art-body { font-size: 15px; }
}

/* ---------- 语言切换 ---------- */
.lang-switch { position: relative; display: inline-block; margin-left: 4px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  background: #eef6f4; border: 1px solid #cfe7e2; color: var(--brand-dark);
  font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 8px;
  font-family: inherit; line-height: 1;
}
.lang-btn:hover { background: #e3f1ed; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 200;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16,42,51,.14); padding: 6px; min-width: 168px;
  display: none; grid-template-columns: 1fr;
}
.lang-switch.open .lang-menu { display: grid; }
.lang-menu a {
  display: block; padding: 8px 12px; border-radius: 8px; font-size: 13.5px;
  color: #24312f; text-decoration: none; white-space: nowrap;
}
.lang-menu a:hover { background: #f2f8f7; color: var(--brand); }
.lang-menu a.on { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }

/* 外语页顶部提示条 */
.lang-notice {
  margin-top: 20px; display: inline-block; font-size: 12.5px; line-height: 1.7;
  background: rgba(255,255,255,.82); border: 1px solid #d9ece8; color: #3d5c58;
  padding: 8px 14px; border-radius: 99px;
}
main .hero h1 { letter-spacing: -0.2px; }
@media (max-width: 860px) {
  .lang-switch { width: 100%; margin: 6px 0 0; }
  .lang-btn { width: 100%; justify-content: center; }
  .lang-menu { position: static; margin-top: 6px; box-shadow: none; width: 100%; }
}

/* ---------- 提交收录表单 ---------- */
.std-list { padding-left: 20px; font-size: 14px; line-height: 2; margin: 0 0 4px; }
.sub-form .field { margin-bottom: 16px; }
.sub-form label { display: block; font-size: 13px; font-weight: 600; color: #33514d; margin-bottom: 6px; }
.sub-form label i { color: #dc2626; font-style: normal; }
.sub-form input[type="text"], .sub-form input[type="url"], .sub-form select, .sub-form textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: 9px; font-family: inherit; font-size: 14px; color: #1b2b29; background: #fff;
}
.sub-form textarea { resize: vertical; line-height: 1.7; }
.sub-form input:focus, .sub-form select:focus, .sub-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,110,.08);
}
.sub-form input[type="file"] {
  width: 100%; box-sizing: border-box; font-size: 13px; padding: 8px;
  border: 1.5px dashed #cfe7e2; border-radius: 9px; background: #fafdfc;
}
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.fhint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub-check {
  display: flex; gap: 9px; align-items: flex-start; margin: 6px 0 18px;
  font-size: 12.5px; line-height: 1.7; color: #4a615d; cursor: pointer;
}
.sub-check input { margin-top: 3px; flex: none; }
.sub-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sub-msg { font-size: 13px; color: var(--brand-dark); }
.sub-msg.bad, .bad { color: #dc2626; }
.token-box {
  display: flex; align-items: center; gap: 12px; margin: 14px 0 6px;
  background: #f4f9f8; border: 1px dashed #b8ddd6; border-radius: 10px; padding: 12px 14px;
}
.token-box code { font-size: 15px; letter-spacing: 1.2px; color: #14504a; font-weight: 700; }
.check-card {
  margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 11px; background: #fbfdfd; font-size: 14px; line-height: 1.8;
}
.check-card .chip { margin-left: 10px; }
.check-card .chip.ok { background: #e7f5ef; color: #0f766e; border-color: #bde3d7; }
.check-card .chip.bad { background: #fdecec; color: #b91c1c; border-color: #f6c9c9; }
.chip.ok { background: #e7f5ef; color: #0f766e; border-color: #bde3d7; }
.chip.bad { background: #fdecec; color: #b91c1c; border-color: #f6c9c9; }

/* 工具详情页图标 */
.res-logo {
  width: 72px; height: 72px; object-fit: contain; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); padding: 8px; margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(16,42,51,.06);
}
@media (max-width: 720px) {
  .sub-grid { grid-template-columns: 1fr; }
}

.hidden { display: none !important; }

/* 工具详情页常见问题（长尾着陆内容） */
.faq-item {
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  padding: 12px 16px; margin-bottom: 10px;
}
.faq-item > summary {
  cursor: pointer; font-weight: 500; font-size: 14.5px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 10px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; color: var(--brand); font-weight: 400; flex: none;
}
.faq-item[open] > summary::after { content: "−"; }
.faq-item > p {
  margin: 10px 0 0; font-size: 14px; line-height: 1.75; color: var(--muted);
}
