:root {
  --bg: #070b14;
  --panel: rgba(12, 18, 32, .74);
  --panel-strong: rgba(15, 23, 42, .92);
  --text: #e5e7eb;
  --muted: #8ea0b8;
  --line: rgba(148, 163, 184, .18);
  --accent: #67e8f9;
  --accent-2: #a78bfa;
  --ok: #86efac;
  --warn: #facc15;
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }

body {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 20%, rgba(103, 232, 249, .12), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(167, 139, 250, .14), transparent 30%),
    linear-gradient(135deg, #050816, var(--bg));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .7;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 56px 0 32px;
}

.hero { padding: 32px 0; }

.kicker {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: .9;
  letter-spacing: -0.08em;
}

h1 span {
  color: var(--accent);
  text-shadow: 0 0 32px rgba(103, 232, 249, .35);
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chips span {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .56);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 9px 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.terminal {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.terminal-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  background: var(--panel-strong);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.dots i:nth-child(1) { background: #fb7185; }
.dots i:nth-child(2) { background: #facc15; }
.dots i:nth-child(3) { background: #4ade80; }

.terminal-output {
  min-height: 360px;
  max-height: 460px;
  overflow: auto;
  padding: 20px;
  line-height: 1.65;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
}

.terminal-output div { margin: 4px 0; }
.terminal-output code { color: var(--accent); }
.muted { color: var(--muted); }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.accent { color: var(--accent); }

.prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, .38);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.prompt span { color: var(--accent); font-weight: 700; }

.prompt input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  caret-color: var(--accent);
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(203, 213, 225, .58);
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; padding-top: 32px; }
  .terminal-output { min-height: 300px; }
  footer { flex-direction: column; }
}
