:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --border: #d0d5dd;
  --text: #101828;
  --muted: #667085;
  --primary: #1f3a5f;
  --primary-2: #2b5a8f;
  --primary-soft: #eef4ff;
  --danger: #b42318;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: var(--primary-2);
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner,
.hero-inner,
.section-head,
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  color: var(--primary);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-ghost {
  color: var(--muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

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

.btn-primary:hover {
  background: var(--primary-2);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 15px;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  padding-top: 72px;
  padding-bottom: 72px;
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 16px;
  color: var(--primary-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-tagline {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-note {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- sections ---------- */
main > section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 700;
}

.section-sub {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- stats ---------- */
.stat-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.module-panel {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.module-panel h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.module-bars {
  display: grid;
  gap: 10px;
}

.module-bar {
  display: grid;
  grid-template-columns: 180px 1fr 48px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.module-bar .name {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-bar .track {
  height: 10px;
  background: var(--primary-soft);
  border-radius: 6px;
  overflow: hidden;
}

.module-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-radius: 6px;
}

.module-bar .count {
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- capabilities ---------- */
.cap-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cap-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.cap-card h3 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 8px;
}

.cap-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- product ---------- */
.product {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--muted);
}

.product-body p {
  margin: 0 0 12px;
}

.system-title {
  font-weight: 600;
  color: var(--text);
}

.system-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
}

.system-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
}

.system-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-2);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--primary);
  color: #cdd8e8;
  padding: 28px 0;
  font-size: 13px;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-beian {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.footer-beian a {
  color: #cdd8e8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-beian a:hover {
  color: #fff;
}

.footer-beian .pending {
  color: #9fb0c8;
}

.gongan-item svg {
  flex: 0 0 auto;
}

.footer-copy {
  margin: 12px 0 0;
  color: #9fb0c8;
  font-size: 12px;
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-title {
    font-size: 30px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap-grid,
  .system-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .module-bar {
    grid-template-columns: 130px 1fr 40px;
  }
}

@media (max-width: 560px) {
  .topbar-actions .btn-ghost {
    display: none;
  }
  .stat-grid,
  .cap-grid,
  .system-list {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 26px;
  }
  main > section {
    padding: 44px 0;
  }
}
