:root {
  --blue: #2e80f5;
  --blue-deep: #1f6ae0;
  --blue-soft: #e6f1ff;
  --blue-mist: #f3f8ff;
  --text: #1f2a44;
  --muted: #5b6b82;
  --line: #cfe0f7;
  --surface: #ffffff;
  --shadow: 0 18px 48px rgba(46, 128, 245, 0.12);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(120, 170, 255, 0.28), transparent 42%),
    linear-gradient(180deg, #f3f8ff 0%, #eef5ff 28%, #f7fbff 100%);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, .btn {
  font: inherit;
  border: 0;
  cursor: pointer;
  color: inherit;
  background: none;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* —— 顶栏 —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 248, 255, 0.82);
  border-bottom: 1px solid rgba(207, 224, 247, 0.8);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(46, 128, 245, 0.22);
}
.brand strong { font-size: 18px; }
.brand span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover { color: var(--blue-deep); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #67a7fe 0%, #2e80f5 100%);
  box-shadow: 0 10px 22px rgba(46, 128, 245, 0.28);
  font-weight: 700;
}
.btn-primary:hover { filter: brightness(1.04); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-deep);
  font-weight: 700;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-height: min(72vh, 680px);
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--blue-deep);
}
.hero-copy p {
  max-width: 34em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.metric {
  padding: 14px 12px;
  border: 1px solid rgba(207, 224, 247, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(46, 128, 245, 0.06);
}
.metric b {
  display: block;
  color: var(--blue-deep);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(207, 224, 247, 0.9);
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, #bae0fb, #eaf4ff 55%, #fff);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* —— 通用区块 —— */
.section {
  padding: 72px 0;
}
.section-head {
  max-width: 720px;
  margin: 0 0 28px;
}
.section-head .eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.pain-grid,
.cap-grid,
.feature-grid,
.step-grid,
.plat-grid {
  display: grid;
  gap: 14px;
}
.pain-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(46, 128, 245, 0.06);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
}
.card p, .card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}
.cap-no {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.step-no {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, #67a7fe, #2e80f5);
  font-weight: 800;
}
.plat {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.plat img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.cta {
  margin: 24px 0 80px;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid rgba(167, 201, 255, 0.7);
  background:
    radial-gradient(circle at 85% 20%, rgba(103, 167, 254, 0.28), transparent 40%),
    linear-gradient(135deg, #eaf4ff, #f7fbff 55%, #fff);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cta h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}
.cta p { color: var(--muted); }

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(207, 224, 247, 0.85);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a { color: var(--blue-deep); font-weight: 650; }

/* 协议页 */
.legal {
  width: min(820px, calc(100% - 40px));
  margin: 40px auto 64px;
  padding: 28px 28px 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
}
.legal h1 { margin: 0 0 8px; font-size: 28px; }
.legal .meta { color: var(--muted); margin-bottom: 22px; font-size: 13px; }
.legal h2 { margin: 22px 0 8px; font-size: 18px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; font-size: 14px; }
.legal ul { padding-left: 18px; }

@media (max-width: 980px) {
  .hero-grid,
  .pain-grid,
  .cap-grid,
  .feature-grid,
  .step-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { min-height: 360px; }
  .nav { display: none; }
  .cta { flex-direction: column; align-items: flex-start; }
}
