:root {
  /* ===== COLOR PALETTE ===== */

  /* Primary Colors */
  --color-primary: #2c3e50;
  --color-primary-light: #3c5670;
  --color-primary-dark: #1c2a38;

  /* Secondary Colors */
  --color-secondary: #e67e22;
  --color-secondary-light: #f39c12;
  --color-secondary-dark: #d35400;

  /* Extended Colors */
  --color-green: #27ae60;
  --color-green-light: #58d68d;
  --color-green-dark: #229954;
  --color-blue: #3498db;
  --color-blue-dark: #2980b9;
  --color-red: #ff1900;

  /* Neutral Colors */
  --color-gray-100: #f8f9fa;
  --color-gray-300: #dee2e6;
  --color-gray-500: #adb5bd;
  --color-gray-700: #495057;
  --color-gray-900: #212529;

  /* RGB values for opacity */
  --color-primary-rgb: 44, 62, 80;
  --color-secondary-rgb: 230, 126, 34;
  --color-gray-100-rgb: 248, 249, 250;
  --color-gray-900-rgb: 33, 37, 41;

  /* ===== SEMANTIC COLORS ===== */
  --text-light: var(--color-gray-100);
  --text-primary: var(--color-gray-900);

  /* ===== TYPOGRAPHY ===== */
  --font-family: "Segoe UI", system-ui, sans-serif;
  --font-family-heading: "Segoe UI", system-ui, sans-serif;

  /* Font sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;

  /* Font weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Line heights */
  --lh-tight: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* ===== SPACING ===== */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;

  /* ===== LAYOUT ===== */
  --container-max: 1200px;
  --navbar-height: 80px;

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  /* ===== TRANSITIONS ===== */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ===== UTILITY CLASSES ===== */
.u-transition-base {
  transition: color var(--transition-fast),
    background-color var(--transition-fast), border-color var(--transition-fast),
    text-decoration-color var(--transition-fast);
}

.u-transition-move {
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-4px);
}
.hover-scale:hover {
  transform: scale(1.05);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(120deg);
  }
  66% {
    transform: translateY(5px) rotate(240deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Lazy loading animation for background only */
@keyframes fadeInBackground {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.7;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
