/* ==========================================================================
   新软逐鹿官网 · Design System
   零依赖：不加载外部字体 / CSS 框架，保证国内访问首屏速度与 SEO 表现
   ========================================================================== */

:root {
  --bg: #050a14;
  --bg-2: #08101f;
  --bg-3: #0c1628;
  --panel: rgba(12, 21, 38, 0.72);
  --panel-solid: #0b1426;
  --line: rgba(130, 180, 255, 0.12);
  --line-strong: rgba(130, 200, 255, 0.24);
  --text: #e8f1ff;
  --text-2: #c3d2ea;
  --muted: #8fa1c1;
  --dim: #5f6f8c;

  --blue: #2f7bff;
  --cyan: #19d3f0;
  --green: #3ce39a;
  --violet: #8a6cff;
  --amber: #ffb547;

  --grad: linear-gradient(120deg, #2f7bff 0%, #19d3f0 52%, #3ce39a 100%);
  --grad-soft: linear-gradient(120deg, rgba(47, 123, 255, 0.18), rgba(25, 211, 240, 0.12) 52%, rgba(60, 227, 154, 0.16));

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.6);
  --container: 1200px;
  --header-h: 72px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  /* 全局背景光晕 */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60rem 40rem at 12% -8%, rgba(47, 123, 255, 0.16), transparent 60%),
    radial-gradient(50rem 36rem at 92% 4%, rgba(60, 227, 154, 0.09), transparent 60%),
    radial-gradient(60rem 50rem at 50% 110%, rgba(25, 211, 240, 0.08), transparent 60%),
    linear-gradient(180deg, #050a14 0%, #060c18 50%, #07101f 100%);
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(25, 211, 240, 0.3); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 1000;
  padding: 0.7rem 1rem; border-radius: 999px;
  background: var(--cyan); color: #04111c; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
.section { position: relative; padding-block: 88px; }
.section-sm { padding-block: 56px; }
@media (max-width: 767px) { .section { padding-block: 64px; } }
.section-alt { background: linear-gradient(180deg, transparent, rgba(12, 22, 40, 0.55) 18%, rgba(12, 22, 40, 0.55) 82%, transparent); }

.grid { display: grid; gap: 20px; }
.grid-2 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }
.grid-4 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } .split-rev { grid-template-columns: 0.95fr 1.05fr; } }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.flex { display: flex; } .wrap { flex-wrap: wrap; } .gap-1 { gap: 8px; } .gap-2 { gap: 12px; } .gap-3 { gap: 20px; } .items-center { align-items: center; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.display { font-size: clamp(2.2rem, 5.4vw, 4.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); font-weight: 800; letter-spacing: -0.015em; }
.h3 { font-size: 1.25rem; font-weight: 700; }
.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text-2); line-height: 1.9; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }
strong { color: #fff; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: #03121d; background: var(--grad); box-shadow: 0 10px 32px -8px rgba(25, 211, 240, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(25, 211, 240, 0.7); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(25, 211, 240, 0.5); background: rgba(25, 211, 240, 0.08); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 600; font-size: 15px; }
.link-arrow::after { content: "→"; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; color: var(--text-2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.chip-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 0 rgba(60, 227, 154, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 227, 154, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(60, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 227, 154, 0); } }
.tag { font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 6px; color: var(--cyan); background: rgba(25, 211, 240, 0.08); border: 1px solid rgba(25, 211, 240, 0.18); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(5, 10, 20, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.2; }
.brand-sub { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--text-2); transition: color 0.2s, background 0.2s; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--grad); }
.nav .btn { margin-left: 12px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s, opacity 0.25s; position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.is-open .menu-toggle span { background: transparent; }
.is-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; z-index: 99; inset: var(--header-h) 0 0; padding: 20px; background: rgba(5, 10, 20, 0.97); overflow-y: auto; }
.site-header.is-open + .mobile-nav { display: block; }
.mobile-nav a { display: block; padding: 16px 8px; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.mobile-nav a[aria-current="page"] { color: var(--cyan); }
.mobile-nav .btn { display: flex; margin-top: 24px; width: 100%; border-bottom: 0; color: #03121d; }
@media (min-width: 1024px) { .nav { display: flex; } .menu-toggle, .mobile-nav, .site-header.is-open + .mobile-nav { display: none; } }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 101; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + 72px); padding-bottom: 96px; overflow: hidden; isolation: isolate; }
.hero-sub { padding-top: calc(var(--header-h) + 64px); padding-bottom: 64px; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0.85; }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(130, 180, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 180, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero-glow { position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none; }
.hero-glow.g1 { background: var(--blue); top: -220px; left: -160px; }
.hero-glow.g2 { background: var(--green); top: 80px; right: -260px; opacity: 0.18; }
.hero h1 { margin-top: 22px; }
.hero .lead { margin-top: 22px; max-width: 640px; }
.hero .btn-row { margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.hero-points svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--dim); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ---------- Console (hero visual) ---------- */
.console {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 25, 45, 0.92), rgba(8, 15, 29, 0.94));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -30px rgba(25, 150, 240, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.console::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(25, 211, 240, 0.55), transparent 35%, transparent 65%, rgba(60, 227, 154, 0.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334058; }
.console-bar i:nth-child(1) { background: #ff5f57; } .console-bar i:nth-child(2) { background: #febc2e; } .console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: 10px; }
.console-body { padding: 20px 22px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.85; }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ticket-id { color: var(--cyan); font-weight: 700; font-size: 13.5px; }
.ticket-title { font-family: var(--font); color: #fff; font-size: 17px; font-weight: 700; margin-top: 4px; line-height: 1.45; }
.status-pill { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--green); background: rgba(60, 227, 154, 0.1); border: 1px solid rgba(60, 227, 154, 0.3); }
.ticket-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ticket-meta div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.ticket-meta dt { font-size: 11px; color: var(--dim); letter-spacing: 0.06em; }
.ticket-meta dd { margin: 2px 0 0; color: var(--text); font-size: 13px; }
.flow { list-style: none; margin-top: 18px; }
.flow li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 5px 0; color: var(--muted); transition: color 0.3s; }
.flow li .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--dim); justify-self: center; transition: all 0.3s; }
.flow li .t { font-size: 12px; color: var(--dim); }
.flow li.done { color: var(--text-2); }
.flow li.done .dot { border-color: var(--green); background: var(--green); box-shadow: 0 0 10px rgba(60, 227, 154, 0.6); }
.flow li.active { color: #fff; }
.flow li.active .dot { border-color: var(--cyan); background: transparent; box-shadow: 0 0 0 4px rgba(25, 211, 240, 0.15); animation: pulse-cyan 1.4s infinite; }
@keyframes pulse-cyan { 50% { box-shadow: 0 0 0 7px rgba(25, 211, 240, 0.05); } }
.progress { margin-top: 16px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 0.8s ease; }
.console-log { margin-top: 14px; min-height: 3.7em; color: var(--muted); font-size: 12.5px; }
.console-log .ok { color: var(--green); }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(10, 18, 34, 0.92); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  font-size: 13px; backdrop-filter: blur(10px); animation: floaty 6s ease-in-out infinite;
}
.float-badge b { display: block; color: #fff; font-size: 15px; }
.float-badge small { color: var(--muted); font-size: 12px; }
.float-badge .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); }
.float-badge .ico svg { width: 18px; height: 18px; }
.hero-visual { position: relative; }
.hero-visual .fb1 { left: -28px; bottom: -30px; }
.hero-visual .console-body { padding-bottom: 52px; }
.hero-visual .fb2 { right: -18px; top: -26px; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 999px) { .hero-visual .fb1 { left: 8px; } .hero-visual .fb2 { right: 8px; } }
@media (max-width: 639px) { .float-badge { display: none; } .hero-visual .console-body { padding-bottom: 22px; } .ticket-meta { grid-template-columns: 1fr 1fr; } .ticket-meta div:last-child { display: none; } }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--radius-lg); padding: 28px;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), border-color 0.35s, background 0.35s;
  overflow: hidden; isolation: isolate;
}
.card-spot::after {
  /* 鼠标跟随光斑，由 main.js 写入 --mx / --my */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(25, 211, 240, 0.11), transparent 45%);
}
.card-spot:hover::after { opacity: 1; }
.card-hover:hover { transform: translateY(-4px); border-color: rgba(25, 211, 240, 0.35); }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.card .tags { margin-top: 18px; }
.card-lg { padding: 36px; border-radius: var(--radius-xl); }
.card .lead { font-size: clamp(1rem, 1.3vw, 1.08rem); color: var(--text-2); line-height: 1.9; }
.card .eyebrow + .h2 { margin-top: 8px; }
@media (max-width: 640px) { .card-lg { padding: 26px 22px; } }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(140deg, rgba(47, 123, 255, 0.2), rgba(60, 227, 154, 0.12));
  border: 1px solid rgba(25, 211, 240, 0.25);
}
.icon-box svg { width: 26px; height: 26px; }
.card-index { position: absolute; top: 22px; right: 26px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.check-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text-2); line-height: 1.7; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 5px;
  background: rgba(60, 227, 154, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%233ce39a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid rgba(60, 227, 154, 0.3);
}
.check-list.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; } }

/* 产品卡 */
.product-card { display: flex; flex-direction: column; }
.product-card .logo-row { display: flex; align-items: center; justify-content: space-between; }
.product-card .pname { font-family: var(--mono); font-size: 12.5px; color: var(--dim); letter-spacing: 0.08em; }
.product-card h3 { font-size: 1.35rem; }
.product-card .check-list { margin-top: 16px; }
.product-card .check-list li { font-size: 14px; }
.product-card .card-foot { margin-top: auto; padding-top: 20px; }

/* ---------- KPI / stats ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 28px 24px; background: var(--panel-solid); }
.kpi .num { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.kpi .num sup, .kpi .num small { font-size: 0.5em; font-weight: 700; margin-left: 2px; vertical-align: super; color: var(--cyan); }
.kpi .num small { vertical-align: baseline; }
.kpi p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .chip { font-family: var(--mono); font-size: 13px; padding: 8px 16px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Process timeline ---------- */
.process-wrap { position: relative; }
.process { position: relative; display: grid; gap: 16px; list-style: none; counter-reset: step; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.process-line { display: none; }
@media (min-width: 900px) {
  .process-line { display: block; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px; background: var(--line-strong); overflow: hidden; }
  .process-line i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s cubic-bezier(.4,.1,.2,1); }
  .process-wrap.is-visible .process-line i { transform: scaleX(1); }
  .process-wrap.four .process { grid-template-columns: repeat(4, 1fr); }
  .process-wrap.four .process-line { left: 12.5%; right: 12.5%; }
}
.process li { position: relative; counter-increment: step; }
.process .node {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; color: var(--cyan); background: var(--panel-solid); border: 1px solid var(--line-strong);
}
.process .node::before { content: "0" counter(step); }
@media (min-width: 900px) { .process .node { margin-inline: auto; } .process li { text-align: center; } }
@media (max-width: 899px) { .process li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; } }
.process h3 { font-size: 1.05rem; margin-top: 16px; }
.process p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 899px) { .process h3 { margin-top: 4px; } }
.process .deliver { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--green); }

/* ---------- Feature split ---------- */
.feature-media { position: relative; }
.code-window { border-radius: var(--radius-lg); background: #070d1a; border: 1px solid var(--line-strong); overflow: hidden; box-shadow: var(--shadow); }
.code-window pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: #b9c8e4; }
.code-window .c { color: #5b6b87; } .code-window .k { color: #7aa7ff; } .code-window .s { color: #3ce39a; } .code-window .a { color: #19d3f0; } .code-window .v { color: #ffb547; }

.value-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .value-grid { grid-template-columns: 1fr 1fr; } }
.value { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.value .icon-box { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; }
.value .icon-box svg { width: 22px; height: 22px; }
.value h3 { font-size: 1rem; }
.value p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); width: fit-content; max-width: 100%; }
.tab { padding: 10px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: all 0.25s; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: #03121d; background: var(--grad); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp 0.45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); }
.table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--cyan); background: rgba(25, 211, 240, 0.04); }
.table tbody th { color: #fff; font-weight: 700; white-space: nowrap; }
.table td { color: var(--muted); line-height: 1.75; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table .yes { color: var(--green); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); transition: border-color 0.25s; }
.faq details[open] { border-color: rgba(25, 211, 240, 0.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); color: var(--cyan); border: 1px solid var(--line-strong); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.9; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 56px 40px;
  background: radial-gradient(40rem 20rem at 0% 0%, rgba(47, 123, 255, 0.3), transparent 60%), radial-gradient(40rem 20rem at 100% 100%, rgba(60, 227, 154, 0.2), transparent 60%), var(--panel-solid);
  border: 1px solid var(--line-strong);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(130, 180, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 180, 255, 0.05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-inner { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; gap: 48px; } }
@media (max-width: 640px) { .cta-band { padding: 40px 24px; } }

/* ---------- Article / prose ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.article-layout > *, .split > *, .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.prose { font-size: 16.5px; color: var(--text-2); line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.6rem; color: #fff; padding-top: 0.2em; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; color: #fff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(25, 211, 240, 0.4); }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--cyan); border-radius: 0 12px 12px 0; background: rgba(25, 211, 240, 0.05); color: var(--text); }
.prose code { font-family: var(--mono); font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--cyan); }
.prose .table-wrap { margin-top: 1.4em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; align-self: start; }
.toc { list-style: none; display: grid; gap: 4px; margin-top: 12px; }
.toc a { display: block; padding: 6px 12px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); transition: all 0.2s; }
.toc a:hover, .toc a.is-active { color: #fff; border-left-color: var(--cyan); background: rgba(25, 211, 240, 0.05); }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .cat { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--cyan); text-transform: uppercase; }
.post-card h2, .post-card h3 { margin-top: 14px; font-size: 1.3rem; line-height: 1.45; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--cyan); }
.post-card .foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--dim); }
.post-cover { height: 150px; margin: -28px -28px 22px; border-bottom: 1px solid var(--line); background: var(--grad-soft); position: relative; overflow: hidden; }
.post-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Contact ---------- */
/* 联系方式图片为 960×80 且右侧留白，按高度显示并裁掉右侧空白，保证文字清晰 */
.contact-img { width: 100%; max-width: 30rem; height: 44px; object-fit: cover; object-position: left center; }
.contact-img-phone { width: 13rem; height: auto; object-fit: initial; }
.site-footer .contact-img { height: 38px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.contact-item .icon-box { width: 44px; height: 44px; flex-shrink: 0; }
.contact-item .icon-box svg { width: 22px; height: 22px; }
.contact-item .label { font-size: 12.5px; color: var(--dim); font-family: var(--mono); letter-spacing: 0.08em; }
.contact-item img { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(8, 16, 31, 0.6), rgba(5, 10, 20, 0.95)); }
.footer-top { display: grid; gap: 40px; padding-block: 56px 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-top h2 { font-size: 13px; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.footer-links { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.footer-links a { font-size: 14.5px; color: var(--text-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-about p { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.9; max-width: 380px; }
.footer-contact img { margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.notice { padding: 16px 20px; border-radius: var(--radius); border: 1px dashed rgba(25, 211, 240, 0.35); background: rgba(25, 211, 240, 0.04); font-size: 14.5px; color: var(--text-2); }
.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(10, 18, 34, 0.9); border: 1px solid var(--line-strong); color: var(--cyan); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all 0.3s; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

@media print {
  .site-header, .hero-canvas, .back-top, .scroll-progress, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}
