:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5b667a;
  --line: #d8dee8;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --blue: #165dff;
  --green: #15803d;
  --cyan: #0891b2;
  --amber: #b7791f;
  --red: #c2410c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: #f8fafc;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 222, 232, 0.86);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.footer a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: 680px;
  padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 72px) 52px;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.94),
      rgba(244, 247, 251, 0.84)
    ),
    linear-gradient(135deg, rgba(22, 93, 255, 0.12), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(21, 128, 61, 0.16), transparent 32%);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lead {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.hero-points span {
  padding: 7px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 620px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5dde9;
  border-radius: 8px;
  background: #d5dde9;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-stats dt {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-scene {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(23, 32, 51, 0.16);
}

.scene-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f1f5f9;
}

.scene-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.scene-topbar span:nth-child(1) {
  background: var(--red);
}

.scene-topbar span:nth-child(2) {
  background: var(--amber);
}

.scene-topbar span:nth-child(3) {
  background: var(--green);
}

.scene-topbar strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: 13px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  padding: 18px;
  background: #fff;
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 220px;
  padding: 28px 28px 22px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(#e8eef6 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(180deg, #ffffff, #f8fafc);
}

.chart i {
  flex: 1;
  min-width: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.scene-list {
  padding: 18px 22px 22px;
}

.scene-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.scene-list p:last-child {
  margin-bottom: 0;
}

.status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.status.ok {
  background: var(--green);
}

.status.warn {
  background: var(--amber);
}

.status.info {
  background: var(--blue);
}

.section {
  padding: 78px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading p,
.muted-copy {
  color: var(--muted);
  line-height: 1.8;
}

.overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.overview div {
  padding: 28px clamp(20px, 4vw, 42px);
  background: #0f172a;
  color: #e2e8f0;
}

.overview strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
}

.overview span {
  color: #cbd5e1;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.feature-grid article:nth-child(2) {
  background: #f0f9ff;
}

.feature-grid article:nth-child(3) {
  background: #f0fdf4;
}

.feature-grid article:nth-child(4) {
  background: #fff7ed;
}

.feature-grid ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.feature-grid p,
.steps span,
.scenario-grid p,
.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.muted-section {
  background: #f8fafc;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scenario-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.scenario-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  margin-bottom: 22px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.workflow-section {
  background: #f8fafc;
}

.workflow-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.workflow-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.workflow-panel h3 {
  margin-bottom: 14px;
}

.workflow-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.workflow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.workflow-tags span {
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.workflow-board {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(#e8eef6 1px, transparent 1px) 0 0 / 100% 56px,
    #ffffff;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.workflow-board .steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps li {
  counter-increment: step;
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}

.steps li::before {
  content: counter(step);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 4px;
}

.workflow-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.workflow-summary div {
  padding: 16px;
  border-radius: 8px;
  background: #0f172a;
}

.workflow-summary small,
.workflow-summary strong {
  display: block;
}

.workflow-summary small {
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 12px;
}

.workflow-summary strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background:
    linear-gradient(135deg, rgba(22, 93, 255, 0.08), rgba(8, 145, 178, 0.08)),
    #fff;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #fff;
}

.download-section > div:first-child {
  max-width: 760px;
}

.download-section p {
  color: var(--muted);
  line-height: 1.75;
}

.download-panel {
  display: grid;
  min-width: min(360px, 100%);
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.download-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.download-link:hover {
  color: var(--blue);
}

.download-version {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-section div {
  max-width: 720px;
}

.contact-section .button {
  white-space: nowrap;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  background: #0f172a;
  color: #cbd5e1;
  font-size: 13px;
}

.public-security-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.public-security-emblem {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  object-fit: contain;
}

.simple-home {
  display: grid;
  min-height: calc(100vh - 72px - 74px);
  place-items: center;
  padding: clamp(48px, 9vw, 96px) 20px;
  background: #f8fafc;
}

.simple-hero {
  display: grid;
  width: min(680px, 100%);
  gap: 28px;
  text-align: center;
}

.simple-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 58px);
}

.simple-introduction {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.simple-download-panel {
  width: min(420px, 100%);
  margin: 0 auto;
}

.simple-download-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.simple-contact {
  color: var(--muted);
  font-size: 14px;
}

.simple-contact:hover {
  color: var(--blue);
}

@media (max-width: 980px) {
  .hero,
  .workflow-layout {
    grid-template-columns: 1fr;
  }

  .workflow-board .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview,
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-section,
  .contact-section {
    display: block;
  }

  .download-panel,
  .contact-section .button {
    margin-top: 18px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    padding-top: 44px;
  }

  .product-scene {
    display: none;
  }

  .feature-grid,
  .scene-grid,
  .overview,
  .scenario-grid,
  .hero-stats,
  .workflow-board .steps,
  .workflow-summary {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .simple-home {
    min-height: calc(100vh - 88px - 108px);
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
