* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Reference Design System - Light Mode Colors */
  --primary: #13ec5b;
  --primary-dark: #0db945;
  --primary-hover: #0fb846;
  --primary-light: #e0fde8;
  --background-light: #f6f8f6;
  --background-dark: #111813;
  --surface-light: #ffffff;
  --surface-dark: #1c2620;
  --surface-hover: #28392e;
  --text-main: #111813;
  --text-subtle: #61896f;
  --text-secondary: #9db9a6;
  --text-muted: #94a3b8;
  --text-gray: #64748b;
  --error: #ef4444;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
  --accent-yellow: #eab308;
  --border-color: #e5e7eb;
  --border-light: #d1d5db;
  --white: #ffffff;
  
  /* Legacy compatibility */
  --bg-light: var(--surface-light);
  --bg-light-alt: var(--background-light);
  --bg-card: var(--surface-light);
  --green-primary: var(--primary);
  --green-light: var(--primary);
  --green-hover: var(--primary-hover);
  --green-bright: var(--primary);
  --red-primary: var(--error);
  --red-light: var(--accent-red);
  --red-hover: #dc2626;
  --red-accent: var(--accent-red);
  --blue-accent: var(--accent-blue);
  --blue-light: #eff6ff;
  --blue-bright: var(--accent-blue);
  --purple-light: #faf5ff;
  --orange-light: #fff7ed;
  --cyan-light: #ecfeff;
  --gold: #fbbf24;
  --text-dark: var(--text-main);
  
  /* Modern effects */
  --glow-green: rgba(19, 236, 91, 0.1);
  --glow-red: rgba(239, 68, 68, 0.1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 4px 20px -2px rgba(19, 236, 91, 0.1);
}

/* Dark Theme Variables - Reference Design System (Matching Form Control Dark) */
[data-theme="dark"] {
  --primary: #13ec5b;
  --primary-dark: #0db945;
  --primary-hover: #0fb846;
  --primary-light: #e0fde8;
  --background-light: #f6f8f6;
  --background-dark: #111813;
  --surface-light: #ffffff;
  --surface-dark: #1c2620;
  --surface-hover: #28392e;
  --surface-disabled: #151e17;
  --text-main: #ffffff;
  --text-subtle: #9db9a6;
  --text-secondary: #9db9a6;
  --text-muted: #a1a1aa;
  --text-gray: #d4d4d8;
  --error: #ef4444;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
  --accent-yellow: #eab308;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.2);
  
  /* Dark theme specific border colors matching reference */
  --border-gray-600: #4b5563;
  --border-gray-700: #374151;
  --border-gray-800: #1f2937;
  --white: #ffffff;
  
  /* Legacy compatibility */
  --bg-light: var(--surface-dark);
  --bg-light-alt: var(--background-dark);
  --bg-card: var(--surface-dark);
  --green-primary: var(--primary);
  --green-light: var(--primary);
  --green-hover: var(--primary-hover);
  --green-bright: var(--primary);
  --red-primary: var(--error);
  --red-light: var(--accent-red);
  --red-hover: #dc2626;
  --red-accent: var(--accent-red);
  --blue-accent: var(--accent-blue);
  --blue-light: #1e3a8a;
  --blue-bright: var(--accent-blue);
  --purple-light: #4c1d95;
  --orange-light: #7c2d12;
  --cyan-light: #164e63;
  --gold: #fbbf24;
  --text-dark: var(--text-main);
  
  /* Dark theme effects */
  --glow-green: rgba(19, 236, 91, 0.2);
  --glow-red: rgba(239, 68, 68, 0.2);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 4px 20px -2px rgba(19, 236, 91, 0.15);
}

body {
  font-family: 'Inter', 'Manrope', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background-light);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
  background-color: var(--background-dark);
  color: var(--text-main);
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Minimal background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.01) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.01) 50%, transparent 100%);
  background-size: 200px 200px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

[data-theme="dark"] body::before {
  opacity: 0.2;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
}

/* Scrollbar styling - Reference Design System */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-light);
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #2a3e32;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #3a5042;
}

/* Main App Styles */
.app {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Minimal border effect */
.circuit-border {
  position: relative;
  border: 1px solid var(--border-color);
}

/* Minimal text effects - Reference Design System */
.glow-green {
  color: var(--primary);
  font-weight: 600;
}

.glow-red {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Additional Button Variants - Reference Design System */
.btn-ghost {
  background: transparent;
  color: var(--text-subtle);
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0.5rem;
  min-height: 48px;
}

.btn-ghost:hover {
  background: var(--background-light);
  color: var(--text-main);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.btn-destructive {
  background: var(--accent-red);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
  min-height: 48px;
}

.btn-destructive:hover {
  background: #dc2626;
  box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}

.btn-destructive:active {
  transform: scale(0.98);
}

/* Form Controls - Reference Design System */
select.form-input,
select {
  width: 100%;
  padding: 12px 16px;
  padding-right: 40px;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--surface-light);
  color: var(--text-main);
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-height: 44px;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2361896f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}

[data-theme="dark"] select.form-input,
[data-theme="dark"] select {
  background: var(--surface-hover);
  border-color: transparent;
  color: var(--text-main);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239db9a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

select.form-input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 0 0 3px rgba(19, 236, 91, 0.1);
}

[data-theme="dark"] select.form-input:focus,
[data-theme="dark"] select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 0 0 3px rgba(19, 236, 91, 0.15);
}

textarea.form-input,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--surface-light);
  color: var(--text-main);
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-height: 120px;
  font-family: inherit;
  resize: vertical;
}

[data-theme="dark"] textarea.form-input,
[data-theme="dark"] textarea {
  background: var(--surface-hover);
  border-color: transparent;
  color: var(--text-main);
}

textarea.form-input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 0 0 3px rgba(19, 236, 91, 0.1);
}

[data-theme="dark"] textarea.form-input:focus,
[data-theme="dark"] textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 0 0 3px rgba(19, 236, 91, 0.15);
}

[data-theme="dark"] select.form-input:disabled,
[data-theme="dark"] select:disabled,
[data-theme="dark"] textarea.form-input:disabled,
[data-theme="dark"] textarea:disabled {
  background: var(--surface-disabled);
  border-color: var(--surface-hover);
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.5;
}

textarea.form-input::placeholder,
textarea::placeholder {
  color: var(--text-subtle);
}

[data-theme="dark"] textarea.form-input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: var(--text-secondary);
}

/* Button styles - Reference Design System */
.btn-primary {
  background: var(--primary);
  color: var(--text-main);
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-soft);
  min-height: 48px;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 10px 15px -3px rgba(19, 236, 91, 0.2);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.btn-primary:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

[data-theme="dark"] .btn-primary:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--primary);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0.5rem;
  min-height: 48px;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-main);
  border-color: var(--primary);
}

[data-theme="dark"] .btn-secondary {
  color: var(--text-main);
  border-color: var(--primary);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(19, 236, 91, 0.1);
  color: var(--text-main);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-secondary:disabled {
  border-color: var(--border-color);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

[data-theme="dark"] .btn-secondary:disabled {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.2);
}

/* Section styles */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  text-align: center;
}

/* Card styles - Reference Design System */
.card {
  background: var(--surface-light);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 30px;
  margin: 20px 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .card {
  background: var(--surface-dark);
  border-color: var(--border-color);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

[data-theme="dark"] .card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(19, 236, 91, 0.1);
}

/* List styles - minimal green for checkmarks only */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 15px 0;
  padding-left: 30px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: bold;
  font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 50px 15px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }

  .card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 10px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }

  .card {
    padding: 20px 15px;
  }
}

/* ============================================
   ANIMATIONS & FLOATING EFFECTS
   ============================================ */

/* Keyframe Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-8px) translateX(5px);
  }
  66% {
    transform: translateY(-5px) translateX(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(19, 236, 91, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(19, 236, 91, 0.6), 0 0 30px rgba(19, 236, 91, 0.4);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating Animation Classes */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse 3s ease-in-out infinite;
}

.animate-shimmer {
  animation: shimmer 2s linear infinite;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  background-size: 1000px 100%;
}

.animate-slide-in-up {
  animation: slideInUp 0.5s ease-out;
}

.animate-slide-in-down {
  animation: slideInDown 0.5s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

.animate-bounce-slow {
  animation: bounce 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Staggered Animation Delays */
.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-400 {
  animation-delay: 0.4s;
}

.animate-delay-500 {
  animation-delay: 0.5s;
}

/* Enhanced Card Animations */
.card {
  animation: slideInUp 0.6s ease-out;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

.card:hover {
  animation: float 2s ease-in-out infinite;
}

/* Dashboard Card Floating Effect */
.dashboard-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInUp 0.6s ease-out;
}

.dashboard-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dashboard-card:nth-child(1) { animation-delay: 0.1s; }
.dashboard-card:nth-child(2) { animation-delay: 0.2s; }
.dashboard-card:nth-child(3) { animation-delay: 0.3s; }
.dashboard-card:nth-child(4) { animation-delay: 0.4s; }
.dashboard-card:nth-child(5) { animation-delay: 0.5s; }
.dashboard-card:nth-child(6) { animation-delay: 0.6s; }

/* Icon Animations */
.icon-float {
  animation: float 3s ease-in-out infinite;
}

.icon-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.icon-rotate {
  animation: rotate 2s linear infinite;
}

.icon-bounce {
  animation: bounce 1s ease-in-out infinite;
}

.icon-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Button Enhancements */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(19, 236, 91, 0.3);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Table Row Animations */
table tbody tr {
  animation: slideInUp 0.4s ease-out;
  animation-fill-mode: both;
}

table tbody tr:nth-child(1) { animation-delay: 0.05s; }
table tbody tr:nth-child(2) { animation-delay: 0.1s; }
table tbody tr:nth-child(3) { animation-delay: 0.15s; }
table tbody tr:nth-child(4) { animation-delay: 0.2s; }
table tbody tr:nth-child(5) { animation-delay: 0.25s; }
table tbody tr:nth-child(6) { animation-delay: 0.3s; }
table tbody tr:nth-child(7) { animation-delay: 0.35s; }
table tbody tr:nth-child(8) { animation-delay: 0.4s; }

table tbody tr:hover {
  transform: translateX(5px);
  transition: transform 0.2s ease;
}

/* Floating Background Elements */
.floating-bg {
  position: fixed;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 236, 91, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: floatSlow 8s ease-in-out infinite;
}

.floating-bg-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-bg-2 {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

.floating-bg-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .floating-bg {
  background: radial-gradient(circle, rgba(19, 236, 91, 0.15) 0%, transparent 70%);
}

[data-theme="dark"] .floating-bg-2 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

[data-theme="dark"] .floating-bg-3 {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
}

/* Loading Spinner Animation */
.spinner {
  border: 3px solid rgba(19, 236, 91, 0.1);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: rotate 1s linear infinite;
}

/* Success/Error Animations */
.alert-success {
  animation: slideInDown 0.5s ease-out, fadeIn 0.5s ease-out;
}

.alert-error {
  animation: slideInDown 0.5s ease-out, fadeIn 0.5s ease-out;
}

/* Badge Pulse Animation */
.badge-pulse {
  position: relative;
}

.badge-pulse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  transform: translate(-50%, -50%) scale(1);
  animation: pulse 2s ease-in-out infinite;
}

/* Number Counter Animation */
.number-counter {
  display: inline-block;
  animation: scaleIn 0.5s ease-out;
}

/* Progress Bar Animation */
.progress-bar {
  transition: width 1s ease-out;
  animation: shimmer 2s linear infinite;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gradient Animation */
.gradient-animated {
  background: linear-gradient(-45deg, var(--primary), var(--accent-blue), var(--primary), var(--accent-blue));
  background-size: 400% 400%;
  animation: gradientShift 5s ease infinite;
}

/* Shake Animation for Errors */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .floating-bg {
    display: none;
  }
  
  .dashboard-card:hover {
    transform: translateY(-2px) scale(1.01);
  }
}

