:root {
  --bg: #0b0f14;
  --bg-soft: #111823;
  --line: #1f2b3a;
  --text: #e6edf6;
  --muted: #8ea0b8;
  --accent: #4ea1ff;
  --accent-2: #38d39f;
  --warn: #ffb454;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(900px 500px at 15% -10%, rgba(78, 161, 255, .18), transparent 60%),
    radial-gradient(700px 420px at 95% 10%, rgba(56, 211, 159, .12), transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.topbar, .hero, .footer { position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(31, 43, 58, .7);
  backdrop-filter: blur(6px);
}

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

.brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #2b6dd6);
  color: #06121f;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
}

.brand-text { font-weight: 600; letter-spacing: .3px; font-size: 15px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 24, 35, .8);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.status-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 0 rgba(142, 160, 184, .5);
}

.status-pill.online .dot { background: var(--accent-2); animation: pulse 2s infinite; }
.status-pill.online { color: #b9f0dc; border-color: rgba(56, 211, 159, .35); }
.status-pill.offline .dot { background: var(--warn); }
.status-pill.offline { color: #ffd9a3; border-color: rgba(255, 180, 84, .3); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(56, 211, 159, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(56, 211, 159, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 211, 159, 0); }
}

.hero {
  flex: 1;
  width: min(1080px, 100% - 40px);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 88px) 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 700;
}

h1 .hl {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 26px;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.85;
  color: var(--muted);
  max-width: 46em;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }

.badge {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(17, 24, 35, .6);
}

.badge-main {
  color: #cfe4ff;
  border-color: rgba(78, 161, 255, .45);
  background: rgba(78, 161, 255, .12);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}

.card {
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 24, 35, .9), rgba(11, 15, 20, .6));
  transition: border-color .2s ease, transform .2s ease;
}

.card:hover { border-color: rgba(78, 161, 255, .45); transform: translateY(-2px); }

.card-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--accent);
  opacity: .8;
  margin-bottom: 10px;
}

.card h2 { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; }

.card p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--muted); }

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 35, .45);
  margin-bottom: 26px;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}

.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2c3a4d;
  flex: none;
}

.step.done .step-dot { background: var(--accent-2); }
.step.done { color: #cfeee3; }
.step.active .step-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(78, 161, 255, .18); }
.step.active { color: #d8e9ff; }

.meta {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-top: 1px solid rgba(31, 43, 58, .7);
  font-size: 12.5px;
  color: #5b6b80;
}

.footer .sep { opacity: .5; }

@media (max-width: 640px) {
  .topbar { padding: 16px 18px; }
  .hero { width: calc(100% - 36px); padding-top: 32px; }
  .cards { grid-template-columns: 1fr; }
  .footer { font-size: 11.5px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .status-pill .dot { transition: none; animation: none; }
}
