:root {
  --bg: #0f172a;
  --panel: #0b1224;
  --accent: #a855f7;
  --accent-2: #22d3ee;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.08), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.12), transparent 25%),
              linear-gradient(145deg, #0a0f1f, #0f172a 60%, #0b1224);
  position: relative;
  overflow-x: hidden;
  padding: 28px 22px 40px;
}

a {
  color: var(--text);
}

.bg-shape {
  position: fixed;
  width: 420px;
  height: 420px;
  filter: blur(120px);
  opacity: 0.4;
  z-index: 0;
}

.bg-shape.one {
  top: -80px;
  left: -60px;
  background: #a855f7;
}

.bg-shape.two {
  bottom: -140px;
  right: -100px;
  background: #22d3ee;
}


.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  z-index: 2;
}

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

.brand h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.5px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.6);
}

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

.ghost-button,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.18s ease;
}

.ghost-button:hover,
.ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 26px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.hero h2 {
  margin: 6px 0 8px;
  font-size: 38px;
  line-height: 1.1;
}

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

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #e9d5ff;
  font-size: 13px;
}

.stat {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.15), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.stat-number {
  margin: 6px 0;
  font-size: 54px;
  font-weight: 700;
}

.stat-hint {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}

.card-header h3 {
  margin: 6px 0 6px;
  font-size: 22px;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.primary {
  flex: 1;
  padding: 11px 14px;
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #0b1224;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  box-shadow: 0 12px 24px rgba(168, 85, 247, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(168, 85, 247, 0.5);
}

.ghost {
  flex: 1;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.login-body {
  display: grid;
  place-items: center;
}

.login-card {
  width: min(420px, 90vw);
  padding: 26px 24px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.login-card h1 {
  margin: 8px 0 6px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.login-form label {
  font-weight: 600;
  color: var(--muted);
}

.login-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 16px;
}

.login-form button {
  margin-top: 6px;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #0b1224;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.35);
}

.login-form button:hover {
  transform: translateY(-1px);
}

.error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecdd3;
}

code {
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 6px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  body {
    padding: 18px 14px 26px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .stat {
    justify-self: start;
  }
  .topbar {
    position: relative;
  }
}
