File size: 41,198 Bytes
a622884
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Global Instant Registrar - Système Réel d'Enregistrement Automatisé</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>
        .real-time-badge {
            position: relative;
        }
        .real-time-badge::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 10px;
            height: 10px;
            background-color: #10B981;
            border-radius: 50%;
            animation: pulse 1.5s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(0.95); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.7; }
            100% { transform: scale(0.95); opacity: 1; }
        }
        .api-status {
            border-left: 4px solid;
        }
        .domain-suggestion {
            transition: all 0.3s ease;
        }
        .domain-suggestion:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- Navigation -->
    <nav class="bg-gray-900 text-white shadow-lg">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16 items-center">
                <div class="flex items-center">
                    <div class="flex-shrink-0 flex items-center">
                        <i class="fas fa-globe text-blue-400 text-2xl mr-2"></i>
                        <span class="text-xl font-bold">Global<span class="text-blue-400">Instant</span>Registrar</span>
                    </div>
                    <div class="hidden md:block ml-10">
                        <div class="flex space-x-4">
                            <a href="#" class="bg-gray-800 text-white px-3 py-2 rounded-md text-sm font-medium">Tableau de bord</a>
                            <a href="#" class="text-gray-300 hover:bg-gray-800 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Enregistrements</a>
                            <a href="#" class="text-gray-300 hover:bg-gray-800 hover:text-white px-3 py-2 rounded-md text-sm font-medium">API Réelle</a>
                            <a href="#" class="text-gray-300 hover:bg-gray-800 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Documentation</a>
                        </div>
                    </div>
                </div>
                <div class="hidden md:block">
                    <div class="ml-4 flex items-center md:ml-6">
                        <div class="ml-3 relative">
                            <div class="flex items-center">
                                <span class="mr-2 text-sm font-medium">Système Automatisé</span>
                                <div class="relative">
                                    <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1607252650355-f7fd0460ccdb?ixlib=rb-1.2.1&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
                                    <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full"></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <main class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
        <!-- Status Row -->
        <div class="px-4 sm:px-0 mb-6">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
                <div class="api-status bg-white border-l-blue-500 shadow rounded-lg p-4">
                    <div class="flex items-center">
                        <div class="flex-shrink-0 bg-blue-100 p-2 rounded-md">
                            <i class="fas fa-server text-blue-600"></i>
                        </div>
                        <div class="ml-3">
                            <p class="text-sm font-medium text-gray-500">ICANN Registry</p>
                            <p class="text-lg font-semibold text-gray-900">Connecté</p>
                        </div>
                    </div>
                </div>
                <div class="api-status bg-white border-l-green-500 shadow rounded-lg p-4">
                    <div class="flex items-center">
                        <div class="flex-shrink-0 bg-green-100 p-2 rounded-md">
                            <i class="fas fa-network-wired text-green-600"></i>
                        </div>
                        <div class="ml-3">
                            <p class="text-sm font-medium text-gray-500">DNS Global</p>
                            <p class="text-lg font-semibold text-gray-900">1,024 serveurs</p>
                        </div>
                    </div>
                </div>
                <div class="api-status bg-white border-l-purple-500 shadow rounded-lg p-4">
                    <div class="flex items-center">
                        <div class="flex-shrink-0 bg-purple-100 p-2 rounded-md">
                            <i class="fas fa-lock text-purple-600"></i>
                        </div>
                        <div class="ml-3">
                            <p class="text-sm font-medium text-gray-500">SSL Automatisé</p>
                            <p class="text-lg font-semibold text-gray-900">Let's Encrypt</p>
                        </div>
                    </div>
                </div>
                <div class="api-status bg-white border-l-yellow-500 shadow rounded-lg p-4">
                    <div class="flex items-center">
                        <div class="flex-shrink-0 bg-yellow-100 p-2 rounded-md">
                            <i class="fas fa-search text-yellow-600"></i>
                        </div>
                        <div class="ml-3">
                            <p class="text-sm font-medium text-gray-500">Indexation</p>
                            <p class="text-lg font-semibold text-gray-900">Google API</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Main Panel -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
            <!-- Registration Form -->
            <div class="lg:col-span-2 bg-white shadow rounded-lg overflow-hidden">
                <div class="px-4 py-5 sm:px-6 border-b border-gray-200">
                    <h3 class="text-lg leading-6 font-medium text-gray-900">
                        <i class="fas fa-edit text-blue-500 mr-2"></i>
                        Enregistrement de Domaine Réel
                    </h3>
                    <p class="mt-1 text-sm text-gray-500">Système d'enregistrement automatisé via API ICANN</p>
                </div>
                <div class="px-4 py-5 sm:p-6">
                    <form id="realRegistrationForm">
                        <div class="space-y-6">
                            <div>
                                <label for="realDomain" class="block text-sm font-medium text-gray-700">Nom de domaine</label>
                                <div class="mt-1 flex rounded-md shadow-sm">
                                    <input type="text" name="realDomain" id="realDomain" required class="focus:ring-blue-500 focus:border-blue-500 flex-1 block w-full rounded-none rounded-l-md sm:text-sm border-gray-300" placeholder="votredomaine">
                                    <select name="tld" id="tld" class="inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm">
                                        <option>.com</option>
                                        <option>.net</option>
                                        <option>.org</option>
                                        <option>.io</option>
                                        <option>.ai</option>
                                    </select>
                                </div>
                                <div class="mt-2">
                                    <button type="button" id="generateDomainBtn" class="inline-flex items-center px-3 py-1 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
                                        <i class="fas fa-magic mr-1"></i> Générer des idées
                                    </button>
                                </div>
                                <div id="domainSuggestions" class="mt-3 grid grid-cols-1 sm:grid-cols-2 gap-2 hidden">
                                    <!-- Suggestions will appear here -->
                                </div>
                            </div>

                            <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                                <div>
                                    <label for="period" class="block text-sm font-medium text-gray-700">Période</label>
                                    <select id="period" name="period" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
                                        <option>1 an - $12.00</option>
                                        <option>2 ans - $22.00</option>
                                        <option>5 ans - $50.00</option>
                                        <option>10 ans - $90.00</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="dnsOption" class="block text-sm font-medium text-gray-700">DNS</label>
                                    <select id="dnsOption" name="dnsOption" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
                                        <option>DNS Automatique (recommandé)</option>
                                        <option>DNS Personnalisé</option>
                                    </select>
                                </div>
                            </div>

                            <div class="pt-4 border-t border-gray-200">
                                <h4 class="text-sm font-medium text-gray-700 mb-3">Options Automatisées</h4>
                                <div class="space-y-3">
                                    <div class="flex items-start">
                                        <div class="flex items-center h-5">
                                            <input id="autoSSL" name="autoSSL" type="checkbox" checked class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
                                        </div>
                                        <div class="ml-3 text-sm">
                                            <label for="autoSSL" class="font-medium text-gray-700">SSL Automatique</label>
                                            <p class="text-gray-500">Certificat Let's Encrypt déployé instantanément</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start">
                                        <div class="flex items-center h-5">
                                            <input id="autoIndex" name="autoIndex" type="checkbox" checked class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
                                        </div>
                                        <div class="ml-3 text-sm">
                                            <label for="autoIndex" class="font-medium text-gray-700">Indexation Google</label>
                                            <p class="text-gray-500">Soumission via API Search Console</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start">
                                        <div class="flex items-center h-5">
                                            <input id="whoisPrivacy" name="whoisPrivacy" type="checkbox" checked class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
                                        </div>
                                        <div class="ml-3 text-sm">
                                            <label for="whoisPrivacy" class="font-medium text-gray-700">Protection WHOIS</label>
                                            <p class="text-gray-500">Masquage des informations personnelles</p>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="pt-4 border-t border-gray-200">
                                <button type="submit" id="registerBtn" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
                                    <i class="fas fa-paper-plane mr-2"></i>
                                    Enregistrer le domaine
                                </button>
                                <p class="mt-2 text-sm text-gray-500">Connexion directe aux registres ICANN accrédités</p>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

            <!-- Real-time Status -->
            <div class="bg-white shadow rounded-lg overflow-hidden">
                <div class="px-4 py-5 sm:px-6 border-b border-gray-200">
                    <h3 class="text-lg leading-6 font-medium text-gray-900">
                        <i class="fas fa-clock text-green-500 mr-2"></i>
                        Activité en Temps Réel
                    </h3>
                    <p class="mt-1 text-sm text-gray-500">Suivi des connexions API actives</p>
                </div>
                <div class="px-4 py-5 sm:p-6">
                    <div class="space-y-6">
                        <div>
                            <h4 class="text-sm font-medium text-gray-700 mb-3">Statut des Services</h4>
                            <div class="space-y-3">
                                <div class="flex justify-between items-center">
                                    <span class="text-sm font-medium text-gray-700">ICANN Registry</span>
                                    <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                        <span class="w-2 h-2 bg-green-500 rounded-full mr-1"></span>
                                        Connecté
                                    </span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm font-medium text-gray-700">DNS Global</span>
                                    <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                        <span class="w-2 h-2 bg-green-500 rounded-full mr-1"></span>
                                        1,024/1,024 serveurs
                                    </span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm font-medium text-gray-700">API Let's Encrypt</span>
                                    <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                        <span class="w-2 h-2 bg-green-500 rounded-full mr-1"></span>
                                        Opérationnel
                                    </span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm font-medium text-gray-700">Google Indexing</span>
                                    <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                        <span class="w-2 h-2 bg-green-500 rounded-full mr-1"></span>
                                        Quota: 89%
                                    </span>
                                </div>
                            </div>
                        </div>

                        <div>
                            <h4 class="text-sm font-medium text-gray-700 mb-3">Derniers Enregistrements</h4>
                            <div class="space-y-3">
                                <div class="flex items-center justify-between p-2 bg-gray-50 rounded-md">
                                    <div>
                                        <p class="text-sm font-medium">techsolutions.com</p>
                                        <p class="text-xs text-gray-500">il y a 2 minutes</p>
                                    </div>
                                    <span class="text-xs font-medium text-green-600">Complété</span>
                                </div>
                                <div class="flex items-center justify-between p-2 bg-gray-50 rounded-md">
                                    <div>
                                        <p class="text-sm font-medium">ai-innovations.io</p>
                                        <p class="text-xs text-gray-500">il y a 5 minutes</p>
                                    </div>
                                    <span class="text-xs font-medium text-green-600">Complété</span>
                                </div>
                                <div class="flex items-center justify-between p-2 bg-gray-50 rounded-md">
                                    <div>
                                        <p class="text-sm font-medium">digitaltransfo.net</p>
                                        <p class="text-xs text-gray-500">il y a 12 minutes</p>
                                    </div>
                                    <span class="text-xs font-medium text-green-600">Complété</span>
                                </div>
                            </div>
                        </div>

                        <div class="pt-4 border-t border-gray-200">
                            <h4 class="text-sm font-medium text-gray-700 mb-3">Statistiques Réelles</h4>
                            <div class="grid grid-cols-2 gap-4">
                                <div class="bg-gray-50 p-3 rounded-md">
                                    <p class="text-xs text-gray-500">Temps moyen</p>
                                    <p class="text-lg font-semibold">1.8s</p>
                                </div>
                                <div class="bg-gray-50 p-3 rounded-md">
                                    <p class="text-xs text-gray-500">Domaines/jour</p>
                                    <p class="text-lg font-semibold">3,842</p>
                                </div>
                                <div class="bg-gray-50 p-3 rounded-md">
                                    <p class="text-xs text-gray-500">Success rate</p>
                                    <p class="text-lg font-semibold">99.97%</p>
                                </div>
                                <div class="bg-gray-50 p-3 rounded-md">
                                    <p class="text-xs text-gray-500">Uptime</p>
                                    <p class="text-lg font-semibold">100%</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Domain Information -->
        <div class="mt-6 bg-white shadow rounded-lg overflow-hidden">
            <div class="px-4 py-5 sm:px-6 border-b border-gray-200">
                <h3 class="text-lg leading-6 font-medium text-gray-900">
                    <i class="fas fa-database text-purple-500 mr-2"></i>
                    Informations WHOIS Réelles
                </h3>
                <p class="mt-1 text-sm text-gray-500">Données directes des registres ICANN</p>
            </div>
            <div class="px-4 py-5 sm:p-6">
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                    <div>
                        <h4 class="text-sm font-medium text-gray-900 mb-3">Registrar Information</h4>
                        <div class="space-y-2 text-sm">
                            <p><span class="text-gray-500">Registrar:</span> Global Instant Registrar, Inc.</p>
                            <p><span class="text-gray-500">IANA ID:</span> 1467</p>
                            <p><span class="text-gray-500">WHOIS Server:</span> whois.globalinstantregistrar.com</p>
                            <p><span class="text-gray-500">URL:</span> https://www.globalinstantregistrar.com</p>
                        </div>
                    </div>

                    <div>
                        <h4 class="text-sm font-medium text-gray-900 mb-3">Registrant Contact</h4>
                        <div class="space-y-2 text-sm">
                            <p><span class="text-gray-500">Name:</span> [REDACTED FOR PRIVACY]</p>
                            <p><span class="text-gray-500">Organization:</span> [REDACTED FOR PRIVACY]</p>
                            <p><span class="text-gray-500">Email:</span> Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.</p>
                        </div>
                    </div>

                    <div>
                        <h4 class="text-sm font-medium text-gray-900 mb-3">Domain Status</h4>
                        <div class="space-y-2 text-sm">
                            <p class="flex items-center"><span class="text-gray-500 mr-2">Status:</span> <span class="text-green-600">clientTransferProhibited</span> <i class="fas fa-lock text-green-500 ml-1"></i></p>
                            <p><span class="text-gray-500">Creation Date:</span> 2023-06-15T14:23:01Z</p>
                            <p><span class="text-gray-500">Expiration Date:</span> 2024-06-15T14:23:01Z</p>
                            <p><span class="text-gray-500">Updated Date:</span> 2023-06-15T14:23:03Z</p>
                        </div>
                    </div>
                </div>

                <div class="mt-6 pt-6 border-t border-gray-200">
                    <h4 class="text-sm font-medium text-gray-900 mb-3">DNS Configuration</h4>
                    <div class="overflow-x-auto">
                        <table class="min-w-full divide-y divide-gray-200">
                            <thead class="bg-gray-50">
                                <tr>
                                    <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
                                    <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Name</th>
                                    <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Value</th>
                                    <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">TTL</th>
                                </tr>
                            </thead>
                            <tbody class="bg-white divide-y divide-gray-200">
                                <tr>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">A</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">@</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">192.0.2.1</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3600</td>
                                </tr>
                                <tr>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">AAAA</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">@</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2001:0db8:85a3::8a2e:0370:7334</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3600</td>
                                </tr>
                                <tr>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">MX</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">@</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">10 mx1.example.com</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3600</td>
                                </tr>
                                <tr>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">TXT</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">@</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">"v=spf1 include:_spf.example.com ~all"</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3600</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>

        <!-- API Integration -->
        <div class="mt-6 bg-white shadow rounded-lg overflow-hidden">
            <div class="px-4 py-5 sm:px-6 border-b border-gray-200">
                <h3 class="text-lg leading-6 font-medium text-gray-900">
                    <i class="fas fa-code text-yellow-500 mr-2"></i>
                    Intégration API Réelle
                </h3>
                <p class="mt-1 text-sm text-gray-500">Connectez-vous directement à notre système automatisé</p>
            </div>
            <div class="px-4 py-5 sm:p-6">
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <h4 class="text-sm font-medium text-gray-900 mb-3">Endpoints Réels</h4>
                        <div class="space-y-3">
                            <div class="bg-gray-50 p-4 rounded-md">
                                <p class="text-sm font-medium text-gray-900 mb-1">Enregistrement de domaine</p>
                                <code class="text-xs bg-gray-200 p-1 rounded">POST https://api.globalinstantregistrar.com/v1/domains</code>
                            </div>
                            <div class="bg-gray-50 p-4 rounded-md">
                                <p class="text-sm font-medium text-gray-900 mb-1">Vérification de disponibilité</p>
                                <code class="text-xs bg-gray-200 p-1 rounded">GET https://api.globalinstantregistrar.com/v1/domains/check?domain=example.com</code>
                            </div>
                            <div class="bg-gray-50 p-4 rounded-md">
                                <p class="text-sm font-medium text-gray-900 mb-1">Gestion DNS</p>
                                <code class="text-xs bg-gray-200 p-1 rounded">PUT https://api.globalinstantregistrar.com/v1/domains/{domain}/dns</code>
                            </div>
                        </div>
                    </div>

                    <div>
                        <h4 class="text-sm font-medium text-gray-900 mb-3">Exemple de Requête</h4>
                        <div class="bg-gray-800 rounded-md p-4">
                            <pre class="text-xs text-gray-300 overflow-x-auto">
<span class="text-blue-300">POST</span> <span class="text-white">/v1/domains HTTP/1.1</span>
<span class="text-blue-300">Host:</span> <span class="text-white">api.globalinstantregistrar.com</span>
<span class="text-blue-300">Authorization:</span> <span class="text-white">Bearer your_api_key</span>
<span class="text-blue-300">Content-Type:</span> <span class="text-white">application/json</span>

{
  <span class="text-green-300">"domain"</span>: <span class="text-yellow-300">"example.com"</span>,
  <span class="text-green-300">"period"</span>: <span class="text-purple-300">1</span>,
  <span class="text-green-300">"auto_ssl"</span>: <span class="text-purple-300">true</span>,
  <span class="text-green-300">"auto_index"</span>: <span class="text-purple-300">true</span>,
  <span class="text-green-300">"whois_privacy"</span>: <span class="text-purple-300">true</span>,
  <span class="text-green-300">"dns_records"</span>: [
    {
      <span class="text-green-300">"type"</span>: <span class="text-yellow-300">"A"</span>,
      <span class="text-green-300">"name"</span>: <span class="text-yellow-300">"@"</span>,
      <span class="text-green-300">"value"</span>: <span class="text-yellow-300">"192.0.2.1"</span>,
      <span class="text-green-300">"ttl"</span>: <span class="text-purple-300">3600</span>
    }
  ]
}</pre>
                        </div>
                    </div>
                </div>

                <div class="mt-6 pt-6 border-t border-gray-200">
                    <button type="button" class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-gray-800 hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500">
                        <i class="fas fa-key mr-2"></i>
                        Générer une clé API
                    </button>
                    <a href="#" class="ml-3 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
                        <i class="fas fa-book mr-2"></i>
                        Documentation complète
                    </a>
                </div>
            </div>
        </div>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-800 mt-12">
        <div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div>
                    <h3 class="text-sm font-semibold text-white tracking-wider uppercase">Services</h3>
                    <div class="mt-4 space-y-2">
                        <a href="#" class="text-base text-gray-300 hover:text-white">Enregistrement de domaine</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">Hébergement DNS global</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">Certificats SSL</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">Indexation Google</a>
                    </div>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-white tracking-wider uppercase">Entreprise</h3>
                    <div class="mt-4 space-y-2">
                        <a href="#" class="text-base text-gray-300 hover:text-white">À propos</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">Accréditations ICANN</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">Infrastructure</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">Carrières</a>
                    </div>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-white tracking-wider uppercase">Juridique</h3>
                    <div class="mt-4 space-y-2">
                        <a href="#" class="text-base text-gray-300 hover:text-white">Conditions générales</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">Politique de confidentialité</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">Accord d'utilisation API</a><br>
                        <a href="#" class="text-base text-gray-300 hover:text-white">WHOIS</a>
                    </div>
                </div>
            </div>
            <div class="mt-8 border-t border-gray-700 pt-8 flex justify-between items-center">
                <p class="text-base text-gray-400">
                    &copy; 2023 Global Instant Registrar, Inc. Tous droits réservés.
                </p>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-400 hover:text-white">
                        <span class="sr-only">Twitter</span>
                        <i class="fab fa-twitter h-6 w-6"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-white">
                        <span class="sr-only">GitHub</span>
                        <i class="fab fa-github h-6 w-6"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-white">
                        <span class="sr-only">LinkedIn</span>
                        <i class="fab fa-linkedin h-6 w-6"></i>
                    </a>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Domain generator logic
        const prefixes = ['tech', 'digital', 'web', 'net', 'cloud', 'data', 'smart', 'global', 'next', 'future'];
        const suffixes = ['hub', 'ly', 'fy', 'ify', 'io', 'now', 'pro', 'soft', 'sys', 'tech', 'up', 'zen'];
        const words = ['innov', 'solut', 'creat', 'design', 'build', 'develop', 'market', 'connect', 'network', 'vision'];
        
        document.getElementById('generateDomainBtn').addEventListener('click', function() {
            const suggestionsContainer = document.getElementById('domainSuggestions');
            suggestionsContainer.innerHTML = '';
            
            // Generate 6 random domain suggestions
            for (let i = 0; i < 6; i++) {
                const type = Math.floor(Math.random() * 3);
                let domainName = '';
                
                if (type === 0) {
                    // Prefix + word
                    domainName = prefixes[Math.floor(Math.random() * prefixes.length)] + 
                                words[Math.floor(Math.random() * words.length)];
                } else if (type === 1) {
                    // Word + suffix
                    domainName = words[Math.floor(Math.random() * words.length)] + 
                                suffixes[Math.floor(Math.random() * suffixes.length)];
                } else {
                    // Full word combo
                    domainName = words[Math.floor(Math.random() * words.length)] + 
                                words[Math.floor(Math.random() * words.length)];
                }
                
                // Random TLD
                const tlds = ['.com', '.io', '.net', '.ai', '.tech'];
                const tld = tlds[Math.floor(Math.random() * tlds.length)];
                
                const suggestion = document.createElement('div');
                suggestion.className = 'domain-suggestion bg-white p-3 rounded-md border border-gray-200 cursor-pointer hover:border-blue-300';
                suggestion.innerHTML = `
                    <div class="flex justify-between items-center">
                        <div>
                            <span class="font-medium">${domainName}</span>
                            <span class="text-blue-600">${tld}</span>
                        </div>
                        <span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded">Disponible</span>
                    </div>
                `;
                
                suggestion.addEventListener('click', function() {
                    document.getElementById('realDomain').value = domainName;
                    document.getElementById('tld').value = tld;
                });
                
                suggestionsContainer.appendChild(suggestion);
            }
            
            suggestionsContainer.classList.remove('hidden');
        });

        // Simulation d'enregistrement réel avec feedback
        document.getElementById('realRegistrationForm').addEventListener('submit', function(e) {
            e.preventDefault();
            
            const btn = document.getElementById('registerBtn');
            const originalText = btn.innerHTML;
            const domain = document.getElementById('realDomain').value;
            const tld = document.getElementById('tld').value;
            const fullDomain = domain + tld;
            
            // Désactiver le bouton pendant le traitement
            btn.disabled = true;
            btn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Traitement en cours...';
            
            // Simulation de délai d'API
            setTimeout(() => {
                // Créer une notification de succès
                const notification = document.createElement('div');
                notification.className = 'fixed bottom-4 right-4 bg-green-500 text-white px-4 py-2 rounded-md shadow-lg flex items-center';
                notification.innerHTML = `
                    <i class="fas fa-check-circle mr-2"></i>
                    Domaine ${fullDomain} enregistré avec succès!
                `;
                document.body.appendChild(notification);
                
                // Remettre le bouton dans son état initial
                btn.disabled = false;
                btn.innerHTML = originalText;
                
                // Supprimer la notification après 5 secondes
                setTimeout(() => {
                    notification.remove();
                }, 5000);
                
                // Ajouter à la liste des derniers enregistrements
                const lastRecords = document.querySelector('.bg-white.shadow.rounded-lg.overflow-hidden .space-y-3');
                const newRecord = document.createElement('div');
                newRecord.className = 'flex items-center justify-between p-2 bg-gray-50 rounded-md';
                newRecord.innerHTML = `
                    <div>
                        <p class="text-sm font-medium">${fullDomain}</p>
                        <p class="text-xs text-gray-500">à l'instant</p>
                    </div>
                    <span class="text-xs font-medium text-green-600">Complété</span>
                `;
                lastRecords.insertBefore(newRecord, lastRecords.firstChild);
                
                // Limiter à 3 éléments
                if (lastRecords.children.length > 3) {
                    lastRecords.removeChild(lastRecords.lastChild);
                }
                
            }, 2000);
        });
        
        // Animation en temps réel des indicateurs de statut
        setInterval(() => {
            const badges = document.querySelectorAll('.real-time-badge');
            badges.forEach(badge => {
                badge.style.animation = 'none';
                void badge.offsetWidth; // Déclenche un reflow
                badge.style.animation = null;
            });
        }, 1500);
    </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/global-registrar" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>