/*
Theme Name: KemiGeo
Theme URI: https://kemigeo.com
Author: KemiGeo
Author URI: https://kemigeo.com
Description: KEMI智搜 企业官网主题，面向 SEO / GEO / 网站代运营 / 广告投放 / 软文发稿服务商，轻量无冗余依赖，内置联系表单与首页服务展示。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kemigeo
Tags: business, blog, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ================= KemiGeo 官网样式 ================= */
:root {
  --primary: #1e5eff;
  --primary-dark: #0b3ecf;
  --primary-light: #e8efff;
  --accent: #00c6a2;
  --ink: #16213a;
  --ink-2: #4a5670;
  --ink-3: #8a94ab;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --border: #e4eaf4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 50, 120, .08);
  --shadow-hover: 0 16px 40px rgba(20, 50, 120, .14);
  --container: 1180px;
  font-size: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: .5px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.05rem; font-weight: 900;
}
.logo em { font-style: normal; color: var(--primary); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .98rem; color: var(--ink-2); font-weight: 500; position: relative; padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 2px; background: var(--primary);
}
.header-cta {
  background: var(--primary); color: #fff !important;
  padding: 10px 22px !important; border-radius: 999px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.header-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.header-cta.active::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #0a1f5c 0%, #123a9e 45%, #0e7f8f 100%);
  padding: 110px 0 130px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.hero::before { width: 520px; height: 520px; background: #2f6bff; top: -180px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: #00c6a2; bottom: -200px; left: -120px; opacity: .35; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  font-size: .88rem; letter-spacing: 1px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.25; font-weight: 800; }
.hero h1 .hl { color: #6ee7d8; }
.hero p.lead { margin: 22px 0 34px; font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 34em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: #fff; color: var(--primary-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* hero 右侧卡片 */
.hero-visual {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(8px);
}
.hero-visual h3 { font-size: 1rem; margin-bottom: 18px; color: rgba(255,255,255,.9); font-weight: 600; }
.metric { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.metric:last-child { border-bottom: 0; }
.metric .num { font-size: 1.9rem; font-weight: 800; color: #6ee7d8; font-variant-numeric: tabular-nums; }
.metric .num sup { font-size: 1rem; }
.metric .label { color: rgba(255,255,255,.75); font-size: .92rem; }

/* ---------- 通用 Section ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head .kicker {
  display: inline-block; color: var(--primary); font-weight: 700;
  font-size: .88rem; letter-spacing: 3px; margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.sec-head p { margin-top: 14px; color: var(--ink-2); }

/* 服务卡片 */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.svc-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.svc-card .en { font-size: .8rem; color: var(--ink-3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.svc-card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 16px; }
.svc-card ul { color: var(--ink-2); font-size: .92rem; }
.svc-card li { padding: 5px 0 5px 20px; position: relative; }
.svc-card li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.svc-card .more { display: inline-block; margin-top: 16px; color: var(--primary); font-weight: 600; font-size: .92rem; }
.svc-card .more:hover { text-decoration: underline; }

/* 数据条 */
.stats-band {
  background: linear-gradient(120deg, #0a1f5c, #123a9e);
  color: #fff; padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; color: #6ee7d8; font-variant-numeric: tabular-nums; }
.stat .num sup { font-size: 1.1rem; }
.stat .label { margin-top: 6px; color: rgba(255,255,255,.78); font-size: .95rem; }

/* 服务流程 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.flow-item { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; }
.flow-item::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 2.4rem; font-weight: 800; color: var(--primary-light);
  -webkit-text-stroke: 1.5px var(--primary); position: absolute; top: 16px; right: 20px; line-height: 1;
}
.flow-item h3 { font-size: 1.08rem; margin-bottom: 10px; position: relative; z-index: 1; }
.flow-item p { color: var(--ink-2); font-size: .92rem; position: relative; z-index: 1; }

/* 为什么选择我们 */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.why-item .svc-icon { flex-shrink: 0; margin-bottom: 0; }
.why-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.why-item p { color: var(--ink-2); font-size: .94rem; }

/* 新闻卡片 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-cover { height: 150px; position: relative; }
.news-cover.c1 { background: linear-gradient(135deg, #1e5eff, #00c6a2); }
.news-cover.c2 { background: linear-gradient(135deg, #7a3cff, #1e5eff); }
.news-cover.c3 { background: linear-gradient(135deg, #0e7f8f, #1e5eff); }
.news-cover span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.95); font-weight: 800; font-size: 1.5rem; letter-spacing: 2px;
}
.news-body { padding: 22px 24px 26px; }
.news-body time { color: var(--ink-3); font-size: .85rem; }
.news-body h3 { font-size: 1.05rem; margin: 8px 0 10px; line-height: 1.5; }
.news-body p { color: var(--ink-2); font-size: .92rem; }
.center-link { text-align: center; margin-top: 44px; }

/* CTA */
.cta-band {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff; border-radius: 22px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; }
.cta-band p { margin-top: 8px; color: rgba(255,255,255,.88); }

/* 页脚 */
.footer { background: #0c1530; color: #9aa6c3; padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a:hover { color: #fff; }
.footer li { padding: 4px 0; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #6b7896; font-size: .85rem;
}

/* ---------- 页面内页 hero ---------- */
.page-hero {
  background: linear-gradient(120deg, #0a1f5c, #123a9e 60%, #0e7f8f);
  color: #fff; padding: 72px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,.8); }
.crumb { font-size: .88rem; color: var(--ink-3); margin-top: 16px; }
.crumb a { color: rgba(255,255,255,.75); }
.crumb a:hover { color: #fff; }

/* 服务详情区块 */
.svc-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 72px 0; }
.svc-detail-grid {
  max-width: var(--container); margin: 0 auto; padding: 72px 24px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
}
.svc-detail-grid > .reveal { min-width: 0; }
@media (max-width: 960px) {
  .svc-detail-grid { grid-template-columns: 1fr; padding: 56px 24px; }
}
.svc-detail:nth-child(even) { background: var(--bg-soft); }
.svc-detail .svc-icon { width: 64px; height: 64px; margin-bottom: 22px; }
.svc-detail h2 { font-size: 1.7rem; margin-bottom: 8px; }
.svc-detail .en { color: var(--ink-3); font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.svc-detail p.desc { color: var(--ink-2); margin-bottom: 20px; }
.svc-detail ul.checks li { padding: 8px 0 8px 30px; position: relative; color: var(--ink); }
.svc-detail ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  color: #fff; font-size: .75rem; display: flex; align-items: center; justify-content: center;
}
.svc-visual {
  border-radius: 20px; min-height: 300px; padding: 36px;
  color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background: linear-gradient(135deg, #123a9e, #1e5eff 55%, #00c6a2);
}
.svc-visual.g2 { background: linear-gradient(135deg, #4a1fb8, #7a3cff 55%, #1e5eff); }
.svc-visual.g3 { background: linear-gradient(135deg, #0c5c66, #0e7f8f 55%, #00c6a2); }
.svc-visual .row { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed rgba(255,255,255,.3); padding-bottom: 12px; }
.svc-visual .row:last-child { border-bottom: 0; }
.svc-visual .row b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.svc-visual .row span { color: rgba(255,255,255,.85); font-size: .92rem; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-info-card .item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.contact-info-card .item:last-child { border-bottom: 0; }
.contact-info-card .item .svc-icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.contact-info-card b { display: block; margin-bottom: 4px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: .95rem; font-family: inherit; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.form-note { color: var(--ink-3); font-size: .85rem; margin-top: 12px; }
.form-ok {
  display: none; margin-top: 16px; padding: 14px 18px; border-radius: 10px;
  background: #e6f9f3; color: #067a63; border: 1px solid #b5ecd9; font-size: .93rem;
}
.form-ok.show { display: block; }

/* 关于页 */
.about-lead { font-size: 1.08rem; color: var(--ink-2); max-width: 46em; margin: 0 auto 56px; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.value-card h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { color: var(--ink-2); font-size: .92rem; }
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding: 0 0 30px 20px; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--primary); border: 3px solid var(--primary-light);
}
.timeline-item b { display: block; color: var(--primary); margin-bottom: 4px; }
.timeline-item p { color: var(--ink-2); font-size: .95rem; }

/* 滚动显现动效 */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero .container, .svc-detail, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 移动端导航 */
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { max-height: 480px; }
  .nav a { width: 100%; text-align: center; padding: 16px 0; border-top: 1px solid var(--border); }
  .nav a.active::after { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .svc-grid, .flow, .value-grid, .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 28px; }
  .hero { padding: 72px 0 88px; }
}

/* ================= v1.1 版式与布局优化 ================= */
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
::selection { background: var(--primary); color: #fff; }
h1, h2, h3 { letter-spacing: -0.015em; text-wrap: balance; }
.hero h1 { text-wrap: balance; }
p.lead, .sec-head p, .about-lead { text-wrap: pretty; }

/* 品牌标识 */
.logo { gap: 12px; }
.logo-mark {
  font-size: 1.12rem; letter-spacing: 0;
  box-shadow: 0 6px 16px rgba(30, 94, 255, .32);
}
.footer .logo em { color: #6ee7d8; }

/* 卡片等高与节奏 */
.svc-grid, .news-grid { align-items: stretch; }
.svc-card { display: flex; flex-direction: column; }
.svc-card ul { margin-bottom: 18px; }
.svc-card .more { margin-top: auto; align-self: flex-start; }
.news-card { display: flex; flex-direction: column; }
.news-body { flex: 1; display: flex; flex-direction: column; }
.news-body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body p { margin-top: auto; padding-top: 10px; }
.why-grid { align-items: stretch; }
.why-item { align-items: flex-start; }
.flow-item { min-height: 150px; }

/* 间距与呼吸感 */
.section { padding: 96px 0; }
.section.soft { padding: 96px 0; }
.sec-head { margin-bottom: 60px; }
.hero { padding: 120px 0 136px; }

/* 表单与按钮 */
input, select, textarea { font-size: 16px; } /* 防 iOS 聚焦缩放 */
.btn { letter-spacing: .02em; }
.field label { letter-spacing: .01em; }

/* 移动端排版 */
@media (max-width: 960px) {
  .section, .section.soft { padding: 72px 0; }
  .sec-head { margin-bottom: 44px; }
  .hero { padding: 80px 0 96px; }
  .hero h1 br { display: none; }
}
@media (max-width: 560px) {
  body { line-height: 1.75; }
  .stat .num { font-variant-numeric: tabular-nums; }
  .footer-grid { gap: 32px; }
  .cta-band { text-align: center; justify-content: center; }
  .cta-band .btn { width: 100%; justify-content: center; }
}

/* Logo 图片 */
.logo-img {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(30, 94, 255, .32);
}
.footer .logo-img { box-shadow: none; }

/* ================= v1.2 服务单页组件 ================= */
.svc-intro {
  max-width: 46em; margin: 0 auto 60px; text-align: center;
  color: var(--ink-2); font-size: 1.06rem; text-wrap: pretty;
}
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s, box-shadow .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-card .num {
  display: inline-block; font-weight: 800; color: var(--primary);
  font-size: .95rem; letter-spacing: 2px; margin-bottom: 12px;
  padding: 3px 12px; border-radius: 999px; background: var(--primary-light);
}
.feat-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feat-card p { color: var(--ink-2); font-size: .93rem; }
.steps-wrap { max-width: 780px; margin: 0 auto; }

/* 报价卡片 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px 30px;
}
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-hover); }
.price-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 4px 16px; border-radius: 999px; letter-spacing: 2px; white-space: nowrap;
}
.price-card .tier { font-weight: 700; font-size: 1.05rem; }
.price-card .fit { color: var(--ink-3); font-size: .85rem; margin-top: 2px; }
.price-card .amount { font-size: 1.65rem; font-weight: 800; color: var(--primary); margin: 14px 0 2px; font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: .88rem; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.price-card ul { margin: 18px 0 26px; }
.price-card li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-2); font-size: .93rem; }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 5px;
  width: 17px; height: 17px; border-radius: 50%; background: #e6f9f3;
  color: #067a63; font-size: .7rem; display: flex; align-items: center; justify-content: center;
}
.price-card .btn { margin-top: auto; justify-content: center; }
.price-notes {
  max-width: 860px; margin: 40px auto 0;
  background: var(--bg-soft); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 28px 32px; color: var(--ink-2); font-size: .94rem;
}
.price-notes h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 10px; }
.price-notes ul { margin-top: 6px; padding-left: 1.3em; }
.price-notes li { list-style: disc; padding: 4px 0; }
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* ================= v1.3 导航二级下拉菜单 ================= */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item .caret { width: 12px; height: 12px; margin-top: 1px; transition: transform .28s ease; }
.nav-item:hover .caret,
.nav-item:focus-within .caret,
.nav-item.open .caret { transform: rotate(180deg); }

.sub-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  min-width: 230px; padding: 8px; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 10px) scale(.98);
  transform-origin: top center;
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  z-index: 80;
}
/* hover 桥：防止移向子菜单途中断开 */
.sub-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover .sub-menu,
.nav-item:focus-within .sub-menu,
.nav-item.open .sub-menu {
  opacity: 1; visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.sub-menu li { position: relative; }
.sub-menu a {
  display: block; padding: 11px 16px; border-radius: 9px;
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  transition: background .2s, color .2s, padding-left .2s;
}
.sub-menu a::after { display: none; }
.sub-menu a:hover {
  background: var(--primary-light); color: var(--primary); padding-left: 21px;
}
.sub-menu li + li { border-top: 1px solid var(--bg-soft); }

/* 移动端：改为点击展开的折叠列表 */
@media (max-width: 960px) {
  .nav-item { width: 100%; }
  .nav-item > a { width: 100%; justify-content: center; }
  .sub-menu {
    position: static; min-width: 0; padding: 0; border: 0; border-radius: 0;
    box-shadow: none; background: transparent;
    opacity: 1; visibility: visible; transform: none; transition: none;
    max-height: 0; overflow: hidden;
  }
  .sub-menu::before { display: none; }
  .nav-item.open .sub-menu { max-height: 320px; }
  .sub-menu a {
    text-align: center; font-size: .88rem; color: var(--ink-3);
    padding: 11px 0; border-radius: 0; background: transparent;
  }
  .sub-menu a:hover { padding-left: 0; color: var(--primary); background: transparent; }
  .sub-menu li + li { border-top: 1px dashed var(--border); }
}

/* ================= WordPress 结构适配 ================= */
.nav-list { display: flex; align-items: center; gap: 34px; }
.nav-list li { position: relative; }
.nav-list li a { font-size: .98rem; color: var(--ink-2); font-weight: 500; padding: 6px 0; display: inline-block; transition: color .2s; }
.nav-list li a:hover, .nav-list li.current-menu-item > a, .nav-list li.current_page_item > a { color: var(--primary); }
.nav-list li.current-menu-item > a::after,
.nav-list li.current_page_item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--primary);
}

/* 屏幕阅读器文本 */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link:focus {
  background: #fff; color: var(--primary); clip: auto; clip-path: none;
  height: auto; width: auto; padding: 12px 20px; z-index: 1000; left: 12px; top: 12px;
}

/* 文章正文排版 */
.entry-content { color: var(--ink-2); font-size: 1.02rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.45rem; color: var(--ink); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.2rem; color: var(--ink); margin-top: 1.6em; }
.entry-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul li { list-style: disc; padding: 4px 0; }
.entry-content ol li { list-style: decimal; padding: 4px 0; }
.entry-content img { border-radius: 12px; height: auto; }
.entry-content blockquote {
  border-left: 4px solid var(--primary); background: var(--bg-soft);
  padding: 16px 22px; border-radius: 0 10px 10px 0; color: var(--ink-2);
}
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--bg-soft); }
.entry-content pre { background: #0c1530; color: #d6e2ff; padding: 18px; border-radius: 12px; overflow: auto; font-size: .9rem; }
.entry-content code { background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; font-size: .92em; }

/* 文章头部 */
.article-head { max-width: 820px; margin: 0 auto 40px; }
.article-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.4; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-3); font-size: .9rem; margin-top: 14px; }
.article-body { max-width: 820px; margin: 0 auto; }
.article-body img { max-width: 100%; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--border); color: var(--ink-2); font-size: .92rem;
}
.pagination .page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 分类标签 */
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tag-list a { background: var(--primary-light); color: var(--primary); font-size: .82rem; padding: 5px 12px; border-radius: 999px; }

/* 表单提示 */
.form-error { color: #c62828; font-size: .88rem; margin-top: 10px; }

/* 无缩略图的文章卡片封面（按分类自动取色） */
.news-cover.c1 { background: linear-gradient(135deg, #1e5eff, #00c6a2); }
.news-cover.c2 { background: linear-gradient(135deg, #7a3cff, #1e5eff); }
.news-cover.c3 { background: linear-gradient(135deg, #0e7f8f, #1e5eff); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* 移动端导航列表 */
@media (max-width: 960px) {
  .nav-list { flex-direction: column; gap: 0; width: 100%; }
  .nav-list li { width: 100%; border-top: 1px solid var(--border); }
  .nav-list li a { display: block; text-align: center; padding: 16px 0; }
  .nav-list li.current-menu-item > a::after, .nav-list li.current_page_item > a::after { display: none; }
  .nav .header-cta { margin: 14px 0 18px; display: inline-block; }
}

/* ================= v1.3 WP 菜单二级下拉适配 ================= */
.nav-list li { list-style: none; }
.nav-list .menu-item-has-children { position: relative; }
.nav-list .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-list .menu-item-has-children > a::before {
  content: ""; width: 7px; height: 7px; margin-top: -2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); display: inline-block; transition: transform .28s ease;
}
.nav-list .menu-item-has-children:hover > a::before,
.nav-list .menu-item-has-children.open > a::before { transform: rotate(225deg); }
.nav-list .sub-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  min-width: 230px; padding: 8px; margin: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 10px) scale(.98);
  transform-origin: top center;
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  z-index: 80;
}
.nav-list .sub-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-list .menu-item-has-children:hover > .sub-menu,
.nav-list .menu-item-has-children:focus-within > .sub-menu,
.nav-list .menu-item-has-children.open > .sub-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1);
}
.nav-list .sub-menu .menu-item { width: auto; border-top: 0; }
.nav-list .sub-menu li + li { border-top: 1px solid var(--bg-soft); }
.nav-list .sub-menu a {
  display: block; padding: 11px 16px; border-radius: 9px; border-top: 0;
  font-size: .93rem; font-weight: 500; color: var(--ink-2); text-align: left;
  transition: background .2s, color .2s, padding-left .2s;
}
.nav-list .sub-menu a:hover,
.nav-list .sub-menu a:focus {
  background: var(--primary-light); color: var(--primary); padding-left: 21px;
}
.nav-list .sub-menu a::after { display: none; }
@media (max-width: 960px) {
  .nav-list .menu-item-has-children > a { width: 100%; justify-content: center; }
  .nav-list .sub-menu {
    position: static; min-width: 0; padding: 0; border: 0; border-radius: 0;
    box-shadow: none; background: transparent;
    opacity: 1; visibility: visible; transform: none; transition: none;
    max-height: 0; overflow: hidden;
  }
  .nav-list .sub-menu::before { display: none; }
  .nav-list .menu-item-has-children.open > .sub-menu { max-height: 320px; }
  .nav-list .sub-menu a {
    text-align: center; font-size: .88rem; color: var(--ink-3);
    padding: 11px 0; border-radius: 0; background: transparent;
  }
  .nav-list .sub-menu a:hover { padding-left: 0; color: var(--primary); background: transparent; }
  .nav-list .sub-menu li + li { border-top: 1px dashed var(--border); }
}
