Spaces:
Running
Running
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| /* Custom fonts */ | |
| @font-face { | |
| font-family: 'Avenir Next'; | |
| src: url('fonts/AvenirNext-Regular.woff2') format('woff2'); | |
| font-weight: 400; | |
| font-style: normal; | |
| font-display: swap; | |
| } | |
| @font-face { | |
| font-family: 'Avenir Next'; | |
| src: url('fonts/AvenirNext-Medium.woff2') format('woff2'); | |
| font-weight: 500; | |
| font-display: swap; | |
| } | |
| @font-face { | |
| font-family: 'Avenir Next'; | |
| src: url('fonts/AvenirNext-DemiBold.woff2') format('woff2'); | |
| font-weight: 600; | |
| font-display: swap; | |
| } | |
| @font-face { | |
| font-family: 'Avenir Next'; | |
| src: url('fonts/AvenirNext-Bold.woff2') format('woff2'); | |
| font-weight: 700; | |
| font-display: swap; | |
| } | |
| @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| letter-spacing: 0.2px; | |
| } | |
| /* Custom colors */ | |
| :root { | |
| --primary: #3A86FF; | |
| --primary-dark: #2667CC; | |
| --secondary: #8338EC; | |
| --accent: #FF006E; | |
| --light: #FAFAFA; | |
| --dark: #1A1A2E; | |
| --gray: #8C8C8C; | |
| --light-gray: #F3F4F6; | |
| --success: #38C172; | |
| --warning: #FFB400; | |
| --danger: #E53E3E; | |
| } | |
| /* Custom animations */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| @keyframes slideIn { | |
| from { opacity: 0; transform: translateX(-30px); } | |
| to { opacity: 1; transform: translateX(0); } | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.8; } | |
| } | |
| .animate-fade-in { | |
| animation: fadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; | |
| opacity: 0; | |
| } | |
| .animate-slide-in { | |
| animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; | |
| opacity: 0; | |
| } | |
| .animate-pulse { | |
| animation: pulse 2s ease-in-out infinite; | |
| } | |
| .fade-in { | |
| opacity: 1; | |
| transition: opacity 0.3s ease-in; | |
| } | |
| .scale-in { | |
| transform: scale(0.98); | |
| transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); | |
| } | |
| .scale-in:hover { | |
| transform: scale(1); | |
| } | |
| /* Custom gradient */ | |
| .bg-tick8ing-gradient { | |
| background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); | |
| box-shadow: 0 4px 30px rgba(58, 134, 255, 0.3); | |
| } | |
| .gradient-text { | |
| background: linear-gradient(90deg, var(--primary), var(--secondary)); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .neu-card { | |
| background: var(--light); | |
| border-radius: 16px; | |
| box-shadow: | |
| 4px 4px 8px rgba(0, 0, 0, 0.05), | |
| -4px -4px 8px rgba(255, 255, 255, 0.8); | |
| transition: all 0.3s ease; | |
| } | |
| .neu-card:hover { | |
| box-shadow: | |
| 6px 6px 12px rgba(0, 0, 0, 0.08), | |
| -6px -6px 12px rgba(255, 255, 255, 0.9); | |
| } | |
| /* Improved shadows */ | |
| .shadow-xl { | |
| box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.05); | |
| } | |
| .shadow-xxl { | |
| box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); | |
| } | |
| .shadow-inner-xl { | |
| box-shadow: inset 0 4px 6px -1px rgba(0, 0, 0, 0.05), inset 0 2px 4px -1px rgba(0, 0, 0, 0.06); | |
| } | |
| /* Custom button styles */ | |
| .btn-primary { | |
| @apply bg-gradient-to-r from-primary to-secondary hover:from-primary-dark hover:to-purple-800 text-white font-medium py-3 px-6 rounded-lg transition-all duration-300 transform hover:scale-105 shadow-lg; | |
| } | |
| /* Card hover effect */ | |
| .card-hover { | |
| @apply transition-all duration-300 ease-out hover:transform hover:-translate-y-1 hover:shadow-xl; | |
| transition-property: transform, box-shadow; | |
| will-change: transform, box-shadow; | |
| } | |
| /* Input styling */ | |
| .input-field { | |
| @apply w-full px-4 py-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-all duration-300; | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 768px) { | |
| .hero-title { | |
| font-size: 2.5rem; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.1rem; | |
| } | |
| } | |
| /* Custom components */ | |
| .card-hover-effect { | |
| @apply transition-all duration-300 ease-in-out hover:scale-[1.02] hover:shadow-xl; | |
| } | |
| .feature-icon { | |
| @apply w-16 h-16 flex items-center justify-center rounded-2xl bg-indigo-100 text-primary transform transition-all duration-300 hover:rotate-6 hover:scale-110 mb-4; | |
| } | |
| /* Hero section overlay */ | |
| .hero-overlay { | |
| background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%); | |
| } | |
| /* Navigation underline effect */ | |
| .active-nav-link { | |
| @apply text-primary border-b-2 border-primary; | |
| } | |
| /* Testimonials styling */ | |
| .testimonial-card { | |
| @apply bg-white p-8 rounded-xl shadow-md transition-all duration-300 hover:shadow-xl; | |
| backdrop-filter: blur(8px); | |
| background-color: rgba(255, 255, 255, 0.8); | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| } | |
| /* Glassmorphism effect */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.15); | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.18); | |
| } | |