/* Base styles */ body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; min-height: 100vh; } /* Card hover effect */ .card { transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.1); } .card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); border-color: transparent; } /* Rainbow underline animation */ .rainbow-underline { position: relative; display: inline-block; } .rainbow-underline::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 20%, #fbc2eb 40%, #a6c1ee 60%, #84fab0 80%, #8fd3f4 100%); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; } .rainbow-underline:hover::after { transform: scaleX(1); } /* Custom scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #555; } .dark ::-webkit-scrollbar-track { background: #1a1a1a; } .dark ::-webkit-scrollbar-thumb { background: #444; } .dark ::-webkit-scrollbar-thumb:hover { background: #555; } /* Theme transition */ .theme-transition * { transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease; } /* Animation classes */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; } /* Delays for staggered animations */ #features .card:nth-child(1) { animation-delay: 0.1s; } #features .card:nth-child(2) { animation-delay: 0.3s; } #features .card:nth-child(3) { animation-delay: 0.5s; }