Files
Sauci/apps/web/app/globals.css
T
jjbrunton 1f0201ec5f Improve web landing page design and UX
- Add FAQ section with accordion-style questions
- Enhance hero with stronger copy and App Store badge
- Add hover animations to features and phone mockups
- Add pricing display (£4.99/month) to Pro section
- Add step icons to How It Works section
- Improve accessibility with focus states and reduced-motion
- Add exit animation to mobile navigation menu

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-01-06 18:43:07 +00:00

218 lines
4.2 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
:root {
--background: #0d0d1a;
--background-light: #1a1a2e;
--primary: #e94560;
--secondary: #9b59b6;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
scroll-behavior: smooth;
}
body {
background: var(--background);
color: white;
font-family: 'Inter', system-ui, sans-serif;
}
::selection {
background: rgba(233, 69, 96, 0.3);
color: white;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--background);
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.2);
}
/* Glass card effect */
.glass {
background: rgba(22, 33, 62, 0.4);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
}
.glass-light {
background: rgba(22, 33, 62, 0.6);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 16px;
}
/* Gradient text */
.gradient-text {
background: linear-gradient(135deg, #e94560 0%, #9b59b6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Gradient button */
.btn-primary {
background: linear-gradient(135deg, #e94560 0%, #9b59b6 100%);
color: white;
font-weight: 600;
padding: 14px 32px;
border-radius: 12px;
border: none;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}
.btn-secondary {
background: rgba(22, 33, 62, 0.6);
color: white;
font-weight: 600;
padding: 14px 32px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.12);
cursor: pointer;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background: rgba(22, 33, 62, 0.8);
border-color: rgba(255, 255, 255, 0.2);
}
/* Glow effects */
.glow-primary {
box-shadow: 0 0 40px rgba(233, 69, 96, 0.3);
}
.glow-secondary {
box-shadow: 0 0 40px rgba(155, 89, 182, 0.3);
}
/* Animation keyframes */
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
}
@keyframes pulse-glow {
0%, 100% {
opacity: 0.5;
transform: scale(1);
}
50% {
opacity: 0.8;
transform: scale(1.1);
}
}
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
.animate-pulse-glow {
animation: pulse-glow 4s ease-in-out infinite;
}
/* Focus states for accessibility */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
outline: none;
ring: 2px;
ring-offset: 2px;
ring-color: rgba(233, 69, 96, 0.8);
box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--primary);
}
a:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
border-radius: 4px;
}
button:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.animate-float,
.animate-pulse-glow {
animation: none;
}
}
/* Card tilt effect */
.card-tilt {
transition: transform 0.3s ease;
transform-style: preserve-3d;
}
.card-tilt:hover {
transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
}
/* Phone tilt effect */
.phone-tilt {
transition: transform 0.4s ease;
transform-style: preserve-3d;
}
.phone-tilt:hover {
transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) scale(1.02);
}