/* Main Stylesheet for ConvertPro */

:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
}

button {
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Utility Classes Overrides */
/* Using specific classes to avoid !important where possible */

/* Primary Button Styles */
.btn-primary,
button:not(.btn-ghost):not(.btn-secondary):not(.btn-icon):not([class*="tab"]):not([id*="theme"]):not([id*="mobile"]):not([class*="swap"]):not([class*="remove"]) {
  background-color: var(--primary-600);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover,
button:not(.btn-ghost):not(.btn-secondary):not(.btn-icon):not([class*="tab"]):not([id*="theme"]):not([id*="mobile"]):not([class*="swap"]):not([class*="remove"]):hover {
  background-color: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Secondary/Ghost Buttons */
.btn-secondary {
  background-color: #64748b;
  color: white;
}

.btn-secondary:hover {
  background-color: #475569;
}

/* Copy Buttons */
.copy-btn {
  background-color: var(--primary-600);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.copy-btn:hover {
  background-color: var(--primary-700);
  transform: translateY(-1px);
}

/* Theme Toggle */
#theme-toggle {
  background-color: #f3f4f6;
  color: #374151;
}

.dark #theme-toggle {
  background-color: #374151;
  color: #f3f4f6;
}

#theme-toggle:hover {
  background-color: #e5e7eb;
}

.dark #theme-toggle:hover {
  background-color: #4b5563;
}

/* Tabs */
.tab-btn {
  background: transparent;
  border-bottom: 2px solid transparent;
  color: #6b7280;
  padding: 1rem 0.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: #374151;
  border-bottom-color: #d1d5db;
}

.dark .tab-btn {
  color: #9ca3af;
}

.dark .tab-btn:hover {
  color: #d1d5db;
}

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

.dark .tab-btn.active {
  color: var(--primary-400);
}

/* Swap Buttons */
.swap-btn {
  background: transparent;
  color: #6b7280;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.swap-btn:hover {
  color: var(--primary-600);
  background-color: var(--primary-50);
}

.dark .swap-btn:hover {
  background-color: var(--primary-900);
  color: var(--primary-300);
}

/* Hero Section Enhancements */
.hero-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}


/* Animation & Effects from index.html */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.text-gradient {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}