:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --soft: #e4e7ec;
  --blue: #1463ff;
  --blue-strong: #0b49c8;
  --cyan: #08a9c4;
  --green: #17b26a;
  --orange: #f79009;
  --red: #f04438;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(20, 99, 255, 0.28);
}

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

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.86;
}

.site-nav a:hover {
  background: rgba(20, 99, 255, 0.1);
  opacity: 1;
}

.site-nav .nav-contact {
  background: var(--blue);
  color: #ffffff;
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(20px, 5vw, 72px) 74px;
  background:
    radial-gradient(circle at 24% 18%, rgba(8, 169, 196, 0.24), transparent 34%),
    linear-gradient(135deg, #0b1020 0%, #172033 54%, #102f3b 100%);
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.network-line {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(8, 169, 196, 0), rgba(8, 169, 196, 0.8), rgba(20, 99, 255, 0));
}

.line-a {
  left: 9%;
  top: 28%;
  width: 360px;
  transform: rotate(18deg);
}

.line-b {
  right: 13%;
  top: 22%;
  width: 300px;
  transform: rotate(-26deg);
}

.line-c {
  left: 40%;
  bottom: 21%;
  width: 460px;
  transform: rotate(-9deg);
}

.node {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #78e8ff;
  box-shadow: 0 0 0 7px rgba(120, 232, 255, 0.12), 0 0 28px rgba(120, 232, 255, 0.62);
}

.node-a { left: 10%; top: 26%; }
.node-b { left: 31%; top: 37%; }
.node-c { right: 25%; top: 27%; }
.node-d { right: 16%; bottom: 28%; }

.hero-content,
.product-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: #1d87d8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-section .eyebrow {
  color: #8ce9ff;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: #d0d5dd;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.button.primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 99, 255, 0.34);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.product-panel {
  max-width: 720px;
  margin-left: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.panel-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f04438;
}

.panel-topbar span:nth-child(2) { background: #f79009; }
.panel-topbar span:nth-child(3) { background: #17b26a; }
.panel-topbar strong { margin-left: 8px; }

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

.metric-grid article,
.chart-card,
.status-list {
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: #f9fafb;
}

.metric-grid article {
  padding: 16px;
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-grid strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 31px;
  line-height: 1;
}

.metric-grid .danger {
  color: var(--red);
}

.chart-card {
  margin-top: 12px;
  padding: 16px;
  background: #ffffff;
}

.chart-header,
.status-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chart-header span {
  font-weight: 900;
}

.chart-header small {
  color: var(--muted);
}

svg {
  display: block;
  width: 100%;
}

.grid-path {
  stroke: #edf1f7;
  stroke-width: 1;
}

.chart-line-a,
.chart-line-b {
  fill: none;
  stroke-linecap: round;
  stroke-width: 6;
}

.chart-line-a {
  stroke: var(--blue);
}

.chart-line-b {
  stroke: var(--cyan);
  opacity: 0.78;
}

.status-list {
  margin-top: 12px;
  overflow: hidden;
}

.status-list div {
  padding: 13px 16px;
  border-bottom: 1px solid var(--soft);
}

.status-list div:last-child {
  border-bottom: 0;
}

.status-list span:nth-child(2) {
  flex: 1;
}

.status-list strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

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

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

.summary-strip,
.section,
.contact-section,
.site-footer {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d0d5dd;
}

.summary-strip div {
  min-height: 116px;
  padding: 24px;
  background: #ffffff;
}

.summary-strip strong,
.summary-strip span {
  display: block;
}

.summary-strip strong {
  font-size: 30px;
  line-height: 1;
}

.summary-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.showcase-section {
  background: #ffffff;
}

.dashboard-showcase {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: var(--shadow);
}

.dashboard-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.dashboard-showcase figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

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

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow),
.deployment-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card {
  min-height: 232px;
  padding: 26px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.06);
}

.feature-card .icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 900;
}

.feature-card p,
.scenario-list p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 78px);
  background: #ffffff;
}

.scenario-list {
  display: grid;
  gap: 16px;
}

.scenario-list article {
  padding: 24px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #f8fafc;
}

.architecture-section {
  background: #eef3f8;
}

.architecture-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.architecture-map article {
  display: grid;
  min-height: 136px;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #ffffff;
  position: relative;
}

.architecture-map article::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
}

.architecture-map strong {
  font-size: 18px;
}

.architecture-map span {
  color: var(--muted);
}

.deployment-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: #121826;
  color: #ffffff;
}

.message-section {
  background: #ffffff;
}

.message-layout {
  max-width: 900px;
  margin: 0 auto;
}

.message-form {
  padding: 28px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: #f8fafc;
}

.message-form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.message-form label {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.required-mark {
  color: var(--red);
}

.message-form input,
.message-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.message-form input:focus,
.message-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 99, 255, 0.12);
}

.message-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-actions p {
  margin: 0;
  color: var(--muted);
}

.deployment-copy p {
  color: #d0d5dd;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #0b1020;
  box-shadow: var(--shadow);
}

.terminal-dots {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f04438;
}

.terminal-dots span:nth-child(2) { background: #f79009; }
.terminal-dots span:nth-child(3) { background: #17b26a; }

pre {
  margin: 0;
  padding: 28px 24px;
  overflow-x: auto;
  color: #9ef6c9;
  font-size: 18px;
}

.terminal-card dl {
  margin: 0;
  padding: 0 24px 24px;
}

.terminal-card div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-card dt {
  color: #98a2b3;
  font-weight: 800;
}

.terminal-card dd {
  margin: 0;
  color: #ffffff;
  word-break: break-word;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-top: 86px;
  padding-bottom: 86px;
  background: #ffffff;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-card a {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: #f8fafc;
}

.contact-card a:hover {
  border-color: rgba(20, 99, 255, 0.45);
}

.contact-card span {
  color: var(--muted);
  font-weight: 800;
}

.contact-card strong {
  color: var(--blue-strong);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.12;
  word-break: break-word;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
  background: #101828;
  color: #d0d5dd;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .hero-section,
  .split-section,
  .deployment-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .product-panel {
    width: 100%;
    margin: 0;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 67px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--soft);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 20px 46px rgba(16, 24, 40, 0.14);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .hero-section {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metric-grid,
  .summary-strip,
  .feature-grid,
  .architecture-map,
  .message-layout,
  .field-row {
    grid-template-columns: 1fr;
  }

  .summary-strip div {
    min-height: auto;
  }

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

  .terminal-card div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    flex-direction: column;
  }
}
