/* ============================================================
   CrossBot AI 官网 · 深色科技风
   仅依赖系统字体与内联图标，无外部 CDN
   ============================================================ */

:root {
  --bg: #060a11;
  --bg-soft: #090f19;
  --panel: #0c1421;
  --panel-2: #101a2a;
  --line: rgba(148, 163, 184, .14);
  --line-soft: rgba(148, 163, 184, .08);
  --text: #e9eef7;
  --muted: #92a2ba;
  --muted-2: #6d7f98;
  --gold: #d9a84e;
  --gold-soft: #f1cb83;
  --gold-dark: #b1802c;
  --green: #43c08f;
  --red: #e2747c;
  --cyan: #5aa9ff;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --header-h: 72px;
  --font: "Inter", "Segoe UI Variable Display", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(217, 168, 78, .10), transparent 65%),
    radial-gradient(900px 620px at 100% 4%, rgba(90, 169, 255, .09), transparent 62%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, dt, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }

::selection { background: rgba(217, 168, 78, .32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.ico { flex: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--gold);
  color: #16110a;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 10, 17, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand img { border-radius: 8px; }
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .22em;
  font-family: "Segoe UI Variable Display", "Bahnschrift", var(--font);
  font-size: 1.24rem;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand-wordmark .wm-main { font-weight: 800; color: #f2f6ff; }
.brand-wordmark .wm-ai {
  font-weight: 800;
  font-style: italic;
  letter-spacing: .01em;
  transform: skewX(-5deg);
  background: linear-gradient(115deg, #f5d99f 0%, var(--gold) 55%, #a8731a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.site-nav > a:not(.btn) {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .18s ease;
}
.site-nav > a:not(.btn):hover { color: #fff; }
.site-nav > a.btn-primary { color: #1a1306; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
}
.lang-switch a {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: .02em;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active {
  background: rgba(217, 168, 78, .16);
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

.btn-primary {
  color: #1a1306;
  background: linear-gradient(135deg, #f0c877 0%, #d9a84e 58%, #c9973c 100%);
  box-shadow: 0 10px 26px -12px rgba(217, 168, 78, .65);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -12px rgba(217, 168, 78, .75);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover {
  border-color: rgba(217, 168, 78, .45);
  background: rgba(217, 168, 78, .07);
  transform: translateY(-1px);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -220px;
  top: -260px;
  background: radial-gradient(circle, rgba(217, 168, 78, .16), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 60% at 55% 35%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 55% 35%, #000 15%, transparent 78%);
  opacity: .55;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  border: 1px solid rgba(217, 168, 78, .3);
  border-radius: 999px;
  background: rgba(217, 168, 78, .07);
  color: var(--gold-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 168, 78, .16);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 5.1vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero h1 .line { display: block; }
.hero h1 .grad {
  background: linear-gradient(100deg, #ffffff 4%, #f5ddaa 46%, #d9a84e 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  margin-top: 22px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 13px;
}
.hero-note .ico { color: var(--green); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.hero-stats div { padding-right: 10px; }
.hero-stats dt {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #fff;
}
.hero-stats dd {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.4;
}

/* Hero mock dashboard */

.hero-visual { position: relative; }
.app-mock {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, #0e1726 0%, #0a121d 60%, #0a111b 100%);
  box-shadow:
    0 50px 90px -40px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(255, 255, 255, .02) inset,
    0 -30px 80px -50px rgba(217, 168, 78, .5);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transition: transform .5s ease;
}
.app-mock:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }

.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 11.5px;
}
.mock-dots { display: inline-flex; gap: 5px; }
.mock-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2a3b52;
}
.mock-dots i:first-child { background: #3d4f68; }
.mock-title { font-weight: 600; letter-spacing: .02em; }
.mock-bar img { margin-left: auto; border-radius: 4px; opacity: .9; }

.mock-body { display: flex; min-height: 320px; }
.mock-side {
  width: 46px;
  border-right: 1px solid var(--line-soft);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mock-side span {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: rgba(148, 163, 184, .13);
}
.mock-side span.is-active {
  background: rgba(217, 168, 78, .28);
  box-shadow: 0 0 0 4px rgba(217, 168, 78, .08);
}
.mock-main { flex: 1; padding: 18px; min-width: 0; }

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-kpis > div {
  position: relative;
  padding: 12px 12px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, .018);
  overflow: hidden;
}
.mock-kpis span { display: block; color: var(--muted-2); font-size: 10.5px; }
.mock-kpis strong { display: block; margin-top: 3px; font-size: 19px; letter-spacing: -.02em; }
.mock-kpis .bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 3px;
  border-radius: 3px;
  background: rgba(148, 163, 184, .12);
}
.mock-kpis .bar::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(217, 168, 78, .25));
}
.mock-kpis .b1::after { width: 72%; }
.mock-kpis .b2::after { width: 44%; background: linear-gradient(90deg, #5aa9ff, rgba(90, 169, 255, .25)); }
.mock-kpis .b3::after { width: 61%; background: linear-gradient(90deg, #43c08f, rgba(67, 192, 143, .25)); }

.mock-table { margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.mock-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .022);
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.mock-filter { width: 42px; height: 5px; border-radius: 3px; background: rgba(148, 163, 184, .16); }
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .05);
}
.mock-row:last-child { border-bottom: 0; }
.mock-thumb {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex: none;
  background: linear-gradient(135deg, #24344a, #16202e);
}
.mock-thumb.t1 { background: linear-gradient(135deg, #2d3f57, #1a2635); }
.mock-thumb.t2 { background: linear-gradient(135deg, #3a3323, #221d14); }
.mock-thumb.t3 { background: linear-gradient(135deg, #233a3a, #152323); }
.mock-name {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  color: #c3cedd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}
.chip-ok { color: #73d6ae; background: rgba(67, 192, 143, .1); border-color: rgba(67, 192, 143, .22); }
.chip-warn { color: #e8c173; background: rgba(217, 168, 78, .1); border-color: rgba(217, 168, 78, .22); }
.mock-row.ghost { opacity: .3; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 16, 26, .9);
  backdrop-filter: blur(10px);
  color: #d7e0ec;
  font-size: 11.5px;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .9);
  animation: floaty 7s ease-in-out infinite;
}
.float-sync { left: -22px; top: -30px; }
.float-ai { right: -18px; bottom: -26px; animation-delay: -3.4s; }
.float-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.float-ico.ok { color: #73d6ae; background: rgba(67, 192, 143, .12); }
.float-ico.gold { color: var(--gold-soft); background: rgba(217, 168, 78, .12); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------------- Sections ---------------- */

.section { padding: 104px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .014), rgba(255, 255, 255, .004));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.compact { margin-bottom: 34px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  font-weight: 780;
}
.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

/* Value strip */

.value-strip { padding: 72px 0; border-top: 1px solid var(--line-soft); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.value-item {
  position: relative;
  padding: 22px 24px 4px 0;
}
.value-item + .value-item { padding-left: 24px; border-left: 1px solid var(--line-soft); }
.value-dot {
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.value-item h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.value-item p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Capabilities */

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.cap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 168, 78, .3);
  background: linear-gradient(160deg, rgba(217, 168, 78, .055), rgba(255, 255, 255, .01));
}
.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--gold-soft);
  background: rgba(217, 168, 78, .1);
  border: 1px solid rgba(217, 168, 78, .18);
}
.cap-card h3 { margin-top: 18px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.cap-card p { margin-top: 8px; color: var(--muted); font-size: 14.2px; line-height: 1.72; }

/* Platforms */

.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.platform-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .25s ease, border-color .25s ease;
}
.platform-card:hover { transform: translateY(-3px); border-color: rgba(90, 169, 255, .28); }
.platform-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 800;
  color: #dfe8f5;
  background: linear-gradient(145deg, #1b2940, #101a29);
  border: 1px solid var(--line);
}
.p-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.p-tag-source { color: var(--gold-soft); border-color: rgba(217, 168, 78, .3); background: rgba(217, 168, 78, .08); }
.platform-card h3 { margin-top: 18px; font-size: 17px; font-weight: 700; }
.p-region {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.platform-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-note { margin-top: 22px; color: var(--muted-2); font-size: 12.5px; }

/* Workflow */

.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow-step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .014);
}
.flow-step::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .6;
}
.flow-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .12em;
}
.flow-step h3 { margin-top: 10px; font-size: 18px; font-weight: 700; }
.flow-step p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.flow-points { margin-top: 14px; display: grid; gap: 6px; }
.flow-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 12.5px;
}
.flow-points .ico { color: var(--green); }

/* Modules */

.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.module-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  transition: border-color .25s ease, transform .25s ease;
}
.module-card:hover { border-color: rgba(217, 168, 78, .28); transform: translateY(-3px); }
.module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: #1a1306;
  background: linear-gradient(135deg, #f0c877, #d9a84e);
}
.module-card h3 { margin-top: 20px; font-size: 17.5px; font-weight: 700; }
.module-card p { margin-top: 9px; color: var(--muted); font-size: 14.2px; line-height: 1.72; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}

/* Security */

.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.security-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .014);
}
.security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(90, 169, 255, .09);
  border: 1px solid rgba(90, 169, 255, .16);
}
.security-card h3 { font-size: 16.5px; font-weight: 700; }
.security-card p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* FAQ */

.faq-wrap { max-width: 920px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  transition: color .18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-soft); }
.faq-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: transform .22s ease, color .22s ease, border-color .22s ease;
}
.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  color: var(--gold);
  border-color: rgba(217, 168, 78, .4);
}
.faq-answer { padding: 0 44px 22px 4px; }
.faq-answer p { color: var(--muted); font-size: 14.5px; line-height: 1.78; }

/* CTA */

.cta-section { padding-top: 90px; }
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  padding: 48px;
  border-radius: 24px;
  border: 1px solid rgba(217, 168, 78, .22);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(217, 168, 78, .12), transparent 60%),
    linear-gradient(150deg, #101a2a, #0a111b);
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 169, 255, .14), transparent 65%);
  pointer-events: none;
}
.cta-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 780;
}
.cta-copy > p { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-response {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 12.5px;
}
.cta-response .ico { color: var(--green); }

.cta-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(6, 10, 17, .55);
  backdrop-filter: blur(8px);
}
.contact-label {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cta-qrs { display: flex; flex-wrap: wrap; gap: 20px; }
.cta-qr { flex: 1 1 120px; min-width: 120px; }
.cta-qr .qr { width: 104px; height: 104px; }
.cta-qr .qr-hint { margin-top: 6px; padding-bottom: 0; }
.qr {
  width: 104px;
  height: 104px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #fff;
}
.qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(217, 168, 78, .1) 0 6px, transparent 6px 12px),
    rgba(255, 255, 255, .03);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .12em;
}
.qr-hint {
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.5;
  padding-bottom: 6px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
  background: #05080e;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 16px; color: var(--muted-2); font-size: 13.5px; line-height: 1.7; max-width: 300px; }
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-mail:hover { color: var(--gold-soft); }
.footer-col h3 {
  color: #cfd9e6;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--muted-2);
  font-size: 13.5px;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-wechat { display: flex; gap: 22px; }
.footer-qr { flex: 1 1 96px; }
.footer-wechat h3 { margin-bottom: 10px; }
.footer-wechat .qr { width: 96px; height: 96px; margin-top: 0; }
.footer-wechat .qr-hint { margin-top: 8px; max-width: 150px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 12px;
}
.footer-meta { display: flex; gap: 18px; }

/* ---------------- Legal ---------------- */

.legal-hero {
  padding: 70px 0 44px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(217, 168, 78, .045), transparent);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  color: var(--muted-2);
  font-size: 13px;
}
.back-link .ico { transform: rotate(180deg); }
.back-link:hover { color: var(--gold-soft); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.03em; line-height: 1.15; font-weight: 800; }
.legal-intro { max-width: 760px; margin-top: 16px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.legal-updated { display: block; margin-top: 18px; color: var(--muted-2); font-size: 12.5px; letter-spacing: .04em; }

.legal-body { padding: 56px 0 90px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 2px;
  padding-right: 20px;
  border-right: 1px solid var(--line-soft);
}
.legal-toc a {
  padding: 7px 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}
.legal-toc a:hover { color: var(--gold-soft); }
.legal-article { max-width: 780px; }
.legal-article section { padding-bottom: 26px; }
.legal-article h2 { margin: 6px 0 12px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.legal-article p { color: var(--muted); font-size: 14.8px; line-height: 1.85; margin-bottom: 10px; }
.legal-foot { margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--line-soft); }

/* ---------------- 404 ---------------- */

.notfound { padding: 120px 0 140px; text-align: center; }
.notfound-code {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--gold);
}
.notfound h1 { margin-top: 16px; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; }
.notfound p { margin: 12px auto 26px; color: var(--muted); max-width: 460px; }
.notfound .btn { display: inline-flex; }

/* ---------------- Reveal ---------------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  .app-mock { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .hero-grid { gap: 36px; }
  .float-sync { left: -8px; }
  .float-ai { right: -4px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-wechat { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(9, 14, 24, .98);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 11px 10px; border-radius: 8px; font-size: 15px; }
  .site-nav > a:hover { background: rgba(255, 255, 255, .04); }
  .lang-switch { margin: 8px 10px; align-self: flex-start; }
  .nav-cta { margin: 6px 10px 4px; }
  .nav-toggle { display: inline-flex; }

  .hero { padding: 52px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero .lead { max-width: 640px; }
  .app-mock { transform: none; max-width: 620px; margin: 0 auto; }
  .float-sync { left: -6px; top: -28px; }
  .float-ai { right: -4px; bottom: -24px; }

  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-item { padding: 20px 20px 16px 0; }
  .value-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .value-item:nth-child(3), .value-item:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .value-item:nth-child(4) { border-left: 1px solid var(--line-soft); }

  .cap-grid, .platform-grid, .module-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .security-grid { grid-template-columns: 1fr; }

  .cta-panel { grid-template-columns: 1fr; padding: 36px; gap: 30px; }
  .cta-card { grid-template-columns: 1fr; }

  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .legal-toc a { padding: 0; font-size: 12.5px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .hero-actions .btn { flex: 1; }
  .float-card { display: none; }
  .mock-body { min-height: 280px; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis > div:nth-child(3) { display: none; }

  .section { padding: 72px 0; }
  .value-strip { padding: 52px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item { padding: 18px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line-soft); }
  .value-item:first-child { border-top: 0; }

  .cap-grid, .platform-grid, .module-grid, .flow-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 28px 22px; border-radius: 18px; }
  .cta-actions .btn { flex: 1; }
  .cta-qrs { gap: 14px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 44px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-wechat { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-meta { flex-direction: column; gap: 4px; }

  .legal-hero { padding: 46px 0 32px; }
  .legal-body { padding: 36px 0 64px; }
  .notfound { padding: 90px 0 110px; }
}
