File size: 38,272 Bytes
4d80002
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SkyGrowth | AI-Powered Performance & Growth Platform</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">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: {
                            50: '#f0f9ff',
                            100: '#e0f2fe',
                            200: '#bae6fd',
                            300: '#7dd3fc',
                            400: '#38bdf8',
                            500: '#0ea5e9',
                            600: '#0284c7',
                            700: '#0369a1',
                            800: '#075985',
                            900: '#0c4a6e',
                        }
                    }
                }
            }
        }
    </script>
    <style>
        .gradient-bg {
            background: linear-gradient(135deg, #0ea5e9 0%, #7dd3fc 100%);
        }
        .sidebar {
            transition: all 0.3s ease;
        }
        .chart-container {
            position: relative;
            height: 300px;
            width: 100%;
        }
        .strength-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);
        }
        .pulse-animation {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div class="sidebar bg-white w-64 border-r border-gray-200 flex flex-col">
            <div class="p-4 border-b border-gray-200">
                <div class="flex items-center space-x-3">
                    <div class="w-10 h-10 rounded-full gradient-bg flex items-center justify-center text-white font-bold text-xl">SG</div>
                    <h1 class="text-xl font-bold text-gray-800">SkyGrowth</h1>
                </div>
            </div>
            <div class="flex-1 overflow-y-auto p-4">
                <nav>
                    <div class="space-y-1">
                        <a href="#" class="flex items-center space-x-3 px-3 py-2 bg-primary-100 text-primary-700 rounded-lg font-medium">
                            <i class="fas fa-tachometer-alt w-5 text-center"></i>
                            <span>Dashboard</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                            <i class="fas fa-chart-line w-5 text-center"></i>
                            <span>Performance</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                            <i class="fas fa-users w-5 text-center"></i>
                            <span>Team Culture</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                            <i class="fas fa-brain w-5 text-center"></i>
                            <span>Strengths</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                            <i class="fas fa-graduation-cap w-5 text-center"></i>
                            <span>Growth Path</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                            <i class="fas fa-comments w-5 text-center"></i>
                            <span>AI Coach</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                            <i class="fas fa-cog w-5 text-center"></i>
                            <span>Settings</span>
                        </a>
                    </div>
                    
                    <div class="mt-8">
                        <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider">Teams</h3>
                        <div class="mt-2 space-y-1">
                            <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                                <div class="w-2 h-2 rounded-full bg-green-500"></div>
                                <span>Product Team</span>
                            </a>
                            <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                                <div class="w-2 h-2 rounded-full bg-blue-500"></div>
                                <span>Engineering</span>
                            </a>
                            <a href="#" class="flex items-center space-x-3 px-3 py-2 text-gray-600 hover:bg-gray-100 rounded-lg font-medium">
                                <div class="w-2 h-2 rounded-full bg-purple-500"></div>
                                <span>Marketing</span>
                            </a>
                        </div>
                    </div>
                </nav>
            </div>
            <div class="p-4 border-t border-gray-200">
                <div class="flex items-center space-x-3">
                    <div class="w-10 h-10 rounded-full bg-primary-500 flex items-center justify-center text-white font-bold">JD</div>
                    <div>
                        <p class="font-medium text-gray-800">John Doe</p>
                        <p class="text-xs text-gray-500">Admin</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- Main Content -->
        <div class="flex-1 overflow-auto">
            <!-- Header -->
            <header class="bg-white border-b border-gray-200">
                <div class="flex items-center justify-between px-6 py-4">
                    <div class="flex items-center space-x-4">
                        <button class="text-gray-500 focus:outline-none lg:hidden">
                            <i class="fas fa-bars"></i>
                        </button>
                        <h1 class="text-xl font-bold text-gray-800">Performance Dashboard</h1>
                    </div>
                    <div class="flex items-center space-x-4">
                        <div class="relative">
                            <button class="text-gray-500 focus:outline-none">
                                <i class="fas fa-bell"></i>
                            </button>
                            <span class="absolute top-0 right-0 w-2 h-2 rounded-full bg-red-500"></span>
                        </div>
                        <div class="relative">
                            <button class="text-gray-500 focus:outline-none">
                                <i class="fas fa-envelope"></i>
                            </button>
                            <span class="absolute top-0 right-0 w-2 h-2 rounded-full bg-blue-500"></span>
                        </div>
                        <div class="relative">
                            <button id="ai-coach-btn" class="bg-primary-500 text-white px-4 py-2 rounded-full flex items-center space-x-2 hover:bg-primary-600 transition">
                                <i class="fas fa-robot"></i>
                                <span>AI Coach</span>
                            </button>
                        </div>
                    </div>
                </div>
            </header>

            <!-- Dashboard Content -->
            <main class="p-6">
                <!-- Stats Cards -->
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-gray-500">Performance Score</p>
                                <p class="text-2xl font-bold text-gray-800 mt-1">87<span class="text-sm text-green-500 ml-1">+5%</span></p>
                            </div>
                            <div class="w-12 h-12 rounded-full bg-primary-50 flex items-center justify-center text-primary-500">
                                <i class="fas fa-chart-line text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-gray-500">Strengths Identified</p>
                                <p class="text-2xl font-bold text-gray-800 mt-1">5<span class="text-sm text-green-500 ml-1">+2</span></p>
                            </div>
                            <div class="w-12 h-12 rounded-full bg-green-50 flex items-center justify-center text-green-500">
                                <i class="fas fa-brain text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-gray-500">Growth Areas</p>
                                <p class="text-2xl font-bold text-gray-800 mt-1">3<span class="text-sm text-yellow-500 ml-1">-1</span></p>
                            </div>
                            <div class="w-12 h-12 rounded-full bg-yellow-50 flex items-center justify-center text-yellow-500">
                                <i class="fas fa-seedling text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-gray-500">Team Culture Index</p>
                                <p class="text-2xl font-bold text-gray-800 mt-1">92<span class="text-sm text-green-500 ml-1">+8%</span></p>
                            </div>
                            <div class="w-12 h-12 rounded-full bg-purple-50 flex items-center justify-center text-purple-500">
                                <i class="fas fa-users text-xl"></i>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Performance Chart -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
                    <div class="flex items-center justify-between mb-6">
                        <h2 class="text-lg font-bold text-gray-800">Performance Trends</h2>
                        <div class="flex space-x-2">
                            <button class="px-3 py-1 text-sm bg-primary-50 text-primary-600 rounded-md">Monthly</button>
                            <button class="px-3 py-1 text-sm text-gray-600 hover:bg-gray-100 rounded-md">Quarterly</button>
                            <button class="px-3 py-1 text-sm text-gray-600 hover:bg-gray-100 rounded-md">Yearly</button>
                        </div>
                    </div>
                    <div class="chart-container">
                        <canvas id="performanceChart"></canvas>
                    </div>
                </div>

                <!-- Strengths and Growth Areas -->
                <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
                    <!-- Strengths -->
                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <div class="flex items-center justify-between mb-6">
                            <h2 class="text-lg font-bold text-gray-800">Your Top Strengths</h2>
                            <button class="text-primary-500 hover:text-primary-600">
                                <i class="fas fa-plus"></i> Add Strength
                            </button>
                        </div>
                        <div class="space-y-4">
                            <div class="strength-card bg-green-50 border border-green-100 rounded-lg p-4 transition cursor-pointer">
                                <div class="flex items-start justify-between">
                                    <div>
                                        <h3 class="font-bold text-green-800">Strategic Thinking</h3>
                                        <p class="text-sm text-green-600 mt-1">You excel at seeing the big picture and planning long-term strategies.</p>
                                    </div>
                                    <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center text-green-600">
                                        <i class="fas fa-chess"></i>
                                    </div>
                                </div>
                                <div class="mt-3 flex items-center text-xs text-green-600">
                                    <span class="mr-2">Identified: 3 months ago</span>
                                    <span>Confidence: 92%</span>
                                </div>
                            </div>
                            <div class="strength-card bg-blue-50 border border-blue-100 rounded-lg p-4 transition cursor-pointer">
                                <div class="flex items-start justify-between">
                                    <div>
                                        <h3 class="font-bold text-blue-800">Emotional Intelligence</h3>
                                        <p class="text-sm text-blue-600 mt-1">You're highly aware of emotions in yourself and others.</p>
                                    </div>
                                    <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
                                        <i class="fas fa-heart"></i>
                                    </div>
                                </div>
                                <div class="mt-3 flex items-center text-xs text-blue-600">
                                    <span class="mr-2">Identified: 1 month ago</span>
                                    <span>Confidence: 88%</span>
                                </div>
                            </div>
                            <div class="strength-card bg-purple-50 border border-purple-100 rounded-lg p-4 transition cursor-pointer">
                                <div class="flex items-start justify-between">
                                    <div>
                                        <h3 class="font-bold text-purple-800">Adaptability</h3>
                                        <p class="text-sm text-purple-600 mt-1">You thrive in changing environments and adjust quickly.</p>
                                    </div>
                                    <div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
                                        <i class="fas fa-random"></i>
                                    </div>
                                </div>
                                <div class="mt-3 flex items-center text-xs text-purple-600">
                                    <span class="mr-2">Identified: 2 weeks ago</span>
                                    <span>Confidence: 85%</span>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Growth Areas -->
                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <div class="flex items-center justify-between mb-6">
                            <h2 class="text-lg font-bold text-gray-800">Growth Opportunities</h2>
                            <button class="text-primary-500 hover:text-primary-600">
                                <i class="fas fa-plus"></i> Add Goal
                            </button>
                        </div>
                        <div class="space-y-4">
                            <div class="bg-yellow-50 border border-yellow-100 rounded-lg p-4">
                                <div class="flex items-start justify-between">
                                    <div>
                                        <h3 class="font-bold text-yellow-800">Public Speaking</h3>
                                        <p class="text-sm text-yellow-600 mt-1">Improve confidence and clarity when presenting to groups.</p>
                                    </div>
                                    <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
                                        <i class="fas fa-bullhorn"></i>
                                    </div>
                                </div>
                                <div class="mt-3">
                                    <div class="flex items-center justify-between text-xs text-yellow-600 mb-1">
                                        <span>Progress</span>
                                        <span>45%</span>
                                    </div>
                                    <div class="w-full bg-yellow-100 rounded-full h-2">
                                        <div class="bg-yellow-500 h-2 rounded-full" style="width: 45%"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="bg-orange-50 border border-orange-100 rounded-lg p-4">
                                <div class="flex items-start justify-between">
                                    <div>
                                        <h3 class="font-bold text-orange-800">Technical Skills</h3>
                                        <p class="text-sm text-orange-600 mt-1">Develop advanced data analysis capabilities.</p>
                                    </div>
                                    <div class="w-8 h-8 rounded-full bg-orange-100 flex items-center justify-center text-orange-600">
                                        <i class="fas fa-code"></i>
                                    </div>
                                </div>
                                <div class="mt-3">
                                    <div class="flex items-center justify-between text-xs text-orange-600 mb-1">
                                        <span>Progress</span>
                                        <span>30%</span>
                                    </div>
                                    <div class="w-full bg-orange-100 rounded-full h-2">
                                        <div class="bg-orange-500 h-2 rounded-full" style="width: 30%"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="bg-red-50 border border-red-100 rounded-lg p-4">
                                <div class="flex items-start justify-between">
                                    <div>
                                        <h3 class="font-bold text-red-800">Time Management</h3>
                                        <p class="text-sm text-red-600 mt-1">Better prioritize tasks and minimize distractions.</p>
                                    </div>
                                    <div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center text-red-600">
                                        <i class="fas fa-clock"></i>
                                    </div>
                                </div>
                                <div class="mt-3">
                                    <div class="flex items-center justify-between text-xs text-red-600 mb-1">
                                        <span>Progress</span>
                                        <span>60%</span>
                                    </div>
                                    <div class="w-full bg-red-100 rounded-full h-2">
                                        <div class="bg-red-500 h-2 rounded-full" style="width: 60%"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Team Culture Insights -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
                    <div class="flex items-center justify-between mb-6">
                        <h2 class="text-lg font-bold text-gray-800">Team Culture Insights</h2>
                        <button class="text-primary-500 hover:text-primary-600">
                            <i class="fas fa-plus"></i> Request Feedback
                        </button>
                    </div>
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                        <div class="bg-indigo-50 rounded-lg p-4">
                            <div class="flex items-center space-x-3 mb-3">
                                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600">
                                    <i class="fas fa-hands-helping"></i>
                                </div>
                                <h3 class="font-bold text-indigo-800">Collaboration</h3>
                            </div>
                            <p class="text-sm text-indigo-600">Your team rates collaboration at 89/100, higher than 75% of similar teams.</p>
                            <div class="mt-4">
                                <div class="flex items-center justify-between text-xs text-indigo-600 mb-1">
                                    <span>Team Average</span>
                                    <span>89/100</span>
                                </div>
                                <div class="w-full bg-indigo-100 rounded-full h-2">
                                    <div class="bg-indigo-500 h-2 rounded-full" style="width: 89%"></div>
                                </div>
                            </div>
                        </div>
                        <div class="bg-pink-50 rounded-lg p-4">
                            <div class="flex items-center space-x-3 mb-3">
                                <div class="w-10 h-10 rounded-full bg-pink-100 flex items-center justify-center text-pink-600">
                                    <i class="fas fa-lightbulb"></i>
                                </div>
                                <h3 class="font-bold text-pink-800">Innovation</h3>
                            </div>
                            <p class="text-sm text-pink-600">Innovation scores have increased by 12% this quarter to 78/100.</p>
                            <div class="mt-4">
                                <div class="flex items-center justify-between text-xs text-pink-600 mb-1">
                                    <span>Team Average</span>
                                    <span>78/100</span>
                                </div>
                                <div class="w-full bg-pink-100 rounded-full h-2">
                                    <div class="bg-pink-500 h-2 rounded-full" style="width: 78%"></div>
                                </div>
                            </div>
                        </div>
                        <div class="bg-teal-50 rounded-lg p-4">
                            <div class="flex items-center space-x-3 mb-3">
                                <div class="w-10 h-10 rounded-full bg-teal-100 flex items-center justify-center text-teal-600">
                                    <i class="fas fa-heartbeat"></i>
                                </div>
                                <h3 class="font-bold text-teal-800">Wellbeing</h3>
                            </div>
                            <p class="text-sm text-teal-600">Wellbeing scores are stable at 82/100, with work-life balance as a strength.</p>
                            <div class="mt-4">
                                <div class="flex items-center justify-between text-xs text-teal-600 mb-1">
                                    <span>Team Average</span>
                                    <span>82/100</span>
                                </div>
                                <div class="w-full bg-teal-100 rounded-full h-2">
                                    <div class="bg-teal-500 h-2 rounded-full" style="width: 82%"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- AI Coach Chat (Hidden by default) -->
                <div id="ai-coach-chat" class="hidden fixed bottom-6 right-6 w-96 bg-white rounded-xl shadow-xl flex flex-col border border-gray-200 z-50">
                    <div class="bg-primary-500 text-white rounded-t-xl p-4 flex items-center justify-between">
                        <div class="flex items-center space-x-2">
                            <div class="w-8 h-8 rounded-full bg-white text-primary-500 flex items-center justify-center">
                                <i class="fas fa-robot"></i>
                            </div>
                            <h3 class="font-bold">AI Growth Coach</h3>
                        </div>
                        <button id="close-chat" class="text-white hover:text-gray-200">
                            <i class="fas fa-times"></i>
                        </button>
                    </div>
                    <div class="flex-1 p-4 overflow-y-auto bg-gray-50" id="chat-messages" style="height: 300px;">
                        <div class="mb-4">
                            <div class="flex items-start space-x-2">
                                <div class="w-8 h-8 rounded-full bg-primary-100 text-primary-600 flex items-center justify-center">
                                    <i class="fas fa-robot"></i>
                                </div>
                                <div class="bg-white p-3 rounded-lg shadow-sm max-w-xs">
                                    <p class="text-sm">Hello! I'm your AI Growth Coach. How can I help you with your performance, strengths, or growth goals today?</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="p-4 border-t border-gray-200 bg-white rounded-b-xl">
                        <div class="flex space-x-2">
                            <input type="text" id="chat-input" placeholder="Ask me anything..." class="flex-1 border border-gray-300 rounded-full px-4 py-2 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent">
                            <button id="send-message" class="w-10 h-10 rounded-full bg-primary-500 text-white flex items-center justify-center hover:bg-primary-600">
                                <i class="fas fa-paper-plane"></i>
                            </button>
                        </div>
                        <div class="mt-2 flex space-x-2 overflow-x-auto">
                            <button class="quick-prompt px-3 py-1 text-xs bg-gray-100 hover:bg-gray-200 rounded-full">Suggest growth goals</button>
                            <button class="quick-prompt px-3 py-1 text-xs bg-gray-100 hover:bg-gray-200 rounded-full">Analyze my strengths</button>
                            <button class="quick-prompt px-3 py-1 text-xs bg-gray-100 hover:bg-gray-200 rounded-full">Team culture tips</button>
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>

    <!-- DeepSeek API Integration Modal -->
    <div id="api-modal" class="hidden fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50">
        <div class="bg-white rounded-xl p-6 w-full max-w-md">
            <div class="flex justify-between items-center mb-4">
                <h3 class="text-lg font-bold">Connect DeepSeek API</h3>
                <button id="close-api-modal" class="text-gray-500 hover:text-gray-700">
                    <i class="fas fa-times"></i>
                </button>
            </div>
            <div class="space-y-4">
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">API Key</label>
                    <input type="password" placeholder="Enter your DeepSeek API key" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-500">
                </div>
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">Model</label>
                    <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-500">
                        <option>DeepSeek-Pro</option>
                        <option>DeepSeek-Lite</option>
                        <option>DeepSeek-Custom</option>
                    </select>
                </div>
                <div class="flex justify-end space-x-3 pt-4">
                    <button id="cancel-api" class="px-4 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50">Cancel</button>
                    <button id="save-api" class="px-4 py-2 bg-primary-500 text-white rounded-md hover:bg-primary-600">Connect</button>
                </div>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script>
        // Initialize performance chart
        const ctx = document.getElementById('performanceChart').getContext('2d');
        const performanceChart = new Chart(ctx, {
            type: 'line',
            data: {
                labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
                datasets: [
                    {
                        label: 'Performance Score',
                        data: [75, 78, 82, 80, 85, 87, 89],
                        borderColor: '#0ea5e9',
                        backgroundColor: 'rgba(14, 165, 233, 0.1)',
                        tension: 0.3,
                        fill: true,
                        borderWidth: 2
                    },
                    {
                        label: 'Team Average',
                        data: [70, 72, 75, 77, 79, 82, 84],
                        borderColor: '#94a3b8',
                        backgroundColor: 'rgba(148, 163, 184, 0.05)',
                        tension: 0.3,
                        borderDash: [5, 5],
                        borderWidth: 1
                    }
                ]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        position: 'top',
                    },
                    tooltip: {
                        mode: 'index',
                        intersect: false,
                    }
                },
                scales: {
                    y: {
                        beginAtZero: false,
                        min: 60,
                        max: 100
                    }
                }
            }
        });

        // AI Coach Chat functionality
        const aiCoachBtn = document.getElementById('ai-coach-btn');
        const aiCoachChat = document.getElementById('ai-coach-chat');
        const closeChat = document.getElementById('close-chat');
        const chatMessages = document.getElementById('chat-messages');
        const chatInput = document.getElementById('chat-input');
        const sendMessageBtn = document.getElementById('send-message');
        const quickPrompts = document.querySelectorAll('.quick-prompt');

        aiCoachBtn.addEventListener('click', () => {
            aiCoachChat.classList.toggle('hidden');
        });

        closeChat.addEventListener('click', () => {
            aiCoachChat.classList.add('hidden');
        });

        function addMessage(content, isUser = false) {
            const messageDiv = document.createElement('div');
            messageDiv.classList.add('mb-4');
            
            if (isUser) {
                messageDiv.classList.add('flex', 'justify-end');
                messageDiv.innerHTML = `
                    <div class="flex items-start space-x-2 flex-row-reverse">
                        <div class="w-8 h-8 rounded-full bg-primary-500 text-white flex items-center justify-center">
                            <i class="fas fa-user"></i>
                        </div>
                        <div class="bg-primary-500 text-white p-3 rounded-lg shadow-sm max-w-xs">
                            <p class="text-sm">${content}</p>
                        </div>
                    </div>
                `;
            } else {
                messageDiv.innerHTML = `
                    <div class="flex items-start space-x-2">
                        <div class="w-8 h-8 rounded-full bg-primary-100 text-primary-600 flex items-center justify-center">
                            <i class="fas fa-robot"></i>
                        </div>
                        <div class="bg-white p-3 rounded-lg shadow-sm max-w-xs">
                            <p class="text-sm">${content}</p>
                        </div>
                    </div>
                `;
            }
            
            chatMessages.appendChild(messageDiv);
            chatMessages.scrollTop = chatMessages.scrollHeight;
        }

        sendMessageBtn.addEventListener('click', () => {
            const message = chatInput.value.trim();
            if (message) {
                addMessage(message, true);
                chatInput.value = '';
                
                // Simulate AI response
                setTimeout(() => {
                    const responses = [
                        "Based on your performance data, I'd suggest focusing on your public speaking goal first. Would you like me to create a 30-day plan?",
                        "Your strategic thinking strength could be leveraged to improve your time management. Want to explore how?",
                        "I notice your team's collaboration score is excellent. Maybe we could work on transferring some of those skills to your growth areas.",
                        "Looking at your data, you're making great progress! Would you like me to adjust any of your growth goals?"
                    ];
                    const randomResponse = responses[Math.floor(Math.random() * responses.length)];
                    addMessage(randomResponse);
                }, 1000);
            }
        });

        chatInput.addEventListener('keypress', (e) => {
            if (e.key === 'Enter') {
                sendMessageBtn.click();
            }
        });

        quickPrompts.forEach(prompt => {
            prompt.addEventListener('click', () => {
                chatInput.value = prompt.textContent;
                chatInput.focus();
            });
        });

        // DeepSeek API Modal functionality
        const apiModal = document.getElementById('api-modal');
        const closeApiModal = document.getElementById('close-api-modal');
        const cancelApi = document.getElementById('cancel-api');
        const saveApi = document.getElementById('save-api');

        // This would normally be triggered from a settings page
        // For demo, we'll add a hidden button to show the modal
        const showApiModal = () => {
            apiModal.classList.remove('hidden');
        };

        closeApiModal.addEventListener('click', () => {
            apiModal.classList.add('hidden');
        });

        cancelApi.addEventListener('click', () => {
            apiModal.classList.add('hidden');
        });

        saveApi.addEventListener('click', () => {
            // Here you would normally save the API key and connect
            alert('DeepSeek API connected successfully!');
            apiModal.classList.add('hidden');
        });

        // Pulse animation for AI coach button
        setInterval(() => {
            aiCoachBtn.classList.toggle('pulse-animation');
        }, 5000);
    </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=JayStormX8/performance-management" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>