/* MatrixForge Labs - Modern 2026 Design System */
/* Aurora UI + Glassmorphism + Bold Typography + Purposeful Motion */

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color System */
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --yellow-500: #eab308;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --teal-600: #0d9488;
  --indigo-600: #4f46e5;

  /* Gray Scale */
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--gray-950);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Remove browser default link underlines */
a, a:link, a:visited, a:hover, a:active {
  text-decoration: none !important;
}

/* ===== AURORA ANIMATED BACKGROUND ===== */
.min-h-screen {
  min-height: 100vh;
  position: relative;
}

.min-h-screen::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, #030712 0%, #0a0a1a 50%, #030712 100%);
}

/* Aurora blobs */
.min-h-screen::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 30% 60%, rgba(147, 51, 234, 0.08) 0%, transparent 50%);
  animation: aurora-drift 30s ease-in-out infinite;
}

@keyframes aurora-drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    filter: hue-rotate(0deg);
  }
  25% {
    transform: translate(2%, -2%) scale(1.02);
    filter: hue-rotate(10deg);
  }
  50% {
    transform: translate(-1%, 2%) scale(0.98);
    filter: hue-rotate(-5deg);
  }
  75% {
    transform: translate(1%, -1%) scale(1.01);
    filter: hue-rotate(5deg);
  }
}

/* ===== NAVIGATION - GLASSMORPHISM ===== */
header, .sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.bg-gray-800\/90 {
  background: rgba(17, 24, 39, 0.7) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.backdrop-blur-sm {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.border-b {
  border-bottom-width: 1px;
}

.border-gray-700 {
  border-color: rgba(255, 255, 255, 0.06);
}

nav a {
  position: relative;
}

nav a:not(.bg-gradient-to-r)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-500), var(--orange-500));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:not(.bg-gradient-to-r):hover::after {
  width: 100%;
}

/* Nav logo gradient text */
nav .bg-gradient-to-r.from-purple-400.to-orange-400.bg-clip-text.text-transparent,
header .bg-gradient-to-r.from-purple-400.to-orange-400.bg-clip-text.text-transparent {
  background: linear-gradient(90deg, #c084fc, #fb923c) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Nav CTA button glow */
nav .bg-gradient-to-r:not(.bg-clip-text) {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav .bg-gradient-to-r:not(.bg-clip-text)::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--purple-500), var(--orange-500));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.3s;
}

nav .bg-gradient-to-r:not(.bg-clip-text):hover::before {
  opacity: 0.6;
}

nav .bg-gradient-to-r:not(.bg-clip-text):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

/* ===== HERO SECTION ===== */
section.relative.min-h-screen {
  padding-top: 6rem;
}

/* Hero animated background blobs */
.animate-pulse {
  animation: hero-pulse 8s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%, 100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(1.1);
  }
}

.blur-3xl {
  filter: blur(64px);
}

/* Hero badge */
.bg-purple-600\/10 {
  background: rgba(147, 51, 234, 0.12);
  backdrop-filter: blur(10px);
}

.border-purple-600\/20 {
  border: 1px solid rgba(147, 51, 234, 0.25);
}

.rounded-full {
  border-radius: 9999px;
}

/* Gradient text - MUST combine all properties together */
.bg-gradient-to-r.from-purple-400.to-orange-400.bg-clip-text.text-transparent,
.bg-gradient-to-r.from-purple-400.via-orange-400.to-purple-400.bg-clip-text.text-transparent {
  background: linear-gradient(90deg, #c084fc 0%, #fb923c 50%, #c084fc 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: gradient-flow 6s linear infinite;
}

/* Fallback individual classes */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.from-purple-400 { --tw-gradient-from: #c084fc; }
.to-orange-400 { --tw-gradient-to: #fb923c; }
.via-orange-400 { --tw-gradient-via: #fb923c; }

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-from, #c084fc), var(--tw-gradient-via, #fb923c), var(--tw-gradient-to, #c084fc));
}

@keyframes gradient-flow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Hero title sizing */
.text-6xl { font-size: clamp(2.5rem, 8vw, 4rem); }
.text-7xl { font-size: clamp(3rem, 10vw, 5rem); }

.font-bold {
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Hero CTA buttons */
.px-8.py-4.bg-gradient-to-r {
  position: relative;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.px-8.py-4.bg-gradient-to-r::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.px-8.py-4.bg-gradient-to-r:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(147, 51, 234, 0.35),
    0 0 60px rgba(147, 51, 234, 0.2);
}

.px-8.py-4.bg-gradient-to-r:hover::before {
  opacity: 1;
}

/* Secondary button */
.px-8.py-4.bg-gray-800 {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.px-8.py-4.bg-gray-800:hover {
  background: rgba(147, 51, 234, 0.1);
  border-color: var(--purple-500);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.15);
}

/* Hero value props */
.grid.grid-cols-2.md\:grid-cols-4 > div {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.grid.grid-cols-2.md\:grid-cols-4 > div:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(147, 51, 234, 0.3);
  transform: translateY(-4px);
}

/* Scroll indicator */
.animate-bounce {
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(10px) translateX(-50%); }
}

/* ===== PROOF STRIP ===== */
section.py-12.bg-gray-800 {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

section.py-12.bg-gray-800::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.03), rgba(249, 115, 22, 0.03), transparent);
  animation: proof-shimmer 10s linear infinite;
  background-size: 200% 100%;
}

@keyframes proof-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Proof strip gradient numbers */
section.py-12 .bg-gradient-to-r.from-purple-400.to-orange-400.bg-clip-text.text-transparent {
  background: linear-gradient(90deg, #c084fc, #fb923c) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Proof numbers */
.text-3xl.md\:text-4xl {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ===== PRODUCTS SECTION ===== */
section#products {
  padding: 6rem 0;
}

section#products .bg-gray-800\/50 {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

section#products .bg-gray-800\/50::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

section#products a.block.group:hover .bg-gray-800\/50 {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(147, 51, 234, 0.4);
  transform: translateY(-8px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(147, 51, 234, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Product icon glow */
.text-4xl {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
  transition: filter 0.3s;
}

section#products a.block.group:hover .text-4xl {
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
}

/* Product status badges */
.bg-green-500 {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green-400);
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.bg-yellow-500 {
  background: rgba(234, 179, 8, 0.2);
  color: var(--yellow-500);
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.bg-gray-500 {
  background: rgba(107, 114, 128, 0.2);
  color: var(--gray-400);
  border: 1px solid rgba(107, 114, 128, 0.4);
}

/* Product tagline mono styling */
.font-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem !important;
}

/* Product CTA arrow */
.group-hover\:translate-x-1 {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

section#products a.block.group:hover .group-hover\:translate-x-1 {
  transform: translateX(6px);
}

/* ===== ABOUT SECTION ===== */
section#about {
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

section#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.3), rgba(249, 115, 22, 0.3), transparent);
}

/* About pillars */
section#about .flex.items-start.gap-4 {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

section#about .flex.items-start.gap-4:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(147, 51, 234, 0.25);
  transform: translateX(4px);
}

/* About pillar icons */
.bg-purple-600\/20 {
  background: rgba(147, 51, 234, 0.15);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
}

.bg-orange-600\/20 {
  background: rgba(249, 115, 22, 0.15);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.bg-green-600\/20 {
  background: rgba(34, 197, 94, 0.15);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

/* Quote card */
section#about .bg-gray-900\/50 {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

section#about .bg-gray-900\/50::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-500), var(--orange-500), var(--purple-500));
  background-size: 200% 100%;
  animation: gradient-flow 4s linear infinite;
}

/* Quote mark */
section#about .text-6xl.text-purple-400\/30 {
  font-size: 5rem;
  background: linear-gradient(135deg, var(--purple-500), var(--orange-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
}

/* Quote avatar */
.bg-gradient-to-br.from-purple-600.to-orange-600 {
  background: linear-gradient(135deg, var(--purple-600), var(--orange-600));
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer h4 {
  color: var(--gray-200);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: inline-block;
}

footer a:hover {
  color: var(--purple-400);
}

/* Footer brand logo - gradient text fix */
footer .bg-gradient-to-r.from-purple-400.to-orange-400.bg-clip-text.text-transparent {
  background: linear-gradient(90deg, #c084fc, #fb923c) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

footer .text-gray-400 {
  color: var(--gray-400);
}

footer .text-gray-500 {
  color: var(--gray-500);
}

footer .text-sm {
  font-size: 0.875rem;
}

/* ===== UTILITY CLASSES ===== */
.min-h-screen { min-height: 100vh; }

/* Background colors */
.bg-gray-900 { background: transparent; }
.bg-gray-900\/50 { background: rgba(17, 24, 39, 0.5); }
.bg-gray-800 { background: rgba(31, 41, 55, 0.5); }
.bg-gray-800\/50 { background: rgba(31, 41, 55, 0.3); }
.bg-gray-700 { background: rgba(55, 65, 81, 0.8); }
.bg-gray-700\/50 { background: rgba(55, 65, 81, 0.5); }
.bg-purple-600 { background: var(--purple-600); }
.bg-purple-600\/10 { background: rgba(147, 51, 234, 0.1); }
.bg-purple-600\/20 { background: rgba(147, 51, 234, 0.2); }
.bg-purple-600\/30 { background: rgba(147, 51, 234, 0.3); }
.bg-orange-600\/10 { background: rgba(234, 88, 12, 0.1); }
.bg-orange-600\/20 { background: rgba(234, 88, 12, 0.2); }
.bg-orange-600\/30 { background: rgba(234, 88, 12, 0.3); }
.bg-green-500 { background: rgba(34, 197, 94, 1); }
.bg-green-600\/20 { background: rgba(22, 163, 74, 0.2); }
.bg-green-600\/30 { background: rgba(22, 163, 74, 0.3); }
.bg-green-900\/50 { background: rgba(20, 83, 45, 0.5); }
.bg-red-600\/20 { background: rgba(220, 38, 38, 0.2); }
.bg-red-600\/30 { background: rgba(220, 38, 38, 0.3); }
.bg-red-900\/50 { background: rgba(127, 29, 29, 0.5); }
.bg-blue-500 { background: rgba(59, 130, 246, 1); }
.bg-blue-600\/20 { background: rgba(37, 99, 235, 0.2); }
.bg-blue-600\/30 { background: rgba(37, 99, 235, 0.3); }
.bg-yellow-500 { background: rgba(234, 179, 8, 1); }

/* Text colors */
.text-white { color: white; }
.text-gray-100 { color: var(--gray-100); }
.text-gray-200 { color: var(--gray-200); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-purple-400 { color: var(--purple-400); }
.text-purple-500 { color: var(--purple-500); }
.text-orange-400 { color: rgba(251, 146, 60, 1); }
.text-green-300 { color: rgba(134, 239, 172, 1); }
.text-green-400 { color: var(--green-400); }
.text-red-300 { color: rgba(252, 165, 165, 1); }
.text-red-400 { color: rgba(248, 113, 113, 1); }
.text-blue-400 { color: rgba(96, 165, 250, 1); }
.text-indigo-400 { color: rgba(129, 140, 248, 1); }
.text-left { text-align: left; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.7; }

.tracking-wide { letter-spacing: 0.05em; }

.text-center { text-align: center; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }

/* Spacing - Padding */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-4 { padding-right: 1rem; }

/* Spacing - Margin */
.m-0 { margin: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-16 { margin-top: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Sizing */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-32 { width: 8rem; }
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }
.w-\[600px\] { width: 600px; }
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-32 { height: 8rem; }
.h-72 { height: 18rem; }
.h-96 { height: 24rem; }
.h-\[600px\] { height: 600px; }
.h-full { height: 100%; }
.min-w-0 { min-width: 0; }

.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-md { max-width: 28rem; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.col-span-1 { grid-column: span 1; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-20 { top: 5rem; }
.top-1\/2 { top: 50%; }
.bottom-0 { bottom: 0; }
.bottom-8 { bottom: 2rem; }
.bottom-20 { bottom: 5rem; }
.left-0 { left: 0; }
.left-10 { left: 2.5rem; }
.left-1\/2 { left: 50%; }
.left-1\/4 { left: 25%; }
.right-0 { right: 0; }
.right-10 { right: 2.5rem; }
.right-1\/4 { right: 25%; }
.inset-0 { inset: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.transform { transform: translateZ(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-y-2 { transform: translateY(-0.5rem); }
.group-hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.hover\:scale-105:hover { transform: scale(1.05); }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-gray-600 { border-color: rgba(75, 85, 99, 0.8); }
.border-gray-700 { border-color: rgba(55, 65, 81, 0.5); }
.border-gray-800 { border-color: rgba(31, 41, 55, 0.5); }
.border-purple-500 { border-color: var(--purple-500); }
.border-purple-600 { border-color: var(--purple-600); }
.border-purple-600\/20 { border-color: rgba(147, 51, 234, 0.2); }
.border-green-700 { border-color: rgba(21, 128, 61, 0.8); }
.border-red-600 { border-color: rgba(220, 38, 38, 0.8); }
.border-red-700 { border-color: rgba(185, 28, 28, 0.8); }
.border-red-900\/50 { border-color: rgba(127, 29, 29, 0.5); }
.border-transparent { border-color: transparent; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Effects */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.opacity-10 { opacity: 0.1; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.pointer-events-none { pointer-events: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.outline-none { outline: none; }

/* Dividers */
.divide-y > * + * { border-top-width: 1px; }
.divide-gray-700 > * + * { border-color: rgba(55, 65, 81, 0.5); }

/* Transitions */
.transition { transition: all 0.3s ease; }
.transition-all { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition: transform 0.3s ease; }
.duration-300 { transition-duration: 300ms; }

/* Hover states */
.hover\:text-white:hover { color: white; }
.hover\:text-purple-300:hover { color: var(--purple-300); }
.hover\:text-purple-400:hover { color: var(--purple-400); }
.hover\:text-red-300:hover { color: #fca5a5; }
.hover\:border-gray-600:hover { border-color: rgba(75, 85, 99, 0.8); }
.hover\:border-purple-600:hover { border-color: var(--purple-600); }
.hover\:bg-gray-700:hover { background-color: rgba(55, 65, 81, 0.8); }
.hover\:bg-purple-700:hover { background-color: var(--purple-700); }
.hover\:bg-red-600\/30:hover { background-color: rgba(220, 38, 38, 0.3); }
.hover\:from-purple-700:hover { --tw-gradient-from: var(--purple-700); }
.hover\:to-orange-700:hover { --tw-gradient-to: #c2410c; }
.hover\:opacity-90:hover { opacity: 0.9; }

/* Group hover states */
.group:hover .group-hover\:-translate-y-1 { transform: translateY(-0.25rem); }
.group:hover .group-hover\:-translate-y-2 { transform: translateY(-0.5rem); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:bg-purple-600\/30 { background: rgba(147, 51, 234, 0.3); }
.group:hover .group-hover\:bg-orange-600\/30 { background: rgba(234, 88, 12, 0.3); }
.group:hover .group-hover\:bg-green-600\/30 { background: rgba(22, 163, 74, 0.3); }
.group:hover .group-hover\:bg-blue-600\/30 { background: rgba(37, 99, 235, 0.3); }

/* Focus states */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.5); }
.focus\:ring-purple-500:focus { --tw-ring-color: var(--purple-500); }
.focus\:border-transparent:focus { border-color: transparent; }
.focus\:outline-none:focus { outline: none; }

/* Disabled states */
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* Display */
.block { display: block; }
.hidden { display: none; }
.inline-block { display: inline-block; }

.group { position: relative; }

/* Responsive - sm: (640px+) */
@media (min-width: 640px) {
  /* Layout */
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-col { flex-direction: column; }
  .sm\:items-center { align-items: center; }
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:inline-block { display: inline-block; }

  /* Grid */
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:col-span-2 { grid-column: span 2; }

  /* Padding */
  .sm\:p-4 { padding: 1rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .sm\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .sm\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }

  /* Margin */
  .sm\:mb-2 { margin-bottom: 0.5rem; }
  .sm\:mb-3 { margin-bottom: 0.75rem; }
  .sm\:mb-4 { margin-bottom: 1rem; }
  .sm\:mb-6 { margin-bottom: 1.5rem; }
  .sm\:mb-8 { margin-bottom: 2rem; }
  .sm\:mb-12 { margin-bottom: 3rem; }
  .sm\:mb-16 { margin-bottom: 4rem; }
  .sm\:mt-6 { margin-top: 1.5rem; }

  /* Gap */
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:gap-8 { gap: 2rem; }
  .sm\:gap-16 { gap: 4rem; }
  .sm\:space-y-6 > * + * { margin-top: 1.5rem; }

  /* Typography */
  .sm\:text-xs { font-size: 0.75rem; }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-6xl { font-size: 3.75rem; }

  /* Sizing */
  .sm\:w-5 { width: 1.25rem; }
  .sm\:w-12 { width: 3rem; }
  .sm\:w-16 { width: 4rem; }
  .sm\:w-20 { width: 5rem; }
  .sm\:w-auto { width: auto; }
  .sm\:h-5 { height: 1.25rem; }
  .sm\:h-12 { height: 3rem; }
  .sm\:h-16 { height: 4rem; }
  .sm\:h-20 { height: 5rem; }

  /* Border */
  .sm\:rounded-2xl { border-radius: 1rem; }

  /* Transforms */
  .sm\:group-hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
}

/* Responsive - md: (768px+) */
@media (min-width: 768px) {
  /* Layout */
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:items-center { align-items: center; }

  /* Grid */
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:col-span-1 { grid-column: span 1; }
  .md\:col-span-2 { grid-column: span 2; }

  /* Typography */
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}

/* Responsive - lg: (1024px+) */
@media (min-width: 1024px) {
  /* Layout */
  .lg\:inline { display: inline; }
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }

  /* Spacing */
  .lg\:space-x-8 > * + * { margin-left: 2rem; }

  /* Grid */
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:col-span-1 { grid-column: span 1; }

  /* Typography */
  .lg\:text-base { font-size: 1rem; }

  /* Padding */
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ===== ANIMATION CLASSES ===== */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in 0.8s ease-out forwards;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(147, 51, 234, 0.3);
  color: white;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-950);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple-600), var(--orange-600));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--purple-500), var(--orange-500));
}
