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

:root {
  --bg-primary: #07070f;
  --bg-secondary: #0d0d1f;
  --bg-tertiary: #14142e;
  --bg-card: rgba(20, 20, 50, 0.8);
  --bg-card-hover: rgba(30, 30, 70, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --accent-purple: #7c3aed;
  --accent-purple-light: #a78bfa;
  --accent-purple-dark: #5b21b6;
  --accent-blue: #3b82f6;
  --accent-blue-light: #60a5fa;
  --accent-pink: #ec4899;
  --accent-gradient: linear-gradient(135deg, #7c3aed, #3b82f6);
  --accent-gradient-hover: linear-gradient(135deg, #8b5cf6, #4f8cf7);
  --accent-gradient-text: linear-gradient(135deg, #a78bfa, #60a5fa);
  --text-primary: #f0f0ff;
  --text-secondary: #a0a0c8;
  --text-muted: #606088;
  --border-color: rgba(124, 58, 237, 0.15);
  --border-active: rgba(124, 58, 237, 0.4);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(124, 58, 237, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}

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

a:hover {
  color: var(--accent-blue-light);
}

img, video {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  outline: none;
  background: none;
  color: var(--text-primary);
}

input, textarea {
  font-family: var(--font);
  outline: none;
  border: none;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-purple-dark);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

::selection {
  background: rgba(124, 58, 237, 0.3);
  color: var(--text-primary);
}
