:root {
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  color: #f8fafc;
}

.glass-effect {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-area {
  border: 2px dashed rgba(99, 102, 241, 0.6);
  transition: all 0.3s ease;
  background: rgba(30, 41, 59, 0.4);
}

.upload-area.active {
  border-color: #818cf8;
  background: rgba(99, 102, 241, 0.15);
}

.glow {
  position: relative;
}

.glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 25px 2px rgba(99, 102, 241, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.glow:hover::after {
  opacity: 1;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.file-item {
  animation: slideIn 0.4s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.progress-bar {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  background-size: 200% 100%;
  animation: gradientMove 2s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-gradient {
  background: var(--primary-gradient);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--secondary-gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-gradient:hover::before {
  opacity: 1;
}

.floating { animation: floating 3s ease-in-out infinite; }

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
