|
175 | 175 |
|
176 | 176 | /* ===== Hero ===== */ |
177 | 177 | .hero { |
178 | | - padding: 160px 0 100px; |
| 178 | + padding: 160px 0 72px; |
179 | 179 | position: relative; |
180 | 180 | overflow: hidden; |
181 | 181 | } |
@@ -233,6 +233,140 @@ a { |
233 | 233 | flex-wrap: wrap; |
234 | 234 | } |
235 | 235 |
|
| 236 | +.hero-subscribe { |
| 237 | + margin-top: 28px; |
| 238 | + padding: 22px; |
| 239 | + border-radius: 18px; |
| 240 | + background: |
| 241 | + linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 92%, transparent), color-mix(in srgb, var(--bg-secondary) 96%, transparent)); |
| 242 | + border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border)); |
| 243 | + box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 10%, transparent); |
| 244 | +} |
| 245 | + |
| 246 | +.hero-subscribe-copy h2 { |
| 247 | + font-size: 1.2rem; |
| 248 | + font-weight: 700; |
| 249 | + margin-bottom: 6px; |
| 250 | +} |
| 251 | + |
| 252 | +.hero-subscribe-eyebrow { |
| 253 | + font-size: 0.78rem; |
| 254 | + font-weight: 700; |
| 255 | + letter-spacing: 0.08em; |
| 256 | + text-transform: uppercase; |
| 257 | + color: var(--accent); |
| 258 | + margin-bottom: 8px; |
| 259 | +} |
| 260 | + |
| 261 | +.hero-subscribe-text { |
| 262 | + color: var(--text-muted); |
| 263 | + font-size: 0.95rem; |
| 264 | + line-height: 1.65; |
| 265 | +} |
| 266 | + |
| 267 | +.subscribe-form { |
| 268 | + display: flex; |
| 269 | + gap: 12px; |
| 270 | + margin-top: 18px; |
| 271 | + align-items: stretch; |
| 272 | + flex-wrap: wrap; |
| 273 | +} |
| 274 | + |
| 275 | +.subscribe-form input { |
| 276 | + flex: 1; |
| 277 | + min-width: 0; |
| 278 | + padding: 12px 16px; |
| 279 | + border-radius: 10px; |
| 280 | + border: 1px solid var(--border); |
| 281 | + background: color-mix(in srgb, var(--bg) 82%, transparent); |
| 282 | + color: var(--text); |
| 283 | + font: inherit; |
| 284 | + transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); |
| 285 | +} |
| 286 | + |
| 287 | +.subscribe-form input::placeholder { |
| 288 | + color: var(--text-muted); |
| 289 | +} |
| 290 | + |
| 291 | +.subscribe-form input:focus { |
| 292 | + outline: none; |
| 293 | + border-color: color-mix(in srgb, var(--accent) 70%, white 10%); |
| 294 | + box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); |
| 295 | +} |
| 296 | + |
| 297 | +.hero-subscribe-note { |
| 298 | + margin-top: 12px; |
| 299 | + font-size: 0.82rem; |
| 300 | + color: var(--text-muted); |
| 301 | +} |
| 302 | + |
| 303 | +.formkit-alert { |
| 304 | + width: 100%; |
| 305 | + list-style: none; |
| 306 | + margin: 0 0 10px; |
| 307 | + padding: 10px 12px; |
| 308 | + border-radius: 10px; |
| 309 | + border: 1px solid transparent; |
| 310 | + font-size: 0.9rem; |
| 311 | +} |
| 312 | + |
| 313 | +.formkit-alert:empty { |
| 314 | + display: none; |
| 315 | +} |
| 316 | + |
| 317 | +.formkit-alert-error { |
| 318 | + color: #fda4af; |
| 319 | + background: rgba(127, 29, 29, 0.18); |
| 320 | + border-color: rgba(248, 113, 113, 0.28); |
| 321 | +} |
| 322 | + |
| 323 | +.formkit-alert-success { |
| 324 | + color: #86efac; |
| 325 | + background: rgba(20, 83, 45, 0.2); |
| 326 | + border-color: rgba(74, 222, 128, 0.28); |
| 327 | +} |
| 328 | + |
| 329 | +.formkit-submit { |
| 330 | + min-width: 210px; |
| 331 | +} |
| 332 | + |
| 333 | +.formkit-submit span { |
| 334 | + display: inline-block; |
| 335 | +} |
| 336 | + |
| 337 | +.hero-subscribe-centered { |
| 338 | + max-width: 760px; |
| 339 | + margin: 0 auto; |
| 340 | + text-align: center; |
| 341 | +} |
| 342 | + |
| 343 | +.hero-subscribe-centered .hero-subscribe-text, |
| 344 | +.hero-subscribe-centered .hero-subscribe-note { |
| 345 | + max-width: 640px; |
| 346 | + margin-left: auto; |
| 347 | + margin-right: auto; |
| 348 | +} |
| 349 | + |
| 350 | +.subscribe-form-centered { |
| 351 | + justify-content: center; |
| 352 | +} |
| 353 | + |
| 354 | +.subscribe-form-centered input { |
| 355 | + max-width: 420px; |
| 356 | +} |
| 357 | + |
| 358 | +.sr-only { |
| 359 | + position: absolute; |
| 360 | + width: 1px; |
| 361 | + height: 1px; |
| 362 | + padding: 0; |
| 363 | + margin: -1px; |
| 364 | + overflow: hidden; |
| 365 | + clip: rect(0, 0, 0, 0); |
| 366 | + white-space: nowrap; |
| 367 | + border: 0; |
| 368 | +} |
| 369 | + |
236 | 370 | .hero-visual { |
237 | 371 | flex: 0 0 auto; |
238 | 372 | position: relative; |
|
306 | 440 |
|
307 | 441 | /* ===== Features ===== */ |
308 | 442 | .features { |
309 | | - padding: 80px 0 100px; |
| 443 | + padding: 48px 0 56px; |
310 | 444 | } |
311 | 445 |
|
312 | 446 | .features-grid { |
@@ -355,40 +489,20 @@ a { |
355 | 489 |
|
356 | 490 | /* ===== CTA Section ===== */ |
357 | 491 | .cta { |
358 | | - padding: 80px 0; |
| 492 | + padding: 40px 0 32px; |
359 | 493 | } |
360 | 494 |
|
361 | 495 | .cta-container { |
362 | | - text-align: center; |
363 | | - padding: 64px 40px; |
| 496 | + padding: 40px 40px; |
364 | 497 | border-radius: 20px; |
365 | 498 | background: var(--bg-secondary); |
366 | 499 | border: 1px solid var(--border); |
367 | 500 | } |
368 | 501 |
|
369 | | -.cta h2 { |
370 | | - font-size: 2rem; |
371 | | - font-weight: 800; |
372 | | - margin-bottom: 12px; |
373 | | -} |
374 | | - |
375 | | -.cta p { |
376 | | - color: var(--text-muted); |
377 | | - font-size: 1.05rem; |
378 | | - margin-bottom: 32px; |
379 | | -} |
380 | | - |
381 | | -.cta-actions { |
382 | | - display: flex; |
383 | | - gap: 14px; |
384 | | - justify-content: center; |
385 | | - flex-wrap: wrap; |
386 | | -} |
387 | | - |
388 | 502 | /* ===== Footer ===== */ |
389 | 503 | .footer { |
390 | 504 | border-top: 1px solid var(--border); |
391 | | - padding: 60px 0 40px; |
| 505 | + padding: 40px 0 32px; |
392 | 506 | } |
393 | 507 |
|
394 | 508 | .footer-grid { |
|
486 | 600 | } |
487 | 601 |
|
488 | 602 | .hero { |
489 | | - padding: 120px 0 60px; |
| 603 | + padding: 120px 0 48px; |
490 | 604 | } |
491 | 605 |
|
492 | 606 | .hero h1 { |
|
497 | 611 | font-size: 1rem; |
498 | 612 | } |
499 | 613 |
|
| 614 | + .subscribe-form { |
| 615 | + flex-direction: column; |
| 616 | + } |
| 617 | + |
| 618 | + .subscribe-form .btn { |
| 619 | + width: 100%; |
| 620 | + } |
| 621 | + |
| 622 | + .subscribe-form-centered input { |
| 623 | + max-width: none; |
| 624 | + } |
| 625 | + |
500 | 626 | .features-grid { |
501 | 627 | grid-template-columns: 1fr; |
502 | 628 | } |
|
507 | 633 | } |
508 | 634 |
|
509 | 635 | .cta-container { |
510 | | - padding: 40px 24px; |
| 636 | + padding: 28px 20px; |
511 | 637 | } |
512 | 638 | } |
0 commit comments