@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #07070d;
  --bg-2: #0c0c17;
  --bg-3: #10101e;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.055);
  --surface-hover: rgba(255,255,255,0.065);
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.13);
  --border-focus: rgba(99,102,241,0.55);
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #8b5cf6;
  --accent: #a78bfa;
  --text: #f1f5f9;
  --text-muted: #8b9ab0;
  --text-dim: #3f5068;
  --danger: #ef4444;
  --danger-soft: rgba(239,68,68,0.11);
  --success: #22c55e;
  --success-soft: rgba(34,197,94,0.11);
  --warning: #f59e0b;
  --warning-soft: rgba(245,158,11,0.11);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 28px 90px rgba(0,0,0,0.65);
  --shadow-sm: 0 6px 28px rgba(0,0,0,0.4);
  --glow: 0 0 70px rgba(99,102,241,0.18);
  --glow-sm: 0 0 32px rgba(99,102,241,0.12);
  --transition: 0.17s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.5); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Focus visible */
:focus-visible { outline: 2px solid rgba(99,102,241,0.7); outline-offset: 3px; border-radius: 4px; }

/* Ambient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% -5%, rgba(99,102,241,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 105%, rgba(139,92,246,0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Typography */
h1 { font-size: clamp(22px, 3.5vw, 30px); font-weight: 800; letter-spacing: -0.7px; line-height: 1.2; }
h2 { font-size: clamp(17px, 2.5vw, 21px); font-weight: 700; letter-spacing: -0.4px; }
h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.1px; }
p { color: var(--text-muted); line-height: 1.65; }

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
