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

@tailwind base;
@tailwind components;
@tailwind utilities;

/* CSS Custom Properties for Theming */
:root {
  /* Light Theme Colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  
  --secondary-50: #f8fafc;
  --secondary-100: #f1f5f9;
  --secondary-200: #e2e8f0;
  --secondary-300: #cbd5e1;
  --secondary-400: #94a3b8;
  --secondary-500: #64748b;
  --secondary-600: #475569;
  --secondary-700: #334155;
  --secondary-800: #1e293b;
  --secondary-900: #0f172a;
  
  /* Semantic Colors - Light Mode */
  --success-50: #ecfdf5;
  --success-100: #d1fae5;
  --success-200: #a7f3d0;
  --success-300: #6ee7b7;
  --success-400: #34d399;
  --success-500: #10b981;
  --success-600: #059669;
  --success-700: #047857;
  --success-800: #065f46;
  --success-900: #064e3b;
  
  --danger-50: #fef2f2;
  --danger-100: #fee2e2;
  --danger-200: #fecaca;
  --danger-300: #fca5a5;
  --danger-400: #f87171;
  --danger-500: #ef4444;
  --danger-600: #dc2626;
  --danger-700: #b91c1c;
  --danger-800: #991b1b;
  --danger-900: #7f1d1d;
  
  --warning-50: #fffbeb;
  --warning-100: #fef3c7;
  --warning-200: #fde68a;
  --warning-300: #fcd34d;
  --warning-400: #fbbf24;
  --warning-500: #f59e0b;
  --warning-600: #d97706;
  --warning-700: #b45309;
  --warning-800: #92400e;
  --warning-900: #78350f;
  
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;
  
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  
  /* Background Colors - Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-gradient-start: #ffffff;
  --bg-card-gradient-end: #f1f5f9;
  --bg-overlay: rgba(255, 255, 255, 0.95);
  --bg-gradient-start: #f0f9ff;
  --bg-gradient-middle: #ffffff;
  --bg-gradient-end: #faf5ff;
  --bg-page: #f8fafc;
  --bg-input: #ffffff;
  --bg-modal: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  
  /* Text Colors - Light Mode */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --text-muted: #64748b;
  --text-placeholder: #94a3b8;
  --text-white: #ffffff;
  --text-black: #000000;
  
  /* Border Colors - Light Mode */
  --border-primary: #e2e8f0;
  --border-secondary: #cbd5e1;
  --border-focus: #3b82f6;
  --border-hover: #cbd5e1;
  --border-input: #d1d5db;
  --border-card: #e2e8f0;
  --border-modal: #e2e8f0;
  
  /* Shadow Colors */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Component Specific Variables */
  --card-bg: #ffffff;
  --card-bg-gradient-start: #ffffff;
  --card-bg-gradient-end: #f1f5f9;
  --card-border: #e2e8f0;
  --card-shadow: 0 4px 24px 0 rgba(30, 41, 59, 0.08);
  --card-radius: 1.25rem;
  --input-bg: #ffffff;
  --input-border: #d1d5db;
  --input-focus: #3b82f6;
  --scrollbar-thumb: #cbd5e1;
  --scrollbar-thumb-hover: #94a3b8;
  --scrollbar-track: #f1f5f9;
}

/* Dark Theme Colors */
[data-theme="dark"] {
  /* Background Colors - Dark Mode */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-card: #1e293b;
  --bg-card-gradient-start: #1e293b;
  --bg-card-gradient-end: #0f172a;
  --bg-overlay: rgba(15, 23, 42, 0.9);
  --bg-gradient-start: #0f172a;
  --bg-gradient-middle: #1e293b;
  --bg-gradient-end: #1e1b4b;
  --bg-page: #0f172a;
  --bg-input: #1e293b;
  --bg-modal: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.9);
  
  /* Text Colors - Dark Mode */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;
  --text-placeholder: #475569;
  --text-white: #ffffff;
  --text-black: #000000;
  
  /* Border Colors - Dark Mode */
  --border-primary: #334155;
  --border-secondary: #475569;
  --border-focus: #60a5fa;
  --border-hover: #475569;
  --border-input: #334155;
  --border-card: #334155;
  --border-modal: #334155;
  
  /* Component Specific Variables - Dark Mode */
  --card-bg: #1e293b;
  --card-bg-gradient-start: #1e293b;
  --card-bg-gradient-end: #0f172a;
  --card-border: #334155;
  --card-shadow: 0 4px 24px 0 rgba(15, 23, 42, 0.25);
  --card-radius: 1.25rem;
  --input-bg: #1e293b;
  --input-border: #334155;
  --input-focus: #60a5fa;
  --scrollbar-thumb: #334155;
  --scrollbar-thumb-hover: #475569;
  --scrollbar-track: #1e293b;
  
  /* Dark mode overrides for semantic colors */
  --purple-100: #2e1b47;
  --purple-600: #a855f7;
  --indigo-100: #1e1b4b;
  --indigo-600: #6366f1;
  

}

/* SignWriting Fonts */
@font-face {
  font-family: "SuttonSignWritingLine";
  src:
    local('SuttonSignWritingLine'),
    url('/fonts/SuttonSignWritingLine.ttf') format('truetype');
}
@font-face {
  font-family: "SuttonSignWritingFill";
  src:
    local('SuttonSignWritingFill'),
    url('/fonts/SuttonSignWritingFill.ttf') format('truetype');
}
@font-face {
  font-family: "SuttonSignWritingOneD";
  src:
    local('SuttonSignWritingOneD'),
    url('/fonts/SuttonSignWritingOneD.ttf') format('truetype');
}

/* Custom base styles */
@layer base {
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-page);
    color: var(--text-primary);
    transition: background 0.3s, color 0.3s;
    min-height: 100vh;
  }
  
  /* Custom scrollbar styles */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--secondary-300);
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-400);
  }
  
  [data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
  }
  
  [data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--secondary-600);
  }
  
  [data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-500);
  }
}

/* Custom component styles */
@layer components {
  .btn {
    @apply inline-flex items-center justify-center gap-2 px-4 py-2 text-sm font-medium rounded-lg cursor-pointer transition-all duration-200 whitespace-nowrap select-none relative overflow-hidden;
  }
  
  .btn:disabled {
    @apply opacity-60 cursor-not-allowed;
  }
  
  .btn:not(:disabled):hover {
    @apply -translate-y-0.5;
  }
  
  .btn:not(:disabled):active {
    @apply translate-y-0;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: var(--shadow-md);
  }
  
  .btn-primary:hover {
    box-shadow: var(--shadow-lg);
  }
  
  .btn-success {
    background: linear-gradient(135deg, var(--success-500), var(--success-600));
    color: white;
    box-shadow: var(--shadow-md);
  }
  
  .btn-success:hover {
    box-shadow: var(--shadow-lg);
  }
  
  .btn-danger {
    background: linear-gradient(135deg, var(--danger-500), var(--danger-600));
    color: white;
    box-shadow: var(--shadow-md);
  }
  
  .btn-danger:hover {
    box-shadow: var(--shadow-lg);
  }
  
  .btn-warning {
    background: linear-gradient(135deg, var(--warning-500), var(--warning-600));
    color: white;
    box-shadow: var(--shadow-md);
  }
  
  .btn-warning:hover {
    box-shadow: var(--shadow-lg);
  }
  
  .btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
  }
  
  .btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
  }
  
  .card {
    background: linear-gradient(135deg, var(--card-bg-gradient-start), var(--card-bg-gradient-end));
    border: 1.5px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    transition: background 0.3s, border 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--border-hover);
  }
  
  .input {
    @apply w-full px-3 py-2 text-base border-2 rounded-lg transition-all duration-200;
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--border-input);
    min-height: 120px;
    max-height: 350px;
    resize: none;
  }
  
  .input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.06);
  }
  
  .input::placeholder {
    color: var(--text-placeholder);
  }
  
  .glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  }
  
  .loading-spinner {
    @apply animate-spin rounded-full border-4 border-transparent;
    border-top-color: var(--primary-500);
    border-right-color: var(--primary-500);
  }
  
  .loading-dots {
    @apply flex space-x-1;
  }
  
  .loading-dots > div {
    @apply w-2 h-2 rounded-full animate-pulse;
    background: var(--primary-500);
    animation-delay: calc(var(--i) * 0.2s);
  }
  
  /* Scrollable container styles */
  .scrollable-container {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    max-height: 350px;
    min-height: 120px;
    border-radius: 0.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border-primary);
  }
  
  .scrollable-container::-webkit-scrollbar {
    width: 8px;
  }
  
  .scrollable-container::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 6px;
  }
  
  .scrollable-container::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 6px;
    transition: background 0.2s;
  }
  
  .scrollable-container::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
  }
}

/* Custom utility styles */
@layer utilities {
  /* Background utilities using CSS variables */
  .bg-theme-primary { background-color: var(--bg-primary); }
  .bg-theme-secondary { background-color: var(--bg-secondary); }
  .bg-theme-tertiary { background-color: var(--bg-tertiary); }
  .bg-theme-card { background-color: var(--bg-card); }
  .bg-theme-input { background-color: var(--bg-input); }
  .bg-theme-modal { background-color: var(--bg-modal); }
  .bg-theme-page { background-color: var(--bg-page); }
  
  /* Text utilities using CSS variables */
  .text-theme-primary { color: var(--text-primary); }
  .text-theme-secondary { color: var(--text-secondary); }
  .text-theme-tertiary { color: var(--text-tertiary); }
  .text-theme-muted { color: var(--text-muted); }
  .text-theme-placeholder { color: var(--text-placeholder); }
  .text-theme-white { color: var(--text-white); }
  .text-theme-black { color: var(--text-black); }
  
  /* Border utilities using CSS variables */
  .border-theme-primary { border-color: var(--border-primary); }
  .border-theme-secondary { border-color: var(--border-secondary); }
  .border-theme-focus { border-color: var(--border-focus); }
  .border-theme-hover { border-color: var(--border-hover); }
  .border-theme-input { border-color: var(--border-input); }
  .border-theme-card { border-color: var(--border-card); }
  .border-theme-modal { border-color: var(--border-modal); }
  
  /* Semantic color utilities */
  .bg-primary-50 { background-color: var(--primary-50); }
  .bg-primary-100 { background-color: var(--primary-100); }
  .bg-primary-200 { background-color: var(--primary-200); }
  .bg-primary-300 { background-color: var(--primary-300); }
  .bg-primary-400 { background-color: var(--primary-400); }
  .bg-primary-500 { background-color: var(--primary-500); }
  .bg-primary-600 { background-color: var(--primary-600); }
  .bg-primary-700 { background-color: var(--primary-700); }
  .bg-primary-800 { background-color: var(--primary-800); }
  .bg-primary-900 { background-color: var(--primary-900); }
  
  .text-primary-50 { color: var(--primary-50); }
  .text-primary-100 { color: var(--primary-100); }
  .text-primary-200 { color: var(--primary-200); }
  .text-primary-300 { color: var(--primary-300); }
  .text-primary-400 { color: var(--primary-400); }
  .text-primary-500 { color: var(--primary-500); }
  .text-primary-600 { color: var(--primary-600); }
  .text-primary-700 { color: var(--primary-700); }
  .text-primary-800 { color: var(--primary-800); }
  .text-primary-900 { color: var(--primary-900); }
  
  .border-primary-50 { border-color: var(--primary-50); }
  .border-primary-100 { border-color: var(--primary-100); }
  .border-primary-200 { border-color: var(--primary-200); }
  .border-primary-300 { border-color: var(--primary-300); }
  .border-primary-400 { border-color: var(--primary-400); }
  .border-primary-500 { border-color: var(--primary-500); }
  .border-primary-600 { border-color: var(--primary-600); }
  .border-primary-700 { border-color: var(--primary-700); }
  .border-primary-800 { border-color: var(--primary-800); }
  .border-primary-900 { border-color: var(--primary-900); }
  
  /* Success colors */
  .bg-success-50 { background-color: var(--success-50); }
  .bg-success-100 { background-color: var(--success-100); }
  .bg-success-200 { background-color: var(--success-200); }
  .bg-success-300 { background-color: var(--success-300); }
  .bg-success-400 { background-color: var(--success-400); }
  .bg-success-500 { background-color: var(--success-500); }
  .bg-success-600 { background-color: var(--success-600); }
  .bg-success-700 { background-color: var(--success-700); }
  .bg-success-800 { background-color: var(--success-800); }
  .bg-success-900 { background-color: var(--success-900); }
  
  .text-success-50 { color: var(--success-50); }
  .text-success-100 { color: var(--success-100); }
  .text-success-200 { color: var(--success-200); }
  .text-success-300 { color: var(--success-300); }
  .text-success-400 { color: var(--success-400); }
  .text-success-500 { color: var(--success-500); }
  .text-success-600 { color: var(--success-600); }
  .text-success-700 { color: var(--success-700); }
  .text-success-800 { color: var(--success-800); }
  .text-success-900 { color: var(--success-900); }
  
  /* Danger colors */
  .bg-danger-50 { background-color: var(--danger-50); }
  .bg-danger-100 { background-color: var(--danger-100); }
  .bg-danger-200 { background-color: var(--danger-200); }
  .bg-danger-300 { background-color: var(--danger-300); }
  .bg-danger-400 { background-color: var(--danger-400); }
  .bg-danger-500 { background-color: var(--danger-500); }
  .bg-danger-600 { background-color: var(--danger-600); }
  .bg-danger-700 { background-color: var(--danger-700); }
  .bg-danger-800 { background-color: var(--danger-800); }
  .bg-danger-900 { background-color: var(--danger-900); }
  
  .text-danger-50 { color: var(--danger-50); }
  .text-danger-100 { color: var(--danger-100); }
  .text-danger-200 { color: var(--danger-200); }
  .text-danger-300 { color: var(--danger-300); }
  .text-danger-400 { color: var(--danger-400); }
  .text-danger-500 { color: var(--danger-500); }
  .text-danger-600 { color: var(--danger-600); }
  .text-danger-700 { color: var(--danger-700); }
  .text-danger-800 { color: var(--danger-800); }
  .text-danger-900 { color: var(--danger-900); }
  
  /* Warning colors */
  .bg-warning-50 { background-color: var(--warning-50); }
  .bg-warning-100 { background-color: var(--warning-100); }
  .bg-warning-200 { background-color: var(--warning-200); }
  .bg-warning-300 { background-color: var(--warning-300); }
  .bg-warning-400 { background-color: var(--warning-400); }
  .bg-warning-500 { background-color: var(--warning-500); }
  .bg-warning-600 { background-color: var(--warning-600); }
  .bg-warning-700 { background-color: var(--warning-700); }
  .bg-warning-800 { background-color: var(--warning-800); }
  .bg-warning-900 { background-color: var(--warning-900); }
  
  .text-warning-50 { color: var(--warning-50); }
  .text-warning-100 { color: var(--warning-100); }
  .text-warning-200 { color: var(--warning-200); }
  .text-warning-300 { color: var(--warning-300); }
  .text-warning-400 { color: var(--warning-400); }
  .text-warning-500 { color: var(--warning-500); }
  .text-warning-600 { color: var(--warning-600); }
  .text-warning-700 { color: var(--warning-700); }
  .text-warning-800 { color: var(--warning-800); }
  .text-warning-900 { color: var(--warning-900); }
  
  /* Purple colors */
  .bg-purple-50 { background-color: var(--purple-50); }
  .bg-purple-100 { background-color: var(--purple-100); }
  .bg-purple-200 { background-color: var(--purple-200); }
  .bg-purple-300 { background-color: var(--purple-300); }
  .bg-purple-400 { background-color: var(--purple-400); }
  .bg-purple-500 { background-color: var(--purple-500); }
  .bg-purple-600 { background-color: var(--purple-600); }
  .bg-purple-700 { background-color: var(--purple-700); }
  .bg-purple-800 { background-color: var(--purple-800); }
  .bg-purple-900 { background-color: var(--purple-900); }
  
  .text-purple-50 { color: var(--purple-50); }
  .text-purple-100 { color: var(--purple-100); }
  .text-purple-200 { color: var(--purple-200); }
  .text-purple-300 { color: var(--purple-300); }
  .text-purple-400 { color: var(--purple-400); }
  .text-purple-500 { color: var(--purple-500); }
  .text-purple-600 { color: var(--purple-600); }
  .text-purple-700 { color: var(--purple-700); }
  .text-purple-800 { color: var(--purple-800); }
  .text-purple-900 { color: var(--purple-900); }
  
  /* Indigo colors */
  .bg-indigo-50 { background-color: var(--indigo-50); }
  .bg-indigo-100 { background-color: var(--indigo-100); }
  .bg-indigo-200 { background-color: var(--indigo-200); }
  .bg-indigo-300 { background-color: var(--indigo-300); }
  .bg-indigo-400 { background-color: var(--indigo-400); }
  .bg-indigo-500 { background-color: var(--indigo-500); }
  .bg-indigo-600 { background-color: var(--indigo-600); }
  .bg-indigo-700 { background-color: var(--indigo-700); }
  .bg-indigo-800 { background-color: var(--indigo-800); }
  .bg-indigo-900 { background-color: var(--indigo-900); }
  
  .text-indigo-50 { color: var(--indigo-50); }
  .text-indigo-100 { color: var(--indigo-100); }
  .text-indigo-200 { color: var(--indigo-200); }
  .text-indigo-300 { color: var(--indigo-300); }
  .text-indigo-400 { color: var(--indigo-400); }
  .text-indigo-500 { color: var(--indigo-500); }
  .text-indigo-600 { color: var(--indigo-600); }
  .text-indigo-700 { color: var(--indigo-700); }
  .text-indigo-800 { color: var(--indigo-800); }
  .text-indigo-900 { color: var(--indigo-900); }
  
  /* Emerald colors */
  .bg-emerald-50 { background-color: var(--emerald-50); }
  .bg-emerald-100 { background-color: var(--emerald-100); }
  .bg-emerald-200 { background-color: var(--emerald-200); }
  .bg-emerald-300 { background-color: var(--emerald-300); }
  .bg-emerald-400 { background-color: var(--emerald-400); }
  .bg-emerald-500 { background-color: var(--emerald-500); }
  .bg-emerald-600 { background-color: var(--emerald-600); }
  .bg-emerald-700 { background-color: var(--emerald-700); }
  .bg-emerald-800 { background-color: var(--emerald-800); }
  .bg-emerald-900 { background-color: var(--emerald-900); }
  
  .text-emerald-50 { color: var(--emerald-50); }
  .text-emerald-100 { color: var(--emerald-100); }
  .text-emerald-200 { color: var(--emerald-200); }
  .text-emerald-300 { color: var(--emerald-300); }
  .text-emerald-400 { color: var(--emerald-400); }
  .text-emerald-500 { color: var(--emerald-500); }
  .text-emerald-600 { color: var(--emerald-600); }
  .text-emerald-700 { color: var(--emerald-700); }
  .text-emerald-800 { color: var(--emerald-800); }
  .text-emerald-900 { color: var(--emerald-900); }
  
  /* Secondary colors */
  .bg-secondary-50 { background-color: var(--secondary-50); }
  .bg-secondary-100 { background-color: var(--secondary-100); }
  .bg-secondary-200 { background-color: var(--secondary-200); }
  .bg-secondary-300 { background-color: var(--secondary-300); }
  .bg-secondary-400 { background-color: var(--secondary-400); }
  .bg-secondary-500 { background-color: var(--secondary-500); }
  .bg-secondary-600 { background-color: var(--secondary-600); }
  .bg-secondary-700 { background-color: var(--secondary-700); }
  .bg-secondary-800 { background-color: var(--secondary-800); }
  .bg-secondary-900 { background-color: var(--secondary-900); }
  
  .text-secondary-50 { color: var(--secondary-50); }
  .text-secondary-100 { color: var(--secondary-100); }
  .text-secondary-200 { color: var(--secondary-200); }
  .text-secondary-300 { color: var(--secondary-300); }
  .text-secondary-400 { color: var(--secondary-400); }
  .text-secondary-500 { color: var(--secondary-500); }
  .text-secondary-600 { color: var(--secondary-600); }
  .text-secondary-700 { color: var(--secondary-700); }
  .text-secondary-800 { color: var(--secondary-800); }
  .text-secondary-900 { color: var(--secondary-900); }
  
  /* Animation utilities */
  .text-gradient {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .animate-fade-in {
    animation: fadeIn 0.5s ease-out;
  }
  
  .animate-slide-in {
    animation: slideIn 0.3s ease-out;
  }
  
  .animate-bounce-in {
    animation: bounceIn 0.6s ease-out;
  }
  
  .scrollbar-thin {
    scrollbar-width: thin;
  }
  
  .scrollbar-thin::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  .scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .scrollbar-thin::-webkit-scrollbar-thumb {
    background: var(--secondary-300);
    border-radius: 3px;
  }
  
  .scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-400);
  }
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
