/* Regulave Design Tokens */
:root {
  --navy-950: #040d1a;
  --navy-900: #0a1628;
  --navy-800: #0f2240;
  --navy-700: #163058;
  --navy-600: #1e4080;

  --teal-500: #00d4aa;
  --teal-400: #1de9c0;
  --teal-300: #5ff0d3;
  --teal-glow: rgba(0,212,170,0.15);

  --risk-critical: #ef233c;
  --risk-high: #ff6b6b;
  --risk-medium: #f59e0b;
  --risk-low: #10b981;
  --risk-safe: #059669;

  --surface-white: #ffffff;
  --surface-50: #f8fafc;
  --surface-100: #f0f4f8;
  --surface-200: #e2e8f0;
  --text-primary: #0a1628;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --status-safe: #059669;
  --status-warning: #d97706;
  --status-restricted: #ea580c;
  --status-banned: #dc2626;
  --status-unknown: #6b7280;
}

body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text-primary); }
h1, h2, h3, h4, h5, h6, .heading { font-family: 'DM Sans', sans-serif; letter-spacing: -0.01em; }
code, pre, .mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }

.card { background: #fff; border: 1px solid var(--surface-200); border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 24px rgba(0,212,170,0.04); }

.btn-primary { background: var(--teal-500); color: var(--navy-900); padding: 0.625rem 1.25rem;
  border-radius: 8px; font-weight: 600; transition: transform .15s, filter .15s; display: inline-flex;
  align-items: center; gap: .5rem; }
.btn-primary:hover { transform: scale(1.02); filter: brightness(1.05); }

.btn-secondary { background: #fff; color: var(--navy-900); border: 1px solid var(--navy-700);
  padding: 0.625rem 1.25rem; border-radius: 8px; font-weight: 600; }

.btn-danger { background: var(--risk-critical); color: #fff; padding: 0.5rem 1rem;
  border-radius: 8px; font-weight: 600; }

.risk-highlight { padding: 0 .25rem; border-radius: 4px; }

/* Animated particle grid for hero */
.particle-bg {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(0,212,170,0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0,212,170,0.05) 0%, transparent 50%);
  background-size: 60px 60px;
}

/* Sidebar nav active state */
.nav-active { color: var(--teal-400); border-left: 3px solid var(--teal-500); background: rgba(0,212,170,0.05); }

/* Compliance gauge animation */
@keyframes gaugeFill { from { stroke-dashoffset: 565; } }
.gauge-arc { animation: gaugeFill 1.2s ease-out forwards; }

/* Toast / flash animations */
@keyframes slideIn { from { transform: translateX(110%); } to { transform: translateX(0); } }
.toast-enter { animation: slideIn .3s ease-out; }

/* Blur gate */
.blur-gate { position: relative; }
.blur-gate-content { filter: blur(5px); pointer-events: none; user-select: none; }
.blur-gate-overlay { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; backdrop-filter: blur(2px); background: rgba(255,255,255,0.7); }
