:root {
  --bg: #070c16;
  --bg-alt: #0c1424;
  --surface: #101b30;
  --surface-hover: #15233d;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(34, 211, 238, 0.36);
  --ink: #f1f5f9;
  --ink-soft: #94a3b8;
  --accent: #22d3ee;
  --accent-2: #38bdf8;
  --radius: 14px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.grid-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(34, 211, 238, 0.12), transparent 40%),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.1), transparent 36%),
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 12, 22, 0.84);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  color: #334155;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.logo-text small {
  font-size: 10px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--accent) !important;
  background: rgba(34, 211, 238, 0.08);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}

.hero {
  padding: 84px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.24);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.accent {
  background: linear-gradient(90deg, #22d3ee, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 560px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  color: #ffffff;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(16, 27, 48, 0.7);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-metrics dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.hero-metrics dd {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.console-card {
  background: rgba(16, 27, 48, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.console-title {
  font-family: var(--font-mono);
  color: var(--ink-soft);
}

.status-tag {
  color: #34d399;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
}

.console-body {
  padding: 18px;
}

.topology-svg {
  width: 100%;
  height: auto;
  display: block;
}

.terminal-log {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #060a12;
  border: 1px solid rgba(51, 65, 85, 0.55);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terminal-log code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #7dd3fc;
  word-break: break-all;
}

.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.card-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

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

.arch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.arch-tab {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.arch-tab.is-active,
.arch-tab:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.12);
}

.arch-panel {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.arch-panel.is-active {
  display: grid;
}

.arch-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.arch-panel p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #cbd5e1;
}

.check-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.spec-box {
  padding: 22px;
  border-radius: 12px;
  background: rgba(7, 12, 22, 0.72);
  border: 1px solid var(--line);
}

.spec-box h4 {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--accent);
}

.spec-box dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.spec-box dt {
  font-size: 12px;
  color: var(--ink-soft);
}

.spec-box dd {
  margin: 3px 0 0;
  font-size: 14px;
  color: var(--ink);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.timeline li {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 27, 48, 0.9), rgba(12, 20, 36, 0.6));
  border: 1px solid var(--line);
}

.step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.timeline p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  background: rgba(7, 12, 22, 0.6);
  color: #cbd5e1;
  font-weight: 600;
}

.spec-table td {
  color: var(--ink-soft);
}

.spec-table td strong {
  color: var(--ink);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  padding: 36px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.24), rgba(16, 27, 48, 0.95));
  border: 1px solid var(--line-strong);
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.cta-banner p {
  margin: 0;
  color: #cbd5e1;
}

.cta-meta {
  display: grid;
  gap: 12px;
  align-content: center;
}

.cta-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.cta-meta span {
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050911;
  padding: 32px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-brand strong {
  color: var(--ink);
}

.footer-beian a {
  font-size: 13px;
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.18s ease;
}

.footer-beian a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero-grid,
  .arch-panel.is-active,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .pillar-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    background: #070c16;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }

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

  .hero {
    padding: 56px 0 48px;
  }

  .hero-metrics,
  .pillar-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 24px;
  }

  .cta-meta > div {
    flex-direction: column;
    gap: 4px;
  }
}
