:root {
  --bg: #07080a;
  --bg2: #0b0d12;
  --panel: rgba(255,255,255,.035);
  --panel2: rgba(255,255,255,.055);
  --line: rgba(255,255,255,.08);
  --line2: rgba(255,255,255,.14);
  --text: #f7f8f8;
  --muted: #9aa0aa;
  --soft: #d0d6e0;
  --dim: #62666d;
  --violet: #7170ff;
  --blue: #55b3ff;
  --green: #10b981;
  --red: #ff6363;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(113,112,255,.22), transparent 35%),
    radial-gradient(circle at 88% 8%, rgba(85,179,255,.12), transparent 30%),
    linear-gradient(180deg, #07080a 0%, #090b10 45%, #050607 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv01", "ss03";
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7,8,10,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.brand, nav { display: flex; align-items: center; gap: 20px; }
.brand { font-weight: 510; color: var(--text); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--violet), #3b82f6);
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 12px 35px rgba(113,112,255,.28);
}
nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 510;
  transition: color .18s ease, opacity .18s ease;
}
nav a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 42px;
  align-items: center;
  min-height: 620px;
  padding: 58px 0 76px;
}
.eyebrow, .section-kicker, .mono {
  color: var(--blue);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(46px, 6.2vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.032em;
  font-weight: 500;
}
.lead {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 510;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.primary { background: #5e6ad2; box-shadow: 0 18px 46px rgba(94,106,210,.26); }
.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--soft); }

.console-card, .agent-card, .system-card, .cloud, .status-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.058), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.06);
}
.console-card { border-radius: 24px; overflow: hidden; transform: rotate(.6deg); }
.console-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.console-head span { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.console-head span:nth-child(2) { background: #ffbc33; }
.console-head span:nth-child(3) { background: var(--green); }
.console-head strong { margin-left: auto; color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 400; }
.console-body { padding: 18px; }
.metric-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
  font-size: 13px;
}
.metric-row span { color: var(--dim); }
.metric-row b { color: var(--soft); font-weight: 510; }
.metric-row em { font-style: normal; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 11px; }
.metric-row .ok { color: var(--green); }
.terminal-lines { margin-top: 18px; padding: 16px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.055); }
.terminal-lines p { color: #b8bec8; font: 12px/1.8 "JetBrains Mono", monospace; }
.terminal-lines span { color: var(--violet); margin-right: 8px; }

.section { padding: 62px 0; }
.section-head { display: flex; justify-content: space-between; gap: 36px; align-items: flex-start; margin-top: 12px; margin-bottom: 24px; }
h2 { max-width: 760px; font-size: clamp(24px, 2.25vw, 32px); line-height: 1.26; letter-spacing: -0.018em; font-weight: 500; }
.section-head p, .cloud p, .status-panel p { max-width: 460px; color: var(--muted); line-height: 1.7; }
.agent-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.agent-card, .system-card { padding: 24px; border-radius: 18px; }
.primary-card { background: linear-gradient(135deg, rgba(113,112,255,.20), rgba(255,255,255,.035)); }
.pill { display: inline-flex; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); font-size: 12px; }
h3 { margin-top: 20px; font-size: 23px; line-height: 1.14; letter-spacing: -0.025em; font-weight: 500; }
.agent-card p, .system-card p { margin-top: 12px; color: var(--muted); line-height: 1.65; }

.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.system-card.large { grid-column: span 2; min-height: 260px; }
.status-line { margin-top: 28px; color: var(--soft); font-size: 13px; }
.status-line i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 20px var(--green); }

.cloud, .status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 32px;
  align-items: flex-start;
  padding: 34px;
  border-radius: 24px;
  margin: 40px 0;
}
.route-map { display: grid; gap: 10px; }
.route-map div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.055);
}
.route-map b { font: 13px "JetBrains Mono", monospace; color: var(--text); }
.route-map span { color: var(--muted); font-size: 13px; }
.status-panel { margin-bottom: 90px; }
ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
li { color: var(--soft); }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; }
.done { background: var(--green); box-shadow: 0 0 16px rgba(16,185,129,.8); }
.wait { background: #ffbc33; box-shadow: 0 0 16px rgba(255,188,51,.55); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero, .cloud, .status-panel { grid-template-columns: 1fr; min-height: auto; }
  .console-card { transform: none; }
  .agent-grid, .system-grid { grid-template-columns: 1fr; }
  .system-card.large { grid-column: auto; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
}
