-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
779 lines (729 loc) · 52.7 KB
/
Copy pathindex.html
File metadata and controls
779 lines (729 loc) · 52.7 KB
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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Veer — The city, in motion</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: '#0B0E14',
surface: '#131720',
floaty: '#1A2030',
veer: { DEFAULT: '#FF6A3D', light: '#FF8A5C', deep: '#E8501F' },
mint: '#4FE3A1',
cream: '#F5F2EC',
muted: '#99A1B0',
},
fontFamily: {
display: ['"Space Grotesk"', 'ui-sans-serif', 'sans-serif'],
sans: ['Inter', 'ui-sans-serif', 'sans-serif'],
},
boxShadow: {
glow: '0 24px 70px -24px rgba(255,106,61,0.55)',
card: '0 30px 60px -30px rgba(0,0,0,0.75)',
float: '0 18px 40px -18px rgba(0,0,0,0.6)',
mint: '0 24px 70px -24px rgba(79,227,161,0.45)',
},
letterSpacing: { tightest: '-0.04em' },
},
},
};
</script>
<style>
:root { color-scheme: dark; }
body { background: #0B0E14; }
.font-display { font-family: '"Space Grotesk"', sans-serif; }
/* Layered radial gradient atmosphere */
.atmosphere {
background:
radial-gradient(60% 50% at 15% 0%, rgba(255,106,61,0.18) 0%, transparent 60%),
radial-gradient(55% 45% at 95% 10%, rgba(79,227,161,0.14) 0%, transparent 55%),
radial-gradient(70% 60% at 50% 100%, rgba(255,106,61,0.08) 0%, transparent 65%),
#0B0E14;
}
/* SVG grain texture for depth */
.grain::before {
content: '';
position: absolute; inset: 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
opacity: 0.045; mix-blend-mode: overlay; pointer-events: none;
}
/* Map surface (no external tiles) */
.map {
background:
radial-gradient(50% 40% at 70% 20%, rgba(79,227,161,0.10), transparent 60%),
radial-gradient(60% 50% at 20% 80%, rgba(255,106,61,0.10), transparent 60%),
linear-gradient(160deg, #0E1320 0%, #0A0D15 100%);
}
.street { stroke: rgba(255,255,255,0.05); stroke-width: 2; }
.street-major { stroke: rgba(255,255,255,0.08); stroke-width: 3.5; }
.route { stroke: #FF6A3D; stroke-width: 4; stroke-linecap: round; fill: none;
filter: drop-shadow(0 0 8px rgba(255,106,61,0.6)); stroke-dasharray: 1000;
stroke-dashoffset: 1000; animation: draw 2.2s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pin { filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)); }
.pulse { animation: pulse 2s ease-out infinite; transform-origin: center; }
@keyframes pulse { 0% { r: 6; opacity: .7 } 70% { r: 22; opacity: 0 } 100% { opacity: 0 } }
/* Car travelling along the route on the tracking screen */
.car-marker {
offset-path: path('M 70 250 C 180 180, 240 320, 360 240 S 560 120, 680 170');
offset-rotate: auto;
animation: drive 6s ease-in-out infinite alternate;
}
@keyframes drive { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.screen { display: none; }
.screen.active { display: block; animation: fade .5s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.ride-option { transition: border-color .25s ease, background-color .25s ease, transform .25s ease; }
.ride-option[aria-pressed="true"] { border-color: #FF6A3D; background: rgba(255,106,61,0.08); }
.ride-option:hover { transform: translateY(-2px); }
.step-dot { transition: background-color .4s ease, box-shadow .4s ease; }
.step-dot.done { background: #4FE3A1; box-shadow: 0 0 0 4px rgba(79,227,161,0.18); }
.step-line.done { background: #4FE3A1; }
.btn-primary { transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, filter .2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -20px rgba(255,106,61,0.7); }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-primary:focus-visible { outline: 2px solid #FF8A5C; outline-offset: 3px; }
.link-pill { transition: color .2s ease, background-color .2s ease; }
.field { transition: border-color .2s ease, background-color .2s ease; }
.field:focus-within { border-color: rgba(255,106,61,0.6); background: rgba(255,106,61,0.04); }
input::placeholder { color: #5b6373; }
.marquee { animation: marquee 28s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
</style>
</head>
<body class="font-sans text-cream antialiased selection:bg-veer/30">
<!-- ============================= HOME / LANDING ============================= -->
<main id="screen-home" class="screen active">
<div class="relative atmosphere grain overflow-hidden">
<!-- NAV -->
<header class="relative z-20 mx-auto flex max-w-7xl items-center justify-between px-6 py-6">
<a href="#" data-go="screen-home" class="flex items-center gap-2.5">
<span class="grid h-9 w-9 place-items-center rounded-xl bg-veer shadow-glow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4 16l4-9a2 2 0 0 1 1.8-1.2h4.4A2 2 0 0 1 16 7l4 9" stroke="#0B0E14" stroke-width="2.2" stroke-linecap="round"/><circle cx="7.5" cy="16.5" r="1.6" fill="#0B0E14"/><circle cx="16.5" cy="16.5" r="1.6" fill="#0B0E14"/></svg>
</span>
<span class="font-display text-xl font-700 tracking-tightest">Veer</span>
</a>
<nav class="hidden items-center gap-1 md:flex">
<a href="#how" class="link-pill rounded-full px-4 py-2 text-sm text-muted hover:bg-white/5 hover:text-cream">How it works</a>
<a href="#rides" class="link-pill rounded-full px-4 py-2 text-sm text-muted hover:bg-white/5 hover:text-cream">Rides</a>
<a href="#features" class="link-pill rounded-full px-4 py-2 text-sm text-muted hover:bg-white/5 hover:text-cream">Why Veer</a>
<a href="#drive" class="link-pill rounded-full px-4 py-2 text-sm text-muted hover:bg-white/5 hover:text-cream">Drive with us</a>
</nav>
<div class="flex items-center gap-3">
<button class="hidden text-sm font-500 text-muted hover:text-cream sm:block">Sign in</button>
<button data-go="screen-book" class="btn-primary rounded-full bg-veer px-5 py-2.5 text-sm font-600 text-ink shadow-glow">Book a ride</button>
</div>
</header>
<!-- HERO -->
<section class="relative z-10 mx-auto grid max-w-7xl items-center gap-12 px-6 pb-24 pt-10 lg:grid-cols-2 lg:pt-16">
<div>
<div class="mb-6 inline-flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-4 py-1.5 text-xs font-500 text-mint">
<span class="h-1.5 w-1.5 rounded-full bg-mint"></span> Live in 40+ cities
</div>
<h1 class="font-display text-5xl font-700 leading-[1.02] tracking-tightest sm:text-6xl lg:text-7xl">
The city,<br /><span class="bg-gradient-to-r from-veer-light via-veer to-veer-deep bg-clip-text text-transparent">in motion.</span>
</h1>
<p class="mt-6 max-w-md text-lg leading-[1.7] text-muted">
Tap once and a vetted driver is on the way. Upfront fares, electric options, and live tracking from curb to door.
</p>
<!-- Quick book card -->
<div class="mt-9 max-w-md rounded-3xl border border-white/10 bg-surface/80 p-5 shadow-card backdrop-blur">
<div class="space-y-2.5">
<label class="field flex items-center gap-3 rounded-2xl border border-white/10 bg-ink/60 px-4 py-3">
<span class="h-2.5 w-2.5 rounded-full bg-mint"></span>
<input class="w-full bg-transparent text-sm text-cream outline-none" placeholder="Pickup location" value="Current location" />
</label>
<label class="field flex items-center gap-3 rounded-2xl border border-white/10 bg-ink/60 px-4 py-3">
<span class="h-2.5 w-2.5 rounded-sm bg-veer"></span>
<input class="w-full bg-transparent text-sm text-cream outline-none" placeholder="Where to?" />
</label>
</div>
<button data-go="screen-book" class="btn-primary mt-3 flex w-full items-center justify-center gap-2 rounded-2xl bg-veer py-3.5 text-sm font-600 text-ink shadow-glow">
See prices
<svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M5 12h14m-6-6 6 6-6 6" stroke="#0B0E14" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
</div>
<div class="mt-7 flex items-center gap-6 text-sm text-muted">
<div class="flex items-center gap-2">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none"><path d="m12 2 2.9 6.3 6.9.6-5.2 4.5 1.6 6.7L12 17l-6.2 3.6 1.6-6.7L2.2 8.9l6.9-.6L12 2Z" fill="#FF6A3D"/></svg>
<span><span class="font-600 text-cream">4.9</span> avg rating</span>
</div>
<div class="h-4 w-px bg-white/10"></div>
<span><span class="font-600 text-cream">2 min</span> median wait</span>
</div>
</div>
<!-- Hero visual: live mini-map -->
<div class="reveal relative">
<div class="absolute -inset-6 -z-10 rounded-[2.5rem] bg-veer/10 blur-3xl"></div>
<div class="map relative aspect-[4/5] overflow-hidden rounded-[2rem] border border-white/10 shadow-card sm:aspect-[5/5]">
<svg viewBox="0 0 480 480" class="absolute inset-0 h-full w-full">
<g>
<line class="street" x1="0" y1="90" x2="480" y2="120"/>
<line class="street" x1="0" y1="220" x2="480" y2="250"/>
<line class="street-major" x1="0" y1="340" x2="480" y2="370"/>
<line class="street" x1="90" y1="0" x2="60" y2="480"/>
<line class="street-major" x1="240" y1="0" x2="220" y2="480"/>
<line class="street" x1="380" y1="0" x2="360" y2="480"/>
</g>
<path class="route" d="M 80 380 C 160 300, 180 360, 240 280 S 360 160, 400 110"/>
<circle class="pulse" cx="80" cy="380" r="6" fill="#4FE3A1"/>
<circle cx="80" cy="380" r="6" fill="#4FE3A1" stroke="#0B0E14" stroke-width="2"/>
<g class="pin" transform="translate(400 110)">
<path d="M0 -22 C 10 -22 16 -14 16 -6 C 16 4 0 14 0 14 C 0 14 -16 4 -16 -6 C -16 -14 -10 -22 0 -22 Z" fill="#FF6A3D"/>
<circle cy="-6" r="5" fill="#0B0E14"/>
</g>
</svg>
<div class="absolute bottom-5 left-5 right-5 flex items-center gap-3 rounded-2xl border border-white/10 bg-ink/80 p-3 backdrop-blur">
<span class="grid h-10 w-10 place-items-center rounded-xl bg-mint/15 text-mint">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4 16l4-9a2 2 0 0 1 1.8-1.2h4.4A2 2 0 0 1 16 7l4 9" stroke="#4FE3A1" stroke-width="2" stroke-linecap="round"/></svg>
</span>
<div class="leading-tight">
<p class="text-sm font-600">Veer Electric · 3 min away</p>
<p class="text-xs text-muted">Driver Maya · Tesla Model 3</p>
</div>
<span class="ml-auto rounded-full bg-veer/15 px-3 py-1 text-xs font-600 text-veer-light">$14.20</span>
</div>
</div>
</div>
</section>
<!-- Trusted-by marquee -->
<div class="relative z-10 border-y border-white/5 py-6">
<div class="mx-auto flex max-w-7xl items-center gap-6 px-6">
<span class="shrink-0 text-xs uppercase tracking-[0.2em] text-muted">Riders going to</span>
<div class="relative overflow-hidden">
<div class="marquee flex w-max gap-10 text-sm font-500 text-cream/70">
<span>✈ Airport runs</span><span>🍽 Dinner downtown</span><span>🎶 Late-night shows</span><span>🏢 The morning commute</span><span>🏟 Game day</span>
<span>✈ Airport runs</span><span>🍽 Dinner downtown</span><span>🎶 Late-night shows</span><span>🏢 The morning commute</span><span>🏟 Game day</span>
</div>
</div>
</div>
</div>
</div>
<!-- STATS -->
<section class="mx-auto max-w-7xl px-6 py-20">
<div class="grid gap-px overflow-hidden rounded-3xl border border-white/10 bg-white/5 sm:grid-cols-3">
<div class="reveal bg-surface p-8">
<p class="font-display text-4xl font-700 text-veer-light">12M+</p>
<p class="mt-1 text-sm text-muted">Rides completed</p>
</div>
<div class="reveal bg-surface p-8">
<p class="font-display text-4xl font-700 text-mint">120s</p>
<p class="mt-1 text-sm text-muted">Median pickup time</p>
</div>
<div class="reveal bg-surface p-8">
<p class="font-display text-4xl font-700 text-cream">40%</p>
<p class="mt-1 text-sm text-muted">Fleet now electric</p>
</div>
</div>
</section>
<!-- HOW IT WORKS -->
<section id="how" class="mx-auto max-w-7xl px-6 py-16">
<div class="mb-14 max-w-xl">
<p class="mb-3 text-sm font-600 uppercase tracking-[0.2em] text-veer">How it works</p>
<h2 class="font-display text-4xl font-700 tracking-tightest sm:text-5xl">Three taps to your door</h2>
</div>
<div class="grid gap-6 md:grid-cols-3">
<div class="reveal group rounded-3xl border border-white/10 bg-surface p-7 shadow-float">
<span class="font-display text-sm font-600 text-muted">01</span>
<div class="mt-5 mb-4 grid h-12 w-12 place-items-center rounded-2xl bg-veer/15 text-veer">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none"><path d="M12 21s-7-5.3-7-11a7 7 0 1 1 14 0c0 5.7-7 11-7 11Z" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="10" r="2.5" stroke="currentColor" stroke-width="2"/></svg>
</div>
<h3 class="font-display text-xl font-600">Set your route</h3>
<p class="mt-2 text-sm leading-[1.7] text-muted">Enter pickup and destination. We surface an upfront fare before you commit — no surprises.</p>
</div>
<div class="reveal group rounded-3xl border border-white/10 bg-surface p-7 shadow-float">
<span class="font-display text-sm font-600 text-muted">02</span>
<div class="mt-5 mb-4 grid h-12 w-12 place-items-center rounded-2xl bg-mint/15 text-mint">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none"><path d="M4 16l4-9a2 2 0 0 1 1.8-1.2h4.4A2 2 0 0 1 16 7l4 9" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="7.5" cy="16.5" r="1.6" fill="currentColor"/><circle cx="16.5" cy="16.5" r="1.6" fill="currentColor"/></svg>
</div>
<h3 class="font-display text-xl font-600">Match instantly</h3>
<p class="mt-2 text-sm leading-[1.7] text-muted">We pair you with the nearest vetted driver and lock the price. Watch them approach in real time.</p>
</div>
<div class="reveal group rounded-3xl border border-white/10 bg-surface p-7 shadow-float">
<span class="font-display text-sm font-600 text-muted">03</span>
<div class="mt-5 mb-4 grid h-12 w-12 place-items-center rounded-2xl bg-veer/15 text-veer">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none"><path d="m5 13 4 4L19 7" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<h3 class="font-display text-xl font-600">Ride & go</h3>
<p class="mt-2 text-sm leading-[1.7] text-muted">Hop in, sit back, and pay automatically. Share your trip with anyone for peace of mind.</p>
</div>
</div>
</section>
<!-- RIDE TYPES -->
<section id="rides" class="mx-auto max-w-7xl px-6 py-16">
<div class="mb-14 flex flex-wrap items-end justify-between gap-4">
<div class="max-w-xl">
<p class="mb-3 text-sm font-600 uppercase tracking-[0.2em] text-veer">Choose your ride</p>
<h2 class="font-display text-4xl font-700 tracking-tightest sm:text-5xl">A ride for every moment</h2>
</div>
<button data-go="screen-book" class="btn-primary rounded-full border border-white/15 bg-white/5 px-5 py-2.5 text-sm font-600 hover:bg-white/10">Compare fares</button>
</div>
<div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-4">
<div class="reveal rounded-3xl border border-white/10 bg-surface p-6 shadow-float">
<div class="mb-16 flex items-start justify-between">
<span class="rounded-full bg-white/10 px-3 py-1 text-xs font-600">Everyday</span>
<span class="font-display text-lg font-700 text-cream">$9+</span>
</div>
<h3 class="font-display text-xl font-600">Veer Go</h3>
<p class="mt-2 text-sm leading-[1.6] text-muted">Affordable rides for up to 4. Your default for getting around.</p>
</div>
<div class="reveal rounded-3xl border border-mint/30 bg-surface p-6 shadow-mint">
<div class="mb-16 flex items-start justify-between">
<span class="rounded-full bg-mint/15 px-3 py-1 text-xs font-600 text-mint">Electric</span>
<span class="font-display text-lg font-700 text-cream">$14+</span>
</div>
<h3 class="font-display text-xl font-600">Veer Electric</h3>
<p class="mt-2 text-sm leading-[1.6] text-muted">Zero-emission EVs at no premium. Quiet, clean, smooth.</p>
</div>
<div class="reveal rounded-3xl border border-white/10 bg-surface p-6 shadow-float">
<div class="mb-16 flex items-start justify-between">
<span class="rounded-full bg-white/10 px-3 py-1 text-xs font-600">Premium</span>
<span class="font-display text-lg font-700 text-cream">$22+</span>
</div>
<h3 class="font-display text-xl font-600">Veer Comfort</h3>
<p class="mt-2 text-sm leading-[1.6] text-muted">Newer cars, top-rated drivers, extra legroom for the long haul.</p>
</div>
<div class="reveal rounded-3xl border border-white/10 bg-surface p-6 shadow-float">
<div class="mb-16 flex items-start justify-between">
<span class="rounded-full bg-white/10 px-3 py-1 text-xs font-600">Group</span>
<span class="font-display text-lg font-700 text-cream">$26+</span>
</div>
<h3 class="font-display text-xl font-600">Veer XL</h3>
<p class="mt-2 text-sm leading-[1.6] text-muted">Six seats for the crew, the luggage, and the airport haul.</p>
</div>
</div>
</section>
<!-- WHY VEER -->
<section id="features" class="mx-auto max-w-7xl px-6 py-16">
<div class="grid items-center gap-12 lg:grid-cols-2">
<div class="reveal relative">
<div class="absolute -inset-6 -z-10 rounded-[2.5rem] bg-mint/10 blur-3xl"></div>
<div class="map relative aspect-square overflow-hidden rounded-[2rem] border border-white/10 shadow-card">
<svg viewBox="0 0 480 480" class="absolute inset-0 h-full w-full">
<line class="street" x1="0" y1="160" x2="480" y2="140"/>
<line class="street-major" x1="0" y1="300" x2="480" y2="320"/>
<line class="street" x1="160" y1="0" x2="180" y2="480"/>
<line class="street-major" x1="320" y1="0" x2="300" y2="480"/>
</svg>
<div class="absolute left-6 top-6 rounded-2xl border border-white/10 bg-ink/80 px-4 py-3 backdrop-blur">
<p class="text-xs text-muted">Trip shared with</p>
<p class="text-sm font-600">2 contacts · live</p>
</div>
<div class="absolute bottom-6 right-6 rounded-2xl border border-white/10 bg-ink/80 px-4 py-3 backdrop-blur">
<p class="text-xs text-muted">Driver verified</p>
<p class="flex items-center gap-1.5 text-sm font-600 text-mint"><svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="m5 13 4 4L19 7" stroke="#4FE3A1" stroke-width="3" stroke-linecap="round"/></svg> ID + background check</p>
</div>
</div>
</div>
<div>
<p class="mb-3 text-sm font-600 uppercase tracking-[0.2em] text-veer">Why Veer</p>
<h2 class="font-display text-4xl font-700 tracking-tightest sm:text-5xl">Built so you arrive easy</h2>
<div class="mt-8 space-y-5">
<div class="reveal flex gap-4">
<span class="mt-0.5 grid h-10 w-10 shrink-0 place-items-center rounded-xl bg-veer/15 text-veer"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M12 2 4 5v6c0 5 3.4 8.5 8 11 4.6-2.5 8-6 8-11V5l-8-3Z" stroke="currentColor" stroke-width="2"/></svg></span>
<div><h3 class="font-display text-lg font-600">Upfront, honest fares</h3><p class="mt-1 text-sm leading-[1.7] text-muted">See the exact price before you book. No surge roulette, no mystery math at the end.</p></div>
</div>
<div class="reveal flex gap-4">
<span class="mt-0.5 grid h-10 w-10 shrink-0 place-items-center rounded-xl bg-mint/15 text-mint"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M12 8v4l3 2" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/></svg></span>
<div><h3 class="font-display text-lg font-600">Safety on every trip</h3><p class="mt-1 text-sm leading-[1.7] text-muted">Vetted drivers, live trip sharing, and a one-tap help button connected to a real team.</p></div>
</div>
<div class="reveal flex gap-4">
<span class="mt-0.5 grid h-10 w-10 shrink-0 place-items-center rounded-xl bg-veer/15 text-veer"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="m13 2-9 12h7l-1 8 9-12h-7l1-8Z" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></svg></span>
<div><h3 class="font-display text-lg font-600">A greener fleet</h3><p class="mt-1 text-sm leading-[1.7] text-muted">Choose Veer Electric at no extra cost and cut the carbon on your commute.</p></div>
</div>
</div>
</div>
</div>
</section>
<!-- TESTIMONIAL -->
<section class="mx-auto max-w-5xl px-6 py-16">
<figure class="reveal rounded-[2rem] border border-white/10 bg-surface p-10 text-center shadow-card sm:p-14">
<div class="mb-5 flex justify-center gap-1">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="m12 2 2.9 6.3 6.9.6-5.2 4.5 1.6 6.7L12 17l-6.2 3.6 1.6-6.7L2.2 8.9l6.9-.6L12 2Z" fill="#FF6A3D"/></svg>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="m12 2 2.9 6.3 6.9.6-5.2 4.5 1.6 6.7L12 17l-6.2 3.6 1.6-6.7L2.2 8.9l6.9-.6L12 2Z" fill="#FF6A3D"/></svg>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="m12 2 2.9 6.3 6.9.6-5.2 4.5 1.6 6.7L12 17l-6.2 3.6 1.6-6.7L2.2 8.9l6.9-.6L12 2Z" fill="#FF6A3D"/></svg>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="m12 2 2.9 6.3 6.9.6-5.2 4.5 1.6 6.7L12 17l-6.2 3.6 1.6-6.7L2.2 8.9l6.9-.6L12 2Z" fill="#FF6A3D"/></svg>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="m12 2 2.9 6.3 6.9.6-5.2 4.5 1.6 6.7L12 17l-6.2 3.6 1.6-6.7L2.2 8.9l6.9-.6L12 2Z" fill="#FF6A3D"/></svg>
</div>
<blockquote class="font-display text-2xl font-500 leading-[1.4] tracking-tightest sm:text-3xl">
"I booked a Veer Electric at 2am after a delayed flight. Car came in three minutes, fare was exactly what they quoted. This is how it should work."
</blockquote>
<figcaption class="mt-6 text-sm text-muted">Priya N. · Veer rider since 2024</figcaption>
</figure>
</section>
<!-- DOWNLOAD CTA -->
<section id="drive" class="mx-auto max-w-7xl px-6 py-16">
<div class="relative overflow-hidden rounded-[2.5rem] border border-white/10 bg-gradient-to-br from-veer-deep/30 via-surface to-surface p-10 shadow-card sm:p-16">
<div class="grain absolute inset-0"></div>
<div class="relative grid items-center gap-10 lg:grid-cols-2">
<div>
<h2 class="font-display text-4xl font-700 leading-tight tracking-tightest sm:text-5xl">Your next ride is one tap away</h2>
<p class="mt-4 max-w-md text-lg leading-[1.7] text-muted">Get the Veer app for instant booking, saved places, and rider rewards. Or start right here.</p>
<div class="mt-8 flex flex-wrap gap-3">
<button class="btn-primary flex items-center gap-3 rounded-2xl border border-white/15 bg-ink px-5 py-3 text-left hover:bg-ink/70">
<svg width="24" height="24" viewBox="0 0 24 24" fill="#F5F2EC"><path d="M16.4 12.9c0-2 1.6-3 1.7-3a3.6 3.6 0 0 0-2.9-1.6c-1.2-.1-2.4.7-3 .7s-1.6-.7-2.6-.7A4 4 0 0 0 6.2 11c-1.5 2.5-.4 6.3 1 8.4.7 1 1.5 2.2 2.6 2.1 1-.04 1.4-.7 2.7-.7s1.6.7 2.6.6c1.1 0 1.8-1 2.5-2a9 9 0 0 0 1.1-2.3c-.03 0-2.2-.8-2.2-3.2ZM14.5 6.2A3.5 3.5 0 0 0 15.3 3a3.6 3.6 0 0 0-2.3 1.2 3.3 3.3 0 0 0-.8 3 3 3 0 0 0 2.3-1Z"/></svg>
<span><span class="block text-[10px] text-muted">Download on the</span><span class="block text-sm font-600">App Store</span></span>
</button>
<button class="btn-primary flex items-center gap-3 rounded-2xl border border-white/15 bg-ink px-5 py-3 text-left hover:bg-ink/70">
<svg width="22" height="22" viewBox="0 0 24 24"><path d="M4 3.5 13 12l-9 8.5c-.3-.2-.5-.6-.5-1V4.5c0-.4.2-.8.5-1Z" fill="#4FE3A1"/><path d="m15 10 3 1.7c.7.4.7 1.4 0 1.8L15 15l-2.5-2.5L15 10Z" fill="#FF6A3D"/><path d="m4 3.5 11 6.5-2.5 2.5L4 3.5Z" fill="#FF8A5C"/><path d="m12.5 12.5 2.5 2.5-11 6.5 8.5-9Z" fill="#FFC7AE"/></svg>
<span><span class="block text-[10px] text-muted">Get it on</span><span class="block text-sm font-600">Google Play</span></span>
</button>
<button data-go="screen-book" class="btn-primary rounded-2xl bg-veer px-6 py-3 text-sm font-600 text-ink shadow-glow">Book in browser</button>
</div>
</div>
<div class="reveal relative mx-auto w-full max-w-xs">
<div class="rounded-[2.5rem] border-4 border-white/10 bg-ink p-3 shadow-card">
<div class="map overflow-hidden rounded-[1.8rem]">
<div class="flex h-[420px] flex-col">
<div class="flex items-center justify-between px-5 pt-5 text-xs text-muted"><span>9:41</span><span class="h-1.5 w-12 rounded-full bg-white/20"></span></div>
<div class="relative flex-1">
<svg viewBox="0 0 240 280" class="absolute inset-0 h-full w-full"><path class="route" d="M 40 230 C 90 180, 110 200, 150 150 S 200 70, 210 50"/><circle cx="40" cy="230" r="5" fill="#4FE3A1"/><g transform="translate(210 50)"><path d="M0 -16 C 7 -16 11 -10 11 -4 C 11 3 0 10 0 10 C 0 10 -11 3 -11 -4 C -11 -10 -7 -16 0 -16Z" fill="#FF6A3D"/></g></svg>
</div>
<div class="m-3 rounded-2xl bg-ink/90 p-4">
<div class="flex items-center gap-3">
<div class="h-9 w-9 rounded-full bg-gradient-to-br from-veer to-mint"></div>
<div class="leading-tight"><p class="text-sm font-600">Maya · 4.97 ★</p><p class="text-xs text-muted">Tesla Model 3 · Arriving</p></div>
<span class="ml-auto text-sm font-700 text-mint">2 min</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- FOOTER -->
<footer class="border-t border-white/10">
<div class="mx-auto grid max-w-7xl gap-10 px-6 py-14 md:grid-cols-[1.5fr_1fr_1fr_1fr]">
<div>
<a href="#" data-go="screen-home" class="flex items-center gap-2.5">
<span class="grid h-9 w-9 place-items-center rounded-xl bg-veer"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4 16l4-9a2 2 0 0 1 1.8-1.2h4.4A2 2 0 0 1 16 7l4 9" stroke="#0B0E14" stroke-width="2.2" stroke-linecap="round"/><circle cx="7.5" cy="16.5" r="1.6" fill="#0B0E14"/><circle cx="16.5" cy="16.5" r="1.6" fill="#0B0E14"/></svg></span>
<span class="font-display text-xl font-700 tracking-tightest">Veer</span>
</a>
<p class="mt-4 max-w-xs text-sm leading-[1.7] text-muted">The city, in motion. Reliable rides with upfront fares and a greener fleet.</p>
</div>
<div>
<p class="mb-4 text-sm font-600">Company</p>
<ul class="space-y-2.5 text-sm text-muted">
<li><a href="#" class="link-pill hover:text-cream">About</a></li>
<li><a href="#" class="link-pill hover:text-cream">Careers</a></li>
<li><a href="#" class="link-pill hover:text-cream">Newsroom</a></li>
</ul>
</div>
<div>
<p class="mb-4 text-sm font-600">Product</p>
<ul class="space-y-2.5 text-sm text-muted">
<li><a href="#rides" class="link-pill hover:text-cream">Ride types</a></li>
<li><a href="#features" class="link-pill hover:text-cream">Safety</a></li>
<li><a href="#drive" class="link-pill hover:text-cream">Drive with us</a></li>
</ul>
</div>
<div>
<p class="mb-4 text-sm font-600">Support</p>
<ul class="space-y-2.5 text-sm text-muted">
<li><a href="#" class="link-pill hover:text-cream">Help center</a></li>
<li><a href="#" class="link-pill hover:text-cream">Contact</a></li>
<li><a href="#" class="link-pill hover:text-cream">Privacy</a></li>
</ul>
</div>
</div>
<div class="border-t border-white/10 py-6 text-center text-xs text-muted">© 2026 Veer Mobility. A demo concept — not a real service.</div>
</footer>
</main>
<!-- ============================= APP FLOW SHELL ============================= -->
<!-- BOOK -->
<section id="screen-book" class="screen">
<div class="atmosphere grain min-h-screen">
<div class="mx-auto max-w-6xl px-6 py-6">
<!-- app header -->
<div class="mb-5 flex items-center justify-between">
<button data-go="screen-home" class="link-pill flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-4 py-2 text-sm text-muted hover:text-cream">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M19 12H5m6 6-6-6 6-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg> Home
</button>
<div class="flex items-center gap-2">
<span class="h-2 w-8 rounded-full bg-veer"></span>
<span class="h-2 w-8 rounded-full bg-white/15"></span>
<span class="h-2 w-8 rounded-full bg-white/15"></span>
</div>
</div>
<div class="grid gap-5 overflow-hidden rounded-[2rem] border border-white/10 shadow-card lg:grid-cols-[1.4fr_1fr]">
<!-- map -->
<div class="map relative min-h-[360px] lg:min-h-[560px]">
<svg viewBox="0 0 700 560" class="absolute inset-0 h-full w-full">
<line class="street" x1="0" y1="130" x2="700" y2="150"/>
<line class="street-major" x1="0" y1="300" x2="700" y2="320"/>
<line class="street" x1="0" y1="450" x2="700" y2="470"/>
<line class="street" x1="180" y1="0" x2="200" y2="560"/>
<line class="street-major" x1="400" y1="0" x2="380" y2="560"/>
<line class="street" x1="560" y1="0" x2="540" y2="560"/>
<path class="route" d="M 90 430 C 200 360, 260 420, 360 300 S 520 150, 600 110"/>
<circle class="pulse" cx="90" cy="430" r="6" fill="#4FE3A1"/>
<circle cx="90" cy="430" r="6" fill="#4FE3A1" stroke="#0B0E14" stroke-width="2"/>
<g class="pin" transform="translate(600 110)"><path d="M0 -22 C 10 -22 16 -14 16 -6 C 16 4 0 14 0 14 C 0 14 -16 4 -16 -6 C -16 -14 -10 -22 0 -22Z" fill="#FF6A3D"/><circle cy="-6" r="5" fill="#0B0E14"/></g>
</svg>
</div>
<!-- panel -->
<div class="bg-surface p-7">
<h1 class="font-display text-2xl font-700 tracking-tightest">Where are you headed?</h1>
<p class="mt-1 text-sm text-muted">Set your route to see upfront fares.</p>
<div class="mt-6 space-y-2.5">
<label class="field flex items-center gap-3 rounded-2xl border border-white/10 bg-ink/60 px-4 py-3.5">
<span class="h-2.5 w-2.5 rounded-full bg-mint"></span>
<input class="w-full bg-transparent text-sm outline-none" value="Home · 22 Marlow St" />
</label>
<label class="field flex items-center gap-3 rounded-2xl border border-white/10 bg-ink/60 px-4 py-3.5">
<span class="h-2.5 w-2.5 rounded-sm bg-veer"></span>
<input id="dest-input" class="w-full bg-transparent text-sm outline-none" placeholder="Where to?" value="City Airport · Terminal 2" />
</label>
</div>
<p class="mt-6 mb-3 text-xs font-600 uppercase tracking-[0.18em] text-muted">Recent</p>
<div class="space-y-1.5">
<button class="link-pill flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm hover:bg-white/5">
<span class="grid h-8 w-8 place-items-center rounded-lg bg-white/10 text-muted"><svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M12 8v4l3 2" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/></svg></span>
<span><span class="block">City Airport</span><span class="block text-xs text-muted">Terminal 2 · 18 km</span></span>
</button>
<button class="link-pill flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm hover:bg-white/5">
<span class="grid h-8 w-8 place-items-center rounded-lg bg-white/10 text-muted"><svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M3 10.5 12 4l9 6.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1v-9.5Z" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></svg></span>
<span><span class="block">The office</span><span class="block text-xs text-muted">Pier 14 · 6 km</span></span>
</button>
</div>
<div class="mt-6 flex gap-2">
<button class="flex-1 rounded-2xl border border-veer bg-veer/10 px-4 py-2.5 text-sm font-600 text-veer-light">Ride now</button>
<button class="link-pill flex-1 rounded-2xl border border-white/10 px-4 py-2.5 text-sm font-500 text-muted hover:text-cream">Schedule</button>
</div>
<button data-go="screen-confirm" class="btn-primary mt-4 flex w-full items-center justify-center gap-2 rounded-2xl bg-veer py-4 text-sm font-600 text-ink shadow-glow">
Find rides
<svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M5 12h14m-6-6 6 6-6 6" stroke="#0B0E14" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- CONFIRM / CHOOSE RIDE -->
<section id="screen-confirm" class="screen">
<div class="atmosphere grain min-h-screen">
<div class="mx-auto max-w-6xl px-6 py-6">
<div class="mb-5 flex items-center justify-between">
<button data-go="screen-book" class="link-pill flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-4 py-2 text-sm text-muted hover:text-cream">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M19 12H5m6 6-6-6 6-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg> Edit route
</button>
<div class="flex items-center gap-2">
<span class="h-2 w-8 rounded-full bg-veer"></span>
<span class="h-2 w-8 rounded-full bg-veer"></span>
<span class="h-2 w-8 rounded-full bg-white/15"></span>
</div>
</div>
<div class="grid gap-5 overflow-hidden rounded-[2rem] border border-white/10 shadow-card lg:grid-cols-[1.4fr_1fr]">
<div class="map relative min-h-[300px] lg:min-h-[600px]">
<svg viewBox="0 0 700 600" class="absolute inset-0 h-full w-full">
<line class="street" x1="0" y1="150" x2="700" y2="170"/>
<line class="street-major" x1="0" y1="330" x2="700" y2="350"/>
<line class="street" x1="220" y1="0" x2="240" y2="600"/>
<line class="street-major" x1="440" y1="0" x2="420" y2="600"/>
<path class="route" d="M 90 460 C 200 380, 260 440, 360 320 S 520 160, 600 120"/>
<circle cx="90" cy="460" r="6" fill="#4FE3A1" stroke="#0B0E14" stroke-width="2"/>
<g class="pin" transform="translate(600 120)"><path d="M0 -22 C 10 -22 16 -14 16 -6 C 16 4 0 14 0 14 C 0 14 -16 4 -16 -6 C -16 -14 -10 -22 0 -22Z" fill="#FF6A3D"/><circle cy="-6" r="5" fill="#0B0E14"/></g>
</svg>
<div class="absolute left-5 top-5 rounded-2xl border border-white/10 bg-ink/80 px-4 py-3 text-sm backdrop-blur">
<p class="flex items-center gap-2 text-muted"><span class="h-2 w-2 rounded-full bg-mint"></span> 22 Marlow St</p>
<p class="mt-1.5 flex items-center gap-2 text-muted"><span class="h-2 w-2 rounded-sm bg-veer"></span> City Airport · T2</p>
</div>
<div class="absolute bottom-5 left-5 rounded-full border border-white/10 bg-ink/80 px-4 py-2 text-xs backdrop-blur">18 km · ~24 min</div>
</div>
<div class="flex flex-col bg-surface p-7">
<h1 class="font-display text-2xl font-700 tracking-tightest">Choose a ride</h1>
<p class="mt-1 text-sm text-muted">Prices are upfront — what you see is what you pay.</p>
<div class="mt-6 space-y-2.5" id="ride-list">
<button class="ride-option flex w-full items-center gap-4 rounded-2xl border border-white/10 bg-ink/40 p-3.5 text-left" data-name="Veer Go" data-price="$11.40" aria-pressed="true">
<span class="grid h-12 w-12 place-items-center rounded-xl bg-white/10"><svg width="26" height="26" viewBox="0 0 24 24" fill="none"><path d="M4 16l4-9a2 2 0 0 1 1.8-1.2h4.4A2 2 0 0 1 16 7l4 9" stroke="#F5F2EC" stroke-width="2" stroke-linecap="round"/><circle cx="7.5" cy="16.5" r="1.6" fill="#F5F2EC"/><circle cx="16.5" cy="16.5" r="1.6" fill="#F5F2EC"/></svg></span>
<span class="flex-1"><span class="flex items-center gap-2 font-600">Veer Go <span class="rounded bg-white/10 px-1.5 py-0.5 text-[10px] text-muted">4 seats</span></span><span class="block text-xs text-muted">2 min away · arrives 6:24</span></span>
<span class="text-right"><span class="block font-display font-700">$11.40</span></span>
</button>
<button class="ride-option flex w-full items-center gap-4 rounded-2xl border border-white/10 bg-ink/40 p-3.5 text-left" data-name="Veer Electric" data-price="$14.20" aria-pressed="false">
<span class="grid h-12 w-12 place-items-center rounded-xl bg-mint/15"><svg width="26" height="26" viewBox="0 0 24 24" fill="none"><path d="M4 16l4-9a2 2 0 0 1 1.8-1.2h4.4A2 2 0 0 1 16 7l4 9" stroke="#4FE3A1" stroke-width="2" stroke-linecap="round"/><circle cx="7.5" cy="16.5" r="1.6" fill="#4FE3A1"/><circle cx="16.5" cy="16.5" r="1.6" fill="#4FE3A1"/></svg></span>
<span class="flex-1"><span class="flex items-center gap-2 font-600">Veer Electric <span class="rounded bg-mint/15 px-1.5 py-0.5 text-[10px] text-mint">EV</span></span><span class="block text-xs text-muted">3 min away · arrives 6:25</span></span>
<span class="text-right"><span class="block font-display font-700">$14.20</span></span>
</button>
<button class="ride-option flex w-full items-center gap-4 rounded-2xl border border-white/10 bg-ink/40 p-3.5 text-left" data-name="Veer Comfort" data-price="$22.80" aria-pressed="false">
<span class="grid h-12 w-12 place-items-center rounded-xl bg-white/10"><svg width="26" height="26" viewBox="0 0 24 24" fill="none"><path d="M4 16l4-9a2 2 0 0 1 1.8-1.2h4.4A2 2 0 0 1 16 7l4 9" stroke="#F5F2EC" stroke-width="2" stroke-linecap="round"/><circle cx="7.5" cy="16.5" r="1.6" fill="#F5F2EC"/><circle cx="16.5" cy="16.5" r="1.6" fill="#F5F2EC"/></svg></span>
<span class="flex-1"><span class="flex items-center gap-2 font-600">Veer Comfort <span class="rounded bg-white/10 px-1.5 py-0.5 text-[10px] text-muted">Premium</span></span><span class="block text-xs text-muted">5 min away · arrives 6:27</span></span>
<span class="text-right"><span class="block font-display font-700">$22.80</span></span>
</button>
<button class="ride-option flex w-full items-center gap-4 rounded-2xl border border-white/10 bg-ink/40 p-3.5 text-left" data-name="Veer XL" data-price="$26.50" aria-pressed="false">
<span class="grid h-12 w-12 place-items-center rounded-xl bg-white/10"><svg width="26" height="26" viewBox="0 0 24 24" fill="none"><path d="M3 16l3-9a2 2 0 0 1 1.9-1.3h8.2A2 2 0 0 1 18 7l3 9" stroke="#F5F2EC" stroke-width="2" stroke-linecap="round"/><circle cx="6.5" cy="16.5" r="1.6" fill="#F5F2EC"/><circle cx="17.5" cy="16.5" r="1.6" fill="#F5F2EC"/></svg></span>
<span class="flex-1"><span class="flex items-center gap-2 font-600">Veer XL <span class="rounded bg-white/10 px-1.5 py-0.5 text-[10px] text-muted">6 seats</span></span><span class="block text-xs text-muted">6 min away · arrives 6:28</span></span>
<span class="text-right"><span class="block font-display font-700">$26.50</span></span>
</button>
</div>
<div class="mt-5 flex items-center justify-between rounded-2xl border border-white/10 bg-ink/40 px-4 py-3">
<div class="flex items-center gap-3">
<span class="grid h-9 w-9 place-items-center rounded-lg bg-white/10"><svg width="18" height="18" viewBox="0 0 24 24" fill="none"><rect x="3" y="6" width="18" height="12" rx="2" stroke="#F5F2EC" stroke-width="2"/><path d="M3 10h18" stroke="#F5F2EC" stroke-width="2"/></svg></span>
<span class="text-sm"><span class="block font-600">•••• 4821</span><span class="block text-xs text-muted">Personal · Visa</span></span>
</div>
<button class="link-pill text-xs font-600 text-veer-light hover:text-veer">Change</button>
</div>
<button data-go="screen-track" id="confirm-btn" class="btn-primary mt-5 flex w-full items-center justify-center gap-2 rounded-2xl bg-veer py-4 text-sm font-600 text-ink shadow-glow">
Confirm Veer Go · $11.40
</button>
</div>
</div>
</div>
</div>
</section>
<!-- TRACKING -->
<section id="screen-track" class="screen">
<div class="atmosphere grain min-h-screen">
<div class="mx-auto max-w-6xl px-6 py-6">
<div class="mb-5 flex items-center justify-between">
<button data-go="screen-home" class="link-pill flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-4 py-2 text-sm text-muted hover:text-cream">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M19 12H5m6 6-6-6 6-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg> Home
</button>
<div class="flex items-center gap-2">
<span class="h-2 w-8 rounded-full bg-veer"></span>
<span class="h-2 w-8 rounded-full bg-veer"></span>
<span class="h-2 w-8 rounded-full bg-veer"></span>
</div>
</div>
<div class="grid gap-5 overflow-hidden rounded-[2rem] border border-white/10 shadow-card lg:grid-cols-[1.4fr_1fr]">
<div class="map relative min-h-[340px] lg:min-h-[600px]">
<svg viewBox="0 0 700 560" class="absolute inset-0 h-full w-full">
<line class="street" x1="0" y1="120" x2="700" y2="140"/>
<line class="street-major" x1="0" y1="300" x2="700" y2="320"/>
<line class="street" x1="0" y1="460" x2="700" y2="480"/>
<line class="street" x1="200" y1="0" x2="220" y2="560"/>
<line class="street-major" x1="420" y1="0" x2="400" y2="560"/>
<path d="M 70 250 C 180 180, 240 320, 360 240 S 560 120, 680 170" fill="none" stroke="#FF6A3D" stroke-width="4" stroke-linecap="round" opacity="0.35" stroke-dasharray="2 10"/>
<circle class="pulse" cx="680" cy="170" r="6" fill="#4FE3A1"/>
<circle cx="680" cy="170" r="6" fill="#4FE3A1" stroke="#0B0E14" stroke-width="2"/>
</svg>
<!-- moving car -->
<div class="car-marker absolute left-0 top-0">
<span class="grid h-11 w-11 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full bg-veer shadow-glow ring-4 ring-veer/25">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none"><path d="M4 16l4-9a2 2 0 0 1 1.8-1.2h4.4A2 2 0 0 1 16 7l4 9" stroke="#0B0E14" stroke-width="2.2" stroke-linecap="round"/><circle cx="7.5" cy="16.5" r="1.6" fill="#0B0E14"/><circle cx="16.5" cy="16.5" r="1.6" fill="#0B0E14"/></svg>
</span>
</div>
<div class="absolute right-5 top-5 rounded-2xl border border-mint/30 bg-ink/85 px-4 py-3 text-sm backdrop-blur">
<p class="text-xs text-muted">Driver arriving in</p>
<p class="font-display text-2xl font-700 text-mint"><span id="eta">2:00</span></p>
</div>
</div>
<div class="flex flex-col bg-surface p-7">
<span class="inline-flex w-fit items-center gap-2 rounded-full bg-mint/15 px-3 py-1 text-xs font-600 text-mint"><span class="h-1.5 w-1.5 rounded-full bg-mint"></span> Driver on the way</span>
<!-- driver card -->
<div class="mt-5 flex items-center gap-4 rounded-2xl border border-white/10 bg-ink/40 p-4">
<div class="grid h-16 w-16 shrink-0 place-items-center rounded-2xl bg-gradient-to-br from-veer to-mint text-xl font-700 text-ink">M</div>
<div class="flex-1">
<p class="font-display text-lg font-700">Maya R.</p>
<p class="flex items-center gap-1.5 text-sm text-muted"><svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="m12 2 2.9 6.3 6.9.6-5.2 4.5 1.6 6.7L12 17l-6.2 3.6 1.6-6.7L2.2 8.9l6.9-.6L12 2Z" fill="#FF6A3D"/></svg> 4.97 · 3,210 trips</p>
</div>
<div class="text-right">
<p class="font-600">Tesla Model 3</p>
<p class="text-sm text-muted">White</p>
<p class="mt-1 inline-block rounded-md bg-white/10 px-2 py-0.5 font-display text-sm font-700 tracking-wider">VEER · 042</p>
</div>
</div>
<!-- actions -->
<div class="mt-4 grid grid-cols-3 gap-2.5">
<button class="btn-primary flex flex-col items-center gap-1.5 rounded-2xl border border-white/10 bg-ink/40 py-3.5 text-xs font-500 hover:bg-white/5">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M5 4h3l1.5 5-2 1.5a12 12 0 0 0 6 6l1.5-2 5 1.5V20a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1Z" stroke="#4FE3A1" stroke-width="2" stroke-linejoin="round"/></svg> Call
</button>
<button class="btn-primary flex flex-col items-center gap-1.5 rounded-2xl border border-white/10 bg-ink/40 py-3.5 text-xs font-500 hover:bg-white/5">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4 5h16v11H8l-4 4V5Z" stroke="#FF8A5C" stroke-width="2" stroke-linejoin="round"/></svg> Message
</button>
<button class="btn-primary flex flex-col items-center gap-1.5 rounded-2xl border border-white/10 bg-ink/40 py-3.5 text-xs font-500 hover:bg-white/5">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4 12v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7" stroke="#F5F2EC" stroke-width="2" stroke-linecap="round"/><path d="M12 15V3m0 0L8 7m4-4 4 4" stroke="#F5F2EC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg> Share
</button>
</div>
<!-- progress -->
<div class="mt-6">
<div class="flex items-center">
<span class="step-dot done grid h-7 w-7 place-items-center rounded-full bg-mint text-ink"><svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="m5 13 4 4L19 7" stroke="#0B0E14" stroke-width="3" stroke-linecap="round"/></svg></span>
<span class="step-line done h-1 flex-1 bg-mint"></span>
<span class="step-dot grid h-7 w-7 place-items-center rounded-full bg-white/15"></span>
<span class="step-line h-1 flex-1 bg-white/15"></span>
<span class="step-dot grid h-7 w-7 place-items-center rounded-full bg-white/15"></span>
</div>
<div class="mt-2 flex justify-between text-xs text-muted">
<span class="text-mint">Matched</span><span>Arriving</span><span>On trip</span>
</div>
</div>
<div class="mt-6 flex items-center justify-between rounded-2xl border border-white/10 bg-ink/40 px-4 py-3 text-sm">
<div>
<p class="text-xs text-muted">Veer Go · to City Airport T2</p>
<p class="font-600">Fare locked</p>
</div>
<span class="font-display text-lg font-700 text-veer-light">$11.40</span>
</div>
<button data-go="screen-home" class="link-pill mt-auto pt-5 text-center text-sm font-500 text-muted hover:text-cream">Cancel ride</button>
</div>
</div>
</div>
</div>
</section>
<script>
// ---- Screen navigation ----
const screens = document.querySelectorAll('.screen');
function showScreen(id) {
screens.forEach((s) => s.classList.toggle('active', s.id === id));
window.scrollTo({ top: 0, behavior: 'instant' in window ? 'instant' : 'auto' });
runReveal();
if (id === 'screen-track') startTracking();
}
document.addEventListener('click', (e) => {
const t = e.target.closest('[data-go]');
if (!t) return;
e.preventDefault();
const id = t.getAttribute('data-go');
history.replaceState(null, '', id === 'screen-home' ? '#' : '#' + id);
showScreen(id);
});
// Deep-link support (used for screenshots and shareable links)
const valid = new Set(['screen-home', 'screen-book', 'screen-confirm', 'screen-track']);
const initial = location.hash.replace('#', '');
if (valid.has(initial)) showScreen(initial);
// ---- Ride selection ----
const confirmBtn = document.getElementById('confirm-btn');
document.getElementById('ride-list').addEventListener('click', (e) => {
const opt = e.target.closest('.ride-option');
if (!opt) return;
document.querySelectorAll('.ride-option').forEach((o) => o.setAttribute('aria-pressed', 'false'));
opt.setAttribute('aria-pressed', 'true');
confirmBtn.textContent = `Confirm ${opt.dataset.name} · ${opt.dataset.price}`;
});
// ---- Tracking ETA countdown ----
let etaTimer = null;
function startTracking() {
const el = document.getElementById('eta');
let secs = 120;
clearInterval(etaTimer);
etaTimer = setInterval(() => {
secs = Math.max(0, secs - 1);
const m = Math.floor(secs / 60);
const s = String(secs % 60).padStart(2, '0');
el.textContent = `${m}:${s}`;
if (secs === 0) { el.textContent = 'Arrived'; clearInterval(etaTimer); }
}, 1000);
}
// ---- Scroll reveal ----
const io = new IntersectionObserver((entries) => {
entries.forEach((en) => { if (en.isIntersecting) { en.target.classList.add('in'); io.unobserve(en.target); } });
}, { threshold: 0.15 });
function runReveal() {
document.querySelectorAll('.screen.active .reveal:not(.in)').forEach((el) => io.observe(el));
}
runReveal();
</script>
</body>
</html>