/* Base styles */ :root { --primary: #4f46e5; --primary-dark: #4338ca; --secondary: #06b6d4; --accent: #f59e0b; --light: #f8fafc; --dark: #1e293b; --gray: #64748b; --success: #10b981; --danger: #ef4444; --border: #e2e8f0; --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; line-height: 1.6; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); min-height: 100vh; } .dark { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #f1f5f9; } /* Animation classes */ .fade-in { animation: fadeIn 0.5s ease-in; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .slide-in { animation: slideIn 0.6s ease-out; } @keyframes slideIn { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .pulse { animation: pulse 2s infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); } } /* Custom utility classes */ .shadow-tool { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .shadow-tool-hover:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); transform: translateY(-5px); } .gradient-bg { background: var(--gradient); } .glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } .dark .glass { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); } .btn-primary { background: var(--primary); color: white; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; transition: all 0.3s; } .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); } /* New components */ .stat-card { background: white; border-radius: 1rem; padding: 1.5rem; border-left: 4px solid var(--primary); } .dark .stat-card { background: #334155; } .tool-grid { display: grid; gap: 1.5rem; } .feature-badge { background: linear-gradient(45deg, var(--secondary), var(--primary)); color: white; padding: 0.25rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; display: inline-block; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 5px; } ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); } /* Loading spinner */ .spinner { border: 3px solid rgba(79, 70, 229, 0.1); border-radius: 50%; border-top: 3px solid var(--primary); width: 40px; height: 40px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Toast notification */ .toast { position: fixed; bottom: 20px; right: 20px; background: white; padding: 1rem; border-radius: 0.5rem; box-shadow: var(--shadow); border-left: 4px solid var(--success); z-index: 9999; transform: translateX(100%); transition: transform 0.3s ease; } .toast.show { transform: translateX(0); } .dark .toast { background: #334155; } /* Responsive adjustments */ @media (max-width: 640px) { .category-card { padding: 1rem 0.5rem; } .hero-title { font-size: 2.5rem; } } @media (max-width: 768px) { .tool-grid { grid-template-columns: 1fr; } } /* Category colors */ .category-dev { background: #dbeafe; color: #1e40af; } .category-design { background: #fef3c7; color: #92400e; } .category-text { background: #dcfce7; color: #065f46; } .category-image { background: #fae8ff; color: #86198f; } .dark .category-dev { background: #1e3a8a; color: #dbeafe; } .dark .category-design { background: #78350f; color: #fef3c7; } .dark .category-text { background: #064e3b; color: #dcfce7; } .dark .category-image { background: #701a75; color: #fae8ff; }