/* 恐象AI 官网样式 —— 科技感深色首屏 + 明亮内容区 */
:root {
  --primary: #4f46e5;
  --primary-2: #7c3aed;
  --accent: #06b6d4;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #c026d3 100%);
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --dark: #070718;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(79, 70, 229, .18);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
br.pc { display: inline; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 600; white-space: nowrap; transition: .2s; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(99, 102, 241, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(99, 102, 241, .45); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--primary); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn .badge { font-size: 11px; font-weight: 500; background: rgba(255, 255, 255, .22); padding: 1px 7px; border-radius: 99px; margin-left: 4px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* ---------- 头部 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(226, 232, 240, .7); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.logo-word { height: 30px; width: auto; }
.logo-light .logo-word { height: 34px; filter: invert(1) brightness(1.15); }
.footer-bottom .police { display: inline-flex; align-items: center; gap: 4px; }
.main-nav { display: flex; gap: 6px; flex: 1; }
.main-nav a { padding: 8px 14px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: .2s; }
.main-nav a:hover { color: var(--primary); background: #eef2ff; }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- 首屏 ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.hero { padding: 110px 0 96px; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.o1 { width: 520px; height: 520px; background: #4f46e5; top: -180px; left: -120px; animation: float 14s ease-in-out infinite; }
.o2 { width: 460px; height: 460px; background: #c026d3; top: -80px; right: -140px; opacity: .4; animation: float 18s ease-in-out infinite reverse; }
.o3 { width: 420px; height: 420px; background: #06b6d4; bottom: -260px; left: 40%; opacity: .35; animation: float 16s ease-in-out infinite; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }

.hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #a5b4fc, #f0abfc 50%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 24px; padding: 6px 16px; border-radius: 99px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: #c7d2fe; background: rgba(99, 102, 241, .14); border: 1px solid rgba(165, 180, 252, .28); width: fit-content; }
.hero h1 .eyebrow { display: flex; }
.hero-sub { max-width: 720px; margin: 22px auto 0; font-size: 18px; color: #cbd5e1; }

.prompt-box { max-width: 780px; margin: 40px auto 0; text-align: left; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 16px; backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); transition: .25s; }
.prompt-box:focus-within { border-color: rgba(165, 180, 252, .6); box-shadow: 0 30px 80px rgba(79, 70, 229, .35), 0 0 0 4px rgba(99, 102, 241, .18); }
.prompt-box textarea { width: 100%; resize: none; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 17px; line-height: 1.7; padding: 6px 8px; }
.prompt-box textarea::placeholder { color: #94a3b8; }
.prompt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #e2e8f0; padding: 5px 13px; border-radius: 99px; font-size: 13px; transition: .2s; }
.chips button:hover { background: rgba(165, 180, 252, .2); border-color: rgba(165, 180, 252, .5); color: #fff; }
.btn-send { height: 44px; }
.hero-links { display: flex; justify-content: center; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-links a { display: inline-flex; align-items: center; gap: 6px; color: #cbd5e1; font-size: 15px; transition: .2s; }
.hero-links a:hover { color: #fff; }

.page-hero { padding: 64px 0 60px; }
.page-hero .orb { opacity: .4; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-top: 14px; }
.page-hero p { color: #cbd5e1; margin-top: 14px; max-width: 760px; font-size: 17px; }
.page-hero .crumbs, .page-hero .crumbs a { color: #94a3b8; }
.page-hero .crumbs .cur { color: #e2e8f0; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs .cur { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ---------- 数据带 ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 34px 16px; text-align: center; border-right: 1px solid var(--line); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-size: 32px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid span { color: var(--muted); font-size: 14px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 48px 0 80px; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--primary); margin-bottom: 10px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; white-space: nowrap; }
.link-more:hover .ic, .more .ic { transition: transform .2s; }
.link-more:hover .ic { transform: translateX(3px); }

/* 三步 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; padding: 36px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .25s; overflow: hidden; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.step-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 24px; box-shadow: 0 8px 20px rgba(99, 102, 241, .35); }
.step-no { position: absolute; right: 24px; top: 16px; font-size: 56px; font-weight: 900; color: #eef2ff; line-height: 1; }
.step h3 { font-size: 21px; margin: 22px 0 10px; }
.step p { color: var(--muted); }

/* 服务卡片 */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc-card { display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.svc-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: var(--primary); font-size: 22px; transition: .25s; }
.svc-card:hover .svc-ic { background: var(--grad); color: #fff; }
.svc-card h3 { font-size: 17px; margin: 18px 0 8px; }
.svc-card p { color: var(--muted); font-size: 14px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; color: var(--primary); font-size: 14px; font-weight: 600; }
a:hover > .more .ic { transform: translateX(3px); }

/* 两种模式 */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.mode { position: relative; padding: 40px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.mode-ai { background: var(--grad); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.mode .tag { position: absolute; top: 20px; right: 20px; font-size: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.mode h3 { font-size: 26px; }
.mode-for { margin: 8px 0 22px; color: var(--muted); }
.mode-ai .mode-for { color: #e0e7ff; }
.mode li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.mode li .ic { color: var(--primary); margin-top: 5px; }
.mode-ai li .ic { color: #a5f3fc; }
.mode .btn { margin-top: 18px; }

/* 模板 */
.tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.tpl-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: .25s; }
.tpl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.tpl-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grad); }
.tpl-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.tpl-card:hover .tpl-thumb img { transform: scale(1.04); }
.tpl-badge { position: absolute; top: 10px; left: 10px; font-size: 12px; color: #fff; background: var(--grad); padding: 2px 10px; border-radius: 99px; }
.tpl-meta { padding: 14px 18px 18px; flex: 1; }
.tpl-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tpl-meta h3 { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-meta span { font-size: 12px; color: var(--muted); background: var(--bg-alt); padding: 2px 8px; border-radius: 6px; white-space: nowrap; flex: none; }
.tpl-meta p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter button { border: 1px solid var(--line); background: #fff; padding: 7px 18px; border-radius: 99px; font-size: 14px; color: var(--ink-2); transition: .2s; }
.filter button.on, .filter button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 关于 / 拆分布局 */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 20px; }
.about-copy p { color: var(--ink-2); margin-bottom: 14px; font-size: 17px; }
.about-copy .btn { margin-top: 12px; }
.mock-window { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafafa; }
.mock-chat { padding: 26px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #fff, #f8f9ff); min-height: 260px; }
.mock-chat p { max-width: 84%; padding: 12px 16px; border-radius: 14px; font-size: 15px; }
.mock-chat .u { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.mock-chat .a { background: #eef2ff; color: var(--ink-2); border-bottom-left-radius: 4px; }
.mock-progress { height: 8px; border-radius: 99px; background: #e0e7ff; overflow: hidden; margin-top: 6px; }
.mock-progress span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 99px; animation: prog 2.6s ease-in-out infinite; }
@keyframes prog { 0% { width: 10%; } 70% { width: 92%; } 100% { width: 92%; } }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.values div { padding: 26px; border-radius: var(--radius); background: var(--bg-alt); }
.values .ic { font-size: 28px; color: var(--primary); }
.values h3 { font-size: 19px; margin: 12px 0 4px; }
.values p { color: var(--muted); font-size: 14px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 12px; }
.contact-card a { color: var(--primary); }

/* 资讯卡片 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .25s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-thumb, .list-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad); }
.news-thumb img, .list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover img, .list-item:hover img { transform: scale(1.05); }
.ph { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .9); font-size: 34px; font-weight: 800; letter-spacing: .1em; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { color: var(--muted); font-size: 14px; margin: 10px 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; }
.news-meta span { display: inline-flex; align-items: center; gap: 4px; }
.news-meta .cat { color: var(--primary); background: #eef2ff; padding: 2px 10px; border-radius: 6px; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: .2s; }
.faq details[open] { border-color: #c7d2fe; box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; font-weight: 600; }
.faq .plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px; background: var(--primary); transition: .25s; }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { color: var(--ink-2); padding-bottom: 22px; }

/* 流程 */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: p; }
.process li { position: relative; padding: 28px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.process li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 46px; width: 12px; height: 2px; background: #c7d2fe; }
.pn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.process h3 { font-size: 17px; margin: 16px 0 6px; }
.process p { color: var(--muted); font-size: 14px; }
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sol-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f8f9ff); transition: .25s; display: flex; flex-direction: column; }
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.sol-card h3 { font-size: 20px; }
.sol-card p { color: var(--muted); font-size: 14px; margin-top: 10px; flex: 1; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.feat-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #eef2ff; color: var(--primary); font-size: 20px; }
.feat h3 { font-size: 18px; margin: 16px 0 6px; }
.feat p { color: var(--muted); font-size: 15px; }
.other-sol { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); }
.other-sol a { padding: 5px 14px; border-radius: 99px; background: var(--bg-alt); color: var(--ink-2); font-size: 14px; }
.other-sol a:hover { background: #eef2ff; color: var(--primary); }

/* 指南 */
.help-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.help-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--line); }
.help-nav a { padding: 8px 18px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.help-nav a:hover { color: var(--primary); border-left-color: var(--primary); }
.help-group { margin-bottom: 56px; scroll-margin-top: 90px; }
.help-group h2 { font-size: 26px; margin-bottom: 20px; }
.help-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help-item { padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.help-item h3 { font-size: 17px; margin-bottom: 8px; }
.help-item p { color: var(--muted); font-size: 15px; }

/* ---------- 文章列表 ---------- */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-tabs a { padding: 7px 16px; border-radius: 99px; background: var(--bg-alt); color: var(--ink-2); font-size: 14px; transition: .2s; }
.cat-tabs a:hover { color: var(--primary); }
.cat-tabs a.on { background: var(--primary); color: #fff; }
.article-list { display: grid; gap: 18px; }
.list-item { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .25s; }
.list-item:hover { box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.list-thumb { border-radius: 12px; }
.list-thumb .ph { font-size: 28px; }
.list-body { display: flex; flex-direction: column; min-width: 0; }
.list-body h2 { font-size: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-body h2 a:hover { color: var(--primary); }
.list-body p { color: var(--muted); font-size: 15px; margin: 10px 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pin { font-size: 12px; color: #fff; background: #f43f5e; padding: 1px 8px; border-radius: 5px; margin-right: 8px; vertical-align: 2px; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); background: var(--bg-alt); border-radius: var(--radius); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 14px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager .dots { border: 0; background: none; }

/* 侧栏 */
.sidebar { position: sticky; top: 92px; display: grid; gap: 20px; }
.side-search { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.side-search input { flex: 1; border: 0; outline: 0; padding: 0 16px; height: 46px; font: inherit; font-size: 15px; min-width: 0; }
.side-search button { border: 0; background: var(--primary); color: #fff; width: 50px; font-size: 18px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box h2 { font-size: 17px; margin-bottom: 14px; padding-left: 12px; border-left: 3px solid var(--primary); line-height: 1.2; }
.side-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-cats a { display: block; padding: 8px 12px; border-radius: 8px; background: var(--bg-alt); font-size: 14px; color: var(--ink-2); }
.side-cats a:hover { color: var(--primary); background: #eef2ff; }
.side-hot li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-hot li:last-child { border-bottom: 0; }
.side-hot span { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--bg-alt); color: var(--muted); margin-top: 1px; }
.side-hot li:nth-child(-n+3) span { background: var(--grad); color: #fff; }
.side-hot a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); }
.side-hot a:hover { color: var(--primary); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a, .article-tags a { font-size: 13px; padding: 4px 12px; border-radius: 99px; background: var(--bg-alt); color: var(--ink-2); }
.tag-cloud a:hover, .article-tags a:hover { background: #eef2ff; color: var(--primary); }
.side-cta { border-radius: var(--radius); padding: 26px; background: var(--grad); color: #fff; }
.side-cta h2 { font-size: 18px; }
.side-cta p { font-size: 14px; color: #e0e7ff; margin: 8px 0 16px; }

/* ---------- 文章详情 ---------- */
.article-wrap { background: var(--bg-alt); padding-top: 32px; }
.article { background: #fff; border-radius: 20px; padding: 40px 48px; border: 1px solid var(--line); min-width: 0; }
.article-head { margin: 18px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 16px; }
.article-lead { background: var(--bg-alt); border-left: 4px solid var(--primary); padding: 16px 20px; border-radius: 0 12px 12px 0; color: var(--ink-2); margin-bottom: 26px; }
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 28px; background: #fafbff; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { display: grid; gap: 4px; }
.toc li.l3 { padding-left: 18px; font-size: 14px; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--primary); }
.article-content { font-size: 17px; line-height: 1.9; color: #1e293b; overflow-wrap: break-word; }
.article-content > * + * { margin-top: 1.1em; }
.article-content h2 { font-size: 24px; margin-top: 1.8em; padding-bottom: 8px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.article-content h3 { font-size: 20px; margin-top: 1.5em; scroll-margin-top: 90px; }
.article-content img { border-radius: 12px; margin-left: auto; margin-right: auto; }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content ul { list-style: disc; padding-left: 1.6em; }
.article-content ol { list-style: decimal; padding-left: 1.6em; }
.article-content li + li { margin-top: .4em; }
.article-content blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid #c7d2fe; background: var(--bg-alt); color: var(--ink-2); border-radius: 0 10px 10px 0; }
.article-content pre { background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.article-content code { font-family: Consolas, Menlo, monospace; font-size: .9em; }
.article-content :not(pre) > code { background: #eef2ff; color: #4338ca; padding: 2px 6px; border-radius: 5px; }
.article-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-content th { background: var(--bg-alt); }
.article-content video, .article-content iframe { max-width: 100%; border-radius: 12px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; color: var(--muted); font-size: 14px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 24px 28px; border-radius: 16px; background: linear-gradient(135deg, #eef2ff, #fae8ff); }
.article-cta p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.prev-next div { padding: 16px 20px; border-radius: 12px; background: var(--bg-alt); min-width: 0; }
.prev-next span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.prev-next a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.prev-next a:hover { color: var(--primary); }
.prev-next em { color: var(--muted); font-style: normal; }
.related { margin-top: 36px; }
.related h2 { font-size: 20px; margin-bottom: 12px; }
.related li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.related li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related li a:hover { color: var(--primary); }
.related time { color: var(--muted); font-size: 13px; flex: none; }
.preview-bar { background: #fef3c7; color: #92400e; text-align: center; padding: 10px; font-size: 14px; }
.preview-bar a { text-decoration: underline; margin-left: 10px; }

/* 网站地图 / 404 */
.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sitemap .full { grid-column: 1 / -1; }
.sitemap h2 { font-size: 20px; margin-bottom: 14px; }
.sitemap li { padding: 5px 0; }
.sitemap a:hover { color: var(--primary); }
.sitemap .cols { columns: 2; column-gap: 32px; }
.notfound { text-align: center; }
.nf-code { font-size: 120px; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 30px; margin: 16px 0 10px; }
.notfound p { color: var(--muted); }
.nf-hot { text-align: left; margin-top: 56px; }
.nf-hot h2 { font-size: 20px; margin-bottom: 10px; }
.nf-hot li { padding: 8px 0; border-bottom: 1px dashed var(--line); }

/* ---------- CTA / 页脚 ---------- */
.cta { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .25), transparent 40%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 60px; padding-bottom: 60px; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta p { color: #e0e7ff; margin-top: 8px; font-size: 17px; }
.site-footer { background: var(--dark); color: #94a3b8; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; line-height: 1.8; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer a { display: block; padding: 4px 0; transition: .2s; }
.site-footer a:hover { color: #fff; }
.site-footer p a { display: inline; }
.site-footer p { margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer-bottom span { display: inline-flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { display: inline; padding: 0; }
.back-top { position: fixed; right: 24px; bottom: 28px; width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; color: var(--primary); opacity: 0; pointer-events: none; transition: .25s; z-index: 40; }
.back-top .ic { transform: rotate(-90deg); }
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .tpl-grid, .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process li::after { display: none; }
  .with-side { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .header-inner { gap: 12px; justify-content: space-between; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn .badge { display: none; }
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 10px; font-size: 16px; border-bottom: 1px solid var(--bg-alt); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .hero-sub { font-size: 16px; }
  br.pc { display: none; }
  .prompt-foot { flex-direction: column; align-items: stretch; }
  .btn-send { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps, .modes, .about-split, .news-grid, .feat-grid, .help-items { grid-template-columns: 1fr; }
  .about-split { gap: 36px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; flex-direction: row; flex-wrap: wrap; border: 0; gap: 8px; }
  .help-nav a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; margin: 0; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; text-align: center; }
  .article { padding: 26px 20px; border-radius: 16px; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .sitemap { grid-template-columns: 1fr; }
  .sitemap .cols { columns: 1; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .svc-grid, .tpl-grid, .sol-grid, .process, .values { grid-template-columns: 1fr; }
  .list-item { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .prev-next { grid-template-columns: 1fr; }
  .mode { padding: 30px 24px; }
  .header-actions .btn-primary { padding: 0 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.tpl-grid > div > .tpl-card { height: 100%; }
.site-footer .logo { display: flex; padding: 0; }
