File size: 4,643 Bytes
7d3e847 d24bca5 7d3e847 0886e7b 7d3e847 0886e7b 7d3e847 0886e7b 7d3e847 0886e7b 7d3e847 0886e7b 7d3e847 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 |
/* 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;
} |