/* FlowMind — Base */

/* ── BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; overflow: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-deep);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-4); border-radius: 4px; }

/* ── AURORA BACKGROUND ──────────────────────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: auroraFloat 20s ease-in-out infinite;
}

.aurora-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1a3a8f 0%, transparent 70%);
  top: -200px; left: -100px;
  animation-duration: 25s;
  animation-delay: 0s;
}

.aurora-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #004d3e 0%, transparent 70%);
  bottom: -150px; right: -100px;
  animation-duration: 30s;
  animation-delay: -10s;
}

.aurora-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #2d1a6b 0%, transparent 70%);
  top: 40%; left: 40%;
  animation-duration: 22s;
  animation-delay: -5s;
  opacity: 0.15;
}

@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.97); }
}

/* ── GLASS PRIMITIVES ───────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
  position: relative;
  z-index: 1;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.glass-card:hover {
  border-color: rgba(255,255,255,0.13);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.glass-sidebar {
  background: rgba(7,11,20,0.75);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-right: 1px solid var(--glass-border);
  position: relative;
  z-index: 100;
}

.glass-topbar {
  background: rgba(7,11,20,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  z-index: 50;
}

.glass-surface-light {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
}
