/* ============================================================
   ContactX · 全站共享样式（tech-utility · dark neon）
   所有 6 个页面引用本文件；首页原内联样式已迁移至此。
   ============================================================ */

/* ============ 本地自托管字体（JetBrains Mono 可变字体） ============ */
/* 替代原 Google Fonts <link> 外链，保证国内访问稳定、零外链依赖。 */
/* 一个可变字体文件覆盖 400–700 全权重，font-weight: 400/500/600 自动匹配。 */
@font-face{
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/JetBrainsMono[wght].woff2') format('woff2-variations');
}

/* ============ 设计令牌 ============ */
:root{
  --bg:          oklch(15% 0.008 255);
  --surface:     oklch(100% 0 0 / 0.035);
  --surface-2:   oklch(100% 0 0 / 0.06);
  --surface-solid: oklch(19% 0.012 255);
  --fg:          oklch(97% 0.003 250);
  --muted:       oklch(68% 0.012 250);
  --muted-2:     oklch(52% 0.012 250);
  --border:      oklch(100% 0 0 / 0.09);
  --border-strong: oklch(100% 0 0 / 0.16);

  --accent:      oklch(78% 0.17 145);
  --accent-2:    oklch(74% 0.15 195);
  --accent-dim:  oklch(78% 0.17 145 / 0.14);
  --accent-glow: oklch(78% 0.17 145 / 0.5);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --header-h: 66px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3{ font-family:var(--font-display); letter-spacing:-0.025em; line-height:1.1; margin:0; font-weight:600; }
h4,h5,h6{ font-family:var(--font-display); margin:0; font-weight:600; }
p{ margin:0; }
.mono{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; }
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* 全局背景：网格 + 顶部辉光 */
.bg-fx{
  position:fixed; inset:0; z-index:-1; pointer-events:none; overflow:hidden;
  background:
    radial-gradient(900px 500px at 78% -8%, oklch(78% 0.17 145 / 0.16), transparent 60%),
    radial-gradient(800px 600px at 10% 8%, oklch(74% 0.15 195 / 0.1), transparent 55%),
    var(--bg);
}
.bg-fx::before{
  content:""; position:absolute; inset:-2px;
  background-image:
    linear-gradient(to right, oklch(100% 0 0 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(100% 0 0 / 0.035) 1px, transparent 1px);
  background-size:54px 54px;
  -webkit-mask-image:radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
          mask-image:radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

/* ============ 顶部导航 ============ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:oklch(15% 0.008 255 / 0.72);
  backdrop-filter:saturate(1.5) blur(14px);
  -webkit-backdrop-filter:saturate(1.5) blur(14px);
  border-bottom:1px solid var(--border);
}
.nav{ height:var(--header-h); display:flex; align-items:center; gap:28px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:17px; letter-spacing:-0.01em; }
.brand .mark{
  width:28px; height:28px; border-radius:8px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, var(--accent), oklch(60% 0.14 165));
  color:oklch(15% 0.02 145);
  box-shadow:0 0 18px -2px var(--accent-glow);
}
.brand .mark svg{ width:16px; height:16px; }

.nav-links{ display:flex; align-items:center; gap:4px; margin-left:10px; }
.nav-links a{
  padding:8px 13px; border-radius:var(--radius-sm);
  font-size:14.5px; color:var(--muted); font-weight:500;
  transition:color .18s var(--ease), background .18s var(--ease);
}
.nav-links a:hover{ color:var(--fg); background:var(--surface); }
.nav-links a.active{ color:var(--fg); position:relative; }
.nav-links a.active::after{
  content:""; position:absolute; left:50%; bottom:2px; transform:translateX(-50%);
  height:2px; width:20px; border-radius:2px;
  background:linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow:0 0 10px var(--accent-glow);
}
.nav-spacer{ flex:1; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:42px; padding:0 20px; border-radius:var(--radius-sm);
  font-size:14.5px; font-weight:600; letter-spacing:0.01em;
  border:1px solid transparent; transition:all .2s var(--ease); white-space:nowrap;
}
.btn-primary{
  color:oklch(15% 0.02 145);
  background:linear-gradient(135deg, var(--accent), oklch(66% 0.15 165));
  box-shadow:0 0 0 1px oklch(78% 0.17 145 / .4), 0 8px 24px -8px var(--accent-glow), inset 0 1px 0 oklch(100% 0 0 / .35);
}
.btn-primary:hover{ filter:brightness(1.08); transform:translateY(-2px); box-shadow:0 0 0 1px oklch(78% 0.17 145 / .6), 0 14px 30px -8px var(--accent-glow), inset 0 1px 0 oklch(100% 0 0 / .4); }
.btn-primary:active{ transform:translateY(0); }
.btn-ghost{ background:var(--surface); color:var(--fg); border-color:var(--border-strong); backdrop-filter:blur(8px); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); box-shadow:0 0 18px -6px var(--accent-glow); }

.login-link{ font-size:14.5px; color:var(--muted); font-weight:500; padding:0 12px; transition:color .18s var(--ease); }
.login-link:hover{ color:var(--fg); }
.desktop-auth{ display:flex; align-items:center; gap:6px; }

.hamburger{
  display:none; width:42px; height:42px; border-radius:var(--radius-sm);
  background:var(--surface); border:1px solid var(--border-strong); color:var(--fg);
  align-items:center; justify-content:center; backdrop-filter:blur(8px);
}
.hamburger svg{ width:20px; height:20px; }

.drawer{
  position:fixed; inset:var(--header-h) 0 auto 0;
  background:oklch(16% 0.01 255 / 0.96); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  padding:12px 24px 22px; transform:translateY(-10px); opacity:0; pointer-events:none;
  transition:transform .24s var(--ease), opacity .24s var(--ease); z-index:49;
  box-shadow:0 24px 40px -20px oklch(0% 0 0 / .6);
}
.drawer.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
.drawer a{ display:block; padding:14px 8px; border-bottom:1px solid var(--border); font-size:15px; color:var(--fg); font-weight:500; }
.drawer a:last-of-type{ border-bottom:0; }
.drawer a.active{ color:var(--accent); }
.drawer .btn{ width:100%; margin-top:16px; }

/* ============ 通用 element / utility ============ */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:12px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--fg);
  background:var(--surface-2); border:1px solid var(--border-strong);
  padding:7px 13px; border-radius:999px; backdrop-filter:blur(8px);
}
.eyebrow .pulse{
  width:8px; height:8px; border-radius:50%; background:var(--accent);
  box-shadow:0 0 0 3px oklch(78% 0.17 145 / .2), 0 0 12px var(--accent-glow);
  animation:pulse 2.4s ease-in-out infinite;
}

/* 渐变文字（标题强调，可复用） */
.grad{
  background:linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 0 22px oklch(78% 0.17 145 / .35));
}

/* 小标语徽章 */
.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12.5px; color:var(--accent);
  background:var(--accent-dim); border:1px solid oklch(78% 0.17 145 / .3);
  padding:6px 12px; border-radius:999px;
}

/* 分类徽标（文章） */
.cat-badge{
  display:inline-flex; align-items:center; padding:5px 11px; border-radius:6px;
  background:var(--accent-dim); border:1px solid oklch(78% 0.17 145 / .3);
  color:var(--accent); font-size:12.5px; font-weight:600;
}

/* ============ 首页 Hero ============ */
.hero{ position:relative; padding:84px 0 64px; }
.hero-grid{ display:grid; grid-template-columns:1.04fr 0.96fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(36px, 5vw, 60px); margin:22px 0 0; max-width:13ch; font-weight:600; }
.hero .sub{ margin-top:20px; font-size:17px; color:var(--muted); max-width:50ch; line-height:1.65; }
.hero .sub strong{ color:var(--fg); font-weight:600; }
.hero .promo{
  margin-top:22px; display:inline-flex; align-items:baseline; gap:10px;
  font-size:14.5px; color:var(--fg);
  background:var(--surface-2); border:1px solid var(--border-strong);
  border-radius:var(--radius-sm); padding:10px 15px; backdrop-filter:blur(8px);
}
.hero .promo b{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; font-size:19px; color:var(--accent); font-weight:600; text-shadow:0 0 14px var(--accent-glow); }
.hero .promo .sep{ color:var(--muted-2); }
.hero .promo span{ color:var(--muted); }
.hero-cta{ margin-top:30px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.hero-meta{ margin-top:28px; display:flex; gap:24px; flex-wrap:wrap; }
.hero-meta div{ font-size:13px; color:var(--muted); display:flex; align-items:center; gap:7px; }
.hero-meta svg{ width:15px; height:15px; color:var(--accent); }

/* 首页产品预览卡 */
.preview{ position:relative; }
.preview::before{
  content:""; position:absolute; inset:-30px; z-index:-1;
  background:radial-gradient(closest-side, var(--accent-glow), transparent 75%);
  filter:blur(20px); opacity:.7;
}
.preview-card{
  position:relative;
  background:var(--surface); border:1px solid var(--border-strong); border-radius:18px;
  padding:24px; backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:0 30px 60px -28px oklch(0% 0 0 / .7), inset 0 1px 0 oklch(100% 0 0 / .08);
  animation:floaty 7s ease-in-out infinite;
}
.pc-top{ display:flex; align-items:center; gap:13px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.pc-avatar{
  width:46px; height:46px; border-radius:50%; flex:none;
  background:linear-gradient(135deg, var(--accent), oklch(55% 0.14 200));
  color:oklch(15% 0.02 145); display:grid; place-items:center; font-weight:700; font-size:17px;
  font-family:var(--font-display); box-shadow:0 0 18px -4px var(--accent-glow);
}
.pc-name{ font-weight:600; font-size:15.5px; }
.pc-role{ font-size:12.5px; color:var(--muted); margin-top:2px; }
.pc-stat{ margin-left:auto; text-align:right; font-size:11px; color:var(--muted); font-family:var(--font-mono); line-height:1.4; }
.pc-stat b{ display:block; color:var(--accent); font-size:16px; font-weight:600; text-shadow:0 0 12px var(--accent-glow); }
.pc-grid{ display:grid; grid-template-columns:1fr 96px; gap:18px; padding:18px 0; }
.pc-methods{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pc-method{
  display:flex; align-items:center; gap:9px; padding:10px 11px;
  border:1px solid var(--border); border-radius:var(--radius-sm); font-size:13px;
  background:var(--surface);
}
.pc-method svg{ width:15px; height:15px; color:var(--accent); flex:none; }
.pc-method .k{ color:var(--muted); font-size:10.5px; display:block; line-height:1.1; }
.pc-method .v{ font-weight:500; }
.qr{
  width:96px; height:96px; padding:7px; border:1px solid var(--border-strong);
  border-radius:var(--radius-sm); background:#fff; align-self:start;
  box-shadow:0 0 22px -6px var(--accent-glow);
}
.qr svg{ width:100%; height:100%; display:block; }
.pc-foot{ padding-top:14px; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:var(--muted); }
.pc-foot .url{ font-family:var(--font-mono); color:var(--fg); }
.pc-foot .live{ display:inline-flex; align-items:center; gap:6px; }
.pc-foot .live i{ width:7px; height:7px; border-radius:50%; background:var(--accent); font-style:normal; box-shadow:0 0 10px var(--accent-glow); animation:pulse 2.4s ease-in-out infinite; }
.float-card{
  position:absolute; right:-16px; bottom:-24px;
  background:var(--surface); border:1px solid var(--border-strong); border-radius:12px;
  padding:12px 15px; backdrop-filter:blur(14px);
  box-shadow:0 20px 34px -18px oklch(0% 0 0 / .65), inset 0 1px 0 oklch(100% 0 0 / .08);
  font-size:12px; min-width:152px;
}
.float-card .lbl{ color:var(--muted); }
.float-card .row{ display:flex; justify-content:space-between; align-items:baseline; margin-top:3px; }
.float-card .num{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; font-size:19px; font-weight:600; color:var(--fg); }
.float-card .trend{ font-size:11px; color:var(--accent); font-weight:600; }

/* ============ 通用 section ============ */
.section{ position:relative; padding:72px 0; border-top:1px solid var(--border); }
.section-head{ max-width:64ch; margin-bottom:42px; }
.section-head .eyebrow{ margin-bottom:18px; }
.section-head h2{ font-size:clamp(27px, 3.2vw, 38px); }
.section-head p{ margin-top:14px; color:var(--muted); font-size:16px; }
.section-head p strong{ color:var(--fg); font-weight:600; }

/* 首页 · 功能卡 */
.features{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature{
  position:relative; display:flex; flex-direction:column; padding:28px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  backdrop-filter:blur(10px); overflow:hidden;
  transition:border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.feature::before{
  content:""; position:absolute; inset:0; opacity:0; transition:opacity .3s var(--ease);
  background:radial-gradient(420px 200px at 50% -20%, var(--accent-dim), transparent 70%);
}
.feature:hover{ border-color:var(--border-strong); transform:translateY(-4px); background:var(--surface-2); box-shadow:0 26px 44px -24px oklch(0% 0 0 / .6), 0 0 0 1px var(--accent-dim), 0 0 34px -10px var(--accent-glow); }
.feature:hover::before{ opacity:1; }
.feature > *{ position:relative; }
.feature .ico{
  width:44px; height:44px; border-radius:10px;
  background:linear-gradient(135deg, var(--accent-dim), oklch(74% 0.15 195 / .1));
  border:1px solid var(--border-strong); display:grid; place-items:center; color:var(--accent); margin-bottom:18px;
  box-shadow:inset 0 0 16px -6px var(--accent-glow);
}
.feature .ico svg{ width:22px; height:22px; }
.feature h3{ font-size:18px; }
.feature p{ color:var(--muted); font-size:14.5px; margin-top:9px; flex:1; line-height:1.55; }
.feature .go{ margin-top:18px; display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--fg); }
.feature .go svg{ width:15px; height:15px; transition:transform .2s var(--ease); }
.feature:hover .go{ color:var(--accent); }
.feature:hover .go svg{ transform:translateX(4px); }

/* 品牌简介 + 指标 */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-body p{ color:var(--muted); font-size:16px; line-height:1.7; }
.about-body p + p{ margin-top:14px; }
.about-body p strong{ color:var(--fg); font-weight:600; }
.metrics{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.metrics.cols-4{ grid-template-columns:repeat(4,1fr); }
.metric{
  position:relative; padding:26px 20px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  backdrop-filter:blur(10px); overflow:hidden;
  transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.metric::after{ content:""; position:absolute; left:20px; bottom:14px; width:28px; height:2px; border-radius:2px; background:linear-gradient(90deg, var(--accent), transparent); }
.metric:hover{ border-color:var(--border-strong); transform:translateY(-3px); }
.metric .v{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; font-size:clamp(30px,3.4vw,42px); font-weight:600; letter-spacing:-0.02em; line-height:1; color:var(--accent); text-shadow:0 0 22px var(--accent-glow); }
.metric .v.txt{ font-size:clamp(20px,2.2vw,26px); }
.metric .l{ margin-top:12px; font-size:13px; color:var(--muted); }

/* 资讯卡 */
.articles-top{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:34px; }
.articles{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.article{
  display:flex; flex-direction:column; background:var(--surface);
  border:1px solid var(--border); border-radius:var(--radius); overflow:hidden;
  backdrop-filter:blur(10px);
  transition:border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.article:hover{ border-color:var(--border-strong); transform:translateY(-4px); box-shadow:0 24px 42px -22px oklch(0% 0 0 / .6), 0 0 30px -12px var(--accent-glow); }
.ph-img{
  aspect-ratio:16/9; width:100%;
  display:grid; place-items:center; padding:18px; text-align:center;
  color:var(--accent); font-family:var(--font-mono); font-weight:500; font-size:12.5px; line-height:1.4;
  background:linear-gradient(135deg, oklch(26% 0.02 250), oklch(19% 0.02 255));
  position:relative; border-bottom:1px solid var(--border);
}
.ph-img::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(to right, oklch(100% 0 0 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(100% 0 0 / 0.05) 1px, transparent 1px);
  background-size:22px 22px;
}
.ph-img::after{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 78% 110%, var(--accent-dim), transparent 55%); }
.ph-img span{ position:relative; z-index:1; }
.ph-img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2; }
/* data-gen-cover 生成的内联封面 SVG：与 <img> 同样绝对定位填满容器（兼容 article-covers.js） */
.ph-img svg{ position:absolute; inset:0; width:100%; height:100%; z-index:2; }
.article-body{ padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; }
.article h3{ font-size:15.5px; line-height:1.4; letter-spacing:-0.01em; }
.article .sum{
  font-size:13.5px; color:var(--muted); margin-top:8px; line-height:1.55;
  /* 最多 3 行，超出用省略号截断（保留原文供 SEO，仅视觉折叠） */
  display:-webkit-box; -webkit-box-orient:vertical;
  -webkit-line-clamp:3; line-clamp:3; overflow:hidden;
}
.article .meta{ margin-top:14px; display:flex; gap:12px; font-size:12px; color:var(--muted); font-family:var(--font-mono); align-items:center; }
.article .meta span{ display:inline-flex; align-items:center; gap:5px; }
.article .meta svg{ width:13px; height:13px; }
.view-all{ display:inline-flex; align-items:center; gap:7px; font-size:14.5px; font-weight:600; color:var(--fg); white-space:nowrap; transition:color .2s var(--ease); }
.view-all svg{ width:15px; height:15px; transition:transform .2s var(--ease); }
.view-all:hover{ color:var(--accent); }
.view-all:hover svg{ transform:translateX(4px); }

/* ============ 内页：通用 page-hero ============ */
.page-hero{ position:relative; padding:72px 0 32px; }
.page-hero h1{ font-size:clamp(32px, 4.4vw, 52px); margin:18px 0 0; max-width:16em; }
.page-hero .sub{ margin-top:18px; font-size:17px; color:var(--muted); max-width:62ch; line-height:1.65; }
.page-hero .sub strong{ color:var(--fg); font-weight:600; }

/* ============ 内页：卡片网格（capabilities / scenarios / field-types / tech） ============ */
.cards{ display:grid; gap:18px; }
.cards.c2{ grid-template-columns:repeat(2,1fr); }
.cards.c3{ grid-template-columns:repeat(3,1fr); }
.cards.c4{ grid-template-columns:repeat(4,1fr); }
.card{
  position:relative; display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:24px; backdrop-filter:blur(10px); overflow:hidden;
  transition:border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.card.hover::before{
  content:""; position:absolute; inset:0; opacity:0; transition:opacity .3s var(--ease);
  background:radial-gradient(420px 200px at 50% -20%, var(--accent-dim), transparent 70%);
}
.card.hover:hover{ border-color:var(--border-strong); transform:translateY(-4px); background:var(--surface-2); box-shadow:0 26px 44px -24px oklch(0% 0 0 / .6), 0 0 0 1px var(--accent-dim), 0 0 34px -10px var(--accent-glow); }
.card.hover:hover::before{ opacity:1; }
.card > *{ position:relative; }
.card .ico{
  width:42px; height:42px; border-radius:10px;
  background:linear-gradient(135deg, var(--accent-dim), oklch(74% 0.15 195 / .1));
  border:1px solid var(--border-strong); display:grid; place-items:center; color:var(--accent); margin-bottom:16px;
  box-shadow:inset 0 0 16px -6px var(--accent-glow);
}
.card .ico svg{ width:21px; height:21px; }
.card h3{ font-size:16.5px; }
.card p{ color:var(--muted); font-size:14px; margin-top:8px; line-height:1.55; }
.card .name{ font-weight:700; color:var(--fg); font-size:15.5px; }

/* ============ 使用步骤 ============ */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; counter-reset:step; }
.step{
  position:relative; display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px 24px; backdrop-filter:blur(10px); overflow:hidden;
}
.step::after{ content:""; position:absolute; left:24px; bottom:18px; width:34px; height:2px; border-radius:2px; background:linear-gradient(90deg, var(--accent), transparent); }
.step .num{
  display:inline-grid; place-items:center; width:42px; height:42px; border-radius:10px;
  background:linear-gradient(135deg, var(--accent-dim), oklch(74% 0.15 195 / .1));
  border:1px solid var(--border-strong); color:var(--accent);
  font-family:var(--font-mono); font-weight:600; font-size:14px; margin-bottom:16px;
}
.step .num::before{ counter-increment:step; content:counter(step, decimal-leading-zero); }
.step h3{ font-size:16.5px; }
.step p{ color:var(--muted); font-size:14px; margin-top:8px; line-height:1.55; }

/* ============ 计费卡 ============ */
.plans{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.plan{
  position:relative; display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--radius);
  padding:28px; backdrop-filter:blur(12px); overflow:hidden;
}
.plan::before{ content:""; position:absolute; inset:0; background:radial-gradient(420px 180px at 80% -30%, var(--accent-dim), transparent 70%); pointer-events:none; }
.plan > *{ position:relative; }
.plan .plan-ico{ width:42px;height:42px;border-radius:10px; background:linear-gradient(135deg,var(--accent-dim),oklch(74% .15 195/.1)); border:1px solid var(--border-strong); display:grid;place-items:center; color:var(--accent); margin-bottom:18px; }
.plan .plan-ico svg{ width:21px;height:21px; }
.plan .plan-tag{ font-size:12px; color:var(--muted); letter-spacing:0.08em; text-transform:uppercase; font-weight:600; }
.plan .plan-name{ font-size:18px; margin-top:4px; }
.plan .price{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; font-size:clamp(34px,4vw,46px); font-weight:600; color:var(--accent); margin-top:14px; line-height:1; text-shadow:0 0 22px var(--accent-glow); }
.plan .price .unit{ font-size:15px; color:var(--muted); font-weight:500; margin-left:6px; }
.plan .desc{ color:var(--muted); margin-top:14px; font-size:14.5px; line-height:1.6; }

/* ============ 时间线 ============ */
.timeline{ position:relative; margin:0; padding:0 0 0 0; list-style:none; }
.timeline::before{ content:""; position:absolute; left:6px; top:8px; bottom:8px; width:2px; background:linear-gradient(var(--accent), oklch(74% 0.15 195 / .1)); opacity:.55; }
.tl-node{ position:relative; padding:0 0 30px 34px; }
.tl-node:last-child{ padding-bottom:0; }
.tl-node::before{
  content:""; position:absolute; left:2px; top:4px; width:11px; height:11px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 0 4px oklch(78% 0.17 145 / .15), 0 0 12px var(--accent-glow);
}
.tl-date{ font-family:var(--font-mono); font-size:13px; color:var(--accent); }
.tl-title{ font-size:17px; margin-top:6px; }
.tl-desc{ color:var(--muted); margin-top:6px; font-size:14.5px; line-height:1.6; }

/* ============ 面包屑 ============ */
.breadcrumb{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13.5px; color:var(--muted); padding:18px 0; }
.breadcrumb a{ color:var(--muted); transition:color .18s var(--ease); }
.breadcrumb a:hover{ color:var(--accent); }
.breadcrumb .sep{ color:var(--muted-2); }
.breadcrumb .current{ color:var(--fg); }

/* 文章头部 meta */
.art-meta{ display:flex; flex-wrap:wrap; gap:16px; color:var(--muted); font-size:13.5px; font-family:var(--font-mono); align-items:center; margin-top:18px; }
.art-meta span{ display:inline-flex; align-items:center; gap:6px; }
.art-meta svg{ width:15px; height:15px; color:var(--accent); }

/* ============ 正文 .prose（支持全部 Markdown 元素） ============ */
.prose{ color:var(--fg); font-size:16.5px; line-height:1.85; }
.prose > * + *{ margin-top:1.15em; }
.prose h1{ font-size:30px; line-height:1.2; margin-top:1.8em; letter-spacing:-0.02em; }
.prose h2{ font-size:24px; line-height:1.25; margin-top:1.6em; letter-spacing:-0.02em; padding-bottom:.3em; border-bottom:1px solid var(--border); }
.prose h3{ font-size:20px; margin-top:1.5em; }
.prose h4{ font-size:17px; margin-top:1.4em; }
.prose h5{ font-size:15px; margin-top:1.3em; color:var(--muted); }
.prose h6{ font-size:14px; margin-top:1.2em; color:var(--muted-2); text-transform:uppercase; letter-spacing:0.06em; }
.prose a{ color:var(--accent); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.prose a:hover{ filter:brightness(1.15); }
.prose strong{ color:var(--fg); font-weight:600; }
.prose img{ border-radius:var(--radius); border:1px solid var(--border); max-width:100%; }
.prose ul,.prose ol{ padding-left:1.5em; }
.prose li{ margin-top:.5em; }
.prose li::marker{ color:var(--accent); }
.prose blockquote{ margin:1.5em 0; padding:14px 20px; border-left:3px solid var(--accent); background:var(--surface); border-radius:0 var(--radius-sm) var(--radius-sm) 0; color:var(--muted); }
.prose blockquote p{ margin:0; }
.prose code{ font-family:var(--font-mono); font-size:.86em; background:var(--surface-2); border:1px solid var(--border); padding:.12em .42em; border-radius:5px; color:var(--accent); }
.prose pre{ background:oklch(12% 0.008 255); border:1px solid var(--border); border-radius:var(--radius-sm); padding:16px 18px; overflow:auto; }
.prose pre code{ background:none; border:0; padding:0; color:var(--fg); font-size:13.5px; }
.prose table{ width:100%; border-collapse:collapse; font-size:14.5px; display:block; overflow-x:auto; }
.prose th,.prose td{ border:1px solid var(--border); padding:10px 13px; text-align:left; }
.prose th{ background:var(--surface); color:var(--fg); font-weight:600; }
.prose tbody tr:nth-child(even){ background:var(--surface); }
.prose hr{ border:0; border-top:1px solid var(--border); margin:2em 0; }

/* 相关文章 */
.related-list{ list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.related-list a{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--surface); transition:border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.related-list a:hover{ border-color:var(--accent); color:var(--accent); transform:translateX(3px); }
.related-list a svg{ width:15px;height:15px; flex:none; opacity:.6; }

/* ============ 分页（兼容 ThinkPHP paginate 常见结构） ============ */
.pagination{ display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 0; padding:0; list-style:none; }
.pagination li{ display:flex; }
.pagination a,.pagination span{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 13px; border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--surface); color:var(--fg); font-family:var(--font-mono); font-size:14px;
  transition:border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease); backdrop-filter:blur(8px);
}
.pagination a:hover{ border-color:var(--accent); color:var(--accent); box-shadow:0 0 18px -8px var(--accent-glow); }
.pagination .active a,.pagination .active span,.pagination .current a,.pagination .current span{
  background:linear-gradient(135deg, var(--accent), oklch(66% 0.15 165)); color:oklch(15% 0.02 145);
  border-color:transparent; font-weight:600; box-shadow:0 0 18px -6px var(--accent-glow);
}
.pagination .disabled a,.pagination .disabled span{ opacity:.38; pointer-events:none; }

/* 兜底：框架直接输出裸 a 链接的分页 */
.pagination.bare{ gap:6px; }

/* ============ 筛选 + 搜索 ============ */
.filter-bar{ display:flex; gap:16px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; margin-bottom:30px; }
.search-form{ display:flex; gap:8px; flex-wrap:wrap; }
.search-form input{
  height:42px; background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--radius-sm);
  color:var(--fg); padding:0 14px; font-family:inherit; font-size:14.5px; min-width:220px; backdrop-filter:blur(8px);
  transition:border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.search-form input::placeholder{ color:var(--muted-2); }
.search-form input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-dim); }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  display:inline-flex; align-items:center; padding:8px 14px; border-radius:999px;
  background:var(--surface); border:1px solid var(--border-strong); color:var(--muted);
  font-size:13.5px; transition:border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.chip:hover{ color:var(--fg); border-color:var(--fg); }
.chip.active{
  background:linear-gradient(135deg, var(--accent), oklch(66% 0.15 165)); color:oklch(15% 0.02 145);
  border-color:transparent; font-weight:600; box-shadow:0 0 18px -6px var(--accent-glow);
}

/* ============ 空状态 ============ */
.empty-state{ text-align:center; padding:72px 24px; border:1px dashed var(--border-strong); border-radius:var(--radius); background:var(--surface); }
.empty-state .ico{ width:52px; height:52px; margin:0 auto 16px; color:var(--muted-2); }
.empty-state .ico svg{ width:52px; height:52px; }
.empty-state h3{ font-size:18px; }
.empty-state p{ color:var(--muted); margin-top:8px; }

/* ============ 结尾 CTA band ============ */
.cta-band{ position:relative; overflow:hidden; text-align:center; padding:64px 28px; border-radius:20px; background:var(--surface); border:1px solid var(--border-strong); backdrop-filter:blur(14px); margin-top:8px; }
.cta-band::before{ content:""; position:absolute; inset:0; background:radial-gradient(600px 240px at 50% -40%, var(--accent-dim), transparent 70%); }
.cta-band > *{ position:relative; }
.cta-band h2{ font-size:clamp(26px, 3vw, 34px); }
.cta-band p{ color:var(--muted); margin-top:12px; }
.cta-band p b{ color:var(--accent); font-family:var(--font-mono); }
.cta-band .cta-actions{ margin-top:26px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ============ FAQ（原生 details/summary，无需 JS） ============ */
.faq{ display:flex; flex-direction:column; gap:12px; max-width:820px; margin:0 auto; }
.faq details{ background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:border-color 0.2s, background 0.2s; }
.faq details:hover{ border-color:var(--border-strong); }
.faq details[open]{ background:var(--surface-2); border-color:var(--border-strong); }
.faq summary{ list-style:none; cursor:pointer; padding:18px 22px; font-size:16px; font-weight:500; color:var(--fg); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:22px; font-weight:300; color:var(--accent); transition:transform 0.2s; line-height:1; }
.faq details[open] summary::after{ content:"−"; }
.faq .faq-a{ padding:0 22px 20px; color:var(--muted); font-size:15px; line-height:1.7; }
.faq .faq-a strong{ color:var(--fg); font-weight:600; }

/* ============ 页脚 ============ */
.site-footer{ border-top:1px solid var(--border); background:oklch(13% 0.008 255 / 0.6); backdrop-filter:blur(10px); padding:56px 0 32px; }
.foot-grid{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.foot-brand{ max-width:36ch; }
.foot-brand .brand{ margin-bottom:12px; }
.foot-brand p{ color:var(--muted); font-size:14px; line-height:1.6; }
.foot-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.foot-col h4{ font-size:12px; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted-2); margin:0 0 14px; font-weight:600; }
.foot-col a{ display:block; font-size:14px; color:var(--fg); padding:5px 0; opacity:.85; transition:color .18s var(--ease), opacity .18s var(--ease); }
.foot-col a:hover{ color:var(--accent); opacity:1; }
.foot-bottom{ margin-top:42px; padding-top:22px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap; font-size:13px; color:var(--muted); }

/* ============ 动效 ============ */
@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.55; transform:scale(.86); } }
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:translateY(0); } }
.reveal{ animation:fadeUp .7s var(--ease) both; }
.reveal.d1{ animation-delay:.08s; } .reveal.d2{ animation-delay:.16s; } .reveal.d3{ animation-delay:.24s; } .reveal.d4{ animation-delay:.32s; }

/* ============ 响应式 ============ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; gap:52px; }
  .preview{ max-width:440px; }
  .about-grid{ grid-template-columns:1fr; gap:36px; }
  .articles{ grid-template-columns:repeat(2,1fr); }
  .features{ grid-template-columns:1fr; }
  .cards.c4{ grid-template-columns:repeat(2,1fr); }
  .cards.c3{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .metrics.cols-4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 760px){
  .nav-links, .desktop-auth .login-link, .desktop-auth .btn-ghost{ display:none; }
  .hamburger{ display:inline-flex; }
  .hero{ padding:56px 0 48px; }
  .page-hero{ padding:54px 0 24px; }
  .section{ padding:54px 0; }
  .float-card{ right:8px; bottom:-16px; }
  .cards.c2,.cards.c3,.cards.c4{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .plans{ grid-template-columns:1fr; }
  .filter-bar{ flex-direction:column; align-items:stretch; }
  .search-form input{ min-width:0; width:100%; }
}
@media (max-width: 520px){
  .wrap{ padding:0 18px; }
  .articles{ grid-template-columns:1fr; }
  .pc-grid{ grid-template-columns:1fr; }
  .qr{ width:100%; max-width:120px; }
  .foot-cols{ gap:40px; }
  .articles-top{ flex-direction:column; align-items:flex-start; }
  .metrics.cols-4{ grid-template-columns:repeat(2,1fr); }
}
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
