-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprototype.html
More file actions
915 lines (863 loc) · 51.2 KB
/
prototype.html
File metadata and controls
915 lines (863 loc) · 51.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LLM API Sentinel v2.6.1 | Global AI API Monitoring</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.js"></script>
<script src="https://cdn.jsdelivr.net/npm/recharts@2.12.0/umd/Recharts.js"></script>
<style>
:root {
--font-sans: 'Inter', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', monospace;
--background: #E4E3E0;
--foreground: #141414;
--card: #FFFFFF;
--card-foreground: #141414;
--primary: #141414;
--primary-foreground: #E4E3E0;
--muted: #F4F4F5;
--muted-foreground: #71717A;
--border: #141414;
--destructive: #EF4444;
}
.dark {
--background: #0C0C0C;
--foreground: #E4E3E0;
--card: #141414;
--card-foreground: #E4E3E0;
--primary: #E4E3E0;
--primary-foreground: #141414;
--muted: #27272A;
--muted-foreground: #A1A1AA;
--border: #E4E3E0;
--destructive: #7F1D1D;
}
body {
font-family: var(--font-sans);
background-color: var(--background);
color: var(--foreground);
transition: background-color 0.3s ease, color 0.3s ease;
}
.mono-label {
font-family: var(--font-mono);
font-size: 0.625rem;
text-transform: uppercase;
letter-spacing: 0.1em;
opacity: 0.6;
}
@keyframes pulse-slow {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@keyframes fade-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in-from-top {
from { transform: translateY(-10px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.animate-pulse-slow {
animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.animate-fade-in {
animation: fade-in 0.5s ease-out forwards;
}
.animate-slide-in-from-top {
animation: slide-in-from-top 0.5s ease-out;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
/* Mobile-first breakpoints reference:
sm: 640px - Mobile landscape
md: 768px - Tablet
lg: 1024px - Small desktop
xl: 1280px - Desktop
*/
</style>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
background: 'var(--background)',
foreground: 'var(--foreground)',
card: 'var(--card)',
'card-foreground': 'var(--card-foreground)',
primary: 'var(--primary)',
'primary-foreground': 'var(--primary-foreground)',
muted: 'var(--muted)',
'muted-foreground': 'var(--muted-foreground)',
border: 'var(--border)',
destructive: 'var(--destructive)',
green: {
500: '#22C55E',
500_10: 'rgba(34, 197, 94, 0.1)',
500_20: 'rgba(34, 197, 94, 0.2)',
},
amber: {
500: '#F59E0B',
500_10: 'rgba(245, 158, 11, 0.1)',
500_20: 'rgba(245, 158, 11, 0.2)',
},
rose: {
500: '#EF4444',
500_10: 'rgba(239, 68, 68, 0.1)',
500_20: 'rgba(239, 68, 68, 0.2)',
},
},
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
},
}
}
</script>
</head>
<body class="min-h-screen bg-background text-foreground transition-colors duration-300">
<!-- Theme Provider Script -->
<script>
function toggleTheme() {
const isDark = document.documentElement.classList.toggle('dark');
localStorage.setItem('theme', isDark ? 'dark' : 'light');
updateTheme();
}
function updateTheme() {
const isDark = document.documentElement.classList.contains('dark');
const themeIcon = document.getElementById('theme-icon');
if (themeIcon) {
if (isDark) {
themeIcon.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>`;
} else {
themeIcon.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>`;
}
}
}
function toggleAlerts() {
const dropdown = document.getElementById('alerts-dropdown');
const isOpen = dropdown.classList.toggle('hidden');
}
function toggleConfig() {
const config = document.getElementById('api-config-panel');
config.classList.toggle('hidden');
}
function closeAlerts() {
const dropdown = document.getElementById('alerts-dropdown');
dropdown.classList.add('hidden');
}
// Initialize theme
document.addEventListener('DOMContentLoaded', () => {
const savedTheme = localStorage.getItem('theme');
if (savedTheme === 'dark' || (!savedTheme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
}
updateTheme();
});
</script>
<!-- Header -->
<header id="main-header" class="border-b border-border/20 p-4 md:p-6 flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4 sticky top-0 bg-background/80 backdrop-blur-md z-50">
<!-- Brand Section -->
<div id="brand-section" class="flex items-center gap-3">
<div class="w-8 h-8 flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-primary">
<path d="M22 12h-4l-3 9L9 3l-3 9H2"></path>
</svg>
</div>
<div>
<h1 class="text-lg sm:text-xl md:text-2xl font-bold tracking-tight uppercase italic">LLM API Sentinel</h1>
<p class="mono-label">Global AI API Monitoring</p>
</div>
</div>
<!-- Controls Section -->
<div id="controls-section" class="flex items-center gap-2 sm:gap-4 flex-wrap">
<!-- Alerts Button -->
<div class="relative">
<button onclick="toggleAlerts()" id="alerts-btn" class="p-2 border border-border/50 hover:bg-foreground hover:text-background transition-colors rounded-md relative" title="Alerts">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path>
<path d="M13.73 21a9 9 0 0 1-8.73-9 9 9 0 0 1 15.66-3"></path>
</svg>
<span class="absolute -top-1 -right-1 w-4 h-4 bg-rose-500 text-white text-[8px] font-bold flex items-center justify-center rounded-full animate-pulse-slow">2</span>
</button>
<!-- Alerts Dropdown -->
<div id="alerts-dropdown" class="hidden absolute right-0 top-12 w-80 sm:w-96 bg-card border border-border rounded-lg shadow-lg overflow-hidden">
<div class="p-4 border-b border-border/20 flex justify-between items-center">
<h3 class="text-sm font-bold">Active Alerts</h3>
<button onclick="closeAlerts()" class="text-muted-foreground hover:text-foreground">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 6L6 18M6 6l12 12"/></svg>
</button>
</div>
<div class="max-h-64 overflow-y-auto">
<!-- Alert Item 1 -->
<div class="p-3 border-b border-border/10 hover:bg-muted/50 transition-colors">
<div class="flex items-start gap-3">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#EF4444" stroke-width="2" class="mt-0.5"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a9 9 0 0 1-8.73-9 9 9 0 0 1 15.66-3"></path></svg>
<div class="flex-1 min-w-0">
<p class="text-sm font-medium truncate">Qwen Max (Ali)</p>
<p class="text-xs text-muted-foreground mt-1">API is offline. 2 retries attempted.</p>
<p class="text-[10px] text-muted-foreground mt-1">10 min ago</p>
</div>
<button class="text-[10px] font-bold uppercase text-foreground/50 hover:text-foreground">Resolve</button>
</div>
</div>
<!-- Alert Item 2 -->
<div class="p-3 hover:bg-muted/50 transition-colors">
<div class="flex items-start gap-3">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#F59E0B" stroke-width="2" class="mt-0.5"><path d="M12 9v4"></path><path d="M12 17h.01"></path></svg>
<div class="flex-1 min-w-0">
<p class="text-sm font-medium truncate">Gemini 1.5</p>
<p class="text-xs text-muted-foreground mt-1">High latency detected: 1,156ms</p>
<p class="text-[10px] text-muted-foreground mt-1">5 min ago</p>
</div>
<button class="text-[10px] font-bold uppercase text-foreground/50 hover:text-foreground">Resolve</button>
</div>
</div>
</div>
</div>
</div>
<!-- Theme Toggle -->
<button onclick="toggleTheme()" id="theme-toggle" class="p-2 border border-border/50 hover:bg-foreground hover:text-background transition-colors rounded-md" title="Toggle Theme">
<span id="theme-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
</span>
</button>
<!-- Geo Location - Hidden on mobile -->
<div class="hidden lg:flex items-center gap-2 px-3 py-2 border border-border/50 rounded-md bg-muted/30">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="opacity-50">
<path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
<span class="text-[10px] font-mono uppercase tracking-tighter">Shanghai, CN</span>
</div>
<!-- Sign In Button -->
<button class="flex items-center gap-2 px-3 sm:px-4 py-2 border border-border/50 hover:bg-foreground hover:text-background transition-colors uppercase text-[10px] font-bold tracking-widest rounded-md">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>
</svg>
<span class="hidden sm:inline">Sign In</span>
</button>
</div>
</header>
<!-- Main Content -->
<main id="main-content" class="p-4 md:p-6 max-w-7xl mx-auto space-y-6 md:space-y-8">
<!-- Alerts Banner -->
<div id="alerts-banner" class="bg-rose-500/10 border border-rose-500/20 p-4 rounded-lg flex items-center justify-between animate-slide-in-from-top">
<div class="flex items-center gap-3">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-rose-500">
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path>
<path d="M13.73 21a9 9 0 0 1-8.73-9 9 9 0 0 1 15.66-3"></path>
</svg>
<p class="text-xs font-bold text-rose-500 uppercase tracking-wider">
Alerts: 2 active issues detected
</p>
</div>
<button onclick="toggleAlerts()" class="text-[10px] font-bold uppercase underline text-rose-500 hover:no-underline">View Details</button>
</div>
<!-- Status Grid Section -->
<section id="status-grid-section">
<div class="flex flex-col sm:flex-row justify-between items-start sm:items-end mb-4 gap-4">
<h2 class="text-xs font-mono uppercase opacity-50 tracking-widest italic">API Status</h2>
<div class="flex items-center gap-2 sm:gap-4 w-full sm:w-auto justify-between sm:justify-end flex-wrap">
<span class="text-[10px] font-mono opacity-50 hidden sm:inline">Last Sync: 14:32:15</span>
<button onclick="toggleConfig()" class="flex items-center gap-1.5 px-3 py-1.5 border border-border/50 text-[10px] font-bold uppercase tracking-widest transition-all rounded-md hover:bg-foreground hover:text-background">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="3"></circle>
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>
</svg>
Config
</button>
<button class="flex items-center gap-2 px-3 py-1.5 border border-border/50 text-[10px] font-bold uppercase tracking-widest transition-all rounded-md opacity-30 cursor-not-allowed" disabled>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="23 4 23 10 17 10"></polyline>
<path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path>
</svg>
Check Now
</button>
</div>
</div>
<!-- API Config Panel (Hidden by default) -->
<div id="api-config-panel" class="hidden mb-6 p-4 border border-border/20 bg-card/50 rounded-lg">
<h3 class="text-sm font-bold mb-4">API Configuration</h3>
<p class="text-xs text-muted-foreground">Configure API endpoints and monitoring settings.</p>
<div class="mt-4 flex gap-2">
<button class="px-3 py-1.5 text-[10px] font-bold uppercase tracking-widest border border-border/50 rounded-md hover:bg-foreground hover:text-background transition-all">Reset to Default</button>
<button class="px-3 py-1.5 text-[10px] font-bold uppercase tracking-widest bg-primary text-primary-foreground rounded-md hover:opacity-90 transition-all">Save Changes</button>
</div>
</div>
<!-- API Status Grid -->
<div id="api-cards-container" class="space-y-6">
<!-- US Providers -->
<div class="space-y-3">
<h3 class="text-base sm:text-lg font-semibold text-foreground">US Providers</h3>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
<!-- GPT-4o Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">GPT-4o</h4>
<p class="text-xs text-muted-foreground mt-1">OpenAI</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">128ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 25%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">99.9%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 99.9%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
<!-- Claude 3.5 Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.05s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Claude 3.5 Sonnet</h4>
<p class="text-xs text-muted-foreground mt-1">Anthropic</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">89ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 18%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">100%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 100%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
<!-- Gemini 1.5 Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.1s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Gemini 1.5 Pro</h4>
<p class="text-xs text-muted-foreground mt-1">Google</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-amber-500/10 text-amber-500 border border-amber-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M12 9v4"></path><path d="M12 17h.01"></path></svg>
Degraded
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium text-amber-500">1,156ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-amber-500 rounded-full transition-all duration-500" style="width: 77%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Error Rate</span>
<span class="font-medium">2.3%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-amber-500 rounded-full transition-all duration-500" style="width: 2.3%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
<span class="flex items-center text-amber-500">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="mr-1"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a9 9 0 0 1-8.73-9 9 9 0 0 1 15.66-3"></path></svg>
1 retry
</span>
</div>
</div>
<!-- Llama 3 Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.15s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Llama 3</h4>
<p class="text-xs text-muted-foreground mt-1">Meta (Groq)</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">45ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 9%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">100%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 100%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
<!-- Mistral Large Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.2s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Mistral Large</h4>
<p class="text-xs text-muted-foreground mt-1">Mistral AI</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">156ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 31%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">99.7%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 99.7%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
</div>
</div>
<!-- China Providers -->
<div class="space-y-3">
<h3 class="text-base sm:text-lg font-semibold text-foreground">China Providers</h3>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
<!-- Kimi Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Kimi (Moonshot)</h4>
<p class="text-xs text-muted-foreground mt-1">Moonshot AI</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">234ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 47%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">99.8%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 99.8%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
<!-- GLM-4 Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.05s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">GLM-4</h4>
<p class="text-xs text-muted-foreground mt-1">ZhipuAI</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">167ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 33%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">99.9%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 99.9%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
<!-- Baichuan 2 Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.1s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Baichuan 2</h4>
<p class="text-xs text-muted-foreground mt-1">Baichuan AI</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">198ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 40%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">99.6%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 99.6%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
<!-- Qwen Max Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.15s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Qwen Max</h4>
<p class="text-xs text-muted-foreground mt-1">Alibaba</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-red-500/10 text-red-500 border border-red-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M12 9v2m0 4h.01"></path></svg>
Offline
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium text-red-500">Timeout</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-red-500 rounded-full transition-all duration-500" style="width: 100%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
<span class="flex items-center text-red-500">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="mr-1"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a9 9 0 0 1-8.73-9 9 9 0 0 1 15.66-3"></path></svg>
2 retries
</span>
</div>
</div>
<!-- Hunyuan Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.2s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Hunyuan</h4>
<p class="text-xs text-muted-foreground mt-1">Tencent</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">312ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 62%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">99.5%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 99.5%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
<!-- Ernie 4.0 Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.25s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">Ernie 4.0</h4>
<p class="text-xs text-muted-foreground mt-1">Baidu</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">287ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 57%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">99.7%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 99.7%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
<!-- DeepSeek V3 Card -->
<div class="group bg-card border border-border/20 hover:border-border/50 transition-all duration-200 shadow-sm hover:shadow-md rounded-lg p-4 animate-fade-in" style="animation-delay: 0.3s">
<div class="flex items-start justify-between mb-4">
<div>
<h4 class="font-medium text-foreground group-hover:text-primary transition-colors">DeepSeek V3</h4>
<p class="text-xs text-muted-foreground mt-1">DeepSeek</p>
</div>
<span class="px-2 sm:px-3 py-1 rounded-full text-[10px] sm:text-xs font-medium bg-green-500/10 text-green-500 border border-green-500/20">
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="inline-block mr-1"><path d="M9 12l2 2 4-4"></path></svg>
Online
</span>
</div>
<div class="space-y-3">
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Latency</span>
<span class="font-medium">178ms</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full transition-all duration-500" style="width: 36%"></div>
</div>
</div>
<div>
<div class="flex items-center justify-between text-xs text-muted-foreground mb-1">
<span>Availability</span>
<span class="font-medium">99.9%</span>
</div>
<div class="h-1.5 bg-muted rounded-full overflow-hidden">
<div class="h-full bg-primary rounded-full transition-all duration-500" style="width: 99.9%"></div>
</div>
</div>
</div>
<div class="flex items-center justify-between text-[10px] sm:text-xs text-muted-foreground border-t border-border/20 pt-3 mt-4">
<span>Last: 2 min ago</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- History Chart Section -->
<section id="history-chart-section" class="border border-border/20 bg-card/50 p-4 md:p-6 rounded-lg">
<div class="flex flex-col lg:flex-row justify-between items-start lg:items-end mb-6 gap-4">
<h2 class="text-xs font-mono uppercase opacity-50 tracking-widest italic">Latency History</h2>
<div id="chart-legend" class="flex flex-wrap gap-x-3 sm:gap-x-4 gap-y-2 max-w-full scrollbar-hide">
<div class="flex items-center gap-1.5">
<div class="w-2 h-2 rounded-full bg-[#3B82F6]"></div>
<span class="text-[9px] sm:text-[10px] font-mono opacity-50 uppercase">GPT-4o</span>
</div>
<div class="flex items-center gap-1.5">
<div class="w-2 h-2 rounded-full bg-[#22C55E]"></div>
<span class="text-[9px] sm:text-[10px] font-mono opacity-50 uppercase">Claude 3.5</span>
</div>
<div class="flex items-center gap-1.5">
<div class="w-2 h-2 rounded-full bg-[#F59E0B]"></div>
<span class="text-[9px] sm:text-[10px] font-mono opacity-50 uppercase">Gemini 1.5</span>
</div>
<div class="flex items-center gap-1.5">
<div class="w-2 h-2 rounded-full bg-[#8B5CF6]"></div>
<span class="text-[9px] sm:text-[10px] font-mono opacity-50 uppercase">Llama 3</span>
</div>
<div class="flex items-center gap-1.5">
<div class="w-2 h-2 rounded-full bg-[#EC4899]"></div>
<span class="text-[9px] sm:text-[10px] font-mono opacity-50 uppercase">Kimi</span>
</div>
<div class="flex items-center gap-1.5">
<div class="w-2 h-2 rounded-full bg-[#06B6D4]"></div>
<span class="text-[9px] sm:text-[10px] font-mono opacity-50 uppercase">GLM-4</span>
</div>
<div class="flex items-center gap-1.5">
<div class="w-2 h-2 rounded-full bg-[#EF4444]"></div>
<span class="text-[9px] sm:text-[10px] font-mono opacity-50 uppercase">Qwen Max</span>
</div>
<div class="flex items-center gap-1.5">
<div class="w-2 h-2 rounded-full bg-[#10B981]"></div>
<span class="text-[9px] sm:text-[10px] font-mono opacity-50 uppercase">Hunyuan</span>
</div>
</div>
</div>
<!-- Chart Container (Recharts-style SVG placeholder) -->
<div id="chart-container" class="relative h-48 sm:h-56 md:h-64 lg:h-80 w-full">
<svg viewBox="0 0 800 300" class="w-full h-full" preserveAspectRatio="xMidYMid meet">
<defs>
<linearGradient id="gradient-blue" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#3B82F6;stop-opacity:0.3" />
<stop offset="100%" style="stop-color:#3B82F6;stop-opacity:0" />
</linearGradient>
<linearGradient id="gradient-green" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#22C55E;stop-opacity:0.3" />
<stop offset="100%" style="stop-color:#22C55E;stop-opacity:0" />
</linearGradient>
<linearGradient id="gradient-amber" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#F59E0B;stop-opacity:0.3" />
<stop offset="100%" style="stop-color:#F59E0B;stop-opacity:0" />
</linearGradient>
</defs>
<!-- Grid lines -->
<g stroke="currentColor" stroke-opacity="0.05" stroke-width="1">
<line x1="60" y1="30" x2="780" y2="30" />
<line x1="60" y1="90" x2="780" y2="90" />
<line x1="60" y1="150" x2="780" y2="150" />
<line x1="60" y1="210" x2="780" y2="210" />
<line x1="60" y1="270" x2="780" y2="270" />
</g>
<!-- Y-axis labels -->
<text x="50" y="35" text-anchor="end" class="text-[10px] fill-current opacity-40" font-family="monospace">2000ms</text>
<text x="50" y="95" text-anchor="end" class="text-[10px] fill-current opacity-40" font-family="monospace">1500ms</text>
<text x="50" y="155" text-anchor="end" class="text-[10px] fill-current opacity-40" font-family="monospace">1000ms</text>
<text x="50" y="215" text-anchor="end" class="text-[10px] fill-current opacity-40" font-family="monospace">500ms</text>
<text x="50" y="275" text-anchor="end" class="text-[10px] fill-current opacity-40" font-family="monospace">0ms</text>
<!-- X-axis labels -->
<text x="60" y="290" text-anchor="middle" class="text-[10px] fill-current opacity-40" font-family="monospace">14:00</text>
<text x="250" y="290" text-anchor="middle" class="text-[10px] fill-current opacity-40" font-family="monospace">14:10</text>
<text x="440" y="290" text-anchor="middle" class="text-[10px] fill-current opacity-40" font-family="monospace">14:20</text>
<text x="630" y="290" text-anchor="middle" class="text-[10px] fill-current opacity-40" font-family="monospace">14:30</text>
<text x="780" y="290" text-anchor="middle" class="text-[10px] fill-current opacity-40" font-family="monospace">Now</text>
<!-- GPT-4o area -->
<path d="M60,240 Q100,220 140,230 T220,200 T300,210 T380,190 T460,220 T540,200 T620,210 T700,190 T780,200 L780,300 L60,300 Z" fill="url(#gradient-blue)" />
<path d="M60,240 Q100,220 140,230 T220,200 T300,210 T380,190 T460,220 T540,200 T620,210 T700,190 T780,200" fill="none" stroke="#3B82F6" stroke-width="2" />
<!-- Claude 3.5 area -->
<path d="M60,250 Q100,260 140,240 T220,250 T300,240 T380,260 T460,240 T540,250 T620,240 T700,260 T780,250 L780,300 L60,300 Z" fill="url(#gradient-green)" />
<path d="M60,250 Q100,260 140,240 T220,250 T300,240 T380,260 T460,240 T540,250 T620,240 T700,260 T780,250" fill="none" stroke="#22C55E" stroke-width="2" />
<!-- Gemini 1.5 area -->
<path d="M60,180 Q100,150 140,170 T220,100 T300,120 T380,80 T460,100 T540,60 T620,80 T700,40 T780,70 L780,300 L60,300 Z" fill="url(#gradient-amber)" />
<path d="M60,180 Q100,150 140,170 T220,100 T300,120 T380,80 T460,100 T540,60 T620,80 T700,40 T780,70" fill="none" stroke="#F59E0B" stroke-width="2" />
<!-- Data points -->
<circle cx="780" cy="200" r="4" fill="#3B82F6" />
<circle cx="780" cy="250" r="4" fill="#22C55E" />
<circle cx="780" cy="70" r="4" fill="#F59E0B" />
</svg>
</div>
</section>
<!-- Footer -->
<footer id="dashboard-footer" class="text-center py-4 border-t border-border/20">
<p class="text-[10px] sm:text-xs font-mono opacity-50 uppercase tracking-wider">
LLM API Sentinel v2.6.1 | Global AI API Monitoring
</p>
</footer>
</main>
<!-- Responsive Design Notes (Hidden in production) -->
<div class="hidden">
<!--
Mobile-First Breakpoints:
- Default (mobile): < 640px
- sm: 640px - Mobile landscape
- md: 768px - Tablet
- lg: 1024px - Small desktop
- xl: 1280px - Desktop
Key Responsive Changes:
1. Header: flex-col on mobile, flex-row on larger screens
2. API Cards: 1 col mobile, 2 col sm, 3 col lg, 4 col xl
3. Chart: 200px mobile, 250px sm, 350px lg
4. Controls: Sign In text hidden on mobile
5. Geo location: Hidden on lg and below
-->
</div>
</body>
</html>