File size: 64,862 Bytes
6624d9e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Nebula Nexus | Immersive Digital Experiences</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            overflow-x: hidden;
            font-family: 'Poppins', sans-serif;
            background-color: #0a0a12;
            color: #f1f1f3;
        }
        
        .tech-font {
            font-family: 'Orbitron', sans-serif;
        }
        
        .hero-section {
            height: 100vh;
            position: relative;
        }
        
        .particle-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        
        .gradient-text {
            background: linear-gradient(90deg, #00f0ff, #5773ff, #ff007a);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .gradient-border {
            position: relative;
        }
        
        .gradient-border::before {
            content: '';
            position: absolute;
            inset: -2px;
            z-index: -1;
            background: linear-gradient(90deg, #00f0ff, #5773ff, #ff007a);
            border-radius: inherit;
            padding: 2px;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
        }
        
        .floating {
            animation: floating 8s ease-in-out infinite;
        }
        
        .floating-2 {
            animation: floating 6s ease-in-out infinite 2s;
        }
        
        .floating-3 {
            animation: floating 7s ease-in-out infinite 1s;
        }
        
        @keyframes floating {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(5deg); }
            100% { transform: translateY(0px) rotate(0deg); }
        }
        
        .holographic {
            background: linear-gradient(135deg, rgba(0,240,255,0.1) 0%, rgba(87,115,255,0.1) 50%, rgba(255,0,122,0.1) 100%);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .neon-glow {
            text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(0, 240, 255, 0); }
            100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
        }
        
        .rotate-x {
            animation: rotate-x 20s infinite linear;
            transform-style: preserve-3d;
        }
        
        @keyframes rotate-x {
            0% { transform: rotateX(0deg); }
            100% { transform: rotateX(360deg); }
        }
        
        .space-helmet {
            perspective: 1000px;
        }
        
        .helmet-visor {
            background: linear-gradient(45deg, rgba(0,240,255,0.2), rgba(87,115,255,0.4));
            box-shadow: inset 0 0 50px rgba(0,240,255,0.5);
            border-radius: 50%;
            filter: blur(0.5px);
        }
        
        .nav-link {
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(90deg, #00f0ff, #5773ff, #ff007a);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .scroll-down {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) translateX(-50%);
            }
            40% {
                transform: translateY(-20px) translateX(-50%);
            }
            60% {
                transform: translateY(-10px) translateX(-50%);
            }
        }
        
        .feature-panel {
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.6s ease-out;
        }
        
        .feature-panel.visible {
            transform: translateY(0);
            opacity: 1;
        }
        
        .hologram-effect {
            position: relative;
        }
        
        .hologram-effect::before {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(to bottom, rgba(0,240,255,0.3), transparent);
            transform: perspective(500px) rotateX(60deg) scaleY(0.8);
            filter: blur(15px);
            z-index: -1;
        }
        
        .scanline {
            position: relative;
            overflow: hidden;
        }
        
        .scanline::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                transparent 0%,
                rgba(0, 240, 255, 0.03) 50%,
                transparent 100%
            );
            animation: scanline 5s linear infinite;
            pointer-events: none;
        }
        
        @keyframes scanline {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(100%); }
        }
        
        /* Floating 3D Shapes */
        .floating-cube {
            animation: floating 8s ease-in-out infinite, rotate-x 20s infinite linear;
            transform-style: preserve-3d;
        }
        
        .floating-pyramid {
            animation: floating 7s ease-in-out infinite 1s, rotate-y 25s infinite linear reverse;
            transform-style: preserve-3d;
        }
        
        .floating-torus {
            animation: floating 9s ease-in-out infinite 2s, rotate-x 30s infinite linear reverse;
            transform-style: preserve-3d;
        }
        
        @keyframes rotate-y {
            0% { transform: rotateY(0deg); }
            100% { transform: rotateY(360deg); }
        }
        
        .noise::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
            z-index: -1;
        }
    </style>
</head>
<body>
    <!-- Background Animation -->
    <div id="vanta-bg" class="particle-bg"></div>
    
    <!-- Navigation -->
    <nav class="fixed w-full z-50 bg-black bg-opacity-60 backdrop-filter backdrop-blur-lg border-b border-gray-800">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-20 items-center">
                <div class="flex-shrink-0 flex items-center">
                    <span class="text-2xl font-bold gradient-text tech-font">NEBULA NEXUS</span>
                </div>
                <div class="hidden md:block">
                    <div class="ml-10 flex items-center space-x-8">
                        <a href="#" class="nav-link px-3 py-2 text-sm font-medium">Home</a>
                        <a href="#features" class="nav-link px-3 py-2 text-sm font-medium">Tech</a>
                        <a href="#portfolio" class="nav-link px-3 py-2 text-sm font-medium">Work</a>
                        <a href="#pricing" class="nav-link px-3 py-2 text-sm font-medium">Plans</a>
                        <a href="#contact" class="nav-link px-3 py-2 text-sm font-medium">Contact</a>
                    </div>
                </div>
                <div class="flex items-center">
                    <button class="relative overflow-hidden group bg-transparent border-2 border-blue-400 hover:border-purple-500 text-white px-6 py-2 rounded-full font-medium transition-all duration-500">
                        <span class="relative z-10">Launch App</span>
                        <span class="absolute inset-0 bg-gradient-to-r from-blue-500 to-purple-600 opacity-0 group-hover:opacity-100 transition-all duration-500"></span>
                    </button>
                </div>
            </div>
        </div>
    </nav>
    
    <!-- Hero Section with 3D Model -->
    <section class="hero-section flex items-center justify-center relative overflow-hidden px-4">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
            <div class="text-center lg:text-left">
                <div class="relative inline-block mb-8">
                    <div class="absolute -inset-1 bg-gradient-to-r from-blue-400 to-purple-600 rounded-xl blur opacity-75"></div>
                    <span class="relative px-4 py-2 bg-black rounded-lg text-sm font-medium tech-font">
                        FUTURE OF DIGITAL EXPERIENCE
                    </span>
                </div>
                <h1 class="text-4xl md:text-6xl lg:text-7xl font-bold mb-6 leading-tight tech-font">
                    <span class="gradient-text">Beyond Reality</span> Digital Frontiers
                </h1>
                <p class="text-xl text-gray-300 max-w-2xl mb-10">
                    We blend cutting-edge technology with immersive design to create experiences that transcend traditional boundaries.
                </p>
                <div class="flex flex-col sm:flex-row gap-4 justify-center lg:justify-start">
                    <button class="relative overflow-hidden group px-8 py-4 rounded-full font-medium text-lg bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 transition-all duration-300 transform hover:scale-105">
                        <span class="relative z-10">Explore Demos</span>
                        <span class="absolute inset-0 bg-white opacity-0 group-hover:opacity-10 transition-all duration-500"></span>
                    </button>
                    <button class="px-8 py-4 rounded-full font-medium text-lg border-2 border-blue-400 hover:border-purple-500 text-white hover:text-blue-200 transition-all duration-300 transform hover:scale-105">
                        <i class="fas fa-play mr-2"></i> Watch Showreel
                    </button>
                </div>
            </div>
            
            <!-- 3D Holographic Display -->
            <div class="relative flex items-center justify-center h-96 lg:h-auto">
                <div class="absolute w-64 h-64 md:w-80 md:h-80 lg:w-96 lg:h-96">
                    <div class="floating-torus h-full w-full">
                        <!-- Three.js will render here -->
                        <canvas id="torusCanvas" class="h-full w-full"></canvas>
                    </div>
                </div>
                
                <div class="holographic h-64 w-64 md:h-80 md:w-80 lg:h-96 lg:w-96 rounded-full opacity-90 relative">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <div class="helmet-visor h-3/4 w-3/4 flex items-center justify-center">
                            <div class="text-center p-6">
                                <h3 class="text-2xl font-bold mb-2 gradient-text tech-font">NEBULA NEXUS</h3>
                                <p class="text-xs text-gray-300">IMMERSIVE TECH</p>
                                <div class="mt-4 h-1 w-16 mx-auto bg-gradient-to-r from-blue-400 to-purple-600"></div>
                            </div>
                        </div>
                    </div>
                    <div class="absolute -bottom-4 left-1/2 transform -translate-x-1/2 w-1/2 h-2 bg-blue-400 rounded-full blur-md opacity-60"></div>
                </div>
                
                <!-- Floating 3D Shapes -->
                <div class="absolute -left-10 top-1/4 w-16 h-16">
                    <div class="floating-cube h-full w-full">
                        <canvas id="cubeCanvas" class="h-full w-full"></canvas>
                    </div>
                </div>
                
                <div class="absolute -right-10 bottom-1/3 w-20 h-20">
                    <div class="floating-pyramid h-full w-full">
                        <canvas id="pyramidCanvas" class="h-full w-full"></canvas>
                    </div>
                </div>
            </div>
            
            <!-- Scroll Down Indicator -->
            <div class="scroll-down lg:hidden">
                <a href="#features" class="text-blue-400 hover:text-purple-400 transition-colors duration-300">
                    <i class="fas fa-chevron-down text-2xl"></i>
                </a>
            </div>
        </div>
    </section>
    
    <!-- Tech Features Section -->
    <section id="features" class="py-20 relative overflow-hidden px-4">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-5xl font-bold mb-4 tech-font">
                    <span class="gradient-text">Technological</span> Capabilities
                </h2>
                <p class="text-xl text-gray-300 max-w-4xl mx-auto">
                    Leveraging the latest advancements to create immersive experiences that engage and captivate.
                </p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- Feature 1 -->
                <div class="feature-panel holographic p-8 rounded-2xl transition-all duration-700 hover:transform hover:scale-105">
                    <div class="relative">
                        <div class="absolute -left-2 -top-2 w-12 h-12 bg-blue-500 rounded-full opacity-20 blur-sm"></div>
                        <div class="relative flex items-center">
                            <div class="w-12 h-12 bg-gradient-to-br from-blue-500 to-purple-600 rounded-lg flex items-center justify-center mr-4">
                                <i class="fas fa-vr-cardboard text-xl"></i>
                            </div>
                            <h3 class="text-2xl font-bold gradient-text tech-font">XR Integration</h3>
                        </div>
                    </div>
                    <p class="text-gray-300 mt-6 mb-6">
                        Seamless mixed reality experiences combining VR, AR, and spatial computing for unparalleled immersion.
                    </p>
                    <div class="relative h-40 mt-6 rounded-xl overflow-hidden">
                        <canvas id="xrCanvas" class="w-full h-full bg-black/30"></canvas>
                        <div class="absolute inset-0 flex items-center justify-center">
                            <div class="w-20 h-20 border-2 border-blue-400/50 rounded-full animate-ping opacity-30"></div>
                        </div>
                    </div>
                </div>
                
                <!-- Feature 2 -->
                <div class="feature-panel holographic p-8 rounded-2xl transition-all duration-700 delay-100 hover:transform hover:scale-105">
                    <div class="relative">
                        <div class="absolute -left-2 -top-2 w-12 h-12 bg-purple-500 rounded-full opacity-20 blur-sm"></div>
                        <div class="relative flex items-center">
                            <div class="w-12 h-12 bg-gradient-to-br from-purple-500 to-pink-600 rounded-lg flex items-center justify-center mr-4">
                                <i class="fas fa-brain text-xl"></i>
                            </div>
                            <h3 class="text-2xl font-bold gradient-text tech-font">AI Interaction</h3>
                        </div>
                    </div>
                    <p class="text-gray-300 mt-6 mb-6">
                        Smart adaptive interfaces powered by machine learning that evolve with user behavior and preferences.
                    </p>
                    <div class="relative h-40 mt-6 rounded-xl overflow-hidden">
                        <div class="absolute inset-0 flex items-center justify-center">
                            <div class="w-16 h-16 bg-gradient-to-br from-purple-600 to-pink-500 rounded-full flex items-center justify-center pulse">
                                <i class="fas fa-atom text-2xl"></i>
                            </div>
                        </div>
                        <div class="absolute inset-0">
                            <div class="grid grid-cols-5 grid-rows-5 h-full w-full">
                                <!-- Grid for neural network effect -->
                                <?php for($i=0; $i<25; $i++): ?>
                                <div class="border border-gray-700 relative">
                                    <div class="absolute inset-0 bg-blue-500/10 animate-pulse" style="animation-delay: <?= $i*0.1 ?>s; opacity: 0;"></div>
                                </div>
                                <?php endfor; ?>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Feature 3 -->
                <div class="feature-panel holographic p-8 rounded-2xl transition-all duration-700 delay-200 hover:transform hover:scale-105">
                    <div class="relative">
                        <div class="absolute -left-2 -top-2 w-12 h-12 bg-pink-500 rounded-full opacity-20 blur-sm"></div>
                        <div class="relative flex items-center">
                            <div class="w-12 h-12 bg-gradient-to-br from-pink-500 to-blue-600 rounded-lg flex items-center justify-center mr-4">
                                <i class="fas fa-project-diagram text-xl"></i>
                            </div>
                            <h3 class="text-2xl font-bold gradient-text tech-font">Blockchain Ready</h3>
                        </div>
                    </div>
                    <p class="text-gray-300 mt-6 mb-6">
                        Decentralized architectures and NFT integration for ownership, authentication, and new economic models.
                    </p>
                    <div class="relative h-40 mt-6 rounded-xl overflow-hidden">
                        <div class="absolute inset-0">
                            <div class="grid grid-cols-6 gap-1 h-full w-full p-1">
                                <!-- Blockchain blocks animation -->
                                <?php for($i=0; $i<36; $i++): ?>
                                <div class="bg-gray-800/50 border border-gray-700 rounded-sm animate-pulse" style="animation-delay: <?= $i*0.05 ?>s;"></div>
                                <?php endfor; ?>
                            </div>
                        </div>
                        <div class="absolute inset-0 flex items-center justify-center">
                            <div class="w-16 h-16 rotate-x">
                                <div class="w-full h-full bg-gradient-to-br from-blue-600 to-pink-500 flex items-center justify-center">
                                    <i class="fas fa-cube text-xl"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    
    <!-- 3D Showcase Section -->
    <section id="portfolio" class="py-20 relative overflow-hidden px-4">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-5xl font-bold mb-4 tech-font">
                    <span class="gradient-text">Immersive</span> Showcase
                </h2>
                <p class="text-xl text-gray-300 max-w-4xl mx-auto">
                    Our portfolio of cutting-edge projects that push the boundaries of digital interaction.
                </p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- Project 1 -->
                <div class="feature-panel holographic rounded-2xl overflow-hidden transition-all duration-700 delay-75 hover:transform hover:scale-105">
                    <div class="relative h-64">
                        <canvas id="project1Canvas" class="absolute inset-0 w-full h-full bg-gray-900"></canvas>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/90 via-transparent to-transparent"></div>
                        <div class="absolute bottom-0 left-0 p-6">
                            <h3 class="text-2xl font-bold mb-1">Quantum Interface</h3>
                            <span class="text-sm text-blue-400">VR Control System</span>
                        </div>
                    </div>
                    <div class="p-6">
                        <p class="text-gray-300 mb-4">A revolutionary interface system using quantum computing principles for intuitive interactions.</p>
                        <button class="text-blue-400 font-medium flex items-center group">
                            <span>Explore Project</span>
                            <i class="fas fa-arrow-right ml-2 group-hover:ml-3 transition-all duration-300"></i>
                        </button>
                    </div>
                </div>
                
                <!-- Project 2 -->
                <div class="feature-panel holographic rounded-2xl overflow-hidden transition-all duration-700 delay-150 hover:transform hover:scale-105">
                    <div class="relative h-64">
                        <canvas id="project2Canvas" class="absolute inset-0 w-full h-full bg-gray-900"></canvas>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/90 via-transparent to-transparent"></div>
                        <div class="absolute bottom-0 left-0 p-6">
                            <h3 class="text-2xl font-bold mb-1">Neon Metaverse</h3>
                            <span class="text-sm text-purple-400">Digital Cityscape</span>
                        </div>
                    </div>
                    <div class="p-6">
                        <p class="text-gray-300 mb-4">A cyberpunk-inspired virtual world with blockchain-based property ownership.</p>
                        <button class="text-purple-400 font-medium flex items-center group">
                            <span>Explore Project</span>
                            <i class="fas fa-arrow-right ml-2 group-hover:ml-3 transition-all duration-300"></i>
                        </button>
                    </div>
                </div>
                
                <!-- Project 3 -->
                <div class="feature-panel holographic rounded-2xl overflow-hidden transition-all duration-700 delay-300 hover:transform hover:scale-105">
                    <div class="relative h-64">
                        <canvas id="project3Canvas" class="absolute inset-0 w-full h-full bg-gray-900"></canvas>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/90 via-transparent to-transparent"></div>
                        <div class="absolute bottom-0 left-0 p-6">
                            <h3 class="text-2xl font-bold mb-1">Holo Nexus</h3>
                            <span class="text-sm text-pink-400">AR Collaboration</span>
                        </div>
                    </div>
                    <div class="p-6">
                        <p class="text-gray-300 mb-4">Mixed reality workspace enabling global teams to collaborate in 3D space.</p>
                        <button class="text-pink-400 font-medium flex items-center group">
                            <span>Explore Project</span>
                            <i class="fas fa-arrow-right ml-2 group-hover:ml-3 transition-all duration-300"></i>
                        </button>
                    </div>
                </div>
            </div>
            
            <div class="text-center mt-12">
                <button class="relative overflow-hidden group px-8 py-4 rounded-full font-medium text-lg bg-transparent border-2 border-blue-400 hover:border-purple-500 text-white transition-all duration-300 transform hover:scale-105">
                    <span class="relative z-10">View All Projects</span>
                    <span class="absolute inset-0 bg-gradient-to-r from-blue-500 to-purple-600 opacity-0 group-hover:opacity-100 transition-all duration-500"></span>
                </button>
            </div>
            
            <!-- 3D Tech Visualization -->
            <div class="mt-20 relative h-96 rounded-3xl overflow-hidden hologram-effect scanline noise">
                <canvas id="techVizCanvas" class="absolute inset-0 w-full h-full"></canvas>
                <div class="absolute inset-0 flex items-center justify-center">
                    <div class="text-center p-8 max-w-2xl">
                        <h3 class="text-3xl md:text-4xl font-bold mb-4 gradient-text tech-font">Tech Spectrum Analysis</h3>
                        <p class="text-gray-300 mb-6">Real-time visualization of our technology stack and capabilities across multiple dimensions.</p>
                        <div class="flex justify-center gap-4">
                            <button class="px-6 py-2 rounded-full text-sm font-medium bg-blue-500/20 border border-blue-400/50 hover:bg-blue-500/30">XR</button>
                            <button class="px-6 py-2 rounded-full text-sm font-medium bg-purple-500/20 border border-purple-400/50 hover:bg-purple-500/30">AI</button>
                            <button class="px-6 py-2 rounded-full text-sm font-medium bg-pink-500/20 border border-pink-400/50 hover:bg-pink-500/30">Blockchain</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    
    <!-- 3D Performance Stats -->
    <section class="py-20 relative overflow-hidden px-4">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="holographic rounded-3xl p-8 md:p-12 grid grid-cols-1 md:grid-cols-2 gap-12 items-center">
                <div>
                    <h2 class="text-3xl md:text-5xl font-bold mb-6 tech-font">
                        <span class="gradient-text">Performance</span> Metrics
                    </h2>
                    <p class="text-xl text-gray-300 mb-8">
                        Our solutions deliver measurable results across all key performance indicators.
                    </p>
                    <div class="grid grid-cols-2 gap-6">
                        <div>
                            <div class="text-4xl font-bold gradient-text mb-2 tech-font">300%</div>
                            <p class="text-gray-400">User Engagement</p>
                        </div>
                        <div>
                            <div class="text-4xl font-bold gradient-text mb-2 tech-font">1.2s</div>
                            <p class="text-gray-400">Avg. Load Time</p>
                        </div>
                        <div>
                            <div class="text-4xl font-bold gradient-text mb-2 tech-font">99.9%</div>
                            <p class="text-gray-400">Uptime</p>
                        </div>
                        <div>
                            <div class="text-4xl font-bold gradient-text mb-2 tech-font">4.8/5</div>
                            <p class="text-gray-400">Client Satisfaction</p>
                        </div>
                    </div>
                </div>
                
                <div class="h-64 md:h-96 relative">
                    <canvas id="statsCanvas" class="absolute inset-0 w-full h-full"></canvas>
                </div>
            </div>
        </div>
    </section>
    
    <!-- Contact Section with 3D Form -->
    <section id="contact" class="py-20 relative overflow-hidden px-4">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-5xl font-bold mb-4 tech-font">
                    <span class="gradient-text">Ready to</span> Transform?
                </h2>
                <p class="text-xl text-gray-300 max-w-4xl mx-auto">
                    Let's discuss how we can create something extraordinary together.
                </p>
            </div>
            
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
                <div class="holographic rounded-3xl p-8 md:p-12 relative overflow-hidden">
                    <form class="space-y-6 relative z-10">
                        <div>
                            <label for="name" class="block text-sm font-medium text-gray-300 mb-2">Your Name</label>
                            <input type="text" id="name" class="w-full px-5 py-3 bg-gray-900 border border-gray-700 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" placeholder="Enter your name">
                        </div>
                        <div>
                            <label for="email" class="block text-sm font-medium text-gray-300 mb-2">Email Address</label>
                            <input type="email" id="email" class="w-full px-5 py-3 bg-gray-900 border border-gray-700 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" placeholder="[email protected]">
                        </div>
                        <div>
                            <label for="project" class="block text-sm font-medium text-gray-300 mb-2">Project Type</label>
                            <select id="project" class="w-full px-5 py-3 bg-gray-900 border border-gray-700 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent">
                                <option>Select project type</option>
                                <option>XR Experience</option>
                                <option>AI Integration</option>
                                <option>Web3 Platform</option>
                                <option>Custom Solution</option>
                            </select>
                        </div>
                        <div>
                            <label for="message" class="block text-sm font-medium text-gray-300 mb-2">Project Details</label>
                            <textarea id="message" rows="4" class="w-full px-5 py-3 bg-gray-900 border border-gray-700 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" placeholder="Tell us about your project..."></textarea>
                        </div>
                        <button type="submit" class="w-full bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white px-8 py-4 rounded-xl font-medium text-lg transition-all duration-300 transform hover:scale-105">
                            Send Message
                        </button>
                    </form>
                    <div class="absolute -bottom-20 -right-20 w-64 h-64 bg-blue-500/10 rounded-full blur-3xl"></div>
                    <div class="absolute -top-20 -left-20 w-64 h-64 bg-purple-500/10 rounded-full blur-3xl"></div>
                </div>
                
                <div class="relative">
                    <div class="h-full w-full rounded-3xl overflow-hidden">
                        <canvas id="contactCanvas" class="h-full w-full bg-gray-900"></canvas>
                    </div>
                    <div class="absolute bottom-8 left-8 right-8 p-6 bg-black/70 backdrop-filter backdrop-blur-sm rounded-xl border border-gray-700">
                        <h3 class="text-xl font-bold mb-2 gradient-text tech-font">Connect With Us</h3>
                        <p class="text-gray-300 mb-4">We're available across all major platforms and networks.</p>
                        <div class="flex space-x-4">
                            <a href="#" class="w-10 h-10 bg-gray-800 hover:bg-blue-400 rounded-full flex items-center justify-center transition-all duration-300">
                                <i class="fab fa-twitter"></i>
                            </a>
                            <a href="#" class="w-10 h-10 bg-gray-800 hover:bg-purple-400 rounded-full flex items-center justify-center transition-all duration-300">
                                <i class="fab fa-discord"></i>
                            </a>
                            <a href="#" class="w-10 h-10 bg-gray-800 hover:bg-pink-400 rounded-full flex items-center justify-center transition-all duration-300">
                                <i class="fab fa-linkedin"></i>
                            </a>
                            <a href="#" class="w-10 h-10 bg-gray-800 hover:bg-blue-600 rounded-full flex items-center justify-center transition-all duration-300">
                                <i class="fab fa-telegram"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    
    <!-- Footer -->
    <footer class="py-12 border-t border-gray-800 relative overflow-hidden px-4">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-12">
                <div>
                    <h4 class="text-xl font-bold gradient-text tech-font mb-4">NEBULA NEXUS</h4>
                    <p class="text-gray-400 mb-6">Pushing the boundaries of digital experience through immersive technology.</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">
                            <i class="fab fa-twitter"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-purple-400 transition-colors duration-300">
                            <i class="fab fa-discord"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-pink-400 transition-colors duration-300">
                            <i class="fab fa-linkedin"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-blue-600 transition-colors duration-300">
                            <i class="fab fa-telegram"></i>
                        </a>
                    </div>
                </div>
                <div>
                    <h5 class="text-lg font-bold text-white mb-4">Services</h5>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">XR Development</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">AI Integration</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">Web3 Solutions</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">Immersive Design</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">Tech Consulting</a></li>
                    </ul>
                </div>
                <div>
                    <h5 class="text-lg font-bold text-white mb-4">Company</h5>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">About Us</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">Careers</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">Case Studies</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">Blog</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition-colors duration-300">Contact</a></li>
                    </ul>
                </div>
                <div>
                    <h5 class="text-lg font-bold text-white mb-4">Newsletter</h5>
                    <p class="text-gray-400 mb-4">Subscribe to our newsletter for the latest updates and insights.</p>
                    <form class="flex">
                        <input type="email" placeholder="Your email" class="px-4 py-2 bg-gray-800 border border-gray-700 rounded-l-lg focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-transparent w-full">
                        <button type="submit" class="px-4 py-2 bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white rounded-r-lg transition-all duration-300">
                            <i class="fas fa-paper-plane"></i>
                        </button>
                    </form>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
                <p class="text-gray-500 text-sm mb-4 md:mb-0">© 2023 Nebula Nexus. All rights reserved.</p>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-500 hover:text-blue-400 text-sm transition-colors duration-300">Privacy Policy</a>
                    <a href="#" class="text-gray-500 hover:text-blue-400 text-sm transition-colors duration-300">Terms of Service</a>
                    <a href="#" class="text-gray-500 hover:text-blue-400 text-sm transition-colors duration-300">Cookies</a>
                </div>
            </div>
        </div>
        
        <!-- Floating 3D Sphere -->
        <div class="absolute -bottom-20 -right-20 w-40 h-40">
            <canvas id="footerSphereCanvas" class="w-full h-full"></canvas>
        </div>
    </footer>
    
    <script>
        // Initialize Vanta.js background
        VANTA.GLOBE({
            el: "#vanta-bg",
            mouseControls: true,
            touchControls: true,
            gyroControls: false,
            minHeight: 200.00,
            minWidth: 200.00,
            scale: 1.00,
            scaleMobile: 1.00,
            color: 0x5773ff,
            backgroundColor: 0x0a0a12,
            size: 0.8
        });
        
        // Initialize Three.js 3D models
        document.addEventListener('DOMContentLoaded', function() {
            // Torus in Hero Section
            const torusCanvas = document.getElementById('torusCanvas');
            const torusScene = new THREE.Scene();
            const torusCamera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const torusRenderer = new THREE.WebGLRenderer({ 
                canvas: torusCanvas, 
                alpha: true,
                antialias: true 
            });
            
            const torusGeometry = new THREE.TorusGeometry(1, 0.4, 16, 100);
            const torusMaterial = new THREE.MeshBasicMaterial({ 
                color: 0x5773ff,
                wireframe: true,
                transparent: true,
                opacity: 0.8
            });
            const torus = new THREE.Mesh(torusGeometry, torusMaterial);
            torusScene.add(torus);
            
            torusCamera.position.z = 3;
            
            // Cube in Hero Section
            const cubeCanvas = document.getElementById('cubeCanvas');
            const cubeScene = new THREE.Scene();
            const cubeCamera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const cubeRenderer = new THREE.WebGLRenderer({ 
                canvas: cubeCanvas, 
                alpha: true,
                antialias: true 
            });
            
            const cubeGeometry = new THREE.BoxGeometry(1, 1, 1);
            const cubeMaterial = new THREE.MeshBasicMaterial({ 
                color: 0xff007a,
                wireframe: true,
                transparent: true,
                opacity: 0.6
            });
            const cube = new THREE.Mesh(cubeGeometry, cubeMaterial);
            cubeScene.add(cube);
            
            cubeCamera.position.z = 3;
            
            // Pyramid in Hero Section
            const pyramidCanvas = document.getElementById('pyramidCanvas');
            const pyramidScene = new THREE.Scene();
            const pyramidCamera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const pyramidRenderer = new THREE.WebGLRenderer({ 
                canvas: pyramidCanvas, 
                alpha: true,
                antialias: true 
            });
            
            const pyramidGeometry = new THREE.ConeGeometry(0.8, 1.5, 4);
            const pyramidMaterial = new THREE.MeshBasicMaterial({ 
                color: 0x00f0ff,
                wireframe: true,
                transparent: true,
                opacity: 0.6
            });
            const pyramid = new THREE.Mesh(pyramidGeometry, pyramidMaterial);
            pyramid.rotation.y = Math.PI / 4;
            pyramidScene.add(pyramid);
            
            pyramidCamera.position.z = 3;
            
            // XR Canvas in Features
            const xrCanvas = document.getElementById('xrCanvas');
            const xrScene = new THREE.Scene();
            const xrCamera = new THREE.PerspectiveCamera(75, 2, 0.1, 1000);
            const xrRenderer = new THREE.WebGLRenderer({ 
                canvas: xrCanvas, 
                alpha: true,
                antialias: true 
            });
            
            const xrPointsGeometry = new THREE.BufferGeometry();
            const xrVertices = [];
            for (let i = 0; i < 1000; i++) {
                xrVertices.push(
                    Math.random() * 2 - 1,
                    Math.random() * 2 - 1,
                    Math.random() * 2 - 1
                );
            }
            xrPointsGeometry.setAttribute('position', new THREE.Float32BufferAttribute(xrVertices, 3));
            const xrPointsMaterial = new THREE.PointsMaterial({
                color: 0x5773ff,
                size: 0.02,
                transparent: true,
                opacity: 0.8
            });
            const xrPoints = new THREE.Points(xrPointsGeometry, xrPointsMaterial);
            xrScene.add(xrPoints);
            
            xrCamera.position.z = 2;
            xrRenderer.setSize(xrCanvas.width, xrCanvas.height);
            
            // Project 1 Canvas
            const project1Canvas = document.getElementById('project1Canvas');
            const project1Scene = new THREE.Scene();
            const project1Camera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const project1Renderer = new THREE.WebGLRenderer({ 
                canvas: project1Canvas, 
                alpha: true,
                antialias: true 
            });
            
            // Create a grid of points for project 1
            const project1Geometry = new THREE.BufferGeometry();
            const project1Vertices = [];
            const gridSize = 10;
            
            for (let i = 0; i < gridSize; i++) {
                for (let j = 0; j < gridSize; j++) {
                    project1Vertices.push(
                        (i - gridSize/2) * 0.1,
                        (j - gridSize/2) * 0.1,
                        0
                    );
                }
            }
            
            project1Geometry.setAttribute('position', new THREE.Float32BufferAttribute(project1Vertices, 3));
            const project1Material = new THREE.PointsMaterial({
                color: 0x00f0ff,
                size: 0.05,
                sizeAttenuation: true
            });
            const project1Points = new THREE.Points(project1Geometry, project1Material);
            project1Scene.add(project1Points);
            
            project1Camera.position.z = 2;
            project1Renderer.setSize(project1Canvas.width, project1Canvas.height);
            
            // Project 2 Canvas
            const project2Canvas = document.getElementById('project2Canvas');
            const project2Scene = new THREE.Scene();
            const project2Camera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const project2Renderer = new THREE.WebGLRenderer({ 
                canvas: project2Canvas, 
                alpha: true,
                antialias: true 
            });
            
            // Create a wireframe city for project 2
            const project2Group = new THREE.Group();
            
            for (let i = 0; i < 20; i++) {
                const height = Math.random() * 0.5 + 0.2;
                const buildingGeometry = new THREE.BoxGeometry(0.1, height, 0.1);
                const buildingMaterial = new THREE.MeshBasicMaterial({
                    color: 0x8a2be2,
                    wireframe: true
                });
                const building = new THREE.Mesh(buildingGeometry, buildingMaterial);
                building.position.x = (Math.random() - 0.5) * 2;
                building.position.z = (Math.random() - 0.5) * 2;
                building.position.y = height / 2;
                project2Group.add(building);
            }
            
            project2Scene.add(project2Group);
            project2Camera.position.z = 3;
            project2Camera.position.y = 1;
            project2Renderer.setSize(project2Canvas.width, project2Canvas.height);
            
            // Project 3 Canvas
            const project3Canvas = document.getElementById('project3Canvas');
            const project3Scene = new THREE.Scene();
            const project3Camera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const project3Renderer = new THREE.WebGLRenderer({ 
                canvas: project3Canvas, 
                alpha: true,
                antialias: true 
            });
            
            // Create a network of lines for project 3
            const project3Group = new THREE.Group();
            const project3Material = new THREE.LineBasicMaterial({ color: 0xff007a });
            
            for (let i = 0; i < 20; i++) {
                const project3Geometry = new THREE.BufferGeometry();
                const vertices = [];
                vertices.push(
                    Math.random() * 2 - 1,
                    Math.random() * 2 - 1,
                    Math.random() * 2 - 1
                );
                vertices.push(
                    Math.random() * 2 - 1,
                    Math.random() * 2 - 1,
                    Math.random() * 2 - 1
                );
                project3Geometry.setAttribute('position', new THREE.Float32BufferAttribute(vertices, 3));
                const line = new THREE.Line(project3Geometry, project3Material);
                project3Group.add(line);
            }
            
            project3Scene.add(project3Group);
            project3Camera.position.z = 3;
            project3Renderer.setSize(project3Canvas.width, project3Canvas.height);
            
            // Tech Viz Canvas
            const techVizCanvas = document.getElementById('techVizCanvas');
            const techVizScene = new THREE.Scene();
            const techVizCamera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const techVizRenderer = new THREE.WebGLRenderer({ 
                canvas: techVizCanvas, 
                alpha: true,
                antialias: true 
            });
            techVizRenderer.setSize(techVizCanvas.width, techVizCanvas.height);
            
            // Create a particle system for tech viz
            const techVizParticles = 500;
            const techVizPositions = new Float32Array(techVizParticles * 3);
            const techVizColors = new Float32Array(techVizParticles * 3);
            
            for (let i = 0; i < techVizParticles; i++) {
                techVizPositions[i * 3] = (Math.random() - 0.5) * 10;
                techVizPositions[i * 3 + 1] = (Math.random() - 0.5) * 10;
                techVizPositions[i * 3 + 2] = (Math.random() - 0.5) * 10;
                
                techVizColors[i * 3] = Math.random() * 0.5 + 0.5; // R
                techVizColors[i * 3 + 1] = Math.random() * 0.3;    // G
                techVizColors[i * 3 + 2] = Math.random() * 0.5 + 0.5; // B
            }
            
            const techVizGeometry = new THREE.BufferGeometry();
            techVizGeometry.setAttribute('position', new THREE.BufferAttribute(techVizPositions, 3));
            techVizGeometry.setAttribute('color', new THREE.BufferAttribute(techVizColors, 3));
            
            const techVizMaterial = new THREE.PointsMaterial({
                size: 0.1,
                vertexColors: true,
                transparent: true,
                opacity: 0.8,
                sizeAttenuation: true
            });
            
            const techVizParticleSystem = new THREE.Points(techVizGeometry, techVizMaterial);
            techVizScene.add(techVizParticleSystem);
            
            techVizCamera.position.z = 5;
            
            // Stats Canvas
            const statsCanvas = document.getElementById('statsCanvas');
            const statsScene = new THREE.Scene();
            const statsCamera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const statsRenderer = new THREE.WebGLRenderer({ 
                canvas: statsCanvas, 
                alpha: true,
                antialias: true 
            });
            statsRenderer.setSize(statsCanvas.width, statsCanvas.height);
            
            // Create data visualization
            const statsGroup = new THREE.Group();
            
            // Create bars
            const barHeights = [1.5, 2, 2.8, 1.8, 2.5];
            const barColors = [0x00f0ff, 0x5773ff, 0xff007a, 0x8a2be2, 0x00ffaa];
            
            for (let i = 0; i < barHeights.length; i++) {
                const barGeometry = new THREE.BoxGeometry(0.3, barHeights[i], 0.3);
                const barMaterial = new THREE.MeshBasicMaterial({ color: barColors[i] });
                const bar = new THREE.Mesh(barGeometry, barMaterial);
                bar.position.x = (i - 2) * 0.8;
                bar.position.y = barHeights[i] / 2;
                statsGroup.add(bar);
                
                // Add connecting lines
                if (i > 0) {
                    const lineGeometry = new THREE.BufferGeometry();
                    const lineVertices = [
                        (i-1 - 2) * 0.8, barHeights[i-1], 0,
                        (i - 2) * 0.8, barHeights[i], 0
                    ];
                    lineGeometry.setAttribute('position', new THREE.Float32BufferAttribute(lineVertices, 3));
                    const lineMaterial = new THREE.LineBasicMaterial({
                        color: 0xffffff,
                        transparent: true,
                        opacity: 0.4
                    });
                    const line = new THREE.Line(lineGeometry, lineMaterial);
                    statsGroup.add(line);
                }
            }
            
            // Add base plane
            const planeGeometry = new THREE.PlaneGeometry(5, 0.1);
            const planeMaterial = new THREE.MeshBasicMaterial({
                color: 0x444444,
                side: THREE.DoubleSide
            });
            const plane = new THREE.Mesh(planeGeometry, planeMaterial);
            plane.rotation.x = Math.PI / 2;
            plane.position.y = -0.05;
            statsGroup.add(plane);
            
            statsScene.add(statsGroup);
            statsCamera.position.z = 6;
            statsCamera.position.y = 1;
            statsCamera.lookAt(0, 1, 0);
            
            // Contact Canvas
            const contactCanvas = document.getElementById('contactCanvas');
            const contactScene = new THREE.Scene();
            const contactCamera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const contactRenderer = new THREE.WebGLRenderer({ 
                canvas: contactCanvas, 
                alpha: true,
                antialias: true 
            });
            
            // Create glowing orbs with connections
            const contactOrbs = [];
            const orbPositions = [];
            const orbColors = [0x00f0ff, 0x5773ff, 0xff007a, 0x8a2be2, 0x00ffaa];
            
            for (let i = 0; i < 5; i++) {
                const orbGeometry = new THREE.SphereGeometry(0.3, 16, 16);
                const orbMaterial = new THREE.MeshBasicMaterial({
                    color: orbColors[i],
                    transparent: true,
                    opacity: 0.8
                });
                const orb = new THREE.Mesh(orbGeometry, orbMaterial);
                
                orb.position.x = (Math.random() - 0.5) * 4;
                orb.position.y = (Math.random() - 0.5) * 2;
                orb.position.z = (Math.random() - 0.5) * 4;
                
                orbPositions.push(new THREE.Vector3(
                    orb.position.x,
                    orb.position.y,
                    orb.position.z
                ));
                
                contactOrbs.push(orb);
                contactScene.add(orb);
            }
            
            // Add connecting lines
            const lineGeometry = new THREE.BufferGeometry();
            const lineVertices = [];
            
            for (let i = 0; i < orbPositions.length; i++) {
                for (let j = i + 1; j < orbPositions.length; j++) {
                    lineVertices.push(
                        orbPositions[i].x, orbPositions[i].y, orbPositions[i].z,
                        orbPositions[j].x, orbPositions[j].y, orbPositions[j].z
                    );
                }
            }
            
            lineGeometry.setAttribute('position', new THREE.Float32BufferAttribute(lineVertices, 3));
            const lineMaterial = new THREE.LineBasicMaterial({
                color: 0xffffff,
                transparent: true,
                opacity: 0.2
            });
            const lines = new THREE.LineSegments(lineGeometry, lineMaterial);
            contactScene.add(lines);
            
            contactCamera.position.z = 8;
            contactRenderer.setSize(contactCanvas.width, contactCanvas.height);
            
            // Footer Sphere
            const footerSphereCanvas = document.getElementById('footerSphereCanvas');
            const footerSphereScene = new THREE.Scene();
            const footerSphereCamera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
            const footerSphereRenderer = new THREE.WebGLRenderer({ 
                canvas: footerSphereCanvas, 
                alpha: true,
                antialias: true 
            });
            
            const footerSphereGeometry = new THREE.SphereGeometry(1, 32, 32);
            const footerSphereMaterial = new THREE.MeshBasicMaterial({
                color: 0x00f0ff,
                wireframe: true,
                transparent: true,
                opacity: 0.4
            });
            const footerSphere = new THREE.Mesh(footerSphereGeometry, footerSphereMaterial);
            footerSphereScene.add(footerSphere);
            
            footerSphereCamera.position.z = 3;
            
            // Intersection Observer for animated elements
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('visible');
                    }
                });
            }, {
                threshold: 0.1
            });
            
            document.querySelectorAll('.feature-panel').forEach(panel => {
                observer.observe(panel);
            });
            
            // Animation loop
            function animate() {
                requestAnimationFrame(animate);
                
                // Rotate torus
                torus.rotation.x += 0.01;
                torus.rotation.y += 0.01;
                torusRenderer.render(torusScene, torusCamera);
                
                // Rotate cube (slower)
                cube.rotation.x += 0.005;
                cube.rotation.y += 0.005;
                cubeRenderer.render(cubeScene, cubeCamera);
                
                // Rotate pyramid (different axis)
                pyramid.rotation.x += 0.007;
                pyramid.rotation.z += 0.007;
                pyramidRenderer.render(pyramidScene, pyramidCamera);
                
                // Animate XR points
                xrPoints.rotation.y += 0.005;
                xrRenderer.render(xrScene, xrCamera);
                
                // Animate project 1 points
                project1Points.rotation.y += 0.01;
                const positions = project1Points.geometry.attributes.position;
                for (let i = 2; i < positions.count * 3; i += 3) {
                    positions.array[i] = Math.sin(Date.now() * 0.001 + i) * 0.5;
                }
                positions.needsUpdate = true;
                project1Renderer.render(project1Scene, project1Camera);
                
                // Animate project 2 buildings
                project2Group.rotation.y += 0.005;
                project2Renderer.render(project2Scene, project2Camera);
                
                // Animate project 3 lines
                project3Group.rotation.y += 0.008;
                project3Renderer.render(project3Scene, project3Camera);
                
                // Animate tech viz particles
                techVizParticleSystem.rotation.y += 0.003;
                techVizRenderer.render(techVizScene, techVizCamera);
                
                // Animate stats bars
                statsGroup.rotation.y += 0.002;
                statsRenderer.render(statsScene, statsCamera);
                
                // Animate contact orbs
                contactOrbs.forEach((orb, i) => {
                    orb.position.y = Math.sin(Date.now() * 0.001 + i) * 0.3;
                    orb.scale.setScalar(1 + Math.sin(Date.now() * 0.001 + i) * 0.2);
                });
                contactRenderer.render(contactScene, contactCamera);
                
                // Rotate footer sphere
                footerSphere.rotation.y += 0.01;
                footerSphereRenderer.render(footerSphereScene, footerSphereCamera);
            }
            
            animate();
            
            // Handle window resize
            window.addEventListener('resize', function() {
                // Adjust canvas sizes and camera aspects
                const canvases = [
                    { canvas: torusCanvas, renderer: torusRenderer },
                    { canvas: cubeCanvas, renderer: cubeRenderer },
                    { canvas: pyramidCanvas, renderer: pyramidRenderer },
                    { canvas: xrCanvas, renderer: xrRenderer },
                    { canvas: project1Canvas, renderer: project1Renderer },
                    { canvas: project2Canvas, renderer: project2Renderer },
                    { canvas: project3Canvas, renderer: project3Renderer },
                    { canvas: techVizCanvas, renderer: techVizRenderer },
                    { canvas: statsCanvas, renderer: statsRenderer },
                    { canvas: contactCanvas, renderer: contactRenderer },
                    { canvas: footerSphereCanvas, renderer: footerSphereRenderer }
                ];
                
                canvases.forEach(item => {
                    // For the hero section floating elements
                    if ([torusCanvas, cubeCanvas, pyramidCanvas].includes(item.canvas)) {
                        const parent = item.canvas.parentElement;
                        const width = parent.offsetWidth;
                        const height = parent.offsetHeight;
                        
                        item.canvas.width = width;
                        item.canvas.height = height;
                        item.renderer.setSize(width, height);
                        
                        // Update camera for new aspect ratio
                        const camera = item === torusCanvas ? torusCamera : 
                                      item === cubeCanvas ? cubeCamera : pyramidCamera;
                        
                        camera.aspect = width / height;
                        camera.updateProjectionMatrix();
                    }
                    
                    // For other canvas elements with defined parents
                    else if (item.canvas.parentElement) {
                        const parent = item.canvas.parentElement;
                        const width = parent.offsetWidth;
                        const height = parent.offsetHeight;
                        
                        if (width > 0 && height > 0) {
                            item.canvas.width = width;
                            item.canvas.height = height;
                            item.renderer.setSize(width, height);
                            
                            // Update camera for new aspect ratio
                            let camera;
                            if (item === xrCanvas) camera = xrCamera;
                            else if (item === project1Canvas) camera = project1Camera;
                            else if (item === project2Canvas) camera = project2Camera;
                            else if (item === project3Canvas) camera = project3Camera;
                            else if (item === techVizCanvas) camera = techVizCamera;
                            else if (item === statsCanvas) camera = statsCamera;
                            else if (item === contactCanvas) camera = contactCamera;
                            else if (item === footerSphereCanvas) camera = footerSphereCamera;
                            
                            camera.aspect = width / height;
                            camera.updateProjectionMatrix();
                        }
                    }
                });
            });
            
            // Trigger initial resize
            window.dispatchEvent(new Event('resize'));
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=zaid3sa/zad" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
</html>