File size: 58,476 Bytes
04b1096
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AutoDomain Pro - Automatisation Complète</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>
        .progress-tracker {
            position: relative;
        }
        .progress-tracker::after {
            content: '';
            position: absolute;
            top: 0;
            left: 16px;
            height: 100%;
            width: 2px;
            background: #e5e7eb;
            z-index: 1;
        }
        .progress-step {
            position: relative;
            z-index: 2;
        }
        .progress-step.completed .step-icon {
            background-color: #10b981;
            border-color: #10b981;
            color: white;
        }
        .progress-step.active .step-icon {
            background-color: #3b82f6;
            border-color: #3b82f6;
            color: white;
        }
        .dns-server-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .automation-badge {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
            100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
        }
        #loginModal, #cartModal, #paymentModal {
            display: none;
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
        }
        .modal-content {
            background-color: #fefefe;
            margin: 10% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 500px;
            border-radius: 8px;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <div class="min-h-screen">
        <!-- Header -->
        <header class="bg-white shadow-sm">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex justify-between items-center">
                <div class="flex items-center">
                    <i class="fas fa-bolt text-blue-600 text-2xl mr-2"></i>
                    <span class="text-xl font-bold text-gray-900">AutoDomain Pro</span>
                </div>
                <div class="flex items-center space-x-4">
                    <span class="inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">
                        <i class="fas fa-circle-notch fa-spin mr-1"></i> SYSTÈME ACTIF 24/7
                    </span>
                    <button onclick="openCart()" class="relative bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                        <i class="fas fa-shopping-cart mr-1"></i> Panier
                        <span id="cartCount" class="absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">0</span>
                    </button>
                    <button id="loginBtn" onclick="openLoginModal()" class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-4 py-2 rounded-md text-sm font-medium">
                        <i class="fas fa-sign-in-alt mr-1"></i> Connexion
                    </button>
                </div>
            </div>
        </header>

        <!-- Login Modal -->
        <div id="loginModal" class="modal">
            <div class="modal-content">
                <span onclick="closeLoginModal()" class="float-right text-gray-500 hover:text-gray-700 cursor-pointer">&times;</span>
                <h2 class="text-2xl font-bold mb-4">Connexion Administrateur</h2>
                <form id="loginForm" onsubmit="return login()">
                    <div class="mb-4">
                        <label class="block text-gray-700 text-sm font-bold mb-2" for="email">Email</label>
                        <input type="email" id="email" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" required>
                    </div>
                    <div class="mb-6">
                        <label class="block text-gray-700 text-sm font-bold mb-2" for="password">Mot de passe</label>
                        <input type="password" id="password" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" required>
                    </div>
                    <div class="flex items-center justify-between">
                        <button type="submit" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
                            Se connecter
                        </button>
                    </div>
                </form>
            </div>
        </div>

        <!-- Cart Modal -->
        <div id="cartModal" class="modal">
            <div class="modal-content">
                <span onclick="closeCart()" class="float-right text-gray-500 hover:text-gray-700 cursor-pointer">&times;</span>
                <h2 class="text-2xl font-bold mb-4">Votre Panier</h2>
                <div id="cartItems" class="mb-4">
                    <!-- Cart items will be added here dynamically -->
                </div>
                <div class="border-t pt-4">
                    <div class="flex justify-between mb-4">
                        <span class="font-bold">Total:</span>
                        <span id="cartTotal" class="font-bold">0 €</span>
                    </div>
                    <button onclick="openPaymentModal()" class="w-full bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-4 rounded">
                        <i class="fas fa-credit-card mr-2"></i> Payer maintenant
                    </button>
                </div>
            </div>
        </div>

        <!-- Payment Modal -->
        <div id="paymentModal" class="modal">
            <div class="modal-content">
                <span onclick="closePaymentModal()" class="float-right text-gray-500 hover:text-gray-700 cursor-pointer">&times;</span>
                <h2 class="text-2xl font-bold mb-4">Méthode de Paiement</h2>
                <div class="mb-6">
                    <div class="flex items-center mb-4 p-4 border rounded-lg cursor-pointer hover:bg-gray-50" onclick="selectPayment('paypal')">
                        <input type="radio" name="paymentMethod" id="paypal" class="mr-3" checked>
                        <label for="paypal" class="flex items-center cursor-pointer">
                            <img src="https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_37x23.jpg" alt="PayPal" class="h-8 mr-2">
                            <span>PayPal</span>
                        </label>
                    </div>
                    <div class="flex items-center p-4 border rounded-lg cursor-pointer hover:bg-gray-50" onclick="selectPayment('stripe')">
                        <input type="radio" name="paymentMethod" id="stripe" class="mr-3">
                        <label for="stripe" class="flex items-center cursor-pointer">
                            <img src="https://stripe.com/img/v3/home/twitter.png" alt="Stripe" class="h-8 mr-2">
                            <span>Stripe</span>
                        </label>
                    </div>
                </div>
                <button onclick="processPayment()" class="w-full bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">
                    <i class="fas fa-lock mr-2"></i> Payer maintenant
                </button>
            </div>
        </div>

        <!-- Main content -->
        <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
            <!-- Subscription Required Notice -->
            <div id="subscriptionNotice" class="bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-8">
                <div class="flex">
                    <div class="flex-shrink-0">
                        <i class="fas fa-exclamation-triangle text-yellow-400"></i>
                    </div>
                    <div class="ml-3">
                        <p class="text-sm text-yellow-700">
                            Vous devez vous abonner pour utiliser nos services. <a href="#" onclick="openPaymentModal()" class="font-medium underline text-yellow-700 hover:text-yellow-600">Cliquez ici pour vous abonner</a>.
                        </p>
                    </div>
                </div>
            </div>

            <!-- Admin Panel (hidden by default) -->
            <div id="adminPanel" class="hidden bg-green-50 border-l-4 border-green-400 p-4 mb-8">
                <div class="flex">
                    <div class="flex-shrink-0">
                        <i class="fas fa-user-shield text-green-400"></i>
                    </div>
                    <div class="ml-3">
                        <p class="text-sm text-green-700">
                            Vous êtes connecté en tant qu'administrateur et avez accès à toutes les fonctionnalités gratuitement.
                        </p>
                    </div>
                </div>
            </div>

            <!-- Hero section -->
            <div class="bg-gradient-to-r from-blue-600 to-indigo-700 rounded-xl shadow-xl overflow-hidden mb-10">
                <div class="p-8 md:p-12 lg:flex lg:items-center lg:justify-between">
                    <div class="lg:w-1/2">
                        <h1 class="text-3xl font-extrabold text-white sm:text-4xl">
                            <span class="block">Automatisation Complète</span>
                            <span class="block text-blue-200">Domaine, SSL, DNS & SEO</span>
                        </h1>
                        <p class="mt-3 text-lg text-blue-100">
                            Système robotisé 24/7 pour déployer votre présence en ligne en quelques secondes avec la meilleure infrastructure mondiale.
                        </p>
                        <div class="mt-8">
                            <div class="inline-flex rounded-md shadow">
                                <button onclick="addToCart('Essai Gratuit', 0)" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-blue-600 bg-white hover:bg-blue-50">
                                    <i class="fas fa-bolt mr-2"></i> Essai Gratuit
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="lg:w-1/2 mt-8 lg:mt-0 lg:pl-8">
                        <div class="bg-white bg-opacity-20 rounded-lg p-6 backdrop-filter backdrop-blur-sm">
                            <div class="flex items-center mb-4">
                                <div class="flex-shrink-0 bg-blue-500 rounded-md p-2">
                                    <i class="fas fa-globe text-white text-xl"></i>
                                </div>
                                <div class="ml-3">
                                    <h3 class="text-lg font-medium text-white">Enregistrement Instantané</h3>
                                    <p class="mt-1 text-sm text-blue-100">Propagation mondiale en moins de 5 secondes</p>
                                </div>
                            </div>
                            <div class="space-y-3">
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-300 mr-2"></i>
                                    <span class="text-sm text-white">800+ registraires partenaires</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-300 mr-2"></i>
                                    <span class="text-sm text-white">Certificats SSL déployés automatiquement</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-300 mr-2"></i>
                                    <span class="text-sm text-white">DNS Anycast global en temps réel</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Process automation -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden mb-10">
                <div class="p-8">
                    <h2 class="text-2xl font-bold text-gray-900 mb-6">
                        <i class="fas fa-robot text-blue-500 mr-2"></i> Processus Automatisé 24/7
                    </h2>
                    
                    <div class="progress-tracker space-y-8 pl-8 mt-6">
                        <!-- Step 1 -->
                        <div class="progress-step completed">
                            <div class="flex items-start">
                                <div class="step-icon flex-shrink-0 flex items-center justify-center h-8 w-8 rounded-full border-2 border-gray-300 bg-white">
                                    <i class="fas fa-check text-xs"></i>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-gray-900">1. Enregistrement du Domaine</h3>
                                    <div class="mt-2 grid grid-cols-1 md:grid-cols-3 gap-4">
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fas fa-check-circle text-green-500 mr-2"></i>
                                                <span class="text-sm font-medium">Registraire</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">800+ partenaires mondiaux</p>
                                        </div>
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fas fa-bolt text-yellow-500 mr-2"></i>
                                                <span class="text-sm font-medium">Vitesse</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">Enregistrement en 0.8s</p>
                                        </div>
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fas fa-globe-americas text-blue-500 mr-2"></i>
                                                <span class="text-sm font-medium">Propagation</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">Mondiale en 3.2s</p>
                                        </div>
                                    </div>
                                    <button onclick="addToCart('Enregistrement de Domaine', 9.99)" class="mt-4 bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                        <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Step 2 -->
                        <div class="progress-step completed">
                            <div class="flex items-start">
                                <div class="step-icon flex-shrink-0 flex items-center justify-center h-8 w-8 rounded-full border-2 border-gray-300 bg-white">
                                    <i class="fas fa-check text-xs"></i>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-gray-900">2. Déploiement SSL</h3>
                                    <div class="mt-2 grid grid-cols-1 md:grid-cols-3 gap-4">
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fas fa-lock text-purple-500 mr-2"></i>
                                                <span class="text-sm font-medium">Certificat</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">TLS 1.3 avec ECC 256-bit</p>
                                        </div>
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fas fa-stopwatch text-green-500 mr-2"></i>
                                                <span class="text-sm font-medium">Délai</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">Déploiement en 1.4s</p>
                                        </div>
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fas fa-shield-alt text-red-500 mr-2"></i>
                                                <span class="text-sm font-medium">Sécurité</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">A+ sur SSL Labs</p>
                                        </div>
                                    </div>
                                    <button onclick="addToCart('Certificat SSL', 12.99)" class="mt-4 bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                        <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Step 3 -->
                        <div class="progress-step active">
                            <div class="flex items-start">
                                <div class="step-icon flex-shrink-0 flex items-center justify-center h-8 w-8 rounded-full border-2 border-gray-300 bg-white">
                                    <span class="text-xs">3</span>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-gray-900">3. Configuration DNS</h3>
                                    <div class="mt-2">
                                        <div class="bg-blue-50 border border-blue-200 rounded-lg p-4">
                                            <div class="flex items-center justify-between">
                                                <div>
                                                    <span class="text-sm font-medium text-blue-800">Serveurs DNS Anycast Globaux</span>
                                                    <p class="text-xs text-blue-600 mt-1">Propagation mondiale en temps réel</p>
                                                </div>
                                                <span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-blue-100 text-blue-800">
                                                    <i class="fas fa-sync-alt fa-spin mr-1"></i> ACTIF
                                                </span>
                                            </div>
                                            
                                            <div class="mt-4 grid grid-cols-1 md:grid-cols-4 gap-3">
                                                <div class="bg-white p-3 rounded-lg shadow-sm text-center">
                                                    <div class="text-xs font-medium text-gray-500">Amsterdam</div>
                                                    <div class="mt-1 text-sm font-mono text-blue-600">ns1.autodns.net</div>
                                                    <div class="mt-1">
                                                        <span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-green-100 text-green-800">
                                                            <i class="fas fa-check-circle mr-1"></i> 0.8ms
                                                        </span>
                                                    </div>
                                                </div>
                                                <div class="bg-white p-3 rounded-lg shadow-sm text-center">
                                                    <div class="text-xs font-medium text-gray-500">Tokyo</div>
                                                    <div class="mt-1 text-sm font-mono text-blue-600">ns2.autodns.net</div>
                                                    <div class="mt-1">
                                                        <span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-green-100 text-green-800">
                                                            <i class="fas fa-check-circle mr-1"></i> 1.2ms
                                                        </span>
                                                    </div>
                                                </div>
                                                <div class="bg-white p-3 rounded-lg shadow-sm text-center">
                                                    <div class="text-xs font-medium text-gray-500">New York</div>
                                                    <div class="mt-1 text-sm font-mono text-blue-600">ns3.autodns.net</div>
                                                    <div class="mt-1">
                                                        <span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-green-100 text-green-800">
                                                            <i class="fas fa-check-circle mr-1"></i> 0.9ms
                                                        </span>
                                                    </div>
                                                </div>
                                                <div class="bg-white p-3 rounded-lg shadow-sm text-center">
                                                    <div class="text-xs font-medium text-gray-500">Sydney</div>
                                                    <div class="mt-1 text-sm font-mono text-blue-600">ns4.autodns.net</div>
                                                    <div class="mt-1">
                                                        <span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-green-100 text-green-800">
                                                            <i class="fas fa-check-circle mr-1"></i> 1.1ms
                                                        </span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <button onclick="addToCart('Configuration DNS Premium', 7.99)" class="mt-4 bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                        <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Step 4 -->
                        <div class="progress-step">
                            <div class="flex items-start">
                                <div class="step-icon flex-shrink-0 flex items-center justify-center h-8 w-8 rounded-full border-2 border-gray-300 bg-white">
                                    <span class="text-xs">4</span>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-gray-900">4. Intégration SEO</h3>
                                    <div class="mt-2 grid grid-cols-1 md:grid-cols-3 gap-4">
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fab fa-google text-blue-500 mr-2"></i>
                                                <span class="text-sm font-medium">Search Console</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">Indexation automatique</p>
                                        </div>
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fas fa-chart-line text-green-500 mr-2"></i>
                                                <span class="text-sm font-medium">Google Analytics</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">Configuration robotisée</p>
                                        </div>
                                        <div class="bg-gray-50 p-4 rounded-lg">
                                            <div class="flex items-center">
                                                <i class="fas fa-sitemap text-purple-500 mr-2"></i>
                                                <span class="text-sm font-medium">Sitemap XML</span>
                                            </div>
                                            <p class="mt-1 text-xs text-gray-500">Génération automatique</p>
                                        </div>
                                    </div>
                                    <button onclick="addToCart('Pack SEO Premium', 15.99)" class="mt-4 bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                        <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- DNS Performance -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden mb-10">
                <div class="p-8">
                    <h2 class="text-2xl font-bold text-gray-900 mb-6">
                        <i class="fas fa-tachometer-alt text-blue-500 mr-2"></i> Performance DNS Globale
                    </h2>
                    
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                        <div class="dns-server-card bg-white border border-gray-200 rounded-lg p-6 transition-all duration-300 hover:shadow-lg">
                            <div class="flex items-center justify-between mb-4">
                                <div class="flex items-center">
                                    <div class="bg-blue-100 p-2 rounded-lg">
                                        <i class="fas fa-server text-blue-600"></i>
                                    </div>
                                    <h3 class="ml-3 font-medium">Anycast Europe</h3>
                                </div>
                                <span class="inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                    0.8ms
                                </span>
                            </div>
                            <div class="space-y-2">
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Localisation :</span>
                                    <span class="font-medium">Amsterdam, Frankfurt, London</span>
                                </div>
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Capacité :</span>
                                    <span class="font-medium">12M req/s</span>
                                </div>
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Uptime :</span>
                                    <span class="font-medium">100% (30 jours)</span>
                                </div>
                            </div>
                            <button onclick="addToCart('DNS Europe', 5.99)" class="mt-4 w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                            </button>
                        </div>
                        
                        <div class="dns-server-card bg-white border border-gray-200 rounded-lg p-6 transition-all duration-300 hover:shadow-lg">
                            <div class="flex items-center justify-between mb-4">
                                <div class="flex items-center">
                                    <div class="bg-purple-100 p-2 rounded-lg">
                                        <i class="fas fa-server text-purple-600"></i>
                                    </div>
                                    <h3 class="ml-3 font-medium">Anycast Asie-Pacifique</h3>
                                </div>
                                <span class="inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                    1.2ms
                                </span>
                            </div>
                            <div class="space-y-2">
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Localisation :</span>
                                    <span class="font-medium">Tokyo, Singapore, Sydney</span>
                                </div>
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Capacité :</span>
                                    <span class="font-medium">9M req/s</span>
                                </div>
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Uptime :</span>
                                    <span class="font-medium">100% (30 jours)</span>
                                </div>
                            </div>
                            <button onclick="addToCart('DNS Asie-Pacifique', 6.99)" class="mt-4 w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                            </button>
                        </div>
                        
                        <div class="dns-server-card bg-white border border-gray-200 rounded-lg p-6 transition-all duration-300 hover:shadow-lg">
                            <div class="flex items-center justify-between mb-4">
                                <div class="flex items-center">
                                    <div class="bg-red-100 p-2 rounded-lg">
                                        <i class="fas fa-server text-red-600"></i>
                                    </div>
                                    <h3 class="ml-3 font-medium">Anycast Amériques</h3>
                                </div>
                                <span class="inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                    0.9ms
                                </span>
                            </div>
                            <div class="space-y-2">
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Localisation :</span>
                                    <span class="font-medium">New York, São Paulo, Los Angeles</span>
                                </div>
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Capacité :</span>
                                    <span class="font-medium">15M req/s</span>
                                </div>
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>Uptime :</span>
                                    <span class="font-medium">100% (30 jours)</span>
                                </div>
                            </div>
                            <button onclick="addToCart('DNS Amériques', 5.99)" class="mt-4 w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                            </button>
                        </div>
                    </div>
                    
                    <div class="mt-6 bg-gray-50 rounded-lg p-4">
                        <div class="flex items-center">
                            <i class="fas fa-info-circle text-blue-500 mr-2"></i>
                            <span class="text-sm font-medium">Notre réseau DNS Anycast global garantit une résolution ultra-rapide depuis n'importe où dans le monde avec une latence inférieure à 2ms.</span>
                        </div>
                    </div>
                </div>
            </div>

            <!-- SEO Automation -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden">
                <div class="p-8">
                    <h2 class="text-2xl font-bold text-gray-900 mb-6">
                        <i class="fab fa-google text-blue-500 mr-2"></i> Automatisation SEO
                    </h2>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
                        <div class="bg-gray-50 rounded-lg p-6">
                            <div class="flex items-center mb-4">
                                <div class="bg-blue-100 p-3 rounded-full mr-3">
                                    <i class="fab fa-google text-blue-600"></i>
                                </div>
                                <h3 class="text-lg font-medium">Google Search Console</h3>
                            </div>
                            <p class="text-sm text-gray-600 mb-4">Intégration automatique avec vérification de propriété et soumission immédiate du sitemap.</p>
                            <div class="space-y-2">
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-500 mr-2 text-sm"></i>
                                    <span class="text-sm">Vérification DNS/TXT automatique</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-500 mr-2 text-sm"></i>
                                    <span class="text-sm">Soumission du sitemap en 0.5s</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-500 mr-2 text-sm"></i>
                                    <span class="text-sm">Surveillance des erreurs d'indexation</span>
                                </div>
                            </div>
                            <button onclick="addToCart('Search Console', 8.99)" class="mt-4 w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                            </button>
                        </div>
                        
                        <div class="bg-gray-50 rounded-lg p-6">
                            <div class="flex items-center mb-4">
                                <div class="bg-purple-100 p-3 rounded-full mr-3">
                                    <i class="fas fa-chart-line text-purple-600"></i>
                                </div>
                                <h3 class="text-lg font-medium">Google Analytics 4</h3>
                            </div>
                            <p class="text-sm text-gray-600 mb-4">Configuration robotisée avec tracking amélioré et événements prédéfinis.</p>
                            <div class="space-y-2">
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-500 mr-2 text-sm"></i>
                                    <span class="text-sm">Tag GA4 déployé automatiquement</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-500 mr-2 text-sm"></i>
                                    <span class="text-sm">Événements de base configurés</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-500 mr-2 text-sm"></i>
                                    <span class="text-sm">Intégration avec Search Console</span>
                                </div>
                            </div>
                            <button onclick="addToCart('Google Analytics', 9.99)" class="mt-4 w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                            </button>
                        </div>
                    </div>
                    
                    <div class="bg-blue-50 border border-blue-200 rounded-lg p-6">
                        <div class="flex items-start">
                            <div class="flex-shrink-0 bg-blue-100 p-3 rounded-lg">
                                <i class="fas fa-bolt text-blue-600"></i>
                            </div>
                            <div class="ml-4">
                                <h3 class="text-lg font-medium text-blue-800">Optimisation SEO Automatisée</h3>
                                <p class="mt-1 text-sm text-blue-600">Notre système génère et optimise automatiquement tous les éléments techniques SEO dès la création de votre domaine.</p>
                                
                                <div class="mt-4 grid grid-cols-2 md:grid-cols-4 gap-3">
                                    <div class="bg-white p-3 rounded-lg shadow-sm text-center">
                                        <div class="text-blue-600 mb-1">
                                            <i class="fas fa-file-alt"></i>
                                        </div>
                                        <div class="text-xs font-medium">Robots.txt</div>
                                    </div>
                                    <div class="bg-white p-3 rounded-lg shadow-sm text-center">
                                        <div class="text-blue-600 mb-1">
                                            <i class="fas fa-sitemap"></i>
                                        </div>
                                        <div class="text-xs font-medium">Sitemap XML</div>
                                    </div>
                                    <div class="bg-white p-3 rounded-lg shadow-sm text-center">
                                        <div class="text-blue-600 mb-1">
                                            <i class="fas fa-tags"></i>
                                        </div>
                                        <div class="text-xs font-medium">Meta Tags</div>
                                    </div>
                                    <div class="bg-white p-3 rounded-lg shadow-sm text-center">
                                        <div class="text-blue-600 mb-1">
                                            <i class="fas fa-compress-alt"></i>
                                        </div>
                                        <div class="text-xs font-medium">Schema.org</div>
                                    </div>
                                </div>
                                <button onclick="addToCart('Pack SEO Complet', 19.99)" class="mt-4 w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                                    <i class="fas fa-cart-plus mr-1"></i> Ajouter au panier
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>

        <!-- CTA Section -->
        <div class="bg-gray-900 mt-16">
            <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8 lg:py-24">
                <div class="lg:grid lg:grid-cols-2 lg:gap-8 lg:items-center">
                    <div>
                        <h2 class="text-3xl font-extrabold text-white sm:text-4xl">
                            <span class="block">Prêt à automatiser votre présence en ligne ?</span>
                        </h2>
                        <p class="mt-3 text-lg text-gray-300">
                            Notre système robotisé 24/7 déploie votre infrastructure complète en quelques secondes avec la meilleure performance mondiale.
                        </p>
                        <div class="mt-8 sm:flex">
                            <div class="rounded-md shadow">
                                <button onclick="openPaymentModal()" class="flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-gray-900 bg-white hover:bg-gray-50">
                                    <i class="fas fa-play mr-2"></i> Démarrer maintenant
                                </button>
                            </div>
                            <div class="mt-3 sm:mt-0 sm:ml-3">
                                <button onclick="addToCart('Abonnement Premium', 29.99)" class="flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-blue-600 bg-opacity-60 hover:bg-opacity-70">
                                    <i class="fas fa-crown mr-2"></i> S'abonner
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="mt-8 lg:mt-0">
                        <div class="bg-white bg-opacity-10 rounded-lg p-6 backdrop-filter backdrop-blur-sm">
                            <div class="flex items-center">
                                <div class="flex-shrink-0 bg-blue-500 rounded-md p-3">
                                    <i class="fas fa-shield-alt text-white text-xl"></i>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-white">Garantie de Performance</h3>
                                    <p class="mt-1 text-sm text-blue-200">
                                        Propagation DNS mondiale en moins de 5 secondes ou remboursement intégral.
                                    </p>
                                </div>
                            </div>
                            <div class="mt-6 grid grid-cols-2 gap-4">
                                <div class="bg-white bg-opacity-5 rounded-lg p-4 text-center">
                                    <div class="text-2xl font-bold text-white">0.8s</div>
                                    <div class="text-xs text-blue-200">Enregistrement</div>
                                </div>
                                <div class="bg-white bg-opacity-5 rounded-lg p-4 text-center">
                                    <div class="text-2xl font-bold text-white">3.2s</div>
                                    <div class="text-xs text-blue-200">Propagation DNS</div>
                                </div>
                                <div class="bg-white bg-opacity-5 rounded-lg p-4 text-center">
                                    <div class="text-2xl font-bold text-white">1.4s</div>
                                    <div class="text-xs text-blue-200">Déploiement SSL</div>
                                </div>
                                <div class="bg-white bg-opacity-5 rounded-lg p-4 text-center">
                                    <div class="text-2xl font-bold text-white">5s</div>
                                    <div class="text-xs text-blue-200">Indexation Google</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Footer -->
        <footer class="bg-gray-800">
            <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
                <div class="grid grid-cols-2 md:grid-cols-4 gap-8">
                    <div>
                        <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Services</h3>
                        <ul class="mt-4 space-y-4">
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Enregistrement de domaine</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Hébergement SSD</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Certificats SSL</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">DNS Anycast</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Support</h3>
                        <ul class="mt-4 space-y-4">
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Documentation</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Guides</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Statut du réseau</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Contact</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Entreprise</h3>
                        <ul class="mt-4 space-y-4">
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">À propos</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Blog</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Carrières</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Partenaires</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Légal</h3>
                        <ul class="mt-4 space-y-4">
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Confidentialité</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">CGU</a></li>
                            <li><a href="#" class="text-base text-gray-400 hover:text-white">Politique de cookies</a></li>
                        </ul>
                    </div>
                </div>
                <div class="mt-8 border-t border-gray-700 pt-8 md:flex md:items-center md:justify-between">
                    <div class="flex space-x-6 md:order-2">
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i class="fab fa-twitter"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i class="fab fa-facebook-f"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i class="fab fa-linkedin-in"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i class="fab fa-github"></i>
                        </a>
                    </div>
                    <p class="mt-8 text-base text-gray-400 md:mt-0 md:order-1">
                        &copy; 2023 AutoDomain Pro. Tous droits réservés.
                    </p>
                </div>
            </div>
        </footer>
    </div>

    <script>
        // Cart functionality
        let cart = [];
        let isAdmin = false;
        const adminEmails = ['vgp.bavol@gmail.com', 'doctorblog.fr@gmail.com'];
        const adminPassword = 'Admin270574@';

        // Update cart count
        function updateCartCount() {
            document.getElementById('cartCount').textContent = cart.length;
        }

        // Update cart total
        function updateCartTotal() {
            const total = cart.reduce((sum, item) => sum + item.price, 0);
            document.getElementById('cartTotal').textContent = total.toFixed(2) + ' €';
        }

        // Add item to cart
        function addToCart(name, price) {
            if (!isAdmin) {
                alert('Vous devez vous connecter en tant qu\'administrateur ou vous abonner pour ajouter des articles au panier.');
                openLoginModal();
                return;
            }
            
            cart.push({ name, price });
            updateCartCount();
            updateCartItems();
            updateCartTotal();
            
            // Show success message
            alert(`${name} a été ajouté à votre panier pour ${price.toFixed(2)} €`);
        }

        // Update cart items in modal
        function updateCartItems() {
            const cartItemsContainer = document.getElementById('cartItems');
            cartItemsContainer.innerHTML = '';
            
            if (cart.length === 0) {
                cartItemsContainer.innerHTML = '<p class="text-gray-500">Votre panier est vide</p>';
                return;
            }
            
            cart.forEach((item, index) => {
                const itemElement = document.createElement('div');
                itemElement.className = 'flex justify-between items-center py-2 border-b';
                itemElement.innerHTML = `
                    <div>
                        <span class="font-medium">${item.name}</span>
                        <span class="text-sm text-gray-500">${item.price.toFixed(2)} €</span>
                    </div>
                    <button onclick="removeFromCart(${index})" class="text-red-500 hover:text-red-700">
                        <i class="fas fa-trash"></i>
                    </button>
                `;
                cartItemsContainer.appendChild(itemElement);
            });
        }

        // Remove item from cart
        function removeFromCart(index) {
            cart.splice(index, 1);
            updateCartCount();
            updateCartItems();
            updateCartTotal();
        }

        // Open cart modal
        function openCart() {
            if (!isAdmin) {
                alert('Vous devez vous connecter en tant qu\'administrateur ou vous abonner pour accéder au panier.');
                openLoginModal();
                return;
            }
            
            document.getElementById('cartModal').style.display = 'block';
            updateCartItems();
        }

        // Close cart modal
        function closeCart() {
            document.getElementById('cartModal').style.display = 'none';
        }

        // Open payment modal
        function openPaymentModal() {
            if (!isAdmin) {
                alert('Vous devez vous connecter en tant qu\'administrateur ou vous abonner pour accéder aux paiements.');
                openLoginModal();
                return;
            }
            
            document.getElementById('paymentModal').style.display = 'block';
        }

        // Close payment modal
        function closePaymentModal() {
            document.getElementById('paymentModal').style.display = 'none';
        }

        // Select payment method
        function selectPayment(method) {
            document.getElementById(method).checked = true;
        }

        // Process payment
        function processPayment() {
            const method = document.querySelector('input[name="paymentMethod"]:checked').id;
            const total = cart.reduce((sum, item) => sum + item.price, 0);
            
            alert(`Paiement de ${total.toFixed(2)} € effectué via ${method === 'paypal' ? 'PayPal' : 'Stripe'}. Merci pour votre achat !`);
            
            // Clear cart
            cart = [];
            updateCartCount();
            updateCartItems();
            updateCartTotal();
            
            // Close modals
            closePaymentModal();
            closeCart();
        }

        // Login functionality
        function openLoginModal() {
            document.getElementById('loginModal').style.display = 'block';
        }

        function closeLoginModal() {
            document.getElementById('loginModal').style.display = 'none';
        }

        function login() {
            const email = document.getElementById('email').value;
            const password = document.getElementById('password').value;
            
            if (adminEmails.includes(email) && password === adminPassword) {
                isAdmin = true;
                document.getElementById('loginBtn').innerHTML = '<i class="fas fa-user-shield mr-1"></i> Admin';
                document.getElementById('loginBtn').classList.remove('bg-gray-200', 'text-gray-800');
                document.getElementById('loginBtn').classList.add('bg-green-500', 'text-white');
                document.getElementById('subscriptionNotice').classList.add('hidden');
                document.getElementById('adminPanel').classList.remove('hidden');
                closeLoginModal();
                alert('Connexion réussie en tant qu\'administrateur. Accès gratuit activé.');
                return false;
            } else {
                alert('Email ou mot de passe incorrect. Seuls les administrateurs peuvent se connecter.');
                return false;
            }
        }

        // Animation for progress tracker
        document.addEventListener('DOMContentLoaded', function() {
            // Simulate progress
            setTimeout(() => {
                document.querySelectorAll('.progress-step')[3].classList.add('completed');
                document.querySelectorAll('.progress-step')[3].querySelector('.step-icon').innerHTML = '<i class="fas fa-check text-xs"></i>';
            }, 3000);
            
            // Add hover effects to DNS server cards
            document.querySelectorAll('.dns-server-card').forEach(card => {
                card.addEventListener('mouseenter', function() {
                    this.style.transform = 'translateY(-5px)';
                    this.style.boxShadow = '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)';
                });
                card.addEventListener('mouseleave', function() {
                    this.style.transform = '';
                    this.style.boxShadow = '';
                });
            });
        });
    </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=docto41/auto-domain" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>