/* =============================================================================
   AiWork 官网样式
   色板与 Qt 客户端深色主题一致：#0F141B / #161D26 / #3D8BFD
   ============================================================================= */

:root {
  --bg: #0F141B;
  --bg-deep: #0B1017;
  --surface: #161D26;
  --surface-2: #1B2430;
  --surface-3: #202B39;
  --border: #26313F;
  --border-soft: rgba(61, 139, 253, .22);
  --text: #E7EEF7;
  --muted: #8C9AAC;
  --muted-2: #6B788A;
  --accent: #3D8BFD;
  --accent-hover: #5599FF;
  --accent-soft: #1A2E4A;
  --ok: #43C08A;
  --warn: #E2A93F;
  --danger: #F0625A;
  --radius: 14px;
  --radius-lg: 18px;
  --max: 1180px;
  --font: "Inter", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "SFMono-Regular", "Microsoft YaHei UI", 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;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code, .mono { font-family: var(--mono); }

/* ---------------------------------------------------------------- 背景纹理 */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -6%, rgba(61, 139, 253, .16), transparent 62%),
    radial-gradient(760px 480px at 92% 4%, rgba(67, 192, 138, .10), transparent 60%),
    linear-gradient(180deg, #0E141C 0%, var(--bg) 42%, #0C1118 100%);
}
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(140, 154, 172, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140, 154, 172, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* ---------------------------------------------------------------- 布局基础 */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(15, 20, 27, .74);
  border-bottom: 1px solid rgba(38, 49, 63, .7);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, #4C9BFF, #2A6BD8);
  box-shadow: 0 6px 18px rgba(61, 139, 253, .35), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.brand-mark.small { width: 28px; height: 28px; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b, .brand-text { font-weight: 650; font-size: 16px; letter-spacing: -.01em; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: .06em; }

.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(67, 192, 138, .32);
  background: rgba(67, 192, 138, .10);
  color: #9FE4C4;
  font-size: 12.5px;
  white-space: nowrap;
}
.status-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(67, 192, 138, .18);
}
.status-pill.is-down {
  border-color: rgba(240, 98, 90, .34);
  background: rgba(240, 98, 90, .10);
  color: #FFB8B3;
}
.status-pill.is-down .dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(240, 98, 90, .18); }
.status-pill.is-loading { border-color: var(--border); background: rgba(255, 255, 255, .04); color: var(--muted); }
.status-pill.is-loading .dot { background: var(--muted); }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #4C9BFF 0%, #2F78E8 100%);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 10px 26px rgba(61, 139, 253, .30), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(61, 139, 253, .38), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .045);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #33455A; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 9px; }
.btn-xs { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn[aria-disabled="true"], .btn.is-disabled {
  opacity: .45;
  pointer-events: none;
  box-shadow: none;
}

/* ---------------------------------------------------------------- Hero */
.hero { padding: 84px 0 70px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.12;
  font-weight: 680;
  letter-spacing: -.025em;
}
.hero .lead {
  margin: 0 0 30px;
  max-width: 540px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.78;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(38, 49, 63, .8);
  list-style: none;
}
.hero-meta li { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; }
.hero-meta span { color: var(--muted-2); letter-spacing: .08em; font-size: 11px; }
.hero-meta strong { font-weight: 600; font-size: 13.5px; }

/* ---------------------------------------------------------------- 窗口模拟 */
.hero-visual { position: relative; }
.glow {
  position: absolute;
  inset: 12% 6% -8% 6%;
  background: radial-gradient(closest-side, rgba(61, 139, 253, .30), transparent 72%);
  filter: blur(18px);
  z-index: 0;
}
.window {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid #2C3A4B;
  background: linear-gradient(180deg, #182231 0%, #121922 100%);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: linear-gradient(180deg, #1E2936, #182230);
  border-bottom: 1px solid #2A3644;
}
.traffic { display: flex; gap: 6px; }
.traffic i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.traffic i:nth-child(1) { background: #E4695F; }
.traffic i:nth-child(2) { background: #E2B33F; }
.traffic i:nth-child(3) { background: #4BC08A; }
.window-title { font-size: 12px; font-weight: 600; color: #C9D6E5; letter-spacing: .04em; }
.window-chip {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  padding: 3px 9px;
  border-radius: 999px;
}

.window-body {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  min-height: 322px;
}

.mock-nav {
  padding: 14px 12px;
  border-right: 1px solid #24303E;
  background: #161F2B;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
}
.mock-user { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; }
.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(61, 139, 253, .5);
}
.mock-user b { display: block; font-size: 11.5px; font-weight: 600; color: #DCE7F4; line-height: 1.2; }
.mock-user small { color: var(--muted-2); font-size: 10px; }
.mock-label {
  margin: 9px 6px 3px;
  font-size: 9.5px;
  letter-spacing: .12em;
  color: #5E6B7E;
  text-transform: uppercase;
}
.mock-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 7px;
  color: #B7C4D3;
}
.mock-link em { font-style: normal; color: #71829A; font-size: 10px; }
.mock-link.active { background: var(--accent-soft); color: #EAF2FF; }
.mock-link.active em { color: #8FB8FF; }
.mock-quota { margin-top: auto; padding: 9px 8px 2px; border-top: 1px solid #232E3C; }
.mock-quota span { display: block; color: var(--muted-2); font-size: 10px; }
.mock-quota .bar { height: 5px; border-radius: 99px; background: #222D3B; margin: 6px 0 5px; overflow: hidden; }
.mock-quota .bar i { display: block; height: 100%; background: linear-gradient(90deg, #3D8BFD, #43C08A); }
.mock-quota small { color: #93A2B4; font-size: 10px; }

.mock-main { padding: 14px 16px; display: flex; flex-direction: column; gap: 11px; }
.mock-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.mock-kpi {
  background: #1A2330;
  border: 1px solid #26303E;
  border-radius: 9px;
  padding: 9px 10px;
}
.mock-kpi small { display: block; color: var(--muted-2); font-size: 10px; }
.mock-kpi b { display: block; font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.4; }
.mock-kpi b em { font-style: normal; font-size: 10px; color: var(--muted); margin-left: 2px; font-weight: 500; }
.mock-kpi .up { color: var(--ok); font-size: 10px; }
.mock-kpi .down { color: var(--danger); font-size: 10px; }

.mock-chart {
  background: #18212D;
  border: 1px solid #26303E;
  border-radius: 9px;
  padding: 8px 10px 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mock-chart-head { display: flex; justify-content: space-between; color: #9AA9BC; font-size: 10px; margin-bottom: 2px; }
.mock-chart-head small { color: #62707F; font-size: 9.5px; }
.mock-chart svg { width: 100%; height: 62px; }

.mock-table { display: flex; flex-direction: column; gap: 1px; font-size: 10.5px; }
.mock-tr {
  display: grid;
  grid-template-columns: 1.5fr .7fr .8fr .5fr;
  gap: 6px;
  padding: 5px 8px;
  color: #A9B7C7;
  border-radius: 6px;
}
.mock-tr.head { color: #5F6D80; font-size: 9.5px; letter-spacing: .06em; }
.mock-tr:not(.head):nth-child(even) { background: rgba(255, 255, 255, .022); }
.tag { justify-self: start; padding: 0 6px; border-radius: 5px; font-size: 9.5px; line-height: 16px; }
.tag.run { color: #8FBBFF; background: rgba(61, 139, 253, .16); }
.tag.done { color: #93E2BE; background: rgba(67, 192, 138, .16); }
.tag.err { color: #FFB0AA; background: rgba(240, 98, 90, .16); }

.window-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px;
  background: #131B24;
  border-top: 1px solid #242F3D;
  color: #7A8798;
  font-size: 10.5px;
}
.live { display: inline-flex; align-items: center; gap: 6px; color: #9AD9BE; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(67, 192, 138, .16); }

/* ---------------------------------------------------------------- 能力条 */
.stats { border-top: 1px solid rgba(38, 49, 63, .65); border-bottom: 1px solid rgba(38, 49, 63, .65); background: rgba(22, 29, 38, .38); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 22px 0;
}
.stat { padding: 4px 22px; border-left: 1px solid rgba(38, 49, 63, .6); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 14.5px; font-weight: 620; letter-spacing: -.005em; }
.stat span { color: var(--muted); font-size: 12.5px; }

/* ---------------------------------------------------------------- 通用 section */
.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, rgba(22, 29, 38, .55), rgba(22, 29, 38, 0)); border-top: 1px solid rgba(38, 49, 63, .5); border-bottom: 1px solid rgba(38, 49, 63, .5); }
.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.25;
  font-weight: 660;
  letter-spacing: -.02em;
}
.section-lead { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head.split .section-lead { max-width: 600px; }

/* ---------------------------------------------------------------- 功能卡片 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(32, 43, 57, .55), rgba(22, 29, 38, .55));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: #33465D;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(61, 139, 253, .28);
  margin-bottom: 16px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 620; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.72; }

/* ---------------------------------------------------------------- 步骤 */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.steps li {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.step-no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.steps h3 { margin: 0 0 8px; font-size: 16px; font-weight: 620; }
.steps p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.72; }
.steps code, .download-hint code { color: #CFE0F6; background: rgba(61, 139, 253, .12); border: 1px solid rgba(61, 139, 253, .22); padding: 1px 6px; border-radius: 6px; font-size: 12.5px; }
.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px dashed rgba(61, 139, 253, .32);
  background: rgba(61, 139, 253, .06);
}
.copy-row code { flex: 1; font-size: 12.5px; color: #D8E7FF; background: none; border: 0; padding: 0; }

/* ---------------------------------------------------------------- 下载 */
.download-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--muted); font-size: 13px; }
.download-meta b { color: var(--text); font-weight: 620; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.download-empty {
  grid-column: 1 / -1;
  padding: 44px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(22, 29, 38, .4);
  font-size: 14px;
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(32, 43, 57, .6), rgba(22, 29, 38, .6));
  transition: border-color .2s ease, transform .2s ease;
}
.download-card:hover { border-color: #33465D; transform: translateY(-2px); }
.download-head { display: flex; align-items: center; gap: 12px; }
.platform-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(61, 139, 253, .26);
  color: #BFD8FF;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--mono);
}
.download-title h3 { margin: 0; font-size: 16px; font-weight: 620; line-height: 1.35; }
.version-chip { display: inline-block; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.download-notes { margin: 12px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; min-height: 22px; }
.download-facts { display: flex; gap: 22px; margin: 0 0 14px; padding: 12px 0; border-top: 1px solid rgba(38, 49, 63, .7); border-bottom: 1px solid rgba(38, 49, 63, .7); }
.download-facts div { display: flex; flex-direction: column; gap: 2px; }
.download-facts dt { color: var(--muted-2); font-size: 11px; }
.download-facts dd { margin: 0; font-size: 13px; font-weight: 600; }
.sha-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.sha-row span { color: var(--muted-2); font-size: 11px; letter-spacing: .04em; }
.sha-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: #9DB4CE; }
.icon-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: color .16s, border-color .16s, background .16s;
}
.icon-btn:hover { color: var(--text); border-color: #33465D; background: rgba(255, 255, 255, .08); }
.download-btn { margin-top: auto; width: 100%; }
.download-hint { margin: 18px 0 0; color: var(--muted-2); font-size: 12.5px; }

/* ---------------------------------------------------------------- 接口表 */
.api-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(22, 29, 38, .7);
  overflow: hidden;
}
.api-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.api-table thead th {
  text-align: left;
  padding: 13px 18px;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(27, 36, 48, .8);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.api-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(38, 49, 63, .55);
  color: #C3D0E0;
  vertical-align: middle;
}
.api-table tbody tr:last-child td { border-bottom: 0; }
.api-table tbody tr:hover td { background: rgba(61, 139, 253, .045); }
.api-table code { font-size: 12.5px; color: #DCE9F9; }
.api-table td:last-child { color: var(--muted); }
.api-table td:nth-child(3) { white-space: nowrap; color: var(--muted); font-size: 12.5px; }
.method {
  display: inline-block;
  min-width: 48px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 6px;
  border-radius: 5px;
}
.method.get { color: #8FE3BC; background: rgba(67, 192, 138, .13); border: 1px solid rgba(67, 192, 138, .3); }
.method.post { color: #A9CBFF; background: rgba(61, 139, 253, .14); border: 1px solid rgba(61, 139, 253, .32); }
.api-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 13px 18px;
  border-top: 1px solid var(--border);
  background: rgba(27, 36, 48, .6);
  color: var(--muted);
  font-size: 12px;
}
.api-foot code { color: #C7D9EE; }

/* ---------------------------------------------------------------- 页脚 */
.site-footer { border-top: 1px solid rgba(38, 49, 63, .7); background: rgba(11, 16, 23, .6); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 34px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b { display: block; font-size: 14px; font-weight: 650; }
.footer-brand small { display: block; color: var(--muted-2); font-size: 11.5px; }
.footer-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; }
.footer-meta .status-pill { font-size: 11.5px; padding: 4px 10px; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 68px 0 56px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 640px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .download-meta { align-items: flex-start; flex-direction: row; gap: 18px; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .nav { display: none; }
  .header-inner { height: 62px; gap: 12px; }
  .header-actions .status-pill { display: none; }
  .hero { padding: 52px 0 44px; }
  h1 { font-size: clamp(32px, 8vw, 40px); }
  .section { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .window-body { grid-template-columns: 1fr; }
  .mock-nav { display: none; }
  .window-body { min-height: auto; }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .api-table thead th:nth-child(3), .api-table tbody td:nth-child(3) { display: none; }
  .api-table { font-size: 12.5px; }
  .api-table tbody td, .api-table thead th { padding: 10px 12px; }
  .api-table td:last-child { display: none; }
  .download-facts { gap: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* 首屏入场（轻微） */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual { animation: rise .7s cubic-bezier(.22, .61, .36, 1) both; }
  .hero-visual { animation-delay: .08s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
