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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  background-color: #f1f5f9;
}

[data-theme="dark"] body {
  background-color: #0f172a;
}

/* Beautiful Header */
.header {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="dark"] .header {
  background: rgba(30, 41, 59, 0.8) !important;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2) !important;
}

.logo-text {
  background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800 !important;
  letter-spacing: -1px;
}

/* Enhanced Main Input */
.text-input-container {
  border-radius: 20px !important;
  background: linear-gradient(135deg, #0ea5e9, #10b981) !important;
  padding: 4px !important; /* Gradient border effect */
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3), 0 8px 10px -6px rgba(16, 185, 129, 0.1) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease !important;
}

.text-input-container:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4), 0 10px 10px -5px rgba(16, 185, 129, 0.2) !important;
}

.input-container {
  border-radius: 16px !important;
  background-color: var(--bg-surface) !important;
}

.text-input {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.125rem !important;
  border: none !important;
  padding: 1.5rem !important;
}

/* Beautiful Font Cards */
.font-item {
  border-radius: 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[data-theme="dark"] .font-item {
  border-color: rgba(51, 65, 85, 0.8) !important;
  background: rgba(30, 41, 59, 0.6) !important;
}

.font-item:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 12px 20px -5px rgba(16, 185, 129, 0.15), 0 8px 10px -6px rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

/* Copy Button Polish */
.copy-btn {
  background: linear-gradient(135deg, #0ea5e9, #10b981) !important;
  color: white !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.4rem !important;
  border: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3) !important;
}

.copy-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px -1px rgba(16, 185, 129, 0.4) !important;
  background: linear-gradient(135deg, #0284c7, #059669) !important;
}

.copy-btn:active {
  transform: translateY(1px) !important;
}

/* Sidebar Polish */
.sidebar {
  border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
}

[data-theme="dark"] .sidebar {
  border-right: 1px solid rgba(51, 65, 85, 0.8) !important;
  background: rgba(15, 23, 42, 0.95) !important;
}

.sidebar-link.active {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), transparent) !important;
  border-left: 4px solid #10b981 !important;
  color: #10b981 !important;
  font-weight: 700 !important;
}

/* Fancy Buttons */
.icon-btn, .menu-toggle {
  transition: all 0.2s ease !important;
  border-radius: 50% !important;
}

.icon-btn:hover, .menu-toggle:hover {
  background-color: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important;
  transform: rotate(5deg) scale(1.05);
}

/* Search Input Enhancement */
.search-container {
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.search-container:focus-within {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}

/* Clean up Toast */
.toast {
  border-radius: 12px !important;
  backdrop-filter: blur(8px) !important;
  background: rgba(15, 23, 42, 0.9) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  font-weight: 500 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .toast {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
}

/* SEO Content Styling */
.seo-content {
  line-height: 1.8 !important;
  font-size: 1.05rem !important;
  background: rgba(255, 255, 255, 0.7) !important;
  padding: 2.5rem !important;
  border-radius: 24px !important;
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

[data-theme="dark"] .seo-content {
  background: rgba(30, 41, 59, 0.5) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  color: #cbd5e1 !important;
}

.seo-content h2, .seo-content h3 {
  color: #1e293b !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .seo-content h2, [data-theme="dark"] .seo-content h3 {
  color: #f8fafc !important;
}

.seo-content p {
  margin-bottom: 1rem !important;
}

.seo-content ul {
  padding-left: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.seo-content li {
  margin-bottom: 0.5rem !important;
}
