:root {
  --bg-primary: #0B0F1A;
  --bg-secondary: #111827;
  --bg-card: #161E2E;
  --bg-card-hover: #1C2640;
  --accent-teal: #2DD4BF;
  --accent-teal-dim: rgba(45, 212, 191, 0.15);
  --accent-rose: #FB7185;
  --accent-rose-dim: rgba(251, 113, 133, 0.12);
  --accent-amber: #FBBF24;
  --accent-amber-dim: rgba(251, 191, 36, 0.12);
  --accent-violet: #A78BFA;
  --accent-violet-dim: rgba(167, 139, 250, 0.12);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #475569;
  --border: rgba(148, 163, 184, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -30%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -40%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#root {
  position: relative;
  z-index: 1;
}

.mono {
  font-family: 'DM Mono', monospace;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(148, 163, 184, 0.12);
}

.glow-teal {
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.08), 0 0 80px rgba(45, 212, 191, 0.04);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.sparkline {
  display: inline-block;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

.animate-slide {
  animation: slideInRight 0.4s ease forwards;
}

.demo-banner {
  background: linear-gradient(90deg, var(--accent-violet-dim), var(--accent-teal-dim));
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.progress-ring {
  transform: rotate(-90deg);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 768px) {
  .card {
    border-radius: 12px;
  }
}