File size: 45,761 Bytes
7dc8ee2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>VitalEdge | AI-Powered Health Companion</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/aws-sdk/2.1048.0/aws-sdk.min.js"></script>
    <style>
        :root {
            --primary: #00f0ff;
            --secondary: #ff2df2;
            --accent: #7b2dff;
            --dark: #05051e;
            --darker: #010112;
            --light: #f0f0ff; 
            --gray: #1a1a2e;
            --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
            --glow: 0 0 15px rgba(0, 240, 255, 0.7);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Space Grotesk', sans-serif;
            background-color: var(--dark);
            color: var(--light);
            overflow-x: hidden;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Header */
        header {
            padding: 2rem 0;
            position: relative;
            z-index: 100;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--light);
            text-decoration: none;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            background: var(--gradient);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .cta-button {
            background: var(--gradient);
            color: var(--dark);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: var(--glow), 0 10px 20px rgba(0, 240, 255, 0.4);
            filter: brightness(1.1);
        }

        /* Hero Section */
        .hero {
            padding: 6rem 0;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2rem;
            max-width: 600px;
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.1;
            background: linear-gradient(to right, var(--light), var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1rem;
            text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
            animation: textFlicker 5s infinite alternate;
        }

        @keyframes textFlicker {
            0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
                text-shadow: 
                    0 0 10px rgba(0, 240, 255, 0.5),
                    0 0 20px rgba(0, 240, 255, 0.3),
                    0 0 30px rgba(123, 45, 255, 0.2);
            }
            20%, 22%, 24%, 55% {
                text-shadow: none;
            }
        }

        .hero p {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 1.5rem;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
        }

        .secondary-button {
            background: transparent;
            color: var(--light);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid var(--gray);
        }

        .secondary-button:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .hero-image {
            position: absolute;
            right: -100px;
            top: 50%;
            transform: translateY(-50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(0, 240, 255, 0) 70%);
            border-radius: 50%;
            z-index: 1;
        }

        .hero-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=880&q=80') center/cover no-repeat;
            border-radius: 20px;
            transform: rotate(10deg) scale(0.9);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* Floating Elements */
        .floating-element {
            position: absolute;
            border-radius: 50%;
            filter: blur(40px);
            opacity: 0.7;
            z-index: 0;
        }

        .floating-1 {
            width: 300px;
            height: 300px;
            background: var(--primary);
            top: 10%;
            left: 10%;
            animation: float 8s ease-in-out infinite;
        }

        .floating-2 {
            width: 200px;
            height: 200px;
            background: var(--secondary);
            bottom: 20%;
            right: 15%;
            animation: float 6s ease-in-out infinite reverse;
        }

        .floating-3 {
            width: 150px;
            height: 150px;
            background: var(--primary);
            top: 60%;
            left: 30%;
            animation: float 5s ease-in-out infinite 2s;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
                filter: blur(40px);
            }
            25% {
                filter: blur(50px);
            }
            50% {
                transform: translateY(-30px) rotate(5deg);
                filter: blur(40px);
            }
            75% {
                filter: blur(30px);
            }
            100% {
                transform: translateY(0) rotate(0deg);
                filter: blur(40px);
            }
        }

        /* Features Section */
        .section {
            padding: 6rem 0;
            position: relative;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 3rem;
            text-align: center;
            background: linear-gradient(to right, var(--light), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background: rgba(26, 26, 46, 0.5);
            border-radius: 16px;
            padding: 2rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
            backdrop-filter: blur(12px);
            border: 1px solid rgba(0, 240, 255, 0.2);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .feature-card::before {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            z-index: -2;
            filter: blur(10px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .feature-card:hover::before {
            opacity: 0.7;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(123, 45, 255, 0.1));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .feature-card:hover::before {
            opacity: 1;
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .feature-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--light);
        }

        .feature-description {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1rem;
        }

        /* Tech Stack */
        .tech-stack {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 3rem;
        }

        .tech-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .tech-icon {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            transition: all 0.3s ease;
        }

        .tech-icon:hover {
            background: rgba(0, 240, 255, 0.1);
            transform: scale(1.1);
        }

        .tech-name {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Testimonials */
        .testimonials {
            background: rgba(42, 42, 58, 0.3);
            border-radius: 20px;
            padding: 3rem;
            margin-top: 3rem;
            position: relative;
            overflow: hidden;
        }

        .testimonial-card {
            background: rgba(10, 10, 20, 0.7);
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .testimonial-text {
            font-style: italic;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 1rem;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient);
        }

        .author-info h4 {
            font-weight: 600;
            margin-bottom: 0.2rem;
        }

        .author-info p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        /* CTA Section */
        .cta-section {
            text-align: center;
            padding: 6rem 0;
            position: relative;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            background: linear-gradient(to right, var(--light), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .cta-section p {
            max-width: 600px;
            margin: 0 auto 2rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.1rem;
        }

        /* Footer */
        footer {
            background: var(--darker);
            padding: 4rem 0 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .footer-column h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--light);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--primary);
            color: var(--dark);
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 2rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.9rem;
        }

        /* Animations */
        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.05);
                opacity: 0.8;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .pulse {
            animation: pulse 3s infinite;
        }

        /* 3D Visualization */
        .tech-visualization {
            position: relative;
            height: 600px;
            background: var(--darker);
            overflow: hidden;
        }

        #threejs-container {
            width: 100%;
            height: 100%;
        }

        .visualization-caption {
            position: absolute;
            bottom: 50px;
            left: 50px;
            max-width: 500px;
            z-index: 10;
        }

        .visualization-caption h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        /* AWS Architecture */
        .aws-architecture {
            padding: 6rem 0;
            background: rgba(10, 10, 20, 0.5);
            position: relative;
        }

        .architecture-diagram {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 3rem auto;
            max-width: 900px;
        }

        .architecture-node {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--dark);
            position: relative;
            z-index: 2;
            box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
            transition: all 0.3s ease;
        }

        .architecture-node:hover {
            transform: scale(1.2);
        }

        .architecture-node::after {
            content: attr(data-tooltip);
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            font-size: 0.9rem;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .architecture-node:hover::after {
            opacity: 1;
        }

        .architecture-line {
            flex-grow: 1;
            height: 3px;
            background: var(--gradient);
            position: relative;
        }

        .architecture-line::after {
            content: '';
            position: absolute;
            right: 0;
            top: -5px;
            width: 15px;
            height: 15px;
            background: var(--secondary);
            transform: rotate(45deg);
        }

        .architecture-caption {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
            color: rgba(255,255,255,0.8);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-image {
                opacity: 0.3;
                right: -200px;
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .hero-image {
                display: none;
            }
            
            .nav-links {
                display: none;
            }
        }
    </style>
</head>
<body>
    <!-- Floating Background Elements -->
    <div class="floating-element floating-1"></div>
    <div class="floating-element floating-2"></div>
    <div class="floating-element floating-3"></div>

    <!-- Header -->
    <header class="container">
        <nav>
            <a href="#" class="logo">
                <div class="logo-icon">
                    <i class="fas fa-heartbeat"></i>
                </div>
                VitalEdge
            </a>
            <div class="nav-links">
                <a href="#features">Features</a>
                <a href="#technology">Technology</a>
                <a href="#testimonials">Testimonials</a>
                <a href="#pricing">Pricing</a>
            </div>
            <a href="#cta" class="cta-button">Get Early Access</a>
        </nav>
    </header>

    <!-- Hero Section -->
    <section class="hero container">
        <div class="hero-content">
            <h1>The Future of Personalized Health Monitoring</h1>
            <p>VitalEdge combines cutting-edge AI, IoT, and Edge Computing to deliver real-time health insights and personalized coaching right on your wearable device.</p>
            <div class="hero-buttons">
                <a href="#cta" class="cta-button pulse">
                    <i class="fas fa-rocket"></i> Join Beta
                </a>
                <a href="#features" class="secondary-button">
                    <i class="fas fa-play-circle"></i> Watch Demo
                </a>
            </div>
        </div>
        <div class="hero-image"></div>
    </section>

    <!-- AI/IoT Animation Visualization -->
    <div class="cyber-grid"></div>
    <style>
        .cyber-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: 
                linear-gradient(var(--darker) 1px, transparent 1px) 0 -1px,
                linear-gradient(90deg, var(--darker) 1px, transparent 1px) -1px 0;
            background-size: 30px 30px;
            background-color: var(--dark);
            opacity: 0.3;
        }

        .iot-animation-container {
            height: 600px;
            position: relative;
            overflow: hidden;
            background: radial-gradient(circle at center, var(--darker) 0%, var(--dark) 100%);
        }

        .iot-device {
            position: absolute;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
            opacity: 0;
        }

        .data-connection {
            position: absolute;
            height: 2px;
            background: var(--primary);
            transform-origin: left center;
            opacity: 0;
            box-shadow: 0 0 5px var(--primary);
        }

        .ai-bot {
            position: absolute;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: conic-gradient(from 180deg, var(--accent), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            opacity: 0;
            box-shadow: 0 0 20px rgba(123, 45, 255, 0.5);
        }

        .health-record {
            position: absolute;
            width: 120px;
            height: 80px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(0,240,255,0.3);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 0.8rem;
            text-align: center;
            padding: 10px;
            opacity: 0;
        }
    </style>
    <section class="iot-animation-container" style="height: 80vh;">
        <div class="demo-title">
            <h2>Hackathon Demo</h2>
            <p>Live AI Health Monitoring System</p>
            <div class="demo-stats">
                <div class="stat-item">
                    <div class="stat-value" id="heartrate">--</div>
                    <div class="stat-label">BPM</div>
                </div>
                <div class="stat-item">
                    <div class="stat-value" id="oxygen">--</div>
                    <div class="stat-label">SpO2 %</div>
                </div>
                <div class="stat-item">
                    <div class="stat-value" id="stress">--</div>
                    <div class="stat-label">Stress Lvl</div>
                </div>
            </div>
        </div>
        <div class="iot-device" style="top: 20%; left: 20%">
            <i class="fas fa-watch-fitness"></i>
        </div>
        <div class="iot-device" style="top: 60%; left: 15%">
            <i class="fas fa-heartbeat"></i>
        </div>
        <div class="iot-device" style="top: 40%; left: 80%">
            <i class="fas fa-mobile-alt"></i>
        </div>
        <div class="ai-bot" style="top: 50%; left: 50%; transform: translate(-50%, -50%)">
            <i class="fas fa-robot"></i>
        </div>
        <div class="health-record" style="top: 25%; left: 50%">
            Real-time ECG Analysis
        </div>
        <div class="health-record" style="top: 70%; left: 50%">
            Predictive Health Insights
        </div>
        <div class="visualization-caption">
            <h3>Our <span class="gradient-text">AI+IoT Health</span> Ecosystem</h3>
            <p>See how devices, AI, and health data work together in real-time</p>
        </div>
    </section>

    <script>
        // Animation sequence for IoT/AI visualization
        function animateIoT() {
            const devices = document.querySelectorAll('.iot-device');
            const connections = [];
            const aiBot = document.querySelector('.ai-bot');
            const records = document.querySelectorAll('.health-record');

            // Create data connections
            devices.forEach(device => {
                const rect = device.getBoundingClientRect();
                const botRect = aiBot.getBoundingClientRect();
                
                const connection = document.createElement('div');
                connection.className = 'data-connection';
                
                const length = Math.sqrt(
                    Math.pow(botRect.left - rect.left, 2) + 
                    Math.pow(botRect.top - rect.top, 2)
                );
                
                const angle = Math.atan2(
                    botRect.top - rect.top,
                    botRect.left - rect.left
                ) * 180 / Math.PI;
                
                connection.style.width = `${length}px`;
                connection.style.left = `${rect.left + rect.width/2}px`;
                connection.style.top = `${rect.top + rect.height/2}px`;
                connection.style.transform = `rotate(${angle}deg)`;
                
                document.querySelector('.iot-animation-container').appendChild(connection);
                connections.push(connection);
            });

            // Animation timeline
            let delay = 0;
            
            // Show devices
            devices.forEach((device, i) => {
                setTimeout(() => {
                    device.style.opacity = 1;
                    device.style.animation = 'pulse 2s infinite';
                    device.style.animationDelay = `${i * 0.3}s`;
                }, delay);
                delay += 300;
            });

            // Show connections
            setTimeout(() => {
                connections.forEach(conn => {
                    conn.style.opacity = 0.7;
                    conn.style.transition = 'opacity 0.5s ease';
                });
            }, delay);
            
            delay += 500;
            
            // Show AI bot
            setTimeout(() => {
                aiBot.style.opacity = 1;
                aiBot.style.animation = 'pulse 2s infinite';
            }, delay);
            
            delay += 500;
            
            // Show health records
            records.forEach((record, i) => {
                setTimeout(() => {
                    record.style.opacity = 1;
                    record.style.transform = `translateY(${i % 2 ? '10px' : '-10px'})`;
                    record.style.transition = 'all 0.5s ease';
                }, delay + i * 300);
                
                // Floating animation
                setTimeout(() => {
                    record.style.animation = `
                        float 3s ease-in-out infinite ${i * 0.3}s
                    `;
                }, delay + records.length * 300);
            });

            // Animate connections
            setInterval(() => {
                connections.forEach(conn => {
                    if (Math.random() > 0.7) {
                        conn.style.opacity = 0.3;
                        setTimeout(() => {
                            conn.style.opacity = 0.7;
                        }, 200);
                    }
                });
            }, 300);
        }

        document.addEventListener('DOMContentLoaded', function() {
            animateIoT();
            
            // Demo data simulation
            const heartRate = document.getElementById('heartrate');
            const oxygen = document.getElementById('oxygen');
            const stress = document.getElementById('stress');
            
            let hr = 72;
            let spo2 = 98;
            let stressLvl = 35;
            
            setInterval(() => {
                hr = Math.max(60, Math.min(120, hr + (Math.random() * 4 - 2)));
                spo2 = Math.max(92, Math.min(100, spo2 + (Math.random() * 1 - 0.5)));
                stressLvl = Math.max(15, Math.min(90, stressLvl + (Math.random() * 10 - 5)));
                
                heartRate.textContent = Math.round(hr);
                oxygen.textContent = Math.round(spo2);
                stress.textContent = Math.round(stressLvl);
                
                // Change colors based on values
                heartRate.style.color = hr > 90 ? '#ff2df2' : '#00f0ff';
                oxygen.style.color = spo2 < 94 ? '#ff2df2' : '#00f0ff';
                stress.style.color = stressLvl > 70 ? '#ff2df2' : '#00f0ff';
            }, 1000);
            
            // Make pulses more pronounced for demo
            setInterval(() => {
                document.querySelectorAll('.iot-device').forEach(device => {
                    device.style.transform = 'scale(1.2)';
                    setTimeout(() => {
                        device.style.transform = 'scale(1)';
                    }, 200);
                });
            }, 3000);
        });

        // Add floating animation
        const style = document.createElement('style');
        style.innerHTML = `
            @keyframes float {
                0% { transform: translateY(0) rotate(0deg); }
                25% { transform: translateY(-5px) rotate(2deg); }
                50% { transform: translateY(0) rotate(0deg); }
                75% { transform: translateY(5px) rotate(-2deg); }
                100% { transform: translateY(0) rotate(0deg); }
            }
        `;
        document.head.appendChild(style);
    </script>

    <!-- Features Section -->
    <section id="features" class="section container">
        <h2 class="section-title">Why VitalEdge?</h2>
        <div class="features-grid">
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-bolt"></i>
                </div>
                <h3 class="feature-title">Real-time Processing</h3>
                <p class="feature-description">Edge computing enables instant health analysis without cloud latency, giving you immediate feedback on your vitals.</p>
            </div>
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-brain"></i>
                </div>
                <h3 class="feature-title">AI-Powered Insights</h3>
                <p class="feature-description">Our AWS-powered generative AI learns your unique patterns to provide hyper-personalized health recommendations.</p>
            </div>
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-shield-alt"></i>
                </div>
                <h3 class="feature-title">Privacy First</h3>
                <p class="feature-description">Your sensitive health data stays on your device with our local processing architecture, never touching the cloud.</p>
            </div>
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-network-wired"></i>
                </div>
                <h3 class="feature-title">5G Connected</h3>
                <p class="feature-description">Ultra-low latency 5G connectivity ensures seamless synchronization when cloud processing is needed.</p>
            </div>
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-chart-line"></i>
                </div>
                <h3 class="feature-title">Predictive Analytics</h3>
                <p class="feature-description">Our models can predict potential health issues before they become serious, giving you time to take action.</p>
            </div>
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-robot"></i>
                </div>
                <h3 class="feature-title">AI Health Coach</h3>
                <p class="feature-description">Your personal AI coach adapts to your lifestyle, providing just-in-time guidance for optimal wellbeing.</p>
            </div>
        </div>
    </section>

    <!-- Technology Section -->
    <section id="technology" class="section container">
        <h2 class="section-title">Powered By Cutting-Edge Tech</h2>
        <div class="tech-stack">
            <div class="tech-item">
                <div class="tech-icon">
                    <i class="fab fa-aws"></i>
                </div>
                <span class="tech-name">AWS Generative AI</span>
            </div>
            <div class="tech-item">
                <div class="tech-icon">
                    <i class="fas fa-microchip"></i>
                </div>
                <span class="tech-name">Edge Computing</span>
            </div>
            <div class="tech-item">
                <div class="tech-icon">
                    <i class="fas fa-wifi"></i>
                </div>
                <span class="tech-name">5G Networks</span>
            </div>
            <div class="tech-item">
                <div class="tech-icon">
                    <i class="fas fa-bluetooth-b"></i>
                </div>
                <span class="tech-name">IoT Sensors</span>
            </div>
            <div class="tech-item">
                <div class="tech-icon">
                    <i class="fas fa-lock"></i>
                </div>
                <span class="tech-name">Blockchain</span>
            </div>
        </div>
    </section>

    <!-- AWS Architecture -->
    <section class="aws-architecture">
        <div class="container">
            <h2 class="section-title">Our <span class="gradient-text">AWS Edge AI</span> Architecture</h2>
            <div class="architecture-diagram">
                <div class="architecture-node" data-tooltip="IoT Device">
                    <i class="fas fa-microchip"></i>
                </div>
                <div class="architecture-line"></div>
                <div class="architecture-node" data-tooltip="AWS IoT Greengrass">
                    <i class="fab fa-aws"></i>
                </div>
                <div class="architecture-line"></div>
                <div class="architecture-node" data-tooltip="Edge Lambda">
                    <i class="fas fa-bolt"></i>
                </div>
                <div class="architecture-line"></div>
                <div class="architecture-node" data-tooltip="Sagemaker Neo">
                    <i class="fas fa-brain"></i>
                </div>
                <div class="architecture-line"></div>
                <div class="architecture-node" data-tooltip="Personalized Insights">
                    <i class="fas fa-chart-line"></i>
                </div>
            </div>
            <div class="architecture-caption">
                <p>Data flows through our optimized edge AI pipeline, reducing latency by 90% compared to cloud-only solutions</p>
            </div>
        </div>
    </section>

    <!-- Testimonials -->
    <section id="testimonials" class="section container">
        <h2 class="section-title">Trusted By Health Pioneers</h2>
        <div class="testimonials">
            <div class="testimonial-card">
                <p class="testimonial-text">"VitalEdge detected irregular heart patterns that my doctor missed. The AI analysis likely saved my life by catching early signs of atrial fibrillation."</p>
                <div class="testimonial-author">
                    <div class="author-avatar"></div>
                    <div class="author-info">
                        <h4>Dr. Sarah Chen</h4>
                        <p>Cardiologist, Stanford Health</p>
                    </div>
                </div>
            </div>
            <div class="testimonial-card">
                <p class="testimonial-text">"As a biohacker, I've tried every health wearable. VitalEdge is the first that provides truly actionable insights with its edge AI processing."</p>
                <div class="testimonial-author">
                    <div class="author-avatar"></div>
                    <div class="author-info">
                        <h4>Mark Williams</h4>
                        <p>Professional Athlete</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section id="cta" class="cta-section container">
        <h2>Ready to Transform Your Health?</h2>
        <p>Join our exclusive beta program and be among the first to experience the future of personalized health monitoring.</p>
        <a href="#" class="cta-button pulse">
            <i class="fas fa-user-plus"></i> Apply for Beta Access
        </a>
    </section>

    <!-- Footer -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-column">
                    <h3>VitalEdge</h3>
                    <p>The future of health monitoring powered by AI, IoT, and Edge Computing.</p>
                    <div class="social-links">
                        <a href="#" class="social-link"><i class="fab fa-twitter"></i></a>
                        <a href="#" class="social-link"><i class="fab fa-linkedin-in"></i></a>
                        <a href="#" class="social-link"><i class="fab fa-github"></i></a>
                        <a href="#" class="social-link"><i class="fab fa-youtube"></i></a>
                    </div>
                </div>
                <div class="footer-column">
                    <h3>Product</h3>
                    <ul class="footer-links">
                        <li><a href="#">Features</a></li>
                        <li><a href="#">Technology</a></li>
                        <li><a href="#">Pricing</a></li>
                        <li><a href="#">Roadmap</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>Resources</h3>
                    <ul class="footer-links">
                        <li><a href="#">Documentation</a></li>
                        <li><a href="#">API</a></li>
                        <li><a href="#">Developers</a></li>
                        <li><a href="#">Research</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>Company</h3>
                    <ul class="footer-links">
                        <li><a href="#">About</a></li>
                        <li><a href="#">Careers</a></li>
                        <li><a href="#">Blog</a></li>
                        <li><a href="#">Contact</a></li>
                    </ul>
                </div>
            </div>
            <div class="footer-bottom">
                <p>&copy; 2023 VitalEdge Technologies. All rights reserved. | <a href="#">Privacy Policy</a> | <a href="#">Terms of Service</a></p>
            </div>
        </div>
    </footer>

    <script>
        // Three.js Neural Network Visualization
        const initThreeJS = () => {
            const container = document.getElementById('threejs-container');
            const width = container.clientWidth;
            const height = container.clientHeight;

            // Scene setup
            const scene = new THREE.Scene();
            scene.background = new THREE.Color(0x0a0a14);
            
            const camera = new THREE.PerspectiveCamera(75, width / height, 0.1, 1000);
            camera.position.z = 30;

            const renderer = new THREE.WebGLRenderer({ antialias: true });
            renderer.setSize(width, height);
            container.appendChild(renderer.domElement);

            // Controls
            const controls = new THREE.OrbitControls(camera, renderer.domElement);
            controls.enableDamping = true;
            controls.dampingFactor = 0.05;
            controls.autoRotate = true;
            controls.autoRotateSpeed = 0.5;

            // Create neural network structure
            const createNeuralNetwork = () => {
                const group = new THREE.Group();
                
                // Create layers
                const layerCount = 5;
                const nodesPerLayer = 8;
                const spacing = 5;
                
                // Nodes material
                const nodeMaterial = new THREE.MeshBasicMaterial({ 
                    color: 0x00f0ff,
                    transparent: true,
                    opacity: 0.8
                });
                
                // Connections material
                const connectionMaterial = new THREE.LineBasicMaterial({
                    color: 0x7b2dff,
                    transparent: true,
                    opacity: 0.3
                });

                // Create nodes and connections
                for (let l = 0; l < layerCount; l++) {
                    const layerNodes = [];
                    
                    // Create nodes in this layer
                    for (let n = 0; n < nodesPerLayer; n++) {
                        const radius = 0.5;
                        const geometry = new THREE.SphereGeometry(radius, 16, 16);
                        const node = new THREE.Mesh(geometry, nodeMaterial);
                        
                        node.position.x = (l - (layerCount/2 - 0.5)) * spacing;
                        node.position.y = (n - (nodesPerLayer/2 - 0.5)) * spacing;
                        
                        group.add(node);
                        layerNodes.push(node);
                        
                        // If not first layer, connect to previous layer
                        if (l > 0) {
                            for (let p = 0; p < nodesPerLayer; p++) {
                                const points = [];
                                points.push(new THREE.Vector3(
                                    node.position.x - spacing/2, 
                                    node.position.y, 
                                    node.position.z
                                ));
                                points.push(new THREE.Vector3(
                                    node.position.x - spacing/2, 
                                    (p - (nodesPerLayer/2 - 0.5)) * spacing, 
                                    node.position.z
                                ));
                                
                                const lineGeometry = new THREE.BufferGeometry().setFromPoints(points);
                                const line = new THREE.Line(lineGeometry, connectionMaterial);
                                group.add(line);
                            }
                        }
                    }
                }
                
                return group;
            };
            
            const nn = createNeuralNetwork();
            scene.add(nn);

            // Pulsing animation for nodes
            const pulseNodes = () => {
                nn.children.forEach(child => {
                    if (child instanceof THREE.Mesh) {
                        const scale = 1 + Math.sin(Date.now() * 0.002) * 0.2;
                        child.scale.set(scale, scale, scale);
                    }
                });
            };

            // Animation loop
            const animate = () => {
                requestAnimationFrame(animate);
                pulseNodes();
                controls.update();
                renderer.render(scene, camera);
            };

            animate();

            // Handle resize
            window.addEventListener('resize', () => {
                const width = container.clientWidth;
                const height = container.clientHeight;
                camera.aspect = width / height;
                camera.updateProjectionMatrix();
                renderer.setSize(width, height);
            });
        };

        // Initialize when DOM is loaded
        document.addEventListener('DOMContentLoaded', initThreeJS);

        // Simple animation for elements when they come into view
        const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.classList.add('animate');
                }
            });
        }, {
            threshold: 0.1
        });

        document.querySelectorAll('.feature-card, .tech-item, .testimonial-card').forEach(el => {
            observer.observe(el);
        });

        // Theme toggle (simplified for this example)
        const themeToggle = document.createElement('button');
        themeToggle.innerHTML = '<i class="fas fa-moon"></i>';
        themeToggle.style.position = 'fixed';
        themeToggle.style.bottom = '20px';
        themeToggle.style.right = '20px';
        themeToggle.style.width = '50px';
        themeToggle.style.height = '50px';
        themeToggle.style.borderRadius = '50%';
        themeToggle.style.background = 'var(--gradient)';
        themeToggle.style.color = 'var(--dark)';
        themeToggle.style.border = 'none';
        themeToggle.style.cursor = 'pointer';
        themeToggle.style.zIndex = '1000';
        themeToggle
</html>