File size: 44,530 Bytes
7e560fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Taskesphere | Personal Productivity</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#0E0E10',
                        secondary: '#1F1F22',
                        surface: '#121212',
                        accent: '#D2996C',
                        soft: '#CEC8C3',
                        text: '#EAEAEA',
                        blue: '#3B82F6',
                        green: '#10B981',
                        red: '#EF4444',
                        glass: 'rgba(255,255,255,0.05)'
                    },
                    fontFamily: {
                        sans: ['Inter', 'SF Pro Text', 'Outfit', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <style>
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .animate-fade-in {
            animation: fadeIn 0.3s ease-out forwards;
        }
        
        .card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: all 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        
        .sidebar {
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
        }
        
        .sidebar::-webkit-scrollbar {
            width: 6px;
        }
        
        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .sidebar::-webkit-scrollbar-thumb {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
        }
        
        .note-textarea {
            background: transparent;
            resize: none;
        }
        
        .note-textarea:focus {
            outline: none;
        }
        
        .ai-chat {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .ai-chat.active {
            height: 300px;
            opacity: 1;
        }
        
        .ai-chat:not(.active) {
            height: 0;
            opacity: 0;
        }
    </style>
</head>
<body class="bg-surface text-text font-sans min-h-screen flex flex-col">
    <!-- Navbar -->
    <nav class="bg-glass backdrop-blur-md border-b border-secondary fixed top-0 left-0 right-0 z-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex items-center justify-between h-16">
                <div class="flex items-center">
                    <button id="sidebar-toggle" class="md:hidden text-text hover:text-accent mr-4">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
                        </svg>
                    </button>
                    <div class="flex-shrink-0">
                        <h1 class="text-xl font-semibold">Taskesphere</h1>
                    </div>
                </div>
                <div class="flex items-center space-x-4">
                    <div class="text-sm font-medium">Good morning, John</div>
                    <div class="ml-4 flex items-center">
                        <div class="h-8 w-8 rounded-full bg-accent flex items-center justify-center">
                            <span class="text-surface font-medium">J</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <div class="flex flex-1 pt-16">
        <!-- Sidebar -->
        <aside id="sidebar" class="bg-glass backdrop-blur-md w-64 border-r border-secondary fixed h-full z-40 transform -translate-x-full md:translate-x-0 transition-transform duration-300 ease-in-out">
            <div class="h-full overflow-y-auto sidebar">
                <div class="px-4 py-6">
                    <div class="flex items-center space-x-3">
                        <div class="h-10 w-10 rounded-full bg-accent flex items-center justify-center">
                            <span class="text-surface font-medium text-lg">J</span>
                        </div>
                        <div>
                            <p class="text-sm font-medium">John Doe</p>
                            <p class="text-xs text-soft">Personal Workspace</p>
                        </div>
                    </div>
                </div>
                <nav class="px-4 space-y-1">
                    <div>
                        <button class="group flex items-center px-2 py-2 text-sm font-medium rounded-md w-full text-left hover:bg-glass">
                            <svg xmlns="http://www.w3.org/2000/svg" class="mr-3 h-5 w-5 text-soft group-hover:text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
                            </svg>
                            Dashboard
                        </button>
                    </div>
                    <div>
                        <button class="group flex items-center px-2 py-2 text-sm font-medium rounded-md w-full text-left hover:bg-glass">
                            <svg xmlns="http://www.w3.org/2000/svg" class="mr-3 h-5 w-5 text-soft group-hover:text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
                            </svg>
                            Notes
                        </button>
                    </div>
                    <div>
                        <button class="group flex items-center px-2 py-2 text-sm font-medium rounded-md w-full text-left hover:bg-glass">
                            <svg xmlns="http://www.w3.org/2000/svg" class="mr-3 h-5 w-5 text-soft group-hover:text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253" />
                            </svg>
                            Readings
                        </button>
                    </div>
                    <div>
                        <button class="group flex items-center px-2 py-2 text-sm font-medium rounded-md w-full text-left hover:bg-glass">
                            <svg xmlns="http://www.w3.org/2000/svg" class="mr-3 h-5 w-5 text-soft group-hover:text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
                            </svg>
                            Habits
                        </button>
                    </div>
                    <div>
                        <button class="group flex items-center px-2 py-2 text-sm font-medium rounded-md w-full text-left hover:bg-glass">
                            <svg xmlns="http://www.w3.org/2000/svg" class="mr-3 h-5 w-5 text-soft group-hover:text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />
                            </svg>
                            Projects
                        </button>
                    </div>
                    <div>
                        <button class="group flex items-center px-2 py-2 text-sm font-medium rounded-md w-full text-left hover:bg-glass">
                            <svg xmlns="http://www.w3.org/2000/svg" class="mr-3 h-5 w-5 text-soft group-hover:text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" />
                            </svg>
                            Personal Wiki
                        </button>
                    </div>
                </nav>
                <div class="px-4 py-4 border-t border-secondary mt-4">
                    <h3 class="text-xs font-semibold text-soft uppercase tracking-wider">Esferas de Interesse</h3>
                    <div class="mt-2 space-y-1">
                        <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-text hover:bg-glass">
                            <span class="w-2 h-2 rounded-full bg-blue mr-3"></span>
                            Philosophy
                        </a>
                        <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-text hover:bg-glass">
                            <span class="w-2 h-2 rounded-full bg-green mr-3"></span>
                            Neuroscience
                        </a>
                        <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-text hover:bg-glass">
                            <span class="w-2 h-2 rounded-full bg-accent mr-3"></span>
                            Productivity
                        </a>
                        <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-text hover:bg-glass">
                            <span class="w-2 h-2 rounded-full bg-red mr-3"></span>
                            Design
                        </a>
                    </div>
                </div>
            </div>
        </aside>

        <!-- Main Content Area -->
        <main class="flex-1 md:ml-64 transition-all duration-300">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
                <!-- Dashboard Header -->
                <div class="mb-8">
                    <h2 class="text-2xl font-semibold">Dashboard</h2>
                    <p class="text-soft mt-1">Welcome back. Here's what's happening today.</p>
                </div>

                <!-- AI Summary Card -->
                <div class="card rounded-xl p-6 mb-8 animate-fade-in" style="animation-delay: 0.1s;">
                    <div class="flex items-start">
                        <div class="flex-shrink-0 h-10 w-10 rounded-full bg-glass border border-secondary flex items-center justify-center">
                            <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
                            </svg>
                        </div>
                        <div class="ml-4">
                            <h3 class="text-lg font-medium">Since you were away...</h3>
                            <p class="mt-1 text-sm text-soft">You have 3 tasks due today, your reading "Deep Work" is 72% complete, and you've maintained your meditation streak for 14 days. Would you like me to suggest a focus session?</p>
                            <div class="mt-3 flex space-x-3">
                                <button class="px-3 py-1 bg-glass border border-secondary rounded-lg text-sm font-medium hover:bg-secondary">Yes, please</button>
                                <button class="px-3 py-1 text-sm font-medium text-soft hover:text-text">Not now</button>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Dashboard Grid -->
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                    <!-- Today's Tasks Card -->
                    <div class="card rounded-xl p-5 animate-fade-in" style="animation-delay: 0.2s;">
                        <div class="flex items-center justify-between mb-4">
                            <h3 class="font-medium">Today's Tasks</h3>
                            <button class="text-soft hover:text-text">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                                </svg>
                            </button>
                        </div>
                        <div class="space-y-3">
                            <div class="flex items-start">
                                <input type="checkbox" class="mt-1 h-4 w-4 rounded border-secondary bg-glass text-accent focus:ring-accent">
                                <div class="ml-3">
                                    <p class="text-sm">Complete project proposal</p>
                                    <p class="text-xs text-soft mt-1">Due 5:00 PM</p>
                                </div>
                            </div>
                            <div class="flex items-start">
                                <input type="checkbox" class="mt-1 h-4 w-4 rounded border-secondary bg-glass text-accent focus:ring-accent">
                                <div class="ml-3">
                                    <p class="text-sm">Call with design team</p>
                                    <p class="text-xs text-soft mt-1">2:30 PM - 3:15 PM</p>
                                </div>
                            </div>
                            <div class="flex items-start">
                                <input type="checkbox" class="mt-1 h-4 w-4 rounded border-secondary bg-glass text-accent focus:ring-accent" checked>
                                <div class="ml-3">
                                    <p class="text-sm line-through text-soft">Morning meditation</p>
                                    <p class="text-xs text-soft mt-1">Completed at 7:15 AM</p>
                                </div>
                            </div>
                        </div>
                        <button class="mt-4 w-full py-2 bg-glass border border-dashed border-secondary rounded-lg text-sm font-medium hover:bg-secondary flex items-center justify-center">
                            <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                            </svg>
                            Add task
                        </button>
                    </div>

                    <!-- Current Readings Card -->
                    <div class="card rounded-xl p-5 animate-fade-in" style="animation-delay: 0.3s;">
                        <div class="flex items-center justify-between mb-4">
                            <h3 class="font-medium">Current Readings</h3>
                            <button class="text-soft hover:text-text">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                                </svg>
                            </button>
                        </div>
                        <div class="space-y-4">
                            <div>
                                <div class="flex items-start">
                                    <div class="flex-shrink-0 h-12 w-12 rounded bg-glass border border-secondary flex items-center justify-center">
                                        <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-soft" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253" />
                                        </svg>
                                    </div>
                                    <div class="ml-3">
                                        <p class="text-sm font-medium">Deep Work</p>
                                        <p class="text-xs text-soft mt-1">Cal Newport • 72% complete</p>
                                        <div class="mt-2 w-full bg-secondary rounded-full h-1.5">
                                            <div class="bg-accent h-1.5 rounded-full" style="width: 72%"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <div class="flex items-start">
                                    <div class="flex-shrink-0 h-12 w-12 rounded bg-glass border border-secondary flex items-center justify-center">
                                        <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-soft" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253" />
                                        </svg>
                                    </div>
                                    <div class="ml-3">
                                        <p class="text-sm font-medium">Atomic Habits</p>
                                        <p class="text-xs text-soft mt-1">James Clear • 35% complete</p>
                                        <div class="mt-2 w-full bg-secondary rounded-full h-1.5">
                                            <div class="bg-green h-1.5 rounded-full" style="width: 35%"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <button class="mt-4 w-full py-2 bg-glass border border-dashed border-secondary rounded-lg text-sm font-medium hover:bg-secondary flex items-center justify-center">
                            <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                            </svg>
                            Add reading
                        </button>
                    </div>

                    <!-- Habits Card -->
                    <div class="card rounded-xl p-5 animate-fade-in" style="animation-delay: 0.4s;">
                        <div class="flex items-center justify-between mb-4">
                            <h3 class="font-medium">Habits</h3>
                            <button class="text-soft hover:text-text">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                                </svg>
                            </button>
                        </div>
                        <div class="space-y-3">
                            <div class="flex items-center justify-between">
                                <div class="flex items-center">
                                    <div class="h-8 w-8 rounded-full bg-glass border border-secondary flex items-center justify-center mr-3">
                                        <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-green" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
                                        </svg>
                                    </div>
                                    <div>
                                        <p class="text-sm">Meditation</p>
                                        <p class="text-xs text-soft">14 day streak</p>
                                    </div>
                                </div>
                                <div class="flex space-x-1">
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                </div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center">
                                    <div class="h-8 w-8 rounded-full bg-glass border border-secondary flex items-center justify-center mr-3">
                                        <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-green" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
                                        </svg>
                                    </div>
                                    <div>
                                        <p class="text-sm">Journaling</p>
                                        <p class="text-xs text-soft">5 day streak</p>
                                    </div>
                                </div>
                                <div class="flex space-x-1">
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-secondary"></div>
                                    <div class="h-2 w-2 rounded-full bg-secondary"></div>
                                </div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center">
                                    <div class="h-8 w-8 rounded-full bg-glass border border-secondary flex items-center justify-center mr-3">
                                        <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-red" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
                                        </svg>
                                    </div>
                                    <div>
                                        <p class="text-sm">Exercise</p>
                                        <p class="text-xs text-soft">Streak broken</p>
                                    </div>
                                </div>
                                <div class="flex space-x-1">
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-green"></div>
                                    <div class="h-2 w-2 rounded-full bg-red"></div>
                                    <div class="h-2 w-2 rounded-full bg-secondary"></div>
                                    <div class="h-2 w-2 rounded-full bg-secondary"></div>
                                    <div class="h-2 w-2 rounded-full bg-secondary"></div>
                                </div>
                            </div>
                        </div>
                        <button class="mt-4 w-full py-2 bg-glass border border-dashed border-secondary rounded-lg text-sm font-medium hover:bg-secondary flex items-center justify-center">
                            <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                            </svg>
                            Add habit
                        </button>
                    </div>

                    <!-- Quick Notes Card -->
                    <div class="card rounded-xl p-5 animate-fade-in" style="animation-delay: 0.5s;">
                        <div class="flex items-center justify-between mb-4">
                            <h3 class="font-medium">Quick Notes</h3>
                            <button class="text-soft hover:text-text">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                                </svg>
                            </button>
                        </div>
                        <textarea class="note-textarea w-full h-24 bg-glass border border-secondary rounded-lg p-3 text-sm focus:border-accent" placeholder="Jot down your thoughts..."></textarea>
                        <div class="mt-3 flex justify-between items-center">
                            <div class="flex space-x-2">
                                <button class="text-soft hover:text-text">
                                    <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
                                    </svg>
                                </button>
                                <button class="text-soft hover:text-text">
                                    <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13" />
                                    </svg>
                                </button>
                            </div>
                            <button class="px-3 py-1 bg-accent text-surface rounded-lg text-sm font-medium hover:bg-opacity-90">Save</button>
                        </div>
                    </div>

                    <!-- Recent Projects Card -->
                    <div class="card rounded-xl p-5 animate-fade-in" style="animation-delay: 0.6s;">
                        <div class="flex items-center justify-between mb-4">
                            <h3 class="font-medium">Recent Projects</h3>
                            <button class="text-soft hover:text-text">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                                </svg>
                            </button>
                        </div>
                        <div class="space-y-3">
                            <div class="flex items-center">
                                <div class="h-8 w-8 rounded bg-blue bg-opacity-20 flex items-center justify-center mr-3">
                                    <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-blue" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />
                                    </svg>
                                </div>
                                <div>
                                    <p class="text-sm">Website Redesign</p>
                                    <p class="text-xs text-soft">3 tasks remaining</p>
                                </div>
                            </div>
                            <div class="flex items-center">
                                <div class="h-8 w-8 rounded bg-green bg-opacity-20 flex items-center justify-center mr-3">
                                    <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-green" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />
                                    </svg>
                                </div>
                                <div>
                                    <p class="text-sm">Marketing Campaign</p>
                                    <p class="text-xs text-soft">Completed 2 days ago</p>
                                </div>
                            </div>
                            <div class="flex items-center">
                                <div class="h-8 w-8 rounded bg-accent bg-opacity-20 flex items-center justify-center mr-3">
                                    <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />
                                    </svg>
                                </div>
                                <div>
                                    <p class="text-sm">Product Roadmap</p>
                                    <p class="text-xs text-soft">Due in 5 days</p>
                                </div>
                            </div>
                        </div>
                        <button class="mt-4 w-full py-2 bg-glass border border-dashed border-secondary rounded-lg text-sm font-medium hover:bg-secondary flex items-center justify-center">
                            <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                            </svg>
                            Add project
                        </button>
                    </div>

                    <!-- Personal Wiki Card -->
                    <div class="card rounded-xl p-5 animate-fade-in" style="animation-delay: 0.7s;">
                        <div class="flex items-center justify-between mb-4">
                            <h3 class="font-medium">Personal Wiki</h3>
                            <button class="text-soft hover:text-text">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                                </svg>
                            </button>
                        </div>
                        <div class="space-y-3">
                            <div class="flex items-center">
                                <div class="h-8 w-8 rounded bg-glass border border-secondary flex items-center justify-center mr-3">
                                    <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-soft" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" />
                                    </svg>
                                </div>
                                <div>
                                    <p class="text-sm">Philosophy</p>
                                    <p class="text-xs text-soft">12 notes, last updated yesterday</p>
                                </div>
                            </div>
                            <div class="flex items-center">
                                <div class="h-8 w-8 rounded bg-glass border border-secondary flex items-center justify-center mr-3">
                                    <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-soft" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" />
                                    </svg>
                                </div>
                                <div>
                                    <p class="text-sm">Neuroscience</p>
                                    <p class="text-xs text-soft">8 notes, last updated 3 days ago</p>
                                </div>
                            </div>
                            <div class="flex items-center">
                                <div class="h-8 w-8 rounded bg-glass border border-secondary flex items-center justify-center mr-3">
                                    <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-soft" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" />
                                    </svg>
                                </div>
                                <div>
                                    <p class="text-sm">Productivity</p>
                                    <p class="text-xs text-soft">15 notes, last updated today</p>
                                </div>
                            </div>
                        </div>
                        <button class="mt-4 w-full py-2 bg-glass border border-dashed border-secondary rounded-lg text-sm font-medium hover:bg-secondary flex items-center justify-center">
                            <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                            </svg>
                            Add area
                        </button>
                    </div>
                </div>
            </div>
        </main>
    </div>

    <!-- AI Chat Button -->
    <div class="fixed bottom-6 right-6 z-50">
        <button id="ai-chat-button" class="h-14 w-14 rounded-full bg-accent flex items-center justify-center shadow-lg hover:shadow-xl transition-shadow">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-surface" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z" />
            </svg>
        </button>
    </div>

    <!-- AI Chat Panel -->
    <div id="ai-chat" class="ai-chat fixed bottom-20 right-6 w-80 bg-glass backdrop-blur-md border border-secondary rounded-xl overflow-hidden z-40">
        <div class="p-4 border-b border-secondary">
            <div class="flex items-center justify-between">
                <h3 class="font-medium">Taskesphere AI</h3>
                <div class="flex space-x-2">
                    <button class="text-soft hover:text-text">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z" />
                        </svg>
                    </button>
                    <button id="ai-chat-close" class="text-soft hover:text-text">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
                        </svg>
                    </button>
                </div>
            </div>
            <div class="mt-2 flex space-x-2">
                <button class="px-3 py-1 bg-secondary rounded-lg text-sm font-medium">Proactive</button>
                <button class="px-3 py-1 bg-glass rounded-lg text-sm font-medium hover:bg-secondary">Manual</button>
            </div>
        </div>
        <div class="p-4 h-48 overflow-y-auto">
            <div class="flex mb-3">
                <div class="flex-shrink-0 h-8 w-8 rounded-full bg-glass border border-secondary flex items-center justify-center mr-3">
                    <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
                    </svg>
                </div>
                <div class="bg-secondary rounded-lg p-3 text-sm">
                    <p>What would you like to reflect on today? I noticed you've been reading about habit formation - would you like me to generate a personalized plan for you?</p>
                </div>
            </div>
        </div>
        <div class="p-3 border-t border-secondary">
            <div class="relative">
                <input type="text" class="w-full bg-glass border border-secondary rounded-lg py-2 pl-4 pr-10 text-sm focus:outline-none focus:border-accent" placeholder="Type your message...">
                <button class="absolute right-2 top-1/2 transform -translate-y-1/2 text-soft hover:text-accent">
                    <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
                    </svg>
                </button>
            </div>
        </div>
    </div>

    <script>
        // Toggle sidebar on mobile
        const sidebarToggle = document.getElementById('sidebar-toggle');
        const sidebar = document.getElementById('sidebar');
        
        sidebarToggle.addEventListener('click', () => {
            sidebar.classList.toggle('-translate-x-full');
        });
        
        // Toggle AI chat panel
        const aiChatButton = document.getElementById('ai-chat-button');
        const aiChat = document.getElementById('ai-chat');
        const aiChatClose = document.getElementById('ai-chat-close');
        
        aiChatButton.addEventListener('click', () => {
            aiChat.classList.toggle('active');
        });
        
        aiChatClose.addEventListener('click', () => {
            aiChat.classList.remove('active');
        });
        
        // Animate cards on load
        document.addEventListener('DOMContentLoaded', () => {
            const cards = document.querySelectorAll('.animate-fade-in');
            cards.forEach((card, index) => {
                card.style.animationDelay = `${0.1 + index * 0.1}s`;
            });
        });
    </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=Xterminator/task-test-2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>