:root {
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f8fafc;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --hero: #0f172a;
  --ai: #8b5cf6;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", Inter, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: 64px;
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; width: min(1200px, calc(100% - 32px)); }
.brand { display: inline-flex; align-items: center; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}
.brand-mark i { width: 10px; height: 10px; border-radius: 3px; background: #fff; display: block; }
.brand img { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 16px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 8px;
  border: 1px solid transparent; font-size: 14px; font-weight: 500; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-lg { min-height: 44px; padding: 0 24px; font-size: 15px; border-radius: 10px; }
.btn-glow { box-shadow: 0 0 32px rgba(37, 99, 235, .45); }
.btn-ghost {
  border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-white { background: #fff; color: var(--hero); }
.btn-white:hover { background: #f1f5f9; }
.hero {
  position: relative; overflow: hidden;
  background: var(--hero); color: #fff;
}
.hero-grid {
  position: relative;
  display: grid; align-items: center; gap: 48px;
  min-height: 78vh; padding: 80px 0 96px;
}
.dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(148, 163, 184, .22) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .4;
}
.glow {
  position: absolute; border-radius: 999px; filter: blur(110px); pointer-events: none;
}
.glow-a { right: -64px; top: -96px; width: 28rem; height: 28rem; background: rgba(37, 99, 235, .35); }
.glow-b { left: -64px; bottom: -96px; width: 20rem; height: 20rem; background: rgba(139, 92, 246, .25); }
.hero-copy { position: relative; max-width: 760px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 20px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
  color: #bfdbfe; font-size: 12px; font-weight: 500; letter-spacing: .02em;
}
.dot-ai { width: 8px; height: 8px; border-radius: 99px; background: var(--ai); display: inline-block; }
.hero h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.15; letter-spacing: -.02em; }
.hero .lead { max-width: 640px; margin: 20px 0 0; color: #cbd5e1; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.panel {
  position: relative; display: block;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  border-radius: 16px; padding: 24px;
  box-shadow: 0 0 80px rgba(37, 99, 235, .18);
  backdrop-filter: blur(12px);
}
.panel-head { display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; }
.online { display: flex; align-items: center; gap: 8px; color: #34d399; }
.online i { width: 6px; height: 6px; border-radius: 99px; background: #34d399; box-shadow: 0 0 10px #34d399; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.stat { border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.2); border-radius: 12px; padding: 16px 12px; }
.stat b { display: block; font-size: 24px; }
.stat span { display: block; margin-top: 4px; font-size: 11px; color: #94a3b8; }
.price-list { list-style: none; margin: 24px 0 0; padding: 0; }
.price-list li {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding: 8px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.03); font-size: 14px;
}
.price-list span { color: #e2e8f0; min-width: 0; }
.price-list em { color: #93c5fd; font-style: normal; font-size: 12px; white-space: nowrap; }
.section { position: relative; padding: 64px 0 80px; }
.section-soft { background: rgba(248, 250, 252, .9); }
.kicker { margin: 0 0 8px; color: var(--primary); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.section h2, .page-title { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.sub { margin: 8px 0 0; color: var(--muted); }
.more { color: var(--primary); font-size: 14px; font-weight: 500; }
.cards { display: grid; gap: 20px; }
.cards-3, .cards-2 { grid-template-columns: 1fr; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card .clamp {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case-card { padding: 0; overflow: hidden; }
.case-body { padding: 20px; }
.case-body h3 { margin-top: 0; }
.card {
  display: flex; flex-direction: column; height: 100%;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 12px; padding: 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.card:hover, .service-card:hover, .lift:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
.card h3 { margin: 16px 0 0; font-size: 18px; }
.card h3 a:hover { color: var(--primary); }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.badge {
  display: inline-flex; align-items: center;
  border-radius: 999px; background: #f1f5f9; color: #334155;
  padding: 2px 10px; font-size: 12px; font-weight: 500;
}
.icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(139,92,246,.1));
  color: var(--primary); font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .1);
}
.icon-box svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cover {
  position: relative; height: 160px; display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}
.cover .badge { background: rgba(255,255,255,.15); color: #fff; }
.tone-violet { background: linear-gradient(135deg, #020617, rgba(109, 40, 217, .55)); }
.tone-emerald { background: linear-gradient(135deg, #020617, rgba(6, 95, 70, .55)); }
.tone-slate { background: linear-gradient(135deg, #0f172a, rgba(100, 116, 139, .45)); }
.result { color: #059669; font-size: 14px; font-weight: 600; }
.about-grid { display: grid; gap: 48px; align-items: center; }
.advantages { display: grid; gap: 16px; margin-top: 32px; }
.advantage { border: 1px solid rgba(226,232,240,.9); border-radius: 12px; padding: 16px; background: #fff; }
.advantage b { display: block; margin-top: 12px; }
.portrait {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fafc, rgba(219, 234, 254, .6));
  padding: 32px; text-align: center;
}
.avatar {
  width: 112px; height: 112px; margin: 0 auto; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--hero); color: #fff; font-size: 32px; font-weight: 700;
  box-shadow: 0 0 40px rgba(37, 99, 235, .35);
}
.placeholders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.placeholders span {
  height: 64px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line); border-radius: 8px; background: #fff;
  color: var(--muted); font-size: 12px;
}
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.logo-grid span {
  height: 64px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px;
}
.logo-grid img { max-width: 100%; max-height: 48px; object-fit: contain; }
.cta-wrap { padding-bottom: 80px; }
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 16px; background: var(--hero); padding: 56px 32px;
}
.cta h2 { font-size: 30px; }
.cta p { max-width: 560px; margin: 12px auto 0; color: #cbd5e1; font-size: 14px; }
.cta .actions { justify-content: center; margin-top: 20px; }
.page-hero { padding: 48px 0 8px; }
.crumbs { margin: 0 0 16px; color: #64748b; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: 4px; min-width: 0; }
.crumbs a:hover { color: #0f172a; }
.crumbs .current { color: #0f172a; }
.crumbs .sep { opacity: .6; }
.crumbs li:first-child .sep { display: none; }
.friends { padding: 8px 0 48px; }
.friends h2 { margin: 0 0 12px; color: #64748b; font-size: 14px; font-weight: 500; }
.friends ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.friends a { color: #64748b; }
.friends a:hover { color: #0f172a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  color: var(--muted); font-size: 14px; background: #fff;
}
.chip:hover, .chip.active { border-color: var(--primary); background: rgba(37,99,235,.08); color: var(--primary); }
.article {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px;
}
.article h1 { margin: 8px 0 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.3; }
.meta { color: var(--muted); font-size: 13px; }
.blog-list { padding-top: 28px; }
.post-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.post-card {
  display: flex; flex-direction: column; min-height: 148px;
  background: #fff; border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 12px; padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.post-card:hover { border-color: rgba(37, 99, 235, .35); box-shadow: 0 10px 24px rgba(15, 23, 42, .06); }
.post-card h3 { margin: 10px 0 0; font-size: 16px; line-height: 1.45; }
.post-card h3 a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card h3 a:hover { color: var(--primary); }
.post-card .excerpt {
  margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .meta { margin-top: auto; padding-top: 10px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 28px; color: var(--muted); font-size: 14px; }
.pager-btn, .pager-num {
  min-width: 36px; height: 36px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.pager-btn.off { color: #cbd5e1; }
a.pager-btn:hover, a.pager-num:hover { border-color: var(--primary); color: var(--primary); }
.pager-num.on { border-color: var(--primary); background: var(--primary); color: #fff; }
.pager-gap { padding: 0 4px; }
.article-more { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--line); }
.article-nav { display: grid; gap: 12px; }
.article-nav a, .article-nav .empty {
  display: flex; flex-direction: column; gap: 4px; min-height: 76px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft);
}
.article-nav .label { color: var(--muted); font-size: 12px; }
.article-nav .name {
  font-size: 15px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-nav a:hover { border-color: rgba(37, 99, 235, .35); color: var(--primary); }
.article-nav .empty { background: transparent; }
.article-nav .empty .name { color: #cbd5e1; }
.related { margin-top: 28px; }
.related h2 { margin: 0 0 12px; font-size: 18px; }
@media (min-width: 720px) {
  .article-nav { grid-template-columns: 1fr 1fr; }
  .article-nav .next { text-align: right; align-items: flex-end; }
}
@media (min-width: 720px) {
  .post-grid, .cards-3, .cards-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .post-grid, .cards-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.prose h2 { margin: 28px 0 10px; font-size: 22px; }
.prose .related h2 { margin: 0 0 12px; font-size: 18px; }
.prose .post-card .excerpt { color: var(--muted); }
.prose p, .prose li { color: #334155; }
.prose ul { padding-left: 1.2em; }
.footer { background: var(--hero); color: #e2e8f0; }
.footer-grid { display: grid; gap: 40px; padding: 64px 0; }
.footer h3, .footer .label { margin: 0; color: #fff; font-size: 14px; }
.footer p, .footer li, .footer a { color: #94a3b8; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 16px 0 0; padding: 0; }
.footer li { margin-top: 8px; }
.qr {
  margin-top: 16px; width: 96px; height: 96px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 12px;
}
.qr img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.legal {
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 24px 0; color: #64748b; font-size: 12px;
}
.legal a { font-size: 12px; }
.notice {
  margin: 24px auto 0; width: min(1200px, calc(100% - 32px));
  background: #fff7ed; border: 1px solid #fdba74; color: #9a3412;
  border-radius: 10px; padding: 12px 14px;
}
.mobile-nav { display: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; min-height: 78vh; padding: 80px 0 96px; }
  .about-grid { grid-template-columns: 1.1fr .9fr; }
  .advantages { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav, .desk-consult { display: none; }
  .topbar .menu-toggle { display: inline-flex; }
  .hero-grid { min-height: 0; padding: 36px 0 40px; gap: 28px; }
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero .lead { margin-top: 14px; font-size: 16px; }
  .actions { margin-top: 20px; }
  .actions .btn { flex: 1 1 calc(50% - 12px); }
  .panel { padding: 16px; }
  .stat { padding: 12px 8px; }
  .stat b { font-size: 20px; }
  .section { padding: 40px 0 48px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 20px; }
  .cover { height: 112px; }
  .placeholders { display: none; }
  .cta { padding: 36px 20px; }
  .cta h2 { font-size: 24px; }
  .cta .actions { justify-content: stretch; }
  .cta .actions .btn { flex-basis: 100%; }
  .cta-wrap { padding-bottom: 40px; }
  .footer-grid { gap: 28px; padding: 40px 0; }
  .mobile-nav.open { display: block; border-top: 1px solid var(--line); background: #fff; }
  .mobile-nav a { display: block; padding: 14px 16px; font-size: 16px; }
}
@media (max-width: 520px) {
  .actions .btn { flex-basis: 100%; }
}
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }
.service-main { display: flex; flex-direction: column; flex: 1; color: inherit; }
.trial-link { margin-top: 16px; color: var(--primary); font-size: 14px; font-weight: 600; }
.trial-link:hover { text-decoration: underline; }
.card .btn, .card .more { margin-top: 16px; align-self: flex-start; }
.card .more { display: inline-flex; }
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.highlights li { border-radius: 999px; background: #f1f5f9; padding: 4px 10px; font-size: 13px; color: #334155; }
.copy-layout { max-width: 860px; }
.copy-form label, .field-row label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.copy-form input, .copy-form select, .chat-form input {
  width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff;
}
.field-row { display: grid; gap: 12px; margin-bottom: 12px; }
.copy-form .actions { margin-top: 16px; }
.copy-output {
  min-height: 220px; margin-top: 16px; white-space: pre-wrap;
  border: 1px solid var(--line); border-radius: 12px; background: var(--soft);
  padding: 16px; font-size: 14px; line-height: 1.7; font-weight: 400;
}
.form-error { margin: 12px 0 0; color: #b91c1c; font-size: 14px; }
.upgrade-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.upgrade-note p { margin: 0; }
.chat-wrap { max-width: 760px; }
.chat-box, .assistant-panel {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.chat-head span, .assistant-close { color: var(--muted); font-size: 12px; font-weight: 500; }
.assistant-close { border: 0; background: transparent; cursor: pointer; }
.chat-log { display: flex; flex-direction: column; gap: 10px; min-height: 280px; max-height: 420px; overflow: auto; padding: 16px; }
.bubble { max-width: 90%; white-space: pre-wrap; border-radius: 10px; padding: 8px 12px; font-size: 14px; line-height: 1.6; }
.bubble.theirs { background: var(--soft); }
.bubble.mine { margin-left: auto; background: var(--primary); color: #fff; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-quick button {
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  padding: 4px 12px; font-size: 12px; cursor: pointer; color: var(--ink);
}
.chat-quick button:hover { border-color: var(--primary); color: var(--primary); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form .btn { flex: none; }
.assistant { position: fixed; right: 16px; bottom: 16px; z-index: 45; }
.assistant-toggle {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--hero); color: #fff; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .2);
}
.assistant-panel { position: absolute; right: 0; bottom: 56px; width: min(360px, calc(100vw - 32px)); }
.assistant-panel[hidden] { display: none; }
.assistant .chat-log { min-height: 220px; max-height: 320px; }
.assistant.open .assistant-toggle { background: var(--primary); }
@media (min-width: 720px) {
  .field-row { grid-template-columns: 1fr 1fr 1fr; }
}
