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

/* Global Styles */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
}

/* Button Component - Converted from Tailwind @apply */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.5rem;
  /* rounded-lg */
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 600;
  transition: all 0.3s;
  outline: none;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid #6366f1;
  /* ring-primary-500 */
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background-color: #4f46e5;
  /* bg-primary-600 */
  color: white;
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.25), 0 4px 6px -2px rgba(99, 102, 241, 0.1);
}

.btn-primary:hover {
  background-color: #4338ca;
  /* bg-primary-700 */
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4), 0 4px 6px -2px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  color: #334155;
  /* text-secondary-700 */
  border: 1px solid #e2e8f0;
  /* border-secondary-200 */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.dark .btn-secondary {
  background-color: #1e293b;
  /* dark:bg-secondary-800 */
  color: #f1f5f9;
  /* dark:text-secondary-100 */
  border-color: #334155;
  /* dark:border-secondary-700 */
}

.btn-secondary:hover {
  background-color: #f8fafc;
  /* hover:bg-secondary-50 */
  border-color: #cbd5e1;
  /* hover:border-secondary-300 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.dark .btn-secondary:hover {
  background-color: #334155;
  /* dark:hover:bg-secondary-700 */
}

/* Card Component */
.card-modern {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  /* rounded-2xl */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  /* shadow-glass */
  transition: all 0.3s;
}

.dark .card-modern {
  background-color: rgba(30, 41, 59, 0.7);
  /* dark:bg-secondary-800/70 */
  border-color: rgba(51, 65, 85, 0.5);
  /* dark:border-secondary-700/50 */
}

.card-modern:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  /* shadow-glass-lg */
  transform: translateY(-4px);
}

/* Glassmorphism Utilities */
.glass {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark .glass {
  background-color: rgba(15, 23, 42, 0.8);
  /* dark:bg-secondary-900/80 */
  border-color: rgba(255, 255, 255, 0.05);
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(to right, #4f46e5, #ea580c);
  /* from-primary-600 to-accent-600 (Orange) */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.dark .text-gradient {
  background: linear-gradient(to right, #818cf8, #fb923c);
  /* dark:from-primary-400 dark:to-accent-400 (Orange) */
  -webkit-background-clip: text;
  background-clip: text;
}

/* Background Effects */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(249, 115, 22, 0.08) 0%, transparent 25%);
  /* Orange 500 */
}

.dark .bg-mesh {
  background:
    radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
  /* Orange 500 */
}

/* Helper Utilities */
.animate-float-delayed-1 {
  animation-delay: 1s;
}

.animate-float-delayed-2 {
  animation-delay: 2s;
}

.animate-float-delayed-3 {
  animation-delay: 3s;
}

/* Form Elements */
.form-input {
  display: flex;
  height: 2.75rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  transition: all 0.2s;
}

.dark .form-input {
  background-color: #374151;
  border-color: #4b5563;
  color: #f3f4f6;
}

.form-input::placeholder {
  color: #6b7280;
}

.dark .form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  outline: none;
  border-color: #ea580c;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}

.dark .form-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: #111827;
  cursor: pointer;
  margin-bottom: 0.5rem;
  display: block;
}

.dark .form-label {
  color: #d1d5db;
}

/* Alert Styles */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.dark .alert-success {
  background-color: #064e3b;
  color: #6ee7b7;
  border-color: #065f46;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.dark .alert-error {
  background-color: #7f1d1d;
  color: #fca5a5;
  border-color: #991b1b;
}

.alert-info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.dark .alert-info {
  background-color: #1e3a8a;
  color: #93c5fd;
  border-color: #1e40af;
}