File size: 47,850 Bytes
9a2992e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Build.Web4 - Membership & Billing</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .neumorphic {
            box-shadow: 8px 8px 16px #0f172a,
                       -8px -8px 16px #1e293b;
        }
        .neumorphic-inset {
            box-shadow: inset 4px 4px 8px #0f172a,
                       inset -4px -4px 8px #1e293b;
        }
        .plan-card {
            transition: all 0.3s ease;
        }
        .plan-card:hover {
            transform: translateY(-5px);
        }
        .selected-plan {
            border: 2px solid #3b82f6;
            background-color: rgba(59, 130, 246, 0.1);
        }
        .tab-active {
            border-bottom: 3px solid #3b82f6;
            color: #3b82f6;
        }
        .slide-fade-enter-active {
            transition: all 0.3s ease;
        }
        .slide-fade-leave-active {
            transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
        }
        .slide-fade-enter-from,
        .slide-fade-leave-to {
            transform: translateX(20px);
            opacity: 0;
        }
    </style>
</head>
<body class="bg-slate-900 text-gray-100 min-h-screen">
    <div class="container mx-auto px-4 py-12">
        <!-- Header -->
        <header class="text-center mb-12">
            <h1 class="text-4xl font-bold mb-2 bg-gradient-to-r from-blue-400 to-blue-600 text-transparent bg-clip-text">Build.Web4</h1>
            <p class="text-lg text-blue-300">Membership, Payment & Billing Portal</p>
        </header>

        <div class="max-w-6xl mx-auto">
            <!-- Progress Steps -->
            <div class="flex justify-between mb-12 relative">
                <div class="absolute top-1/2 left-0 right-0 h-1 bg-slate-800 -z-10"></div>
                <div class="step flex flex-col items-center" id="step1">
                    <div class="w-12 h-12 rounded-full bg-blue-600 flex items-center justify-center mb-2">
                        <span class="text-white font-bold">1</span>
                    </div>
                    <span class="text-sm">Registration</span>
                </div>
                <div class="step flex flex-col items-center" id="step2">
                    <div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2">
                        <span class="text-white font-bold">2</span>
                    </div>
                    <span class="text-sm text-slate-400">Plan Selection</span>
                </div>
                <div class="step flex flex-col items-center" id="step3">
                    <div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2">
                        <span class="text-white font-bold">3</span>
                    </div>
                    <span class="text-sm text-slate-400">Payment</span>
                </div>
                <div class="step flex flex-col items-center" id="step4">
                    <div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2">
                        <span class="text-white font-bold">4</span>
                    </div>
                    <span class="text-sm text-slate-400">Confirmation</span>
                </div>
            </div>

            <!-- Main Content -->
            <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
                <!-- Registration Form -->
                <div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic" id="registrationForm">
                    <h2 class="text-2xl font-bold mb-6">Member Registration</h2>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <div>
                            <label class="block text-sm font-medium mb-2">Full Name</label>
                            <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-2">Professional Title</label>
                            <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-2">Country</label>
                            <select class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                <option>Select Country</option>
                                <option>United States</option>
                                <option>United Kingdom</option>
                                <option>Canada</option>
                                <option>Australia</option>
                            </select>
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-2">Region</label>
                            <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-2">Company Name (Optional)</label>
                            <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-2">Website URL (Optional)</label>
                            <input type="url" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-2">Email</label>
                            <input type="email" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-2">Phone Number</label>
                            <input type="tel" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                    </div>

                    <div class="mt-8">
                        <h3 class="text-lg font-medium mb-4">Social Media Handles</h3>
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                            <div class="flex items-center">
                                <span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-twitter"></i></span>
                                <input type="text" placeholder="@username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none">
                            </div>
                            <div class="flex items-center">
                                <span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-linkedin"></i></span>
                                <input type="text" placeholder="linkedin.com/in/username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none">
                            </div>
                            <div class="flex items-center">
                                <span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-github"></i></span>
                                <input type="text" placeholder="github.com/username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none">
                            </div>
                            <div class="flex items-center">
                                <span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-instagram"></i></span>
                                <input type="text" placeholder="@username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none">
                            </div>
                        </div>
                    </div>

                    <div class="mt-8">
                        <button id="nextToPlans" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300">
                            Continue to Plan Selection
                        </button>
                    </div>
                </div>

                <!-- Plan Selection (Hidden Initially) -->
                <div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="planSelection">
                    <h2 class="text-2xl font-bold mb-6">Select Your Membership Plan</h2>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
                        <div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="ai">
                            <div class="flex justify-between items-start mb-4">
                                <h3 class="text-xl font-bold">Build.AI.Tools</h3>
                                <span class="bg-blue-900 text-blue-300 px-3 py-1 rounded-full text-sm">Popular</span>
                            </div>
                            <p class="text-slate-400 mb-4">Access to all AI development tools and APIs</p>
                            <div class="text-3xl font-bold mb-4">$49<span class="text-lg text-slate-400">/month</span></div>
                            <ul class="space-y-2 mb-6">
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 100 API calls/day</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> GPT-4 integration</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Custom model training</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Analytics dashboard</li>
                            </ul>
                            <button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn">
                                Select Plan
                            </button>
                        </div>
                        <div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="marketplace">
                            <h3 class="text-xl font-bold mb-4">Build.Marketplace</h3>
                            <p class="text-slate-400 mb-4">Complete e-commerce platform solutions</p>
                            <div class="text-3xl font-bold mb-4">$79<span class="text-lg text-slate-400">/month</span></div>
                            <ul class="space-y-2 mb-6">
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Unlimited products</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Payment gateway integration</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Inventory management</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Customer analytics</li>
                            </ul>
                            <button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn">
                                Select Plan
                            </button>
                        </div>
                        <div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="digitaltwin">
                            <h3 class="text-xl font-bold mb-4">Build.Digital Twin</h3>
                            <p class="text-slate-400 mb-4">Digital twin technology for IoT solutions</p>
                            <div class="text-3xl font-bold mb-4">$129<span class="text-lg text-slate-400">/month</span></div>
                            <ul class="space-y-2 mb-6">
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 5 digital twin models</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Real-time data sync</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Predictive analytics</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 3D visualization</li>
                            </ul>
                            <button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn">
                                Select Plan
                            </button>
                        </div>
                        <div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="iot">
                            <h3 class="text-xl font-bold mb-4">Build.IoT</h3>
                            <p class="text-slate-400 mb-4">Complete IoT device management platform</p>
                            <div class="text-3xl font-bold mb-4">$199<span class="text-lg text-slate-400">/month</span></div>
                            <ul class="space-y-2 mb-6">
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 100 device connections</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Edge computing</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Data encryption</li>
                                <li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Custom dashboards</li>
                            </ul>
                            <button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn">
                                Select Plan
                            </button>
                        </div>
                    </div>

                    <div class="flex justify-between mt-6">
                        <button id="backToRegistration" class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300">
                            <i class="fas fa-arrow-left mr-2"></i> Back
                        </button>
                        <button id="nextToPayment" class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 hidden">
                            Continue to Payment <i class="fas fa-arrow-right ml-2"></i>
                        </button>
                    </div>
                </div>

                <!-- Payment Section (Hidden Initially) -->
                <div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="paymentSection">
                    <h2 class="text-2xl font-bold mb-6">Payment Information</h2>
                    
                    <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
                        <!-- Payment Methods -->
                        <div>
                            <h3 class="text-lg font-medium mb-4">Payment Method</h3>
                            <div class="space-y-4">
                                <div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500">
                                    <input type="radio" name="paymentMethod" id="creditCard" class="mr-3" checked>
                                    <label for="creditCard" class="flex-1 cursor-pointer">
                                        <div class="flex items-center">
                                            <i class="far fa-credit-card text-xl mr-3"></i>
                                            <span>Credit/Debit Card</span>
                                        </div>
                                    </label>
                                </div>
                                <div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500">
                                    <input type="radio" name="paymentMethod" id="bankTransfer" class="mr-3">
                                    <label for="bankTransfer" class="flex-1 cursor-pointer">
                                        <div class="flex items-center">
                                            <i class="fas fa-university text-xl mr-3"></i>
                                            <span>Bank Transfer</span>
                                        </div>
                                    </label>
                                </div>
                                <div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500">
                                    <input type="radio" name="paymentMethod" id="ach" class="mr-3">
                                    <label for="ach" class="flex-1 cursor-pointer">
                                        <div class="flex items-center">
                                            <i class="fas fa-exchange-alt text-xl mr-3"></i>
                                            <span>ACH Payment</span>
                                        </div>
                                    </label>
                                </div>
                            </div>

                            <!-- Credit Card Form (Visible when credit card is selected) -->
                            <div id="creditCardForm" class="mt-6">
                                <div class="mb-4">
                                    <label class="block text-sm font-medium mb-2">Card Number</label>
                                    <div class="relative">
                                        <input type="text" placeholder="1234 5678 9012 3456" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                        <div class="absolute right-3 top-3 flex space-x-2">
                                            <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/visa/visa-original.svg" class="w-8 h-5" alt="Visa">
                                            <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mastercard/mastercard-original.svg" class="w-8 h-5" alt="Mastercard">
                                            <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/apple/apple-original.svg" class="w-8 h-5" alt="Apple Pay">
                                        </div>
                                    </div>
                                </div>
                                <div class="grid grid-cols-2 gap-4 mb-4">
                                    <div>
                                        <label class="block text-sm font-medium mb-2">Expiry Date</label>
                                        <input type="text" placeholder="MM/YY" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                    </div>
                                    <div>
                                        <label class="block text-sm font-medium mb-2">CVV</label>
                                        <input type="text" placeholder="123" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                    </div>
                                </div>
                                <div>
                                    <label class="block text-sm font-medium mb-2">Name on Card</label>
                                    <input type="text" placeholder="John Doe" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                </div>
                            </div>

                            <!-- Bank Transfer Form (Hidden initially) -->
                            <div id="bankTransferForm" class="mt-6 hidden">
                                <div class="mb-4">
                                    <label class="block text-sm font-medium mb-2">Bank Name</label>
                                    <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                </div>
                                <div class="mb-4">
                                    <label class="block text-sm font-medium mb-2">Account Number</label>
                                    <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                </div>
                                <div class="mb-4">
                                    <label class="block text-sm font-medium mb-2">Routing Number</label>
                                    <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                </div>
                            </div>

                            <!-- ACH Form (Hidden initially) -->
                            <div id="achForm" class="mt-6 hidden">
                                <div class="mb-4">
                                    <label class="block text-sm font-medium mb-2">Account Type</label>
                                    <select class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                        <option>Checking</option>
                                        <option>Savings</option>
                                    </select>
                                </div>
                                <div class="mb-4">
                                    <label class="block text-sm font-medium mb-2">Account Number</label>
                                    <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                </div>
                                <div class="mb-4">
                                    <label class="block text-sm font-medium mb-2">Routing Number</label>
                                    <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                </div>
                            </div>
                        </div>

                        <!-- Billing Information -->
                        <div>
                            <h3 class="text-lg font-medium mb-4">Billing Information</h3>
                            
                            <div class="mb-6">
                                <div class="flex space-x-4 mb-4">
                                    <button id="individualTab" class="tab-active pb-2 font-medium">Individual</button>
                                    <button id="businessTab" class="pb-2 font-medium text-slate-400">Business</button>
                                </div>
                                
                                <!-- Individual Billing -->
                                <div id="individualBilling">
                                    <div class="mb-4">
                                        <label class="block text-sm font-medium mb-2">Billing Address</label>
                                        <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                    </div>
                                    <div class="grid grid-cols-2 gap-4 mb-4">
                                        <div>
                                            <label class="block text-sm font-medium mb-2">City</label>
                                            <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                        </div>
                                        <div>
                                            <label class="block text-sm font-medium mb-2">ZIP Code</label>
                                            <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- Business Billing (Hidden initially) -->
                                <div id="businessBilling" class="hidden">
                                    <div class="mb-4">
                                        <label class="block text-sm font-medium mb-2">Company Name</label>
                                        <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                    </div>
                                    <div class="mb-4">
                                        <label class="block text-sm font-medium mb-2">Tax ID</label>
                                        <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                    </div>
                                    <div class="mb-4">
                                        <label class="block text-sm font-medium mb-2">Billing Address</label>
                                        <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                    </div>
                                    <div class="grid grid-cols-2 gap-4 mb-4">
                                        <div>
                                            <label class="block text-sm font-medium mb-2">City</label>
                                            <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                        </div>
                                        <div>
                                            <label class="block text-sm font-medium mb-2">ZIP Code</label>
                                            <input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="bg-slate-700 p-4 rounded-lg">
                                <h4 class="font-medium mb-3">Invoice Preferences</h4>
                                <div class="flex items-center mb-2">
                                    <input type="checkbox" id="emailInvoice" class="mr-3" checked>
                                    <label for="emailInvoice">Email me invoices</label>
                                </div>
                                <div class="flex items-center">
                                    <input type="checkbox" id="paperInvoice" class="mr-3">
                                    <label for="paperInvoice">Send paper invoices</label>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="flex justify-between mt-8">
                        <button id="backToPlans" class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300">
                            <i class="fas fa-arrow-left mr-2"></i> Back
                        </button>
                        <button id="nextToConfirmation" class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300">
                            Complete Payment <i class="fas fa-lock ml-2"></i>
                        </button>
                    </div>
                </div>

                <!-- Confirmation Section (Hidden Initially) -->
                <div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="confirmationSection">
                    <div class="text-center py-8">
                        <div class="w-20 h-20 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-6">
                            <i class="fas fa-check text-3xl text-white"></i>
                        </div>
                        <h2 class="text-2xl font-bold mb-2">Payment Successful!</h2>
                        <p class="text-slate-400 mb-6">Thank you for subscribing to Build.Web4</p>
                        
                        <div class="max-w-md mx-auto bg-slate-700 rounded-lg p-6 mb-8">
                            <h3 class="font-medium mb-4">Order Summary</h3>
                            <div class="flex justify-between mb-2">
                                <span class="text-slate-400">Plan:</span>
                                <span class="font-medium" id="confirmedPlan">Build.AI.Tools</span>
                            </div>
                            <div class="flex justify-between mb-2">
                                <span class="text-slate-400">Billing Cycle:</span>
                                <span class="font-medium">Monthly</span>
                            </div>
                            <div class="flex justify-between mb-2">
                                <span class="text-slate-400">Amount Paid:</span>
                                <span class="font-medium" id="confirmedAmount">$49.00</span>
                            </div>
                            <div class="flex justify-between mb-2">
                                <span class="text-slate-400">Payment Method:</span>
                                <span class="font-medium">Visa ending in 4242</span>
                            </div>
                            <div class="border-t border-slate-600 my-4"></div>
                            <div class="flex justify-between font-medium">
                                <span>Next Billing Date:</span>
                                <span>May 1, 2023</span>
                            </div>
                        </div>
                        
                        <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
                            <button class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300">
                                Go to Dashboard <i class="fas fa-tachometer-alt ml-2"></i>
                            </button>
                            <button class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300">
                                Download Invoice <i class="fas fa-download ml-2"></i>
                            </button>
                        </div>
                    </div>
                </div>

                <!-- Order Summary Sidebar -->
                <div class="bg-slate-800 rounded-xl p-6 neumorphic h-fit sticky top-6" id="orderSummary">
                    <h2 class="text-xl font-bold mb-4">Order Summary</h2>
                    
                    <div class="mb-6 p-4 bg-slate-700 rounded-lg">
                        <div class="flex justify-between items-center mb-2">
                            <span class="font-medium">Selected Plan:</span>
                            <span class="text-blue-400" id="selectedPlanDisplay">None selected</span>
                        </div>
                        <div class="flex justify-between items-center mb-2">
                            <span class="font-medium">Billing Cycle:</span>
                            <span>Monthly</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <span class="font-medium">Amount Due:</span>
                            <span class="text-2xl font-bold" id="amountDueDisplay">$0.00</span>
                        </div>
                    </div>
                    
                    <div class="mb-6">
                        <h3 class="font-medium mb-2">Plan Features</h3>
                        <ul class="space-y-2 text-sm" id="planFeaturesDisplay">
                            <li class="flex items-center"><i class="fas fa-info-circle text-blue-500 mr-2"></i> Select a plan to view features</li>
                        </ul>
                    </div>
                    
                    <div class="bg-slate-700 p-4 rounded-lg">
                        <h3 class="font-medium mb-2">Supported Integrations</h3>
                        <div class="flex flex-wrap gap-3">
                            <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/microsoft/microsoft-original.svg" class="w-8 h-8" alt="Microsoft">
                            <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/amazonwebservices/amazonwebservices-original.svg" class="w-8 h-8" alt="AWS">
                            <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/google/google-original.svg" class="w-8 h-8" alt="Google">
                            <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/oracle/oracle-original.svg" class="w-8 h-8" alt="Oracle">
                            <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/salesforce/salesforce-original.svg" class="w-8 h-8" alt="Salesforce">
                        </div>
                    </div>
                    
                    <div class="mt-6 text-xs text-slate-400">
                        <p><i class="fas fa-lock mr-1"></i> All transactions are secured with 256-bit encryption</p>
                        <p class="mt-2"><i class="fas fa-sync-alt mr-1"></i> Cancel anytime with 30-day notice</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- Footer -->
        <footer class="mt-16 text-center text-slate-500 text-sm">
            <p>Powered by Web4.0 OS – WY.USA</p>
            <div class="flex justify-center space-x-4 mt-4">
                <a href="#" class="hover:text-blue-400"><i class="fab fa-github"></i></a>
                <a href="#" class="hover:text-blue-400"><i class="fab fa-twitter"></i></a>
                <a href="#" class="hover:text-blue-400"><i class="fab fa-linkedin"></i></a>
                <a href="#" class="hover:text-blue-400"><i class="fab fa-discord"></i></a>
            </div>
        </footer>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // Plan data
            const plans = {
                ai: {
                    name: "Build.AI.Tools",
                    price: "$49",
                    features: [
                        "100 API calls/day",
                        "GPT-4 integration",
                        "Custom model training",
                        "Analytics dashboard",
                        "Priority support"
                    ]
                },
                marketplace: {
                    name: "Build.Marketplace",
                    price: "$79",
                    features: [
                        "Unlimited products",
                        "Payment gateway integration",
                        "Inventory management",
                        "Customer analytics",
                        "Multi-vendor support"
                    ]
                },
                digitaltwin: {
                    name: "Build.Digital Twin",
                    price: "$129",
                    features: [
                        "5 digital twin models",
                        "Real-time data sync",
                        "Predictive analytics",
                        "3D visualization",
                        "IoT device integration"
                    ]
                },
                iot: {
                    name: "Build.IoT",
                    price: "$199",
                    features: [
                        "100 device connections",
                        "Edge computing",
                        "Data encryption",
                        "Custom dashboards",
                        "24/7 monitoring"
                    ]
                }
            };

            // DOM Elements
            const registrationForm = document.getElementById('registrationForm');
            const planSelection = document.getElementById('planSelection');
            const paymentSection = document.getElementById('paymentSection');
            const confirmationSection = document.getElementById('confirmationSection');
            const orderSummary = document.getElementById('orderSummary');
            const selectedPlanDisplay = document.getElementById('selectedPlanDisplay');
            const amountDueDisplay = document.getElementById('amountDueDisplay');
            const planFeaturesDisplay = document.getElementById('planFeaturesDisplay');
            const confirmedPlan = document.getElementById('confirmedPlan');
            const confirmedAmount = document.getElementById('confirmedAmount');
            
            const nextToPlansBtn = document.getElementById('nextToPlans');
            const backToRegistrationBtn = document.getElementById('backToRegistration');
            const nextToPaymentBtn = document.getElementById('nextToPayment');
            const backToPlansBtn = document.getElementById('backToPlans');
            const nextToConfirmationBtn = document.getElementById('nextToConfirmation');
            
            const planCards = document.querySelectorAll('.plan-card');
            const selectPlanBtns = document.querySelectorAll('.select-plan-btn');
            
            const creditCardRadio = document.getElementById('creditCard');
            const bankTransferRadio = document.getElementById('bankTransfer');
            const achRadio = document.getElementById('ach');
            const creditCardForm = document.getElementById('creditCardForm');
            const bankTransferForm = document.getElementById('bankTransferForm');
            const achForm = document.getElementById('achForm');
            
            const individualTab = document.getElementById('individualTab');
            const businessTab = document.getElementById('businessTab');
            const individualBilling = document.getElementById('individualBilling');
            const businessBilling = document.getElementById('businessBilling');
            
            const step1 = document.getElementById('step1');
            const step2 = document.getElementById('step2');
            const step3 = document.getElementById('step3');
            const step4 = document.getElementById('step4');

            // Current selected plan
            let selectedPlan = null;

            // Event Listeners
            nextToPlansBtn.addEventListener('click', function() {
                registrationForm.classList.add('hidden');
                planSelection.classList.remove('hidden');
                step1.querySelector('div').classList.remove('bg-blue-600');
                step1.querySelector('div').classList.add('bg-green-500');
                step2.querySelector('div').classList.remove('bg-slate-700');
                step2.querySelector('div').classList.add('bg-blue-600');
                step2.querySelector('span').classList.remove('text-slate-400');
            });

            backToRegistrationBtn.addEventListener('click', function() {
                planSelection.classList.add('hidden');
                registrationForm.classList.remove('hidden');
                step1.querySelector('div').classList.remove('bg-green-500');
                step1.querySelector('div').classList.add('bg-blue-600');
                step2.querySelector('div').classList.remove('bg-blue-600');
                step2.querySelector('div').classList.add('bg-slate-700');
                step2.querySelector('span').classList.add('text-slate-400');
            });

            nextToPaymentBtn.addEventListener('click', function() {
                planSelection.classList.add('hidden');
                paymentSection.classList.remove('hidden');
                step2.querySelector('div').classList.remove('bg-blue-600');
                step2.querySelector('div').classList.add('bg-green-500');
                step3.querySelector('div').classList.remove('bg-slate-700');
                step3.querySelector('div').classList.add('bg-blue-600');
                step3.querySelector('span').classList.remove('text-slate-400');
            });

            backToPlansBtn.addEventListener('click', function() {
                paymentSection.classList.add('hidden');
                planSelection.classList.remove('hidden');
                step2.querySelector('div').classList.remove('bg-green-500');
                step2.querySelector('div').classList.add('bg-blue-600');
                step3.querySelector('div').classList.remove('bg-blue-600');
                step3.querySelector('div').classList.add('bg-slate-700');
                step3.querySelector('span').classList.add('text-slate-400');
            });

            nextToConfirmationBtn.addEventListener('click', function() {
                paymentSection.classList.add('hidden');
                confirmationSection.classList.remove('hidden');
                step3.querySelector('div').classList.remove('bg-blue-600');
                step3.querySelector('div').classList.add('bg-green-500');
                step4.querySelector('div').classList.remove('bg-slate-700');
                step4.querySelector('div').classList.add('bg-blue-600');
                step4.querySelector('span').classList.remove('text-slate-400');
            });

            // Plan selection
            planCards.forEach(card => {
                card.addEventListener('click', function() {
                    // Remove selected class from all cards
                    planCards.forEach(c => {
                        c.classList.remove('selected-plan');
                        c.querySelector('button').textContent = 'Select Plan';
                        c.querySelector('button').classList.remove('bg-blue-800');
                        c.querySelector('button').classList.add('bg-blue-600');
                    });
                    
                    // Add selected class to clicked card
                    this.classList.add('selected-plan');
                    this.querySelector('button').textContent = 'Selected';
                    this.querySelector('button').classList.remove('bg-blue-600');
                    this.querySelector('button').classList.add('bg-blue-800');
                    
                    // Set selected plan
                    selectedPlan = this.dataset.plan;
                    
                    // Update order summary
                    updateOrderSummary();
                    
                    // Show next button
                    nextToPaymentBtn.classList.remove('hidden');
                });
            });

            // Payment method selection
            creditCardRadio.addEventListener('change', function() {
                if (this.checked) {
                    creditCardForm.classList.remove('hidden');
                    bankTransferForm.classList.add('hidden');
                    achForm.classList.add('hidden');
                }
            });

            bankTransferRadio.addEventListener('change', function() {
                if (this.checked) {
                    creditCardForm.classList.add('hidden');
                    bankTransferForm.classList.remove('hidden');
                    achForm.classList.add('hidden');
                }
            });

            achRadio.addEventListener('change', function() {
                if (this.checked) {
                    creditCardForm.classList.add('hidden');
                    bankTransferForm.classList.add('hidden');
                    achForm.classList.remove('hidden');
                }
            });

            // Billing type tabs
            individualTab.addEventListener('click', function() {
                individualTab.classList.add('tab-active');
                individualTab.classList.remove('text-slate-400');
                businessTab.classList.remove('tab-active');
                businessTab.classList.add('text-slate-400');
                individualBilling.classList.remove('hidden');
                businessBilling.classList.add('hidden');
            });

            businessTab.addEventListener('click', function() {
                businessTab.classList.add('tab-active');
                businessTab.classList.remove('text-slate-400');
                individualTab.classList.remove('tab-active');
                individualTab.classList.add('text-slate-400');
                businessBilling.classList.remove('hidden');
                individualBilling.classList.add('hidden');
            });

            // Update order summary
            function updateOrderSummary() {
                if (selectedPlan) {
                    const plan = plans[selectedPlan];
                    selectedPlanDisplay.textContent = plan.name;
                    amountDueDisplay.textContent = plan.price;
                    
                    // Update features list
                    planFeaturesDisplay.innerHTML = '';
                    plan.features.forEach(feature => {
                        const li = document.createElement('li');
                        li.className = 'flex items-center';
                        li.innerHTML = `<i class="fas fa-check-circle text-blue-500 mr-2"></i> ${feature}`;
                        planFeaturesDisplay.appendChild(li);
                    });
                    
                    // Update confirmation section
                    confirmedPlan.textContent = plan.name;
                    confirmedAmount.textContent = plan.price;
                }
            }
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Unnab/build-web4-payment-billing" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>