-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpresentation.html
More file actions
1066 lines (992 loc) ยท 67.1 KB
/
Copy pathpresentation.html
File metadata and controls
1066 lines (992 loc) ยท 67.1 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
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SentiVest Presentation</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<style>
*{margin:0;padding:0;box-sizing:border-box}
:root{
--navy:#003B5C;--navy-deep:#001A2E;--teal:#007A6E;--teal-bright:#00A896;
--white:#FFFFFF;--off-white:#F8FAFB;--bg:#FFFFFF;
--text:#0F172A;--text-mid:#334155;--text-light:#64748B;
--border:#E2E8F0;--border-light:#F1F5F9;
--red:#DC2626;--red-bg:#FEF2F2;
--orange:#EA580C;--orange-bg:#FFF7ED;
--green:#059669;--green-bg:#ECFDF5;
--blue:#2563EB;--blue-bg:#EFF6FF;
--purple:#7C3AED;--purple-bg:#F5F3FF;
}
html,body{width:100%;height:100%;overflow:hidden;background:var(--white);font-family:'Inter',sans-serif;color:var(--text)}
/* Slide container */
.deck{width:100%;height:100%;position:relative}
.slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:80px 120px;opacity:0;visibility:hidden;transition:opacity 0.45s ease,transform 0.45s ease;transform:translateX(60px)}
.slide.active{opacity:1;visibility:visible;transform:translateX(0)}
.slide.prev{opacity:0;transform:translateX(-60px)}
/* Backgrounds โ high contrast */
.bg-white{background:var(--white)}
.bg-light{background:var(--off-white)}
.bg-navy{background:var(--navy);color:var(--white)}
.bg-dark{background:var(--navy-deep);color:var(--white)}
.bg-teal{background:var(--teal);color:var(--white)}
.bg-black{background:#0A0A0A;color:var(--white)}
/* Subtle background decoration */
.bg-dots{position:absolute;inset:0;pointer-events:none;opacity:0.03;background-image:radial-gradient(circle,var(--navy) 1px,transparent 1px);background-size:32px 32px}
/* Typography โ LARGE for back-row readability */
h1{font-size:80px;font-weight:900;line-height:1.05;letter-spacing:-3px;color:var(--text)}
h2{font-size:56px;font-weight:800;line-height:1.1;letter-spacing:-2px;color:var(--text)}
h3{font-size:40px;font-weight:700;line-height:1.2;letter-spacing:-1px;color:var(--text)}
p{font-size:24px;line-height:1.6;color:var(--text-mid)}
.subtitle{font-size:28px;color:var(--text-mid);font-weight:400;margin-top:16px}
.small{font-size:18px;color:var(--text-light)}
.label{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:3px;color:var(--teal);margin-bottom:20px}
.highlight{color:var(--teal)}
.red{color:var(--red)}
/* On dark slides */
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-dark h1,.bg-dark h2,.bg-dark h3,.bg-black h1,.bg-black h2,.bg-black h3,.bg-teal h1,.bg-teal h2,.bg-teal h3{color:var(--white)}
.bg-navy p,.bg-dark p,.bg-black p,.bg-teal p{color:rgba(255,255,255,0.8)}
.bg-navy .label,.bg-dark .label{color:var(--teal-bright)}
.bg-teal .label{color:rgba(255,255,255,0.7)}
.bg-navy .highlight,.bg-dark .highlight,.bg-black .highlight{color:var(--teal-bright)}
.bg-navy .text-muted,.bg-dark .text-muted{color:rgba(255,255,255,0.5)}
.bg-navy .small,.bg-dark .small,.bg-black .small{color:rgba(255,255,255,0.5)}
/* Layout */
.left-align{align-items:flex-start;text-align:left}
.center{text-align:center}
.full-width{width:100%}
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-48{margin-top:48px}.mt-64{margin-top:64px}
.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:60px;width:100%;align-items:center}
.three-col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px;width:100%}
/* Cards โ light theme */
.card{background:var(--white);border:2px solid var(--border);border-radius:16px;padding:32px;transition:border-color 0.2s}
.card-accent{border-left:4px solid var(--teal)}
.card-icon{font-size:36px;margin-bottom:12px}
.card-title{font-size:20px;font-weight:700;color:var(--text);margin-bottom:8px}
.card-desc{font-size:16px;color:var(--text-mid);line-height:1.6}
.card-glow{border-color:var(--teal);box-shadow:0 0 0 4px rgba(0,122,110,0.08)}
/* Dark slide cards */
.bg-dark .card,.bg-navy .card{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.12)}
.bg-dark .card-title,.bg-navy .card-title{color:var(--white)}
.bg-dark .card-desc,.bg-navy .card-desc{color:rgba(255,255,255,0.6)}
.bg-dark .card-glow,.bg-navy .card-glow{border-color:var(--teal-bright);box-shadow:0 0 0 4px rgba(0,168,150,0.15)}
/* Pill cards (agent capabilities) */
.pill-card{display:flex;align-items:center;gap:16px;padding:20px 28px;border-radius:14px;border:2px solid var(--border);background:var(--white)}
.pill-icon{font-size:28px;flex-shrink:0}
.pill-label{font-size:20px;font-weight:700}
.pill-desc{font-size:16px;color:var(--text-mid)}
.pill-card.teal{border-color:var(--teal);background:rgba(0,122,110,0.04)}.pill-card.teal .pill-label{color:var(--teal)}
.pill-card.blue{border-color:var(--blue);background:var(--blue-bg)}.pill-card.blue .pill-label{color:var(--blue)}
.pill-card.orange{border-color:var(--orange);background:var(--orange-bg)}.pill-card.orange .pill-label{color:var(--orange)}
.pill-card.purple{border-color:var(--purple);background:var(--purple-bg)}.pill-card.purple .pill-label{color:var(--purple)}
.pill-card.green{border-color:var(--green);background:var(--green-bg)}.pill-card.green .pill-label{color:var(--green)}
/* Comparison table โ high contrast */
.comp-table{width:100%;border-collapse:separate;border-spacing:0;margin-top:24px;font-size:18px}
.comp-table th{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;padding:14px 24px;text-align:left;border-bottom:3px solid var(--border);color:var(--text-light)}
.comp-table td{padding:16px 24px;border-bottom:1px solid var(--border-light);color:var(--text-mid)}
.comp-table td:first-child{font-weight:700;color:var(--text)}
.comp-table .col-hl{background:rgba(0,122,110,0.06)}
.comp-table .col-hl td{color:var(--teal);font-weight:600}
.comp-table .col-hl th{color:var(--teal);background:rgba(0,122,110,0.06)}
.comp-table tr:last-child td{border-bottom:none}
/* Shift table */
.shift-table{width:100%;margin-top:32px}
.shift-row{display:flex;align-items:center;padding:18px 0;border-bottom:2px solid var(--border-light)}
.shift-row:last-child{border-bottom:none}
.shift-old{flex:1;font-size:22px;color:var(--text-light);text-decoration:line-through;text-decoration-color:var(--border)}
.shift-arrow{padding:0 28px;font-size:24px;color:var(--teal)}
.shift-new{flex:1;font-size:22px;font-weight:700;color:var(--text)}
.shift-new.accent{color:var(--teal)}
/* Stats grid */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;width:100%;margin-top:32px}
.stat-card{background:var(--white);border:2px solid var(--border);border-radius:14px;padding:28px;text-align:center}
.stat-num{font-size:48px;font-weight:900;font-family:'JetBrains Mono',monospace;color:var(--teal)}
.stat-label{font-size:15px;color:var(--text-mid);margin-top:8px;font-weight:600}
/* Dark */
.bg-dark .stat-card{background:rgba(255,255,255,0.05);border-color:rgba(255,255,255,0.1)}
.bg-dark .stat-num{color:var(--teal-bright)}
.bg-dark .stat-label{color:rgba(255,255,255,0.6)}
/* Tech stack */
.tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%;margin-top:28px}
.tech-item{display:flex;align-items:center;gap:16px;padding:16px 24px;background:var(--off-white);border:1px solid var(--border);border-radius:12px}
.tech-label{font-size:13px;color:var(--teal);font-weight:700;text-transform:uppercase;letter-spacing:1.5px;min-width:110px}
.tech-value{font-size:17px;color:var(--text);font-weight:600}
/* Bullet list โ larger for readability */
.bullets{list-style:none;display:flex;flex-direction:column;gap:18px;margin-top:24px}
.bullets li{font-size:22px;color:var(--text-mid);line-height:1.5;padding-left:24px;position:relative}
.bullets li::before{content:'';width:10px;height:10px;border-radius:50%;background:var(--teal);position:absolute;left:0;top:10px}
.bullets.red-bullets li::before{background:var(--red)}
.bullets li strong{color:var(--text)}
/* Dark */
.bg-navy .bullets li,.bg-dark .bullets li{color:rgba(255,255,255,0.8)}
.bg-navy .bullets li strong,.bg-dark .bullets li strong{color:var(--white)}
.bg-navy .bullets li::before,.bg-dark .bullets li::before{background:var(--teal-bright)}
/* Flow diagram */
.flow{display:flex;align-items:center;gap:12px;margin-top:36px;flex-wrap:wrap;justify-content:center}
.flow-node{padding:14px 28px;border-radius:12px;font-size:18px;font-weight:700;background:rgba(0,122,110,0.08);border:2px solid var(--teal);color:var(--teal)}
.flow-arrow{font-size:24px;color:var(--border)}
.flow-node.red{background:var(--red-bg);border-color:var(--red);color:var(--red)}
.flow-node.purple{background:var(--purple-bg);border-color:var(--purple);color:var(--purple)}
/* Architecture diagram */
.arch-layer{width:100%;padding:20px 28px;border-radius:12px;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;font-size:17px;border:2px solid}
.arch-layer .arch-name{font-weight:800}
.arch-layer .arch-detail{font-size:14px;font-weight:500}
.arch-1{background:rgba(0,122,110,0.06);border-color:var(--teal);color:var(--teal)}
.arch-1 .arch-detail{color:rgba(0,122,110,0.7)}
.arch-2{background:var(--blue-bg);border-color:var(--blue);color:var(--blue)}
.arch-2 .arch-detail{color:rgba(37,99,235,0.7)}
.arch-3{background:rgba(0,59,92,0.06);border-color:var(--navy);color:var(--navy)}
.arch-3 .arch-detail{color:rgba(0,59,92,0.6)}
.arch-4{background:var(--orange-bg);border-color:var(--orange);color:var(--orange)}
.arch-4 .arch-detail{color:rgba(234,88,12,0.7)}
.arch-5{background:var(--off-white);border-color:var(--border);color:var(--text-mid)}
.arch-5 .arch-detail{color:var(--text-light)}
.arch-arrow{text-align:center;padding:2px 0;font-size:18px;color:var(--border)}
/* Graph chain nodes */
.graph-node{padding:10px 20px;border-radius:24px;font-size:16px;font-weight:700;display:inline-block}
.gn-merchant{background:rgba(0,122,110,0.1);color:var(--teal);border:2px solid var(--teal)}
.gn-category{background:var(--blue-bg);color:var(--blue);border:2px solid var(--blue)}
.gn-budget{background:var(--orange-bg);color:var(--orange);border:2px solid var(--orange)}
.gn-pattern{background:var(--purple-bg);color:var(--purple);border:2px solid var(--purple)}
.gn-predict{background:var(--green-bg);color:var(--green);border:2px solid var(--green)}
.graph-edge{font-size:22px;color:var(--border);margin:0 4px}
/* Demo commands */
.demo-cmd{font-family:'JetBrains Mono',monospace;font-size:20px;padding:16px 28px;background:var(--off-white);border:2px solid var(--border);border-radius:12px;margin:6px 0;display:flex;align-items:center;gap:16px}
.demo-cmd .cmd-icon{font-size:24px;flex-shrink:0}
.demo-cmd .cmd-text{color:var(--text);font-weight:500}
/* Dark */
.bg-dark .demo-cmd{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.12)}
.bg-dark .demo-cmd .cmd-text{color:var(--white)}
/* Big quote */
.big-quote{font-size:48px;font-weight:700;line-height:1.3;color:var(--white);text-align:center;max-width:900px}
.big-quote .qm{font-size:72px;color:var(--teal-bright);line-height:0;vertical-align:sub;font-weight:900}
/* Slide counter */
.slide-counter{position:fixed;bottom:24px;right:32px;font-size:14px;font-family:'JetBrains Mono',monospace;color:var(--text-light);z-index:100}
.bg-dark ~ .slide-counter,.bg-navy ~ .slide-counter,.bg-black ~ .slide-counter{color:rgba(255,255,255,0.3)}
/* Progress bar */
.progress-bar{position:fixed;top:0;left:0;height:4px;background:linear-gradient(90deg,var(--teal),var(--teal-bright));z-index:100;transition:width 0.4s ease}
/* Fullscreen button */
.fs-btn{position:fixed;bottom:24px;left:32px;padding:10px 18px;background:var(--off-white);border:1px solid var(--border);border-radius:8px;color:var(--text-mid);font-size:13px;font-weight:600;font-family:'Inter',sans-serif;cursor:pointer;z-index:100;transition:all 0.2s}
.fs-btn:hover{background:var(--teal);color:var(--white);border-color:var(--teal)}
/* Animations */
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
.slide.active .anim-1{animation:fadeInUp 0.5s ease 0.05s both}
.slide.active .anim-2{animation:fadeInUp 0.5s ease 0.15s both}
.slide.active .anim-3{animation:fadeInUp 0.5s ease 0.3s both}
.slide.active .anim-4{animation:fadeInUp 0.5s ease 0.45s both}
.slide.active .anim-5{animation:fadeInUp 0.5s ease 0.6s both}
.slide.active .anim-6{animation:fadeInUp 0.5s ease 0.75s both}
/* Responsive โ tablet */
@media(max-width:1200px){
h1{font-size:56px}h2{font-size:44px}h3{font-size:32px}
.slide{padding:40px 60px}
.stats-grid{grid-template-columns:repeat(2,1fr)}
}
/* Responsive โ phone */
@media(max-width:600px){
.slide{padding:24px 16px;overflow-y:auto;-webkit-overflow-scrolling:touch;justify-content:flex-start}
/* Center content vertically when it doesn't overflow, scroll naturally when it does */
.slide::before,.slide::after{content:'';flex:1 0 0px}
h1{font-size:28px;letter-spacing:-1px}
h2{font-size:24px;letter-spacing:-0.5px}
h3{font-size:20px;letter-spacing:0}
p{font-size:15px}
.subtitle{font-size:16px;margin-top:8px}
.small{font-size:11px}
.label{font-size:10px;letter-spacing:1.5px;margin-bottom:10px}
.highlight{word-break:break-word}
.mt-16{margin-top:8px}.mt-24{margin-top:12px}.mt-32{margin-top:14px}.mt-48{margin-top:18px}.mt-64{margin-top:24px}
.mb-16{margin-bottom:8px}.mb-24{margin-bottom:12px}
.two-col{grid-template-columns:1fr;gap:14px}
.three-col{grid-template-columns:1fr;gap:10px}
.stats-grid{grid-template-columns:1fr 1fr;gap:6px}
.stat-num{font-size:26px}
.stat-label{font-size:10px}
.stat-card{padding:12px}
.tech-grid{grid-template-columns:1fr;gap:6px}
.tech-item{padding:10px 12px}
.tech-label{font-size:10px;min-width:70px;letter-spacing:1px}
.tech-value{font-size:13px}
.bullets{gap:10px;margin-top:14px}
.bullets li{font-size:14px;padding-left:16px;line-height:1.5}
.bullets li::before{width:6px;height:6px;top:7px}
.comp-table{font-size:11px}
.comp-table th{padding:6px 5px;font-size:9px;letter-spacing:0.3px}
.comp-table td{padding:6px 5px}
.pill-card{padding:10px 14px;gap:10px}
.pill-icon{font-size:18px}
.pill-label{font-size:14px}
.pill-desc{font-size:12px}
.card{padding:14px;border-radius:10px}
.card-icon{font-size:20px;margin-bottom:6px}
.card-title{font-size:15px}
.card-desc{font-size:12px;line-height:1.5}
.flow{gap:4px;margin-top:12px}
.flow-node{padding:5px 8px;font-size:10px;border-radius:6px}
.flow-arrow{font-size:12px}
.arch-layer{padding:10px 12px;font-size:13px;margin-bottom:5px;border-width:1px}
.arch-layer .arch-name{font-size:13px}
.arch-layer .arch-detail{font-size:10px}
.arch-arrow{font-size:12px;padding:1px 0}
.demo-cmd{padding:8px 12px;font-size:13px;gap:10px}
.demo-cmd .cmd-icon{font-size:16px}
.big-quote{font-size:22px;padding:0 10px}
.big-quote .qm{font-size:36px}
.shift-table{margin-top:14px}
.shift-row{padding:8px 0}
.shift-old{font-size:13px}
.shift-new{font-size:13px}
.shift-arrow{padding:0 8px;font-size:14px}
.db-mock{font-size:8px;padding:10px;line-height:1.6}
.kg-box{padding:10px}
.graph-node{padding:5px 10px;font-size:11px;border-width:1px}
.graph-edge{font-size:14px;margin:0 2px}
.phone-mock{width:100px;height:200px;border-width:2px;border-radius:18px}
.phone-mock-bar{padding:3px 8px;font-size:7px}
.phone-mock-content{padding:5px;gap:3px;font-size:7px}
.phone-mock-nav{padding:3px;font-size:6px}
.slide-counter{font-size:9px;bottom:8px;right:10px}
.fs-btn{display:none}
.presenter-notes{font-size:10px;padding:8px 12px}
.progress-bar{height:2px}
/* QR codes smaller on mobile */
#qr-follow{width:80px!important;height:80px!important}
#qr-repo{width:120px!important;height:120px!important}
/* Force inline grids to single column on portrait mobile */
[style*="grid-template-columns"]{grid-template-columns:1fr!important}
.stats-grid{grid-template-columns:1fr 1fr!important}
/* Title slide QR area + final slide QR area: stack vertically */
.slide > [style*="display:flex"][style*="gap:24px"],
.slide > [style*="display:flex"][style*="gap:48px"]{
flex-direction:column!important;align-items:center!important;gap:16px!important;text-align:center!important
}
/* Big DEMO text */
.slide h1[style*="font-size:140px"]{font-size:56px!important;letter-spacing:-2px!important}
/* Scale down inline font sizes on dark statement slides */
.bg-navy p[style*="font-size"], .bg-dark p[style*="font-size"],
.bg-black p[style*="font-size"], .bg-teal p[style*="font-size"]{font-size:15px!important}
.bg-navy h2[style], .bg-dark h2[style]{font-size:20px!important}
/* Bordered highlight boxes */
[style*="padding:24px 48px"]{padding:14px 18px!important}
[style*="padding:16px 24px"]{padding:10px 14px!important}
/* Questions slide title */
.slide h1[style*="font-size:64px"]{font-size:32px!important}
/* Final slide: center everything */
.slide:last-of-type [style*="text-align:left"]{text-align:center!important}
.slide:last-of-type .bullets{align-items:center}
/* Mobile nav hint */
.mobile-nav-hint{display:flex!important}
/* Bottom padding so content doesn't hide behind nav bar */
.slide{padding-bottom:60px!important}
/* Slide counter above nav bar */
.slide-counter{bottom:52px}
/* Hide keyboard/space hint on title slide (not useful on mobile) */
.slide:first-of-type .small:last-child{display:none}
/* Narrower max-widths for text on mobile */
[style*="max-width:900px"]{max-width:100%!important}
[style*="max-width:820px"]{max-width:100%!important}
[style*="max-width:750px"]{max-width:100%!important}
[style*="max-width:700px"]{max-width:100%!important}
[style*="max-width:650px"]{max-width:100%!important}
}
/* Phone landscape */
@media(max-height:500px){
.slide{padding:12px 24px;justify-content:flex-start;overflow-y:auto}
h1{font-size:28px}h2{font-size:22px}h3{font-size:18px}
.mt-48{margin-top:10px}.mt-64{margin-top:16px}.mt-32{margin-top:8px}
.stats-grid{grid-template-columns:repeat(4,1fr);gap:6px}
.stat-num{font-size:22px}
.stat-card{padding:8px}
.big-quote{font-size:20px}
}
/* Presenter notes */
.presenter-notes{display:none;position:fixed;bottom:0;left:0;right:0;background:rgba(15,23,42,0.95);border-top:3px solid var(--teal);padding:16px 32px;font-size:15px;color:rgba(255,255,255,0.8);z-index:200;max-height:130px;overflow-y:auto;backdrop-filter:blur(12px)}
.presenter-notes.visible{display:block}
.presenter-notes strong{color:var(--teal-bright)}
/* Dark DB mockup on light slide */
.db-mock{font-family:'JetBrains Mono',monospace;font-size:14px;color:var(--text-light);background:var(--off-white);padding:24px;border-radius:12px;border:2px solid var(--border);line-height:1.8}
.db-mock .db-dim{color:var(--red);font-weight:600;margin-top:8px;display:block}
/* KG side box */
.kg-box{background:rgba(0,122,110,0.04);padding:24px;border-radius:12px;border:2px solid var(--teal)}
.kg-box .kg-label{font-size:14px;color:var(--teal);font-weight:600;margin-top:14px}
/* Phone mockup on light bg */
.phone-mock{width:200px;height:400px;border:3px solid var(--navy);border-radius:28px;margin:0 auto;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,59,92,0.15)}
.phone-mock-bar{background:var(--navy);padding:6px 14px;font-size:9px;color:rgba(255,255,255,0.8);display:flex;justify-content:space-between}
.phone-mock-content{flex:1;background:var(--off-white);padding:10px;display:flex;flex-direction:column;gap:6px;font-size:9px;color:var(--text)}
.phone-mock-nav{display:flex;justify-content:space-around;padding:6px;background:var(--white);border-top:1px solid var(--border);font-size:8px;color:var(--text-light)}
/* Dark slide overrides for comp-table */
.bg-dark .comp-table th{color:rgba(255,255,255,0.5);border-bottom-color:rgba(255,255,255,0.1)}
.bg-dark .comp-table td{color:rgba(255,255,255,0.6);border-bottom-color:rgba(255,255,255,0.06)}
.bg-dark .comp-table td:first-child{color:var(--white)}
.bg-dark .comp-table .col-hl{background:rgba(0,168,150,0.1)}
.bg-dark .comp-table .col-hl td,.bg-dark .comp-table .col-hl th{color:var(--teal-bright)}
/* Dark slide overrides for shift table */
.bg-navy .shift-row{border-bottom-color:rgba(255,255,255,0.08)}
.bg-navy .shift-old{color:rgba(255,255,255,0.3);text-decoration-color:rgba(255,255,255,0.15)}
.bg-navy .shift-new{color:var(--white)}
.bg-navy .shift-arrow{color:var(--teal-bright)}
</style>
</head>
<body>
<div class="progress-bar" id="progressBar"></div>
<div class="slide-counter" id="slideCounter">1 / 22</div>
<button class="fs-btn" onclick="toggleFullscreen()">F Fullscreen</button>
<div class="mobile-nav-hint" style="display:none;position:fixed;bottom:0;left:0;right:0;z-index:100;justify-content:space-between;padding:10px 20px;background:rgba(255,255,255,0.92);border-top:1px solid var(--border);backdrop-filter:blur(8px)">
<button onclick="goTo(current-1)" style="padding:10px 24px;border:1.5px solid var(--border);border-radius:8px;background:var(--white);font-size:15px;font-weight:600;color:var(--text-mid);font-family:inherit;cursor:pointer">← Prev</button>
<span id="mobileCounter" style="font-size:13px;color:var(--text-light);font-family:'JetBrains Mono',monospace;align-self:center">1/22</span>
<button onclick="goTo(current+1)" style="padding:10px 24px;border:1.5px solid var(--teal);border-radius:8px;background:var(--teal);font-size:15px;font-weight:600;color:var(--white);font-family:inherit;cursor:pointer">Next →</button>
</div>
<div class="presenter-notes" id="presenterNotes"></div>
<div class="deck" id="deck">
<!-- ============ SLIDE 1: TITLE ============ -->
<div class="slide bg-white active" data-notes="Welcome everyone. Today I'm presenting SentiVest, an AI-powered private banking agent built on a personal financial knowledge graph.">
<div class="bg-dots"></div>
<div class="label anim-1">AI Banking Agent</div>
<h1 class="anim-2">Senti<span class="highlight">Vest</span></h1>
<p class="subtitle anim-3">AI Private Banking Agent with a<br>Personal Financial Knowledge Graph</p>
<p class="small anim-3 mt-16" style="color:var(--text-mid);font-weight:600">Nevin Tom · Data Engineer</p>
<div class="anim-4 mt-48" style="display:flex;align-items:center;gap:24px">
<canvas id="qr-follow" width="120" height="120" style="border:2px solid var(--border);border-radius:10px;padding:6px;background:#fff"></canvas>
<div style="text-align:left">
<p style="font-size:18px;font-weight:700;color:var(--text)">Follow along on your phone</p>
<p style="font-size:13px;color:var(--teal);font-family:'JetBrains Mono',monospace;margin-top:4px">nevvyboi.github.io/SentiVest/presentation.html</p>
</div>
</div>
<p class="small mt-24 anim-5">Press <strong style="color:var(--teal)">Space</strong> or <strong style="color:var(--teal)">Arrow Keys</strong> to navigate · <strong style="color:var(--teal)">F</strong> fullscreen · <strong style="color:var(--teal)">N</strong> notes</p>
</div>
<!-- ============ SLIDE 2: WHY I BUILT THIS ============ -->
<div class="slide bg-light left-align" data-notes="Personal framing. I bank with Investec, I never learn anything from my app. What if it actually understood me? That's why I built this, about 10,000 lines of code.">
<div class="bg-dots"></div>
<div class="label anim-1">The Motivation</div>
<h2 class="anim-2">Why I built this</h2>
<ul class="bullets anim-3 mt-32">
<li>I bank with Investec. I open the app, check my balance, scroll through transactions, and close it. I never actually <strong>learn</strong> anything from it.</li>
<li>That got me thinking: <strong style="color:var(--teal)">what if my banking app actually understood me?</strong></li>
<li>Not just numbers on a screen, but something that <strong>connects the dots</strong>, knows my habits, warns me before I overspend, and remembers my goals.</li>
<li>So I built it myself. Backend, frontend, AI, knowledge graph. <strong>~10,000 lines of code</strong>, one developer.</li>
</ul>
<p class="small mt-32 anim-4" style="color:var(--text-light)">Nevin Tom · Data Engineer · linkedin.com/in/nevtom</p>
</div>
<!-- ============ SLIDE 3: THE QUESTION ============ -->
<div class="slide bg-black" data-notes="Pause after this. Let the audience think. Then say: Banks give you data. Rows of transactions. But nobody gives you understanding.">
<div class="big-quote anim-1">
<span class="qm">"</span>Do you actually understand<br>where your money goes?<span class="qm">"</span>
</div>
</div>
<!-- ============ SLIDE 3: THE PROBLEM ============ -->
<div class="slide bg-white left-align" data-notes="Walk through each point. These aren't edge cases, this is everyone's reality. Build the pain before the solution.">
<div class="bg-dots"></div>
<div class="label anim-1">The Problem</div>
<h2 class="anim-2">Banking apps are <span class="red">passive</span></h2>
<ul class="bullets red-bullets anim-3 mt-32">
<li>They show data, they don't <strong>think</strong></li>
<li>Fraud detection is reactive. You find out <strong>after</strong> the damage</li>
<li>Spending, loans, investments, insurance, tax: all <strong>siloed</strong></li>
<li>Most people don't know their debt-to-income ratio or financial health</li>
<li>You can't talk to your bank at 2am and get a <strong>real answer</strong></li>
</ul>
</div>
<!-- ============ SLIDE 4: WHAT IF ============ -->
<div class="slide bg-navy" data-notes="This is the pivot moment. Pause before revealing. This is where curiosity turns to interest.">
<h2 class="anim-1" style="text-align:center">What if your banking app<br>wasn't an app...</h2>
<h2 class="anim-2 mt-16" style="text-align:center">but an <span class="highlight">agent</span>?</h2>
<p class="mt-32 anim-3" style="font-size:24px;text-align:center;max-width:700px">One that <strong style="color:#fff">thinks</strong>, <strong style="color:#fff">connects dots</strong>, <strong style="color:#fff">remembers you</strong>,<br>and <strong style="color:#fff">acts on your behalf</strong></p>
</div>
<!-- ============ SLIDE 5: APP vs CHATBOT vs AGENT ============ -->
<div class="slide bg-white left-align" data-notes="Build from left to right. Apps are dumb. Chatbots are scripted. Agents are autonomous. SentiVest is an agent.">
<div class="bg-dots"></div>
<div class="label anim-1">Understanding the difference</div>
<h3 class="anim-2 mb-24">App vs Chatbot vs <span class="highlight">AI Agent</span></h3>
<table class="comp-table anim-3 full-width">
<thead>
<tr><th></th><th>Traditional App</th><th>Chatbot</th><th class="col-hl">AI Agent</th></tr>
</thead>
<tbody>
<tr><td>Input</td><td>You click buttons</td><td>You ask questions</td><td class="col-hl">Watches everything</td></tr>
<tr><td>Memory</td><td>None</td><td>None</td><td class="col-hl">Persistent. Learns you</td></tr>
<tr><td>Reasoning</td><td>None</td><td>Scripted</td><td class="col-hl">Connects patterns</td></tr>
<tr><td>Behaviours</td><td>You decide</td><td>Suggests</td><td class="col-hl">Autonomous behaviours</td></tr>
<tr><td>Proactive</td><td style="color:var(--red)">Never</td><td style="color:var(--red)">Never</td><td class="col-hl" style="color:var(--green);font-weight:800">Warns before you ask</td></tr>
<tr><td>Data model</td><td>SQL rows</td><td>JSON responses</td><td class="col-hl">Knowledge Graph</td></tr>
<tr><td>Context</td><td>Current screen only</td><td>Last message</td><td class="col-hl">Entire financial history</td></tr>
</tbody>
</table>
</div>
<!-- ============ SLIDE 6: WHAT THE AGENT DOES ============ -->
<div class="slide bg-white left-align" data-notes="Walk through each capability. It's a cycle, perceive, classify, warn, remember, act. Not a one-shot response.">
<div class="bg-dots"></div>
<div class="label anim-1">SentiVest Agent</div>
<h3 class="anim-2 mb-24">Agent behaviours</h3>
<div style="display:flex;flex-direction:column;gap:14px;width:100%;max-width:750px">
<div class="pill-card teal anim-2"><span class="pill-icon">👁</span><div><div class="pill-label">Perceives</div><div class="pill-desc">Every transaction flows in real-time via WebSocket. The agent sees it before you do</div></div></div>
<div class="pill-card blue anim-3"><span class="pill-icon">⚖️</span><div><div class="pill-label">Classifies</div><div class="pill-desc">Scores each transaction across 6 fraud indicators. Verdict: SAFE, FLAG, ALERT, or BLOCK</div></div></div>
<div class="pill-card orange anim-4"><span class="pill-icon">⚠️</span><div><div class="pill-label">Warns</div><div class="pill-desc">Proactively alerts on budget breaches, suspicious patterns, low balances. Without being asked</div></div></div>
<div class="pill-card purple anim-5"><span class="pill-icon">🧠</span><div><div class="pill-label">Remembers</div><div class="pill-desc">Persistent memory across sessions. Your name, goals, preferences, financial concerns saved to disk</div></div></div>
<div class="pill-card green anim-6"><span class="pill-icon">⚡</span><div><div class="pill-label">Autonomous Behaviours</div><div class="pill-desc">Freezes suspicious cards, executes payments, transfers funds, generates tasks. Autonomously</div></div></div>
</div>
</div>
<!-- ============ SLIDE 7: WHY KNOWLEDGE GRAPH ============ -->
<div class="slide bg-white" data-notes="Key slide. A database stores records in rows. A knowledge graph stores relationships. Finances are inherently connected, a graph models that naturally.">
<div class="bg-dots"></div>
<div class="label anim-1">The Brain</div>
<h2 class="anim-2">Why a <span class="highlight">Knowledge Graph</span>?</h2>
<div class="two-col mt-48">
<div class="anim-3">
<h3 style="font-size:24px;color:var(--text-light);margin-bottom:16px">Database</h3>
<div class="db-mock">
| id | merchant | amount | date |<br>
|----|-----------|--------|-------|<br>
| 1 | Woolworths| R850 | 03/01 |<br>
| 2 | Shell | R620 | 03/02 |<br>
| 3 | Takealot | R2400 | 03/03 |
<span class="db-dim">Flat. Isolated. No connections.</span>
</div>
</div>
<div class="anim-4">
<h3 style="font-size:24px;color:var(--teal);margin-bottom:16px">Knowledge Graph</h3>
<div class="kg-box">
<div style="display:flex;flex-direction:column;gap:10px">
<div style="display:flex;align-items:center;gap:6px;flex-wrap:wrap">
<span class="graph-node gn-merchant">Woolworths</span>
<span class="graph-edge">→</span>
<span class="graph-node gn-category">Groceries</span>
<span class="graph-edge">→</span>
<span class="graph-node gn-budget">Food Budget</span>
</div>
<div style="display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-left:48px">
<span class="graph-edge">→</span>
<span class="graph-node gn-pattern">Monthly Pattern</span>
<span class="graph-edge">→</span>
<span class="graph-node gn-predict">Prediction</span>
</div>
</div>
<div class="kg-label">Connected. Traversable. Alive.</div>
</div>
</div>
</div>
</div>
<!-- ============ SLIDE 8: GRAPH KEY INSIGHT ============ -->
<div class="slide bg-navy" data-notes="The punchline, databases tell you what happened, graphs tell you why it matters. The graph IS the agent's brain.">
<div class="anim-1">
<p style="font-size:30px;color:rgba(255,255,255,0.5);margin-bottom:28px">A database tells you <strong style="color:#fff">what happened</strong></p>
</div>
<div class="anim-2">
<p style="font-size:38px;color:var(--white);font-weight:700;margin-bottom:48px">A knowledge graph tells you <span class="highlight">why it matters</span><br>and <span class="highlight">what to do about it</span></p>
</div>
<div class="anim-3" style="padding:24px 48px;border:2px solid var(--teal-bright);border-radius:14px;background:rgba(0,168,150,0.1)">
<p style="font-size:26px;color:var(--teal-bright);font-weight:800">The graph IS the agent's brain.</p>
</div>
</div>
<!-- ============ SLIDE 9: WHY UNIQUE ============ -->
<div class="slide bg-white left-align" data-notes="Three approaches side by side. Banks = records. Fintechs = visuals. SentiVest = reasoning. Different paradigm. Emphasize the bottom row, that's the killer difference.">
<div class="bg-dots"></div>
<div class="label anim-1">Why this is different</div>
<h3 class="anim-2 mb-24">Three approaches to banking</h3>
<div class="three-col anim-3">
<div class="card" style="opacity:0.55">
<div class="card-icon">🏦</div>
<div class="card-title">Traditional Banks</div>
<div class="card-desc">
<strong style="color:var(--text)">SQL databases</strong>, flat rows of transactions<br>
Good for record-keeping<br>
No connections between data points<br>
You query it, it returns rows<br>
<span style="color:var(--red);font-weight:600">Static and dumb</span>
</div>
</div>
<div class="card" style="opacity:0.55">
<div class="card-icon">📊</div>
<div class="card-title">Fintechs</div>
<div class="card-desc">
<strong style="color:var(--text)">Dashboards + charts</strong>, pie graphs, bar charts<br>
Good for visualizing categories<br>
Still no understanding of <em>why</em><br>
Same data, just prettier<br>
<span style="color:var(--orange);font-weight:600">Pretty but shallow</span>
</div>
</div>
<div class="card card-glow">
<div class="card-icon">🧠</div>
<div class="card-title" style="color:var(--teal)">SentiVest</div>
<div class="card-desc">
<strong style="color:var(--text)">Knowledge Graph</strong>, connected entities<br>
Good for <strong style="color:var(--text)">reasoning and prediction</strong><br>
Understands relationships between everything<br>
Discovers patterns you never asked about<br>
<span style="color:var(--teal);font-weight:600">Alive. Grows with you</span>
</div>
</div>
</div>
</div>
<!-- ============ SLIDE 10: INTRODUCING SENTIVEST ============ -->
<div class="slide bg-white left-align" data-notes="Quick feature rundown before the demo. Don't linger, the demo will show all of this.">
<div class="bg-dots"></div>
<div class="label anim-1">The Solution</div>
<h2 class="anim-2">Introducing <span class="highlight">SentiVest</span></h2>
<div class="two-col mt-32">
<div>
<ul class="bullets anim-3">
<li><strong>Voice-first</strong>: talk like you're speaking to a real banker</li>
<li><strong>37 voice commands</strong> with multi-turn conversations</li>
<li><strong>Real-time fraud detection</strong>: 80 SA merchants</li>
<li><strong>Financial health score</strong>, loan eligibility, proactive insights</li>
<li><strong>Life simulator</strong>: months of financial life in seconds</li>
<li><strong>Built for South Africa</strong>: Investec API, ZAR</li>
</ul>
</div>
<div class="anim-4" style="text-align:center">
<div class="phone-mock">
<div class="phone-mock-bar"><span>09:41</span><span style="font-weight:700;letter-spacing:1px">SENTIVEST</span><span>87%</span></div>
<div class="phone-mock-content">
<div style="height:72px;border-radius:10px;background:linear-gradient(135deg,var(--navy),var(--teal));padding:10px;color:#fff">
<div style="font-size:7px;opacity:0.6">PRIVATE BANK</div>
<div style="font-size:18px;font-weight:700;margin-top:6px;font-family:'JetBrains Mono'">R34,218</div>
</div>
<div style="display:flex;gap:4px">
<div style="flex:1;padding:6px;border-radius:6px;background:var(--white);text-align:center;font-weight:600;border:1px solid var(--border)">Talk</div>
<div style="flex:1;padding:6px;border-radius:6px;background:var(--white);text-align:center;font-weight:600;border:1px solid var(--border)">Pay</div>
<div style="flex:1;padding:6px;border-radius:6px;background:var(--white);text-align:center;font-weight:600;border:1px solid var(--border)">Tasks</div>
</div>
<div style="font-weight:600;padding-top:4px;color:var(--text)">Recent Transactions</div>
<div style="display:flex;justify-content:space-between;padding:5px 8px;background:var(--white);border-radius:6px;border:1px solid var(--border)"><span>Woolworths</span><span style="color:var(--red);font-weight:700">-R850</span></div>
<div style="display:flex;justify-content:space-between;padding:5px 8px;background:var(--white);border-radius:6px;border:1px solid var(--border)"><span>Shell Garage</span><span style="color:var(--red);font-weight:700">-R620</span></div>
<div style="display:flex;justify-content:space-between;padding:5px 8px;background:var(--white);border-radius:6px;border:1px solid var(--border)"><span>ACME Corp</span><span style="color:var(--green);font-weight:700">+R42,500</span></div>
</div>
<div class="phone-mock-nav"><span>Home</span><span>Ledger</span><span>Chat</span><span>More</span></div>
</div>
</div>
</div>
</div>
<!-- ============ SLIDE 11: ARCHITECTURE ============ -->
<div class="slide bg-white left-align" data-notes="Walk through each layer. Voice at top handles user input. AI model parses intent via structured JSON. KG connects everything. Classifier scores fraud risk. Infra handles async I/O and real-time. Each layer has a specific job.">
<div class="bg-dots"></div>
<div class="label anim-1">How it works</div>
<h3 class="anim-2 mb-24">Architecture: 5 Layers</h3>
<div class="two-col anim-3">
<div style="display:flex;flex-direction:column;width:100%">
<div class="arch-layer arch-1"><span class="arch-name">Voice / Chat Interface</span><span class="arch-detail">voice.py: 37 handlers</span></div>
<div class="arch-arrow">▼</div>
<div class="arch-layer arch-2"><span class="arch-name">AI Model Layer</span><span class="arch-detail">model.py: intent parsing + generation</span></div>
<div class="arch-arrow">▼</div>
<div class="arch-layer arch-3"><span class="arch-name">Knowledge Graph</span><span class="arch-detail">knowledge_graph.py: 2000+ lines</span></div>
<div class="arch-arrow">▼</div>
<div class="arch-layer arch-4"><span class="arch-name">Transaction Classifier</span><span class="arch-detail">agent.py: weighted fraud scoring</span></div>
<div class="arch-arrow">▼</div>
<div class="arch-layer arch-5"><span class="arch-name">Infrastructure</span><span class="arch-detail">main.py: 41 routes, WebSocket</span></div>
</div>
<div>
<ul class="bullets" style="margin-top:0">
<li><strong>Voice</strong> parses natural language, manages multi-turn payment flows, stores memory to disk</li>
<li><strong>AI Model</strong> extracts structured JSON intents with 28 types, falls back to keyword rules if offline</li>
<li><strong>Knowledge Graph</strong> is the single source of truth. All balances, merchants, patterns live here</li>
<li><strong>Classifier</strong> scores every transaction across 6 fraud indicators with weighted confidence</li>
<li><strong>FastAPI</strong> runs fully async. Handles concurrent WebSocket streams for real-time updates</li>
</ul>
</div>
</div>
</div>
<!-- ============ SLIDE 12: DEMO ============ -->
<div class="slide bg-black" data-notes="Switch to browser now. Open localhost:8000. Follow the demo script.">
<div class="label anim-1" style="font-size:18px;letter-spacing:5px;color:var(--teal-bright)">Live</div>
<h1 class="anim-2" style="font-size:140px;font-weight:900;letter-spacing:-5px;color:var(--white)">DEMO</h1>
<p class="anim-3 mt-32" style="font-size:20px;color:rgba(255,255,255,0.3)">localhost:8000</p>
</div>
<!-- ============ SLIDE 13: DEMO - VOICE ============ -->
<div class="slide bg-white left-align" data-notes="Demo voice commands. Start with balance, then alerts, spending, memory, then payment. Show how each one triggers a different handler and the agent responds with real data from the KG.">
<div class="bg-dots"></div>
<div class="label anim-1">Demo: Voice Intelligence</div>
<h3 class="anim-2 mb-24">"Talk to it like a banker"</h3>
<div class="two-col anim-3">
<div style="display:flex;flex-direction:column;gap:10px">
<div class="demo-cmd"><span class="cmd-icon">💰</span><span class="cmd-text">"What's my balance?"</span></div>
<div class="demo-cmd"><span class="cmd-icon">🚨</span><span class="cmd-text">"Any fraud alerts?"</span></div>
<div class="demo-cmd"><span class="cmd-icon">📈</span><span class="cmd-text">"Where am I spending the most?"</span></div>
<div class="demo-cmd"><span class="cmd-icon">🧠</span><span class="cmd-text">"Remember I'm saving for a house"</span></div>
<div class="demo-cmd"><span class="cmd-icon">💳</span><span class="cmd-text">"Pay Mom R500"</span></div>
</div>
<div>
<ul class="bullets" style="margin-top:0">
<li><strong>Real data</strong>: every response pulls live numbers from the knowledge graph, not templates</li>
<li><strong>Multi-turn flows</strong>: "Pay Mom" triggers a 4-step flow: find beneficiary, disambiguate, confirm amount, execute</li>
<li><strong>Persistent memory</strong>: "remember" saves facts to disk, recalled across sessions</li>
<li><strong>Text-to-speech</strong>: responses are spoken aloud with natural delivery (Web Speech API)</li>
<li><strong>28 intent types</strong>: the AI model parses what you mean, not just keyword matching</li>
</ul>
</div>
</div>
</div>
<!-- ============ SLIDE 14: DEMO - COMMAND CENTER ============ -->
<div class="slide bg-white left-align" data-notes="Show Command Center tab. Walk through health score ring, explain the 6 components. Do a loan eligibility check live. Show how insights update after the simulator runs.">
<div class="bg-dots"></div>
<div class="label anim-1">Demo: Command Center</div>
<h3 class="anim-2 mb-24">Financial Cockpit</h3>
<div class="three-col anim-3" style="grid-template-columns:1fr 1fr">
<div class="card card-accent">
<div class="card-icon">💙</div>
<div class="card-title">Health Score (0-100)</div>
<div class="card-desc">Animated SVG ring gauge with letter grade (A-F)<br>6 components: <strong>DTI ratio</strong>, savings buffer, budget adherence, insurance coverage, investment diversity, spending habits<br><span style="color:var(--teal);font-weight:600">Recalculates every month during simulation</span></div>
</div>
<div class="card card-accent">
<div class="card-icon">🏦</div>
<div class="card-title">Loan Eligibility</div>
<div class="card-desc">Enter amount, type (home/car/personal), term<br>Calculates DTI impact, max affordable amount<br>Verdict: <span style="color:var(--green);font-weight:600">Approved</span> / <span style="color:var(--orange);font-weight:600">Conditional</span> / <span style="color:var(--red);font-weight:600">Declined</span> with factor breakdown</div>
</div>
<div class="card card-accent">
<div class="card-icon">💡</div>
<div class="card-title">AI Insights</div>
<div class="card-desc">Proactive warnings generated from KG analysis<br>Budget breach alerts, food delivery habit detection, savings rate tracking, spending concentration warnings<br><span style="color:var(--teal);font-weight:600">The agent tells you what you didn't ask</span></div>
</div>
<div class="card card-accent">
<div class="card-icon">🔄</div>
<div class="card-title">Smart Transfer</div>
<div class="card-desc">Select source/destination account, enter amount<br>Executes live with balance updates<br>Every transfer recorded as a node + edge in the knowledge graph</div>
</div>
</div>
</div>
<!-- ============ SLIDE 15: DEMO - SIMULATOR ============ -->
<div class="slide bg-white left-align" data-notes="Show Graph tab. Start simulator at 2x. Narrate: salary, debit orders, spending, fraud. Stop after 2-3 months. Show graph growth.">
<div class="bg-dots"></div>
<div class="label anim-1">Demo: Life Simulator</div>
<h3 class="anim-2 mb-24">Watch the graph grow in <span class="highlight">real-time</span></h3>
<div class="flow anim-3">
<div class="flow-node">Salary</div>
<div class="flow-arrow">→</div>
<div class="flow-node">Debit Orders</div>
<div class="flow-arrow">→</div>
<div class="flow-node">Daily Spending</div>
<div class="flow-arrow">→</div>
<div class="flow-node red">Life Events</div>
<div class="flow-arrow">→</div>
<div class="flow-node purple">Insights</div>
</div>
<ul class="bullets anim-4 mt-32">
<li>Months of financial life compressed into <strong>seconds</strong> (0.5x to 5x speed)</li>
<li>Fraud attempts, bonuses, medical emergencies, tax refunds, salary increases: <strong>randomized life events</strong></li>
<li>Knowledge graph grows <strong>organically</strong>. Watch nodes and edges appear in real-time on the D3 visualization</li>
<li>Health score <strong>recalculates</strong> each month. See the ring gauge animate as finances change</li>
<li>Every event streams via <strong>WebSocket</strong>: audit log, toast notifications, graph updates simultaneously</li>
</ul>
</div>
<!-- ============ SLIDE: CHALLENGES ============ -->
<div class="slide bg-white left-align" data-notes="Be honest about what was hard. The frontend was one massive HTML file. Fraud scoring needed tons of weight tuning. Voice payments run on regex. No ML. Simulator had race conditions everywhere.">
<div class="bg-dots"></div>
<div class="label anim-1">Lessons Learned</div>
<h3 class="anim-2 mb-24">The <span class="red">hard</span> parts</h3>
<div style="display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%" class="anim-3">
<div class="card">
<div class="card-icon">💻</div>
<div class="card-title">Single-file Frontend</div>
<div class="card-desc"><strong>3,260 lines</strong>, 114 JS functions, zero frameworks. Managing state across a phone UI, WebSocket streams, D3 graph, and dashboard in vanilla JS. It works. But it wasn't pleasant.</div>
</div>
<div class="card">
<div class="card-icon">🔎</div>
<div class="card-title">Fraud Score Tuning</div>
<div class="card-desc"><strong>6 weighted indicators</strong> feeding a 0-to-1 score. Getting the weights right so it catches real threats without flagging every Woolworths run as suspicious took a lot of trial and error.</div>
</div>
<div class="card">
<div class="card-icon">🎤</div>
<div class="card-title">Voice Payment Flow</div>
<div class="card-desc">"Pay Mom R500" โ extract name, fuzzy-match beneficiaries, disambiguate, extract amount, confirm, execute. <strong>All regex + state machine, no ML.</strong> Making it handle real speech was brutal.</div>
</div>
<div class="card">
<div class="card-icon">⚡</div>
<div class="card-title">Async Simulator</div>
<div class="card-desc">Background task firing transactions via WebSocket while UI, voice, and graph run concurrently. <strong>Race conditions everywhere.</strong> Got very familiar with asyncio debugging.</div>
</div>
</div>
</div>
<!-- ============ SLIDE: PARADIGM SHIFT ============ -->
<div class="slide bg-navy left-align" data-notes="The recap. Left = old way, muted. Right = SentiVest, bold and bright.">
<div class="label anim-1">The shift</div>
<h2 class="anim-2 mb-16">A different <span class="highlight">paradigm</span></h2>
<div class="shift-table anim-3 full-width" style="max-width:820px">
<div class="shift-row"><div class="shift-old">Shows balance</div><div class="shift-arrow">→</div><div class="shift-new">Predicts when you'll run out</div></div>
<div class="shift-row"><div class="shift-old">Lists transactions</div><div class="shift-arrow">→</div><div class="shift-new">Classifies and scores every one</div></div>
<div class="shift-row"><div class="shift-old">Static dashboard</div><div class="shift-arrow">→</div><div class="shift-new">Living knowledge graph</div></div>
<div class="shift-row"><div class="shift-old">No memory</div><div class="shift-arrow">→</div><div class="shift-new">Remembers your goals and habits</div></div>
<div class="shift-row"><div class="shift-old">You drive</div><div class="shift-arrow">→</div><div class="shift-new">The agent drives</div></div>
<div class="shift-row"><div class="shift-old">Reactive</div><div class="shift-arrow">→</div><div class="shift-new accent" style="color:var(--teal-bright)">Proactive</div></div>
</div>
</div>
<!-- ============ SLIDE 17: BY THE NUMBERS ============ -->
<div class="slide bg-white" data-notes="Quick impact slide. Let the numbers speak. Don't read each one, let them absorb visually.">
<div class="bg-dots"></div>
<div class="label anim-1">Impact</div>
<h3 class="anim-2 mb-16">By the numbers</h3>
<div class="stats-grid anim-3">
<div class="stat-card"><div class="stat-num">41</div><div class="stat-label">API Endpoints</div></div>
<div class="stat-card"><div class="stat-num">37</div><div class="stat-label">Voice Commands</div></div>
<div class="stat-card"><div class="stat-num">80</div><div class="stat-label">SA Merchants</div></div>
<div class="stat-card"><div class="stat-num">28</div><div class="stat-label">AI Intent Types</div></div>
<div class="stat-card"><div class="stat-num">16</div><div class="stat-label">UI Pages</div></div>
<div class="stat-card"><div class="stat-num">6</div><div class="stat-label">Fraud Indicators</div></div>
<div class="stat-card"><div class="stat-num">~10K</div><div class="stat-label">Lines of Code</div></div>
<div class="stat-card"><div class="stat-num">1</div><div class="stat-label">Developer</div></div>
</div>
</div>
<!-- ============ SLIDE 18: WHY THIS MODEL ============ -->
<div class="slide bg-white left-align" data-notes="Explain the model choice. Qwen 2.5-3B is small enough to run locally on a laptop, fast inference, no API costs, data stays private. Show token budgets per mode. Mention rule-based fallback if Ollama is offline.">
<div class="bg-dots"></div>
<div class="label anim-1">AI Model Choice</div>
<h3 class="anim-2 mb-24">Why <span class="highlight">Qwen 2.5-3B</span>?</h3>
<div class="two-col anim-3">
<div>
<ul class="bullets">
<li><strong>3 billion parameters</strong>: small enough to run on a laptop GPU</li>
<li><strong>Local via Ollama</strong>: no cloud API costs, no rate limits</li>
<li><strong>Data stays private</strong>: financial data never leaves the device</li>
<li><strong>Fast inference</strong>: ~2-5s response time locally</li>
<li><strong>Rule-based fallback</strong>: works even without the model running</li>
</ul>
</div>
<div>
<div style="font-size:16px;font-weight:700;color:var(--text);margin-bottom:14px">Token Budgets by Mode</div>
<div style="display:flex;flex-direction:column;gap:8px">
<div class="tech-item"><span class="tech-label" style="min-width:100px">Voice</span><span class="tech-value">80 tokens · temp 0.6</span></div>
<div class="tech-item"><span class="tech-label" style="min-width:100px">Intent</span><span class="tech-value">150 tokens · temp 0.1</span></div>
<div class="tech-item"><span class="tech-label" style="min-width:100px">Reasoning</span><span class="tech-value">300 tokens · temp 0.3</span></div>
<div class="tech-item"><span class="tech-label" style="min-width:100px">Scenario</span><span class="tech-value">350 tokens · temp 0.4</span></div>
<div class="tech-item"><span class="tech-label" style="min-width:100px">Chat</span><span class="tech-value">400 tokens · temp 0.7</span></div>
</div>
<p style="font-size:13px;color:var(--text-light);margin-top:12px">Lower temp = precise/structured · Higher temp = conversational</p>
</div>
</div>
</div>
<!-- ============ SLIDE 19: KNOWLEDGE GRAPH DETAIL ============ -->
<div class="slide bg-white left-align" data-notes="Show what the graph actually stores. 14 node types, relationships between them. Entirely in-memory, no database. Instant traversal. Grows organically with every transaction.">
<div class="bg-dots"></div>
<div class="label anim-1">Inside the Brain</div>
<h3 class="anim-2 mb-24">Knowledge Graph <span class="highlight">in Detail</span></h3>
<div class="two-col anim-3">
<div>
<div style="font-size:16px;font-weight:700;color:var(--text);margin-bottom:14px">14 Node Types</div>
<div style="display:flex;flex-wrap:wrap;gap:6px">
<span class="graph-node gn-merchant" style="font-size:12px;padding:5px 10px">Merchant</span>
<span class="graph-node gn-category" style="font-size:12px;padding:5px 10px">Category</span>
<span class="graph-node gn-budget" style="font-size:12px;padding:5px 10px">Budget</span>
<span class="graph-node gn-pattern" style="font-size:12px;padding:5px 10px">Pattern</span>
<span class="graph-node gn-predict" style="font-size:12px;padding:5px 10px">Prediction</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:var(--red-bg);color:var(--red);border:2px solid var(--red)">Loan</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:var(--blue-bg);color:var(--blue);border:2px solid var(--blue)">Investment</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:var(--orange-bg);color:var(--orange);border:2px solid var(--orange)">Insurance</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:#F3F4F6;color:#6B7280;border:2px solid #6B7280">Tax</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:var(--green-bg);color:var(--green);border:2px solid var(--green)">Income</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:var(--purple-bg);color:var(--purple);border:2px solid var(--purple)">Beneficiary</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:#EFF6FF;color:#1E40AF;border:2px solid #1E40AF">Account</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:#ECFDF5;color:#14B8A6;border:2px solid #14B8A6">Transfer</span>
<span class="graph-node" style="font-size:12px;padding:5px 10px;background:#FEF2F2;color:#B91C1C;border:2px solid #B91C1C">Alert</span>
</div>
</div>
<div>
<div style="font-size:16px;font-weight:700;color:var(--text);margin-bottom:14px">How It Works</div>
<ul class="bullets" style="margin-top:0">
<li><strong>100% in-memory</strong>. No database, zero latency traversal</li>
<li><strong>Nodes + Edges</strong>: entities connected by typed, weighted relationships</li>
<li><strong>Grows organically</strong>: every transaction adds merchants, categories, patterns</li>
<li><strong>Real-time context</strong>: builds prompt context for AI from graph traversal</li>
<li><strong>Self-discovering</strong>: auto-detects patterns, subscriptions, anomalies</li>
</ul>
</div>
</div>
</div>
<!-- ============ SLIDE 20: TECH STACK ============ -->
<div class="slide bg-white left-align" data-notes="Quick tech overview. Don't over-explain, just show the stack.">
<div class="bg-dots"></div>
<div class="label anim-1">Under the hood</div>
<h3 class="anim-2 mb-24">Tech Stack</h3>
<div class="tech-grid anim-3">
<div class="tech-item"><span class="tech-label">Backend</span><span class="tech-value">FastAPI (Python, async)</span></div>
<div class="tech-item"><span class="tech-label">AI Model</span><span class="tech-value">Qwen 2.5-3B via Ollama (local)</span></div>
<div class="tech-item"><span class="tech-label">Graph</span><span class="tech-value">Custom in-memory engine (Nodes + Edges)</span></div>
<div class="tech-item"><span class="tech-label">Real-time</span><span class="tech-value">WebSocket (bidirectional)</span></div>
<div class="tech-item"><span class="tech-label">Banking</span><span class="tech-value">Investec Open API (OAuth2)</span></div>
<div class="tech-item"><span class="tech-label">Voice</span><span class="tech-value">Web Speech API + Google STT</span></div>
<div class="tech-item"><span class="tech-label">Visualization</span><span class="tech-value">D3.js force-directed graph</span></div>
<div class="tech-item"><span class="tech-label">Frontend</span><span class="tech-value">Single-page HTML/JS/CSS (zero frameworks)</span></div>
</div>
</div>
<!-- ============ SLIDE: INVESTEC API FEEDBACK ============ -->
<div class="slide bg-navy left-align" data-notes="Direct feedback to the Investec API team. Start with thanks, OAuth2 works well, sandbox is easy. Then the wishlist: webhooks, transfer API, beneficiary CRUD, richer sandbox data. Frame as a wishlist, not complaints.">
<div class="label anim-1" style="color:var(--teal-bright)">A note to the API team</div>
<h3 class="anim-2 mb-16" style="color:var(--white)">Building on <span class="highlight">Investec Open API</span></h3>
<div class="anim-3 mb-24" style="padding:16px 24px;border:1px solid rgba(0,168,150,0.3);border-radius:10px;background:rgba(0,168,150,0.08)">
<p style="font-size:20px;color:var(--teal-bright);font-weight:600">Thank you. The OAuth2 flow is solid, the sandbox is easy to start with, and real endpoints made this project possible.</p>
</div>
<div style="font-size:16px;color:rgba(255,255,255,0.5);font-weight:700;margin-bottom:14px" class="anim-4">WHAT WOULD'VE MADE IT EASIER</div>
<div style="display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%" class="anim-4">
<div class="card">
<div class="card-title" style="color:var(--teal-bright)">Real-time Transaction Events</div>
<div class="card-desc">Webhooks or event push. The sandbox is pull-only. I built an entire simulator just to get transaction streams. Push events would let agents react to <em>real</em> bank activity.</div>
</div>
<div class="card">
<div class="card-title" style="color:var(--teal-bright)">Transfer & Payment API</div>
<div class="card-desc">Sandbox is read-only. All write operations are simulated locally. Even a mock transfer endpoint returning success would help prototype payment flows.</div>
</div>
<div class="card">
<div class="card-title" style="color:var(--teal-bright)">Beneficiary API</div>
<div class="card-desc">Basic CRUD for beneficiaries. I hardcoded 7 demo beneficiaries. An API to list, add, manage them would enable real payment agent flows.</div>
</div>
<div class="card">
<div class="card-title" style="color:var(--teal-bright)">Richer Sandbox Data</div>
<div class="card-desc">Demo transactions are always the same. Rotating or randomized data would make testing feel much more realistic for developers.</div>
</div>
</div>
<p class="anim-5 mt-24" style="font-size:16px;color:rgba(255,255,255,0.4);text-align:center">Not complaints. A wishlist from someone who wants to keep building on this platform.</p>
</div>
<!-- ============ SLIDE: CLOSING ============ -->
<div class="slide bg-navy" data-notes="Slow down. Pause between each line. End strong.">
<div class="anim-1"><p style="font-size:32px;color:rgba(255,255,255,0.45);margin-bottom:20px">Banks give us data.</p></div>
<div class="anim-2"><p style="font-size:42px;color:var(--white);font-weight:800;margin-bottom:40px">SentiVest gives us <span class="highlight">understanding</span>.</p></div>
<div class="anim-3" style="max-width:650px;text-align:center">
<p style="font-size:22px;color:rgba(255,255,255,0.7);line-height:1.7">A personal knowledge graph that grows with you.<br>An AI agent that protects, advises, and acts.</p>
</div>
<div class="anim-4 mt-48" style="padding:24px 48px;border:2px solid var(--teal-bright);border-radius:14px;background:rgba(0,168,150,0.1)">
<p style="font-size:28px;font-weight:800;color:var(--teal-bright)">Not a dashboard. A brain.</p>
</div>
</div>
<!-- ============ SLIDE: GET INVOLVED & QUESTIONS ============ -->
<div class="slide bg-white" data-notes="Thank them. Point to QR codes. Mention contributing, issues, PRs, forks. Share LinkedIn. Open for questions.">
<div class="bg-dots"></div>
<div class="label anim-1" style="letter-spacing:5px">Thank You</div>
<h1 class="anim-2 mt-16" style="font-size:64px"><span class="highlight">Questions?</span></h1>
<div class="anim-3 mt-32" style="display:flex;align-items:flex-start;gap:48px;justify-content:center">
<div style="text-align:center">
<canvas id="qr-repo" width="200" height="200" style="border:2px solid var(--border);border-radius:14px;padding:10px;background:#fff"></canvas>
<p style="font-size:16px;font-weight:700;color:var(--text);margin-top:12px">Source Code</p>
<a href="https://github.com/Nevvyboi/SentiVest" target="_blank" style="font-size:13px;color:var(--teal);text-decoration:none;font-family:'JetBrains Mono',monospace">github.com/Nevvyboi/SentiVest</a>
</div>
<div style="text-align:left;padding-top:16px">
<p style="font-size:20px;font-weight:700;color:var(--text);margin-bottom:12px">Get Involved</p>
<ul class="bullets" style="margin-top:0;gap:10px">
<li style="font-size:17px">Open an issue, submit a PR, or fork it</li>
<li style="font-size:17px">Everything is <strong>open source</strong></li>
</ul>
<div style="margin-top:20px;padding:14px 20px;background:var(--off-white);border:1px solid var(--border);border-radius:10px">
<p style="font-size:14px;color:var(--text-light);margin-bottom:4px">Nevin Tom · Data Engineer</p>
<a href="https://www.linkedin.com/in/nevtom/" target="_blank" style="font-size:15px;color:var(--teal);text-decoration:none;font-weight:600">linkedin.com/in/nevtom</a>
</div>
</div>
</div>
<p class="anim-4 small mt-24" style="color:var(--text-light)">SentiVest: AI Private Banking Agent · Built with FastAPI + Knowledge Graph + Qwen 2.5-3B</p>
</div>
</div><!-- /deck -->
<script>
// ==================== SLIDE ENGINE ====================
let current = 0;
const slides = document.querySelectorAll('.slide');
const total = slides.length;
const counter = document.getElementById('slideCounter');
const progress = document.getElementById('progressBar');
const notes = document.getElementById('presenterNotes');
let notesVisible = false;
function goTo(index) {
if (index < 0 || index >= total || index === current) return;
// Remove all states
slides.forEach(s => { s.classList.remove('active', 'prev'); s.style.transform = ''; });
// Set previous slide
slides[current].classList.add('prev');
// Set new slide
current = index;
slides[current].classList.add('active');
// Update UI
counter.textContent = `${current + 1} / ${total}`;
const mc = document.getElementById('mobileCounter');
if (mc) mc.textContent = `${current + 1}/${total}`;
progress.style.width = `${((current + 1) / total) * 100}%`;
const noteText = slides[current].getAttribute('data-notes') || '';
notes.innerHTML = `<strong>Slide ${current + 1}:</strong> ${noteText}`;
// Update mobile nav bar theme for dark slides
const navHint = document.querySelector('.mobile-nav-hint');
if (navHint) {
const isDark = slides[current].classList.contains('bg-navy') || slides[current].classList.contains('bg-dark') || slides[current].classList.contains('bg-black') || slides[current].classList.contains('bg-teal');
navHint.style.background = isDark ? 'rgba(10,10,10,0.92)' : 'rgba(255,255,255,0.92)';
navHint.style.borderTopColor = isDark ? 'rgba(255,255,255,0.1)' : 'var(--border)';
const prevBtn = navHint.children[0];
const counterEl = navHint.children[1];
const nextBtn = navHint.children[2];
prevBtn.style.color = isDark ? 'rgba(255,255,255,0.6)' : 'var(--text-mid)';
prevBtn.style.borderColor = isDark ? 'rgba(255,255,255,0.15)' : 'var(--border)';
prevBtn.style.background = isDark ? 'rgba(255,255,255,0.06)' : 'var(--white)';
counterEl.style.color = isDark ? 'rgba(255,255,255,0.4)' : 'var(--text-light)';
}
}
// Keyboard
document.addEventListener('keydown', (e) => {
switch(e.key) {
case 'ArrowRight': case 'ArrowDown': case ' ': case 'PageDown':
e.preventDefault(); goTo(current + 1); break;
case 'ArrowLeft': case 'ArrowUp': case 'PageUp':
e.preventDefault(); goTo(current - 1); break;
case 'Home': e.preventDefault(); goTo(0); break;
case 'End': e.preventDefault(); goTo(total - 1); break;
case 'f': case 'F':
if (!e.ctrlKey && !e.metaKey) { e.preventDefault(); toggleFullscreen(); } break;
case 'n': case 'N':
if (!e.ctrlKey && !e.metaKey) { e.preventDefault(); notesVisible = !notesVisible; notes.classList.toggle('visible', notesVisible); } break;
case 'Escape':
if (document.fullscreenElement) document.exitFullscreen(); break;
}
});