|
57 | 57 | @apply border-border; |
58 | 58 | } |
59 | 59 | body { |
60 | | - @apply bg-background text-foreground; |
| 60 | + @apply bg-background text-foreground font-sans; |
| 61 | + } |
| 62 | + |
| 63 | + /* Improved heading typography */ |
| 64 | + h1, h2, h3, h4, h5, h6 { |
| 65 | + font-family: var(--font-inter), system-ui, sans-serif; |
| 66 | + letter-spacing: -0.025em; |
| 67 | + line-height: 1.1; |
| 68 | + text-rendering: optimizeLegibility; |
| 69 | + -webkit-font-smoothing: antialiased; |
| 70 | + -moz-osx-font-smoothing: grayscale; |
| 71 | + } |
| 72 | + |
| 73 | + h1 { |
| 74 | + font-size: 2.25rem; |
| 75 | + font-weight: 800; |
| 76 | + } |
| 77 | + |
| 78 | + h2 { |
| 79 | + font-size: 1.875rem; |
| 80 | + font-weight: 700; |
| 81 | + } |
| 82 | + |
| 83 | + h3 { |
| 84 | + font-size: 1.25rem; |
| 85 | + font-weight: 600; |
| 86 | + } |
| 87 | + |
| 88 | + h4 { |
| 89 | + font-size: 1.125rem; |
| 90 | + font-weight: 600; |
| 91 | + } |
| 92 | + |
| 93 | + @media (min-width: 768px) { |
| 94 | + h1 { |
| 95 | + font-size: 3.75rem; |
| 96 | + } |
| 97 | + |
| 98 | + h2 { |
| 99 | + font-size: 2.25rem; |
| 100 | + } |
| 101 | + |
| 102 | + h3 { |
| 103 | + font-size: 1.5rem; |
| 104 | + } |
| 105 | + |
| 106 | + h4 { |
| 107 | + font-size: 1.25rem; |
| 108 | + } |
61 | 109 | } |
62 | 110 | } |
63 | 111 |
|
|
104 | 152 |
|
105 | 153 | /* Gradient text */ |
106 | 154 | .gradient-text { |
107 | | - @apply bg-clip-text text-transparent bg-gradient-to-r from-violet-400 to-purple-600; |
| 155 | + background: linear-gradient(to right, #a78bfa, #9333ea); |
| 156 | + -webkit-background-clip: text; |
| 157 | + background-clip: text; |
| 158 | + -webkit-text-fill-color: transparent; |
108 | 159 | } |
109 | 160 |
|
110 | 161 | /* Glassmorphism */ |
111 | 162 | .glass { |
112 | | - @apply bg-card/50 backdrop-blur-sm border border-border; |
| 163 | + background: hsl(var(--card) / 0.5); |
| 164 | + backdrop-filter: blur(4px); |
| 165 | + border: 1px solid hsl(var(--border)); |
113 | 166 | } |
114 | 167 |
|
115 | 168 | /* Glow effects */ |
116 | 169 | .glow { |
117 | | - @apply shadow-[0_0_15px_rgba(139,92,246,0.5)]; |
| 170 | + box-shadow: 0 0 15px rgba(139, 92, 246, 0.5); |
118 | 171 | } |
119 | 172 |
|
120 | 173 | .glow-hover:hover { |
121 | | - @apply shadow-[0_0_20px_rgba(139,92,246,0.8)]; |
| 174 | + box-shadow: 0 0 20px rgba(139, 92, 246, 0.8); |
122 | 175 | } |
123 | 176 |
|
124 | 177 | /* Parallax */ |
|
0 commit comments