/* ============================================
   Different Synonym - Enhanced Modern Design
   ============================================ */

:root {
  /* Colors - Modern Gradient Palette */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #0891b2;
  --secondary-light: #06b6d4;
  --accent: #f97316;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #0891b2;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-150: #f0f1f3;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

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

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-mono: 'Monaco', 'Courier New', monospace;

  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

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

  /* Shadows */
  --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.15);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--gray-800);
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  min-height: 100vh;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  color: var(--gray-900);
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-md);
  line-height: var(--lh-relaxed);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-weight: 500;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

code {
  background-color: var(--gray-150);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent);
}

pre {
  background-color: var(--gray-900);
  color: #fff;
  padding: var(--space-lg);
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: var(--space-lg);
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* ============================================
   Buttons - Enhanced
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: var(--text-base);
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  gap: var(--space-sm);
  user-select: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--gray-200);
  color: var(--gray-900);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--gray-300);
  border-color: var(--gray-400);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--text-lg);
}

.btn-full {
  width: 100%;
}

/* ============================================
   Forms - Enhanced
   ============================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--gray-700);
  font-size: var(--text-sm);
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem var(--space-md);
  font-size: var(--text-base);
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
  background-color: white;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: var(--gray-400);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background-color: rgba(99, 102, 241, 0.02);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   Cards - Enhanced
   ============================================ */

.card {
  background-color: white;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card.elevated {
  box-shadow: var(--shadow-md);
}

.card-header {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--gray-900);
}

.card-body {
  margin-bottom: var(--space-md);
}

.card-footer {
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

/* ============================================
   Layout - Container
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-sm {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================
   Layout - Grid & Flex
   ============================================ */

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ============================================
   Stats Grid - Sophisticated Display
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: var(--space-2xl) 0;
}

.stat-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.15);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.stat-label {
  font-size: var(--text-base);
  color: var(--gray-700);
  font-weight: 600;
  margin: 0;
  line-height: var(--lh-normal);
}

.stat-card:hover .stat-label {
  color: var(--gray-900);
}

/* Responsive Stats Grid */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-card {
    padding: 2rem 1.25rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.75rem 1rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: var(--text-sm);
  }
}

.flex {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

/* ============================================
   Layout - Header & Nav (Sticky)
   ============================================ */

header {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.logo {
  font-size: var(--text-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

nav a {
  font-weight: 500;
  transition: var(--transition-fast);
  color: var(--gray-700);
  position: relative;
}

nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ============================================
   Layout - Footer
   ============================================ */

footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

footer h3 {
  color: white;
  margin-bottom: var(--space-md);
}

footer a {
  color: var(--gray-300);
  font-weight: normal;
}

footer a:hover {
  color: white;
  text-decoration: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h3 {
  font-size: var(--text-lg);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  color: var(--gray-400);
  font-size: var(--text-sm);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

.hero h1 {
  font-size: var(--text-5xl);
  color: white;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

/* ============================================
   Search Bar - Enhanced
   ============================================ */

.search-box {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.search-box input {
  flex: 1;
  padding: 0.875rem var(--space-md);
  font-size: var(--text-base);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.search-box button {
  min-width: 140px;
}

/* ============================================
   Result Card - Enhanced
   ============================================ */

.result-card {
  background: linear-gradient(135deg, #ffffff 0%, rgba(249, 250, 251, 0.5) 100%);
  border: 1.5px solid var(--gray-200);
  border-radius: 1rem;
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.result-card:hover {
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.12);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.result-card .word {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.result-card .definition {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  font-style: italic;
  font-size: var(--text-lg);
}

.result-card .synonyms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.result-card .synonym-tag {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-150) 100%);
  color: var(--gray-700);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid var(--gray-200);
}

.result-card .synonym-tag:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
}

/* ============================================
   Synonym List - Enhanced
   ============================================ */

.synonym-list {
  margin-top: var(--space-lg);
}

.synonym-item {
  padding: var(--space-lg);
  border-left: 4px solid var(--primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(6, 182, 212, 0.03) 100%);
  margin-bottom: var(--space-md);
  border-radius: 0.5rem;
  transition: var(--transition);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: hidden;
}

.synonym-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: -2px;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.synonym-item:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.06) 100%);
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.synonym-item:hover::before {
  opacity: 1;
}

.synonym-word {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.synonym-definition {
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.synonym-example {
  background-color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: 0.375rem;
  font-style: italic;
  color: var(--gray-600);
  margin-top: var(--space-sm);
  border-left: 2px solid var(--secondary);
}

.synonym-frequency {
  display: inline-block;
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: var(--space-sm);
  margin-right: var(--space-sm);
}

.synonym-frequency.tone {
  background: linear-gradient(135deg, var(--secondary) 0%, #0e7490 100%);
}

/* ============================================
   Results Section - Sophisticated Display
   ============================================ */

#resultsSection {
  animation: fadeInUp 0.5s ease-out;
}

#resultsSection h2 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  font-size: 2rem;
}

#resultsSection h2 span {
  font-weight: 800;
}

/* ============================================
   Input Wrapper
   ============================================ */

.input-wrapper {
  position: relative;
  margin-bottom: var(--space-lg);
}

.input-wrapper input {
  width: 100%;
  padding: 0.875rem var(--space-md);
  font-size: var(--text-base);
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  transition: var(--transition-fast);
}

.input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-icon {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: var(--text-lg);
  pointer-events: none;
}

/* ============================================
   Loading State
   ============================================ */

.loading {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

/* ============================================
   Alert/Message Styles
   ============================================ */

.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: 0.5rem;
  margin-bottom: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.alert-info {
  background-color: rgba(8, 145, 178, 0.1);
  border: 1px solid var(--info);
  color: var(--info);
}

/* ============================================
   Tabs
   ============================================ */

.tabs {
  display: flex;
  gap: var(--space-lg);
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: var(--space-lg);
}

.tab {
  padding: var(--space-md) 0;
  border-bottom: 3px solid transparent;
  color: var(--gray-600);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
  background: none;
  border: none;
}

.tab:hover {
  color: var(--primary);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ============================================
   Tables
   ============================================ */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: var(--space-md);
  text-align: left;
  font-weight: 600;
}

td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

tr:hover {
  background-color: var(--gray-50);
}

tr:last-child td {
  border-bottom: none;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  .hero {
    padding: var(--space-2xl) 0;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  nav {
    gap: var(--space-lg);
    font-size: var(--text-sm);
  }

  .search-box {
    flex-direction: column;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 var(--space-md);
  }

  header {
    background: white;
  }

  .tabs {
    gap: var(--space-sm);
  }

  .tab {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
  }
}

/* ============================================
   Utilities
   ============================================ */

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

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

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

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

.text-sm {
  font-size: var(--text-sm);
}

.text-lg {
  font-size: var(--text-lg);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-mono {
  font-family: var(--font-mono);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-2xl {
  margin-top: var(--space-2xl);
}

.p-lg {
  padding: var(--space-lg);
}

.rounded {
  border-radius: 0.5rem;
}

.rounded-lg {
  border-radius: 0.75rem;
}

.bg-light {
  background-color: var(--gray-50);
}

.bg-gray {
  background-color: var(--gray-100);
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-in {
  animation: slideIn 0.3s ease-out;
}

.animate-fade {
  animation: fadeIn 0.3s ease-out;
}
