:root {
  --bg: #05080f;
  --panel: #0e1420;
  --text: #e9f1ff;
  --muted: #8ca0b8;
  --accent: #6cf;
  --accent-2: #ff6;
  --border: #172235;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #0f1b2c 0%, #05080f 60%);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.hero {
  position: relative;
  padding: 48px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(108, 255, 255, 0.12), transparent),
    var(--panel);
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 24px;
}

.hero .glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.08), transparent);
  top: -120px;
  right: -120px;
  filter: blur(18px);
  pointer-events: none;
}

.hero .content {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  margin: 0 0 12px;
  font-size: 42px;
  letter-spacing: 2px;
  color: var(--accent);
}

.lede {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.pill.primary {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.panel h2 {
  margin: 0 0 12px;
  letter-spacing: 1px;
}

.stats .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.stats .card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.stats .card.accent {
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(108, 255, 255, 0.15);
}

.meter {
  width: 100%;
  height: 10px;
  background: #141c2a;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 6px;
}

.meter .fill {
  height: 100%;
  background: linear-gradient(90deg, #6cf, #ff6);
  width: 0%;
  transition: width 0.3s ease;
}

.stats .label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(108, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.form-card label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
}

.form-card input,
.form-card textarea {
  background: #0c1420;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}

.form-card button {
  align-self: flex-start;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: bold;
  cursor: pointer;
}

.form-card .status {
  min-height: 18px;
  font-size: 13px;
  color: var(--accent);
}

.hint {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 14px;
  height: 14px;
}

.status-text {
  font-weight: 600;
}

.progress {
  width: 100%;
  height: 10px;
  background: #0c1420;
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.progress .fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #15ffc4, #00b3ff);
  transition: width 0.2s ease;
}

.stats .value {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.timeline ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.timeline li {
  margin-bottom: 6px;
}

footer {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

code {
  color: var(--accent-2);
}

/* Landing Page Styles */
.landing {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  padding-top: 0;
}

.landing-hero {
  text-align: center;
  padding: 64px 32px;
}

.landing-hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ascii-art {
/*  font-family: "JetBrains Mono", "Fira Code", "SF Mono", monospace;*/
  font-size: clamp(8px, 1.8vw, 14px);
  line-height: 1.2;
  letter-spacing: 0;
  font-variant-ligatures: none;
/*  -webkit-font-feature-settings: "liga" 0, "calt" 0;*/
  font-feature-settings: "liga" 0, "calt" 0;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(102, 204, 255, 0.5),
               0 0 40px rgba(102, 204, 255, 0.3);
  margin: 0 0 24px;
  white-space: pre;
  overflow-x: auto;
  text-align: left;
}

.tagline {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px;
  letter-spacing: 1px;
}

.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(102, 204, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.feature-icon {
  font-size: 20px;
}

.feature-text {
  color: var(--text);
  font-size: 14px;
}

.landing .cta-row {
  justify-content: center;
  margin-bottom: 40px;
}

.landing .cta-row a {
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing .cta-row a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(102, 204, 255, 0.3);
}

.stats-mini {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(102, 204, 255, 0.4);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Auth page specific */
.auth label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.auth input {
  background: #0c1420;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.auth input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(102, 204, 255, 0.2);
}

.auth button {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.auth button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 204, 255, 0.3);
}

.auth .status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent);
  min-height: 20px;
}

/* Status pill in hero */
.status-pill {
  display: flex;
  align-items: center;
  padding: 6px 10px;
}

.cpu-card, .mem-card {
  background: linear-gradient(135deg, rgba(124, 255, 77, 0.08), rgba(138, 92, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cpu-graph {
  display: grid;
  grid-template-columns: repeat(60, 1fr);
  align-items: end;
  gap: 2px;
  height: 120px;
  background: radial-gradient(circle at 20% 20%, rgba(124, 255, 77, 0.08), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(255, 90, 162, 0.12), transparent 40%),
              #0f0a1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px;
}

.cpu-bar {
  width: 100%;
  height: 4%;
  background: linear-gradient(180deg, var(--accent), #1a1030);
  border-radius: 3px;
  transition: height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 10px rgba(124, 255, 77, 0.4);
}

.mem-graph {
  display: grid;
  grid-template-columns: repeat(60, 1fr);
  align-items: end;
  gap: 2px;
  height: 120px;
  background: radial-gradient(circle at 10% 30%, rgba(255, 107, 214, 0.12), transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(124, 255, 77, 0.08), transparent 45%),
              #0f0a1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px;
}

.mem-bar {
  width: 100%;
  height: 4%;
  background: linear-gradient(180deg, #ff6bd6, #1a1030);
  border-radius: 3px;
  transition: height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 10px rgba(255, 107, 214, 0.4);
}

.graph-row {
  margin-top: 1rem;
  width: 100%;
}
