:root {
  --bg: #08090a;
  --panel: #0f1011;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.065);
  --text: #f7f8f8;
  --muted: #8a8f98;
  --soft: #d0d6e0;
  --line: rgba(255,255,255,0.08);
  --line-soft: rgba(255,255,255,0.05);
  --brand: #5e6ad2;
  --brand-2: #828fff;
  --green: #10b981;
  --gold: #d7a84f;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-feature-settings: "cv01", "ss03";
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(94, 106, 210, 0.22), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(16, 185, 129, 0.10), transparent 24%),
    linear-gradient(180deg, #08090a 0%, #0b0c0f 46%, #08090a 100%);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.4) 0 1px, transparent 1px 2px);
}

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

.section-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 40px));
  margin: 14px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(15, 16, 17, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--green));
  color: white;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
}

.nav nav { display: flex; gap: 18px; align-items: center; color: var(--soft); font-size: 13px; font-weight: 510; }
.nav nav a { opacity: .82; transition: opacity .2s, color .2s; }
.nav nav a:hover { opacity: 1; color: var(--text); }
.nav-cta { padding: 9px 13px; border-radius: 999px; background: var(--brand); color: white; opacity: 1 !important; }

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: 34px;
  align-items: center;
  padding: 76px 0 54px;
}

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--soft);
  background: rgba(255,255,255,.03);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
}
.pill.muted { color: var(--muted); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8.4vw, 96px);
  line-height: .94;
  letter-spacing: -0.075em;
  font-weight: 610;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 580;
}
h3 { margin-bottom: 12px; font-size: 20px; letter-spacing: -0.025em; font-weight: 590; }

.lead {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.58;
  letter-spacing: -0.02em;
}
.lead-en { max-width: 700px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-actions.center { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 9px;
  font-weight: 590;
  font-size: 14px;
  border: 1px solid var(--line);
  transition: transform .18s, background .18s, border-color .18s;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--brand); border-color: rgba(255,255,255,.12); color: white; }
.button.primary:hover { background: var(--brand-2); }
.button.ghost { background: rgba(255,255,255,.025); color: var(--soft); }

.system-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 28px 80px rgba(0,0,0,.34);
}
.card-header { display: flex; gap: 10px; align-items: center; padding: 8px 8px 16px; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot.live { background: var(--green); box-shadow: 0 0 18px rgba(16,185,129,.8); }
.system-node {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 12px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}
.system-node.active { background: rgba(94,106,210,.15); border-color: rgba(130,143,255,.34); }
.system-node span { grid-row: span 2; color: var(--brand-2); font-family: 'JetBrains Mono', monospace; }
.system-node strong { font-size: 17px; }
.system-node small { color: var(--muted); line-height: 1.7; }
.connector { width: 1px; height: 18px; margin-left: 38px; background: var(--line); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}
.stats div { padding: 22px; border: 1px solid var(--line-soft); border-radius: 18px; background: rgba(255,255,255,.025); }
.stats strong { display: block; margin-bottom: 4px; font-size: 34px; letter-spacing: -0.06em; }
.stats span { color: var(--brand-2); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.stats p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.section-block { padding: 96px 0; }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; align-items: end; margin-bottom: 34px; }
.section-heading.narrow { display: block; max-width: 840px; }
.eyebrow { margin-bottom: 14px; color: var(--brand-2); font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

.grid { display: grid; gap: 14px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
article, .step, .platform-panel, .global-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
article { min-height: 240px; padding: 24px; }
article p, .step p, .platform-panel p, .global-card p { color: var(--muted); line-height: 1.72; }
article small { display: block; margin-bottom: 18px; color: var(--brand-2); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 28px; border-radius: 12px; background: rgba(94,106,210,.14); color: var(--brand-2); font-weight: 700; }

.method { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 34px; }
.step { padding: 22px; min-height: 270px; }
.step b { display: block; margin-bottom: 40px; color: var(--green); font-family: 'JetBrains Mono', monospace; font-size: 13px; }

.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.platform-panel { padding: 26px; min-height: 250px; }
.platform-panel.large { grid-column: span 2; }
.platform-panel.wide { grid-column: span 2; }
.panel-label { color: var(--green) !important; font-family: 'JetBrains Mono', monospace; font-size: 12px; }

.usecase-list { display: grid; gap: 10px; }
.usecase-list div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(255,255,255,.022); }
.usecase-list b { color: var(--text); }
.usecase-list span { color: var(--muted); line-height: 1.65; }

.global { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.global-card { min-height: 360px; padding: 34px; }
.global-card.cn { background: linear-gradient(135deg, rgba(94,106,210,.14), rgba(255,255,255,.024)); }
.global-card.en { background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(255,255,255,.024)); }

.cta { padding: 105px 20px; text-align: center; }
.cta h2 { max-width: 820px; margin: 0 auto 20px; }
.cta p { max-width: 720px; margin: 0 auto; color: var(--muted); line-height: 1.8; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 48px; border-top: 1px solid var(--line-soft); color: var(--muted); }
.footer p { margin: 8px 0 0; }

@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero, .section-heading, .global { grid-template-columns: 1fr; }
  .stats, .grid.three, .grid.four, .timeline, .platform-grid { grid-template-columns: 1fr; }
  .platform-panel.large, .platform-panel.wide { grid-column: span 1; }
  .usecase-list div { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 64px; }
  .footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .section-shell, .nav { width: min(100% - 24px, 1180px); }
  h1 { font-size: 46px; }
  .section-block { padding: 72px 0; }
  .stats strong { font-size: 28px; }
}
