/* Custom CSS for FitForge Pro - Security-First Compliant */ /* Standards: OWASP ASVS, UK GDPR, SLSA, White-Hat Engineering */ /* Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } } .animate-fade-in-up { animation: fadeInUp 1s ease-out; } .animate-fade-in-up-delay { animation: fadeInUp 1s ease-out 0.3s both; } .animate-fade-in-up-delay-2 { animation: fadeInUp 1s ease-out 0.6s both; } .animate-floating { animation: float 3s ease-in-out infinite; } /* Smooth scrolling */ html { scroll-behavior: smooth; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #1a1a1a; } ::-webkit-scrollbar-thumb { background: #f97316; border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: #ea580c; } /* Hover effects */ .class-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3); } .pricing-card:hover { box-shadow: 0 25px 50px rgba(249, 115, 22, 0.4); } .transformation-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); } /* Form focus styles */ input:focus, select:focus { outline: none; ring: 2px; ring-color: #f97316; } /* Mobile menu animation */ .mobile-menu { transform: translateX(-100%); transition: transform 0.3s ease-in-out; } .mobile-menu.active { transform: translateX(0); } /* Parallax effect */ .parallax-bg { background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; } /* Loading animation */ .loading-spinner { border: 3px solid #f3f3f3; border-top: 3px solid #f97316; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Button ripple effect */ .ripple { position: relative; overflow: hidden; } .ripple::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; } .ripple:active::before { width: 300px; height: 300px; } /* Gradient text */ .gradient-text { background: linear-gradient(135deg, #f97316, #ef4444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* Glassmorphism effect */ .glass { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } /* Responsive adjustments */ @media (max-width: 768px) { .hero-title { font-size: 3rem; } .pricing-card:nth-child(2) { transform: scale(1); } .mobile-menu { width: 100%; } } /* Print styles */ @media print { .no-print { display: none !important; } body { background: white; color: black; } } /* High contrast mode */ @media (prefers-contrast: high) { .bg-gray-800 { background-color: #000; } .text-gray-300 { color: #fff; } } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } html { scroll-behavior: auto; } } /* Selection color */ ::selection { background: #f97316; color: white; } /* Focus visible for accessibility */ :focus-visible { outline: 2px solid #f97316; outline-offset: 2px; } /* Disabled state */ button:disabled, input:disabled, select:disabled { opacity: 0.5; cursor: not-allowed; } /* Success and error states */ .input-success { border-color: #10b981; } .input-error { border-color: #ef4444; } /* Tooltip */ .tooltip { position: relative; } .tooltip::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #1f2937; color: white; padding: 0.5rem; border-radius: 0.25rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s; font-size: 0.75rem; } .tooltip:hover::after { opacity: 1; }