:root {
  /* Colors */
  --color-background: #f9fafb;
  --color-background-alt: #ffffff;
  --color-background-subtle: #f3f4f6;

  --color-text-primary: #111827;
  --color-text-secondary: #374151;
  --color-text-tertiary: #6b7280;
  --color-text-muted: #9ca3af;

  --color-border: rgba(226, 232, 240, 0.5);
  --color-border-subtle: #f1f5f9;

  --color-primary: #111827;
  --color-primary-hover: #000000;

  --color-success-bg: #f0fdf4;
  --color-success-text: #15803d;

  --color-danger-bg: #fef2f2;
  --color-danger-text: #991b1b;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 14px 0 rgba(0, 0, 0, 0.08); /* Magnetic button hover */
  --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.12); /* Deep elevation */
  --shadow-diffusion: 0 20px 40px -15px rgba(0, 0, 0, 0.05); /* Bento base */

  /* Z-Index */
  --z-sticky: 30;
  --z-modal: 40;
  --z-tooltip: 50;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

/* Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.mesh-gradient {
  background-color: #ffdee9;
  background-image: linear-gradient(0deg, #ffdee9 0%, #b5fffc 100%);
}