:root {
  --black: #050505;
  --ink: #111111;
  --text: #303030;
  --muted: #747474;
  --line: #e7e7e7;
  --soft: #f6f6f6;
  --paper: #ffffff;
  --accent: #2563eb;
  --shadow: 0 28px 80px rgba(0, 0, 0, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.68;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; color: white; background: var(--black); border-radius: 6px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  height: 72px;
  padding: 0 clamp(22px, 5vw, 78px);
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand, .footer-brand > span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
}
.brand-mark, .footer-brand img {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.brand-word { font-size: 20px; letter-spacing: 0; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #4b4b4b;
  font-size: 14px;
  font-weight: 560;
}
.site-nav a { transition: color .18s ease; }
.site-nav a:hover { color: var(--black); }
.header-actions { display: flex; justify-content: flex-end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--black);
  border-radius: 8px;
  font-weight: 680;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 0 18px; color: white; background: var(--black); }
.button-primary { color: white; background: var(--black); }
.button-primary:hover, .button-small:hover { background: #242424; border-color: #242424; }
.button-ghost { color: var(--black); background: transparent; }
.button-ghost:hover { background: var(--soft); }

.hero {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: clamp(46px, 6vw, 100px);
  min-height: calc(100vh - 72px);
  padding: clamp(70px, 8vw, 124px) clamp(24px, 6vw, 96px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    #ffffff;
  background-size: 72px 72px;
}
.hero-copy { max-width: 710px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .16em;
}
.hero h1 {
  margin: 0;
  max-width: 900px;
  color: var(--black);
  font-size: clamp(54px, 6.7vw, 104px);
  font-weight: 760;
  line-height: .98;
  letter-spacing: 0;
}
.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: #4f4f4f;
  font-size: clamp(17px, 1.5vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero-panel {
  min-width: 0;
  padding: 18px;
  background: #0a0a0a;
  border: 1px solid #1e1e1e;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  padding: 0 4px 14px;
  color: #cfcfcf;
  border-bottom: 1px solid #202020;
  font-size: 13px;
}
.preview-top span { display: inline-flex; align-items: center; gap: 8px; color: white; font-weight: 700; }
.preview-top img { filter: invert(1); }
.preview-top b { color: #8f8f8f; font-weight: 560; }
.preview-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 14px; padding-top: 14px; }
.preview-console, .preview-chart {
  min-width: 0;
  min-height: 260px;
  padding: 18px;
  background: #111111;
  border: 1px solid #252525;
  border-radius: 10px;
}
.preview-console {
  display: grid;
  align-content: start;
  gap: 13px;
  color: #c8c8c8;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  overflow: hidden;
}
.preview-console p { margin: 0; white-space: nowrap; }
.preview-console span { color: #676767; margin-right: 12px; }
.preview-chart { display: grid; align-content: space-between; color: white; }
.chart-bars { display: flex; align-items: end; gap: 9px; min-height: 158px; border-bottom: 1px solid #303030; }
.chart-bars i { flex: 1; min-height: 18px; background: white; border-radius: 4px 4px 0 0; opacity: .9; }
.chart-bars i:nth-child(1) { height: 34%; opacity: .36; }
.chart-bars i:nth-child(2) { height: 46%; opacity: .48; }
.chart-bars i:nth-child(3) { height: 64%; opacity: .62; }
.chart-bars i:nth-child(4) { height: 52%; opacity: .54; }
.chart-bars i:nth-child(5) { height: 78%; opacity: .76; }
.chart-bars i:nth-child(6) { height: 92%; }
.preview-chart span { color: #8c8c8c; font-size: 12px; }
.preview-chart strong { display: block; margin-top: 6px; font-size: 34px; line-height: 1; letter-spacing: 0; }
.preview-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
}
.preview-status span {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: #cfcfcf;
  background: #111111;
  border: 1px solid #252525;
  border-radius: 8px;
  font-size: 12px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.summary-strip span {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 18px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  font-weight: 650;
}
.summary-strip span:last-child { border-right: 0; }

.section { padding: clamp(82px, 9vw, 132px) clamp(24px, 6vw, 96px); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: 0;
}
.section-heading p:last-child { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.capabilities { background: #fafafa; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-grid article {
  min-height: 310px;
  padding: 30px;
  background: white;
}
.feature-grid span {
  color: #8a8a8a;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-weight: 720;
}
.feature-grid h3 { margin: 58px 0 12px; color: var(--black); font-size: 25px; line-height: 1.2; letter-spacing: 0; }
.feature-grid p { margin: 0; color: #626262; font-size: 15px; }

.workflow { background: var(--black); color: white; }
.workflow .section-heading h2 { color: white; }
.workflow .eyebrow { color: #a7a7a7; }
.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: #2a2a2a;
  border: 1px solid #2a2a2a;
  list-style: none;
}
.workflow-list li {
  min-height: 230px;
  padding: 28px;
  background: #0f0f0f;
}
.workflow-list span { color: white; font-size: 24px; font-weight: 720; }
.workflow-list p { margin: 76px 0 0; color: #9d9d9d; }

.download-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 42px;
  color: white;
  background: var(--black);
  border-radius: 14px;
}
.cta-logo {
  flex: 0 0 76px;
  width: 76px;
  max-width: 76px;
  height: 76px;
  max-height: 76px;
  padding: 12px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
}
.download-band h2 { margin: 0; color: white; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: 0; }
.download-band p:last-child { margin: 10px 0 0; color: #a5a5a5; }
.download-band .button-primary { color: var(--black); background: white; border-color: white; }
.download-band .button-primary:hover { background: #e7e7e7; border-color: #e7e7e7; }

.content-hero { padding: 110px clamp(24px, 7vw, 110px) 70px; color: white; background: var(--black); }
.content-hero h1 { max-width: 900px; margin: 0; color: white; font-size: clamp(42px, 5vw, 76px); line-height: 1.05; letter-spacing: 0; }
.content-hero p:last-child { max-width: 760px; margin: 24px 0 0; color: #b7b7b7; font-size: 18px; }
.content-section { display: grid; gap: 1px; max-width: 1080px; margin: 0 auto; padding: 78px 24px 110px; background: var(--line); }
.content-section article { padding: 30px; background: white; }
.content-section h2 { margin: 0; color: var(--black); font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.content-section p { margin: 14px 0 0; color: var(--muted); }

.site-footer { padding: 58px clamp(24px, 6vw, 96px) 28px; color: #9f9f9f; background: var(--black); }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 42px; }
.footer-brand > span { color: white; font-size: 20px; }
.footer-brand img { filter: invert(1); }
.footer-main p { margin: 14px 0 0; color: #8a8a8a; font-size: 14px; }
.footer-main nav { display: flex; flex-wrap: wrap; align-content: start; gap: 12px 28px; color: #c8c8c8; font-size: 14px; font-weight: 560; }
.footer-main a:hover { color: white; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 24px; border-top: 1px solid #242424; font-size: 12px; }
.gongan { display: inline-flex; align-items: center; gap: 6px; }
.gongan img { width: 16px; height: 16px; }

@media (max-width: 1160px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { max-width: 920px; }
  .feature-grid, .workflow-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header { height: 66px; padding: 0 18px; }
  .brand-mark { flex-basis: 25px; width: 25px; height: 25px; }
  .brand-word { font-size: 19px; }
  .button-small { min-height: 36px; padding: 0 13px; font-size: 12px; }
  .hero { padding: 58px 20px 66px; background-size: 48px 48px; }
  .hero h1 { font-size: 46px; }
  .hero-actions .button { width: 100%; }
  .preview-grid, .preview-status, .summary-strip, .feature-grid, .workflow-list, .download-band { grid-template-columns: 1fr; }
  .preview-console, .preview-chart { min-height: 210px; }
  .summary-strip span { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article, .workflow-list li { min-height: auto; }
  .feature-grid h3, .workflow-list p { margin-top: 42px; }
  .section { padding: 72px 20px; }
  .download-band { padding: 30px; }
  .cta-logo { width: 64px; max-width: 64px; height: 64px; max-height: 64px; }
  .content-hero { padding: 78px 20px 54px; }
  .content-hero h1 { font-size: 40px; }
  .content-section { padding: 52px 20px 78px; }
  .footer-main { flex-direction: column; }
  .footer-main nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-legal { display: grid; }
}

@media (max-width: 420px) {
  .header-actions .button-small { font-size: 0; }
  .header-actions .button-small::after { content: "下载"; font-size: 12px; }
  .hero h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
