File size: 74,311 Bytes
3548ccd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ARHETIPUS | Archetypal Transformation Platform</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/framer-motion@10.12.0/dist/framer-motion.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
        
        :root {
            --primary: #0f766e;
            --secondary: #5eead4;
            --dark: #042f2e;
            --light: #ccfbf1;
        }
        
        body {
            font-family: 'Space Grotesk', sans-serif;
            background-color: #0c0f0a;
            color: #f0fdfa;
            overflow-x: hidden;
            transition: all 0.5s ease;
        }
        
        .fractal-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.15;
        }
        
        .fractal-path {
            stroke: #5eead4;
            stroke-width: 0.5;
            fill: none;
            transition: all 0.3s ease;
        }
        
        .fractal-path:hover {
            stroke: #ccfbf1;
            stroke-width: 1;
        }
        
        .bio-pulse {
            animation: pulse 8s infinite alternate;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(94, 234, 212, 0); }
            100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
        }
        
        .archetype-card {
            background: linear-gradient(145deg, rgba(15, 118, 110, 0.2), rgba(4, 47, 46, 0.5));
            backdrop-filter: blur(10px);
            border: 1px solid rgba(94, 234, 212, 0.1);
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        .archetype-card:hover {
            transform: translateY(-5px);
            border-color: rgba(94, 234, 212, 0.5);
        }
        
        .quest-progress {
            background: linear-gradient(90deg, #042f2e, #0f766e, #042f2e);
            background-size: 200% auto;
            animation: gradient 3s linear infinite;
        }
        
        @keyframes gradient {
            0% { background-position: 0% center; }
            100% { background-position: 200% center; }
        }
        
        .page {
            display: none;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .page.active {
            display: block;
            opacity: 1;
        }
        
        .nav-link {
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #5eead4;
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .nav-link.active::after {
            width: 100%;
        }
        
        .language-switch {
            position: relative;
            overflow: hidden;
            width: 60px;
            height: 30px;
            border-radius: 15px;
            background: #042f2e;
            cursor: pointer;
        }
        
        .language-switch::before {
            content: 'EN';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #5eead4;
            font-size: 12px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .language-switch.active::before {
            content: 'RU';
        }
        
        .language-switch::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 26px;
            height: 26px;
            background: #5eead4;
            border-radius: 50%;
            transition: all 0.3s ease;
        }
        
        .language-switch.active::after {
            left: calc(100% - 28px);
        }
        
        .fade-in {
            animation: fadeIn 0.8s ease forwards;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .community-post {
            transition: all 0.3s ease;
        }
        
        .community-post:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        
        .journal-entry {
            background: linear-gradient(90deg, rgba(15, 118, 110, 0.1), transparent);
        }
        
        .stripe-element {
            background: #042f2e;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #0f766e;
        }
    </style>
</head>
<body class="dark">
    <!-- Fractal Background -->
    <svg class="fractal-bg" id="fractal-bg" viewBox="0 0 1000 1000" preserveAspectRatio="xMidYMid slice"></svg>
    
    <!-- Navbar -->
    <nav class="border-b border-teal-800/50 backdrop-blur-md sticky top-0 z-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex items-center justify-between h-16">
                <div class="flex items-center">
                    <div class="flex-shrink-0 flex items-center cursor-pointer" id="logo">
                        <div class="w-10 h-10 rounded-full bg-teal-500 flex items-center justify-center bio-pulse">
                            <svg viewBox="0 0 100 100" class="w-8 h-8">
                                <path d="M50 0 L100 50 L50 100 L0 50 Z" fill="none" stroke="white" stroke-width="2"/>
                                <circle cx="50" cy="50" r="20" fill="none" stroke="white" stroke-width="2"/>
                            </svg>
                        </div>
                        <span class="ml-3 text-xl font-bold bg-gradient-to-r from-teal-400 to-emerald-400 bg-clip-text text-transparent">ARHETIPUS</span>
                    </div>
                </div>
                <div class="hidden md:block">
                    <div class="ml-10 flex items-baseline space-x-4">
                        <a href="#" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-teal-300 hover:text-white hover:bg-teal-900/50" data-page="dashboard">Dashboard</a>
                        <a href="#" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-teal-900/50" data-page="journal">Journal</a>
                        <a href="#" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-teal-900/50" data-page="community">Community</a>
                        <a href="#" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-teal-900/50" data-page="pricing">Pricing</a>
                    </div>
                </div>
                <div class="flex items-center space-x-4">
                    <div class="language-switch" id="language-switch"></div>
                    <button class="px-4 py-2 rounded-full bg-gradient-to-r from-teal-600 to-emerald-600 text-white text-sm font-medium hover:opacity-90 transition-all" id="profile-btn">
                        <i class="fas fa-user-circle mr-2"></i>
                        <span id="profile-name">Profile</span>
                    </button>
                </div>
            </div>
        </div>
    </nav>
    
    <!-- Home Page -->
    <div class="page active min-h-screen flex flex-col justify-center" id="home-page">
        <div class="max-w-4xl mx-auto text-center px-4 sm:px-6 lg:px-8 py-20">
            <h1 class="text-5xl md:text-7xl font-bold mb-6 bg-gradient-to-r from-teal-300 to-emerald-400 bg-clip-text text-transparent" id="home-title">
                Archetypal Transformation Journey
            </h1>
            <p class="text-xl md:text-2xl text-gray-300 mb-10 max-w-3xl mx-auto" id="home-subtitle">
                Discover your dominant archetypes, unlock hidden potentials, and align with Earth's consciousness through our AI-guided system.
            </p>
            <button class="px-10 py-4 rounded-full bg-gradient-to-r from-teal-600 to-emerald-600 text-white font-medium hover:opacity-90 transition-all text-lg" id="start-journey-btn">
                Begin Your Journey
            </button>
        </div>
    </div>
    
    <!-- Onboarding Page -->
    <div class="page min-h-screen flex items-center justify-center" id="onboarding-page">
        <div class="max-w-2xl mx-auto px-4 sm:px-6 lg:px-8 py-12 w-full">
            <div class="bg-black/30 rounded-2xl p-8 border border-teal-800/50">
                <div class="text-center mb-8">
                    <h2 class="text-3xl font-bold text-teal-300 mb-2" id="onboarding-title">Personalize Your Journey</h2>
                    <p class="text-gray-300" id="onboarding-subtitle">Answer these questions to help us tailor your archetypal experience</p>
                </div>
                
                <div class="space-y-6">
                    <div class="fade-in">
                        <label for="purpose" class="block text-sm font-medium text-teal-300 mb-2" id="purpose-label">What brings you to ARHETIPUS?</label>
                        <select id="purpose" class="bg-teal-900/20 border border-teal-800 text-white text-sm rounded-lg focus:ring-teal-500 focus:border-teal-500 block w-full p-3">
                            <option value="" selected disabled id="purpose-default">Select your primary purpose</option>
                            <option value="self-discovery" id="purpose-option1">Self-discovery</option>
                            <option value="healing" id="purpose-option2">Healing</option>
                            <option value="spiritual-growth" id="purpose-option3">Spiritual growth</option>
                            <option value="creativity" id="purpose-option4">Creativity</option>
                            <option value="purpose" id="purpose-option5">Finding life purpose</option>
                        </select>
                    </div>
                    
                    <div class="fade-in" style="animation-delay: 0.2s;">
                        <label for="current-state" class="block text-sm font-medium text-teal-300 mb-2" id="state-label">How would you describe your current state?</label>
                        <textarea id="current-state" rows="3" class="bg-teal-900/20 border border-teal-800 text-white text-sm rounded-lg focus:ring-teal-500 focus:border-teal-500 block w-full p-3" placeholder="I feel..."></textarea>
                    </div>
                    
                    <div class="fade-in" style="animation-delay: 0.4s;">
                        <label for="desired-change" class="block text-sm font-medium text-teal-300 mb-2" id="change-label">What transformation are you seeking?</label>
                        <textarea id="desired-change" rows="3" class="bg-teal-900/20 border border-teal-800 text-white text-sm rounded-lg focus:ring-teal-500 focus:border-teal-500 block w-full p-3" placeholder="I want to..."></textarea>
                    </div>
                    
                    <div class="fade-in" style="animation-delay: 0.6s;">
                        <button class="w-full mt-6 px-6 py-3 rounded-full bg-gradient-to-r from-teal-600 to-emerald-600 text-white font-medium hover:opacity-90 transition-all" id="complete-onboarding-btn">
                            Complete Onboarding
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Dashboard Page -->
    <div class="page" id="dashboard-page">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
            <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
                <!-- Archetype Profile -->
                <div class="lg:col-span-2">
                    <div class="archetype-card rounded-2xl p-6">
                        <h2 class="text-2xl font-bold text-teal-300 mb-6" id="archetype-title">Your Archetype Profile</h2>
                        
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                            <div class="bg-teal-900/20 rounded-xl p-6 border border-teal-800/50">
                                <div class="flex items-center mb-4">
                                    <div class="w-16 h-16 rounded-full bg-teal-900 flex items-center justify-center">
                                        <i class="fas fa-crown text-3xl text-teal-300"></i>
                                    </div>
                                    <div class="ml-4">
                                        <h3 class="text-xl font-bold text-white" id="primary-archetype">The Sage</h3>
                                        <p class="text-teal-300 text-sm" id="archetype-match">85% match</p>
                                    </div>
                                </div>
                                <p class="text-gray-300 text-sm mt-4" id="archetype-description">
                                    You possess deep wisdom and a thirst for knowledge. Your path involves sharing insights while remaining open to new perspectives.
                                </p>
                                <button class="mt-4 w-full py-2 rounded-lg border border-teal-500 text-teal-300 text-sm hover:bg-teal-900/30" id="view-archetype-btn">
                                    View Full Archetype Report
                                </button>
                            </div>
                            
                            <div class="bg-teal-900/10 rounded-xl p-6 border border-teal-800/50">
                                <h3 class="text-lg font-semibold text-teal-300 mb-4" id="secondary-title">Secondary Influences</h3>
                                <div class="space-y-3">
                                    <div class="flex items-center">
                                        <div class="w-8 h-8 rounded-full bg-teal-900 flex items-center justify-center mr-3">
                                            <i class="fas fa-seedling text-teal-300"></i>
                                        </div>
                                        <div>
                                            <h4 class="text-white text-sm font-medium" id="secondary1-name">The Nurturer</h4>
                                            <p class="text-gray-400 text-xs" id="secondary1-percent">72% influence</p>
                                        </div>
                                    </div>
                                    <div class="flex items-center">
                                        <div class="w-8 h-8 rounded-full bg-teal-900 flex items-center justify-center mr-3">
                                            <i class="fas fa-bolt text-teal-300"></i>
                                        </div>
                                        <div>
                                            <h4 class="text-white text-sm font-medium" id="secondary2-name">The Explorer</h4>
                                            <p class="text-gray-400 text-xs" id="secondary2-percent">68% influence</p>
                                        </div>
                                    </div>
                                    <div class="flex items-center">
                                        <div class="w-8 h-8 rounded-full bg-teal-900 flex items-center justify-center mr-3">
                                            <i class="fas fa-star text-teal-300"></i>
                                        </div>
                                        <div>
                                            <h4 class="text-white text-sm font-medium" id="secondary3-name">The Creator</h4>
                                            <p class="text-gray-400 text-xs" id="secondary3-percent">55% influence</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Energy Quest -->
                    <div class="archetype-card rounded-2xl p-6 mt-8">
                        <div class="flex justify-between items-center mb-6">
                            <h2 class="text-2xl font-bold text-teal-300" id="quest-title">Energy Quest</h2>
                            <span class="text-sm text-teal-300" id="quest-progress">Day 3 of 7</span>
                        </div>
                        
                        <div class="w-full bg-teal-900/20 rounded-full h-4 mb-4">
                            <div class="quest-progress h-4 rounded-full" style="width: 42%"></div>
                        </div>
                        
                        <div class="flex justify-between mb-6">
                            <div class="text-center">
                                <div class="w-10 h-10 rounded-full bg-teal-900 mx-auto flex items-center justify-center mb-2">
                                    <i class="fas fa-eye text-teal-300"></i>
                                </div>
                                <p class="text-xs text-teal-300" id="quest-day1">Awareness</p>
                            </div>
                            <div class="text-center">
                                <div class="w-10 h-10 rounded-full bg-teal-900 mx-auto flex items-center justify-center mb-2">
                                    <i class="fas fa-heart text-teal-300"></i>
                                </div>
                                <p class="text-xs text-teal-300" id="quest-day2">Connection</p>
                            </div>
                            <div class="text-center">
                                <div class="w-10 h-10 rounded-full bg-teal-600 mx-auto flex items-center justify-center mb-2">
                                    <i class="fas fa-seedling text-white"></i>
                                </div>
                                <p class="text-xs text-white font-medium" id="quest-day3">Growth</p>
                            </div>
                            <div class="text-center">
                                <div class="w-10 h-10 rounded-full bg-teal-900 mx-auto flex items-center justify-center mb-2">
                                    <i class="fas fa-bolt text-teal-300"></i>
                                </div>
                                <p class="text-xs text-teal-300" id="quest-day4">Transformation</p>
                            </div>
                            <div class="text-center">
                                <div class="w-10 h-10 rounded-full bg-teal-900 mx-auto flex items-center justify-center mb-2">
                                    <i class="fas fa-share-alt text-teal-300"></i>
                                </div>
                                <p class="text-xs text-teal-300" id="quest-day5">Integration</p>
                            </div>
                        </div>
                        
                        <div class="bg-teal-900/10 rounded-xl p-4 border border-teal-800/50">
                            <h3 class="text-lg font-semibold text-teal-300 mb-2" id="todays-quest">Today's Quest</h3>
                            <p class="text-gray-300 text-sm mb-4" id="quest-description">
                                Spend 10 minutes in nature observing plant life. Notice how different species coexist and support each other's growth.
                            </p>
                            <button class="w-full py-2 rounded-lg bg-gradient-to-r from-teal-600 to-emerald-600 text-white text-sm font-medium hover:opacity-90" id="begin-quest-btn">
                                Begin Today's Quest
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- Daily Insight and AI Chat -->
                <div class="space-y-8">
                    <!-- Daily Insight -->
                    <div class="archetype-card rounded-2xl p-6">
                        <h2 class="text-2xl font-bold text-teal-300 mb-4" id="insight-title">Daily Insight</h2>
                        <div class="bg-teal-900/20 rounded-xl p-4 border border-teal-800/50 mb-4">
                            <p class="text-gray-300 italic mb-2" id="insight-question">
                                "Where in your life are you being called to share your wisdom with others?"
                            </p>
                            <p class="text-gray-300 text-sm" id="insight-prompt">
                                Reflect on this question throughout your day. The answer may come in unexpected ways.
                            </p>
                        </div>
                        <button class="w-full py-2 rounded-lg border border-teal-500 text-teal-300 text-sm hover:bg-teal-900/30" id="journal-insight-btn">
                            Journal About This
                        </button>
                    </div>
                    
                    <!-- AI Chat -->
                    <div class="archetype-card rounded-2xl p-6">
                        <h2 class="text-2xl font-bold text-teal-300 mb-4" id="chat-title">Arhetipus Guide</h2>
                        <div class="h-48 overflow-y-auto mb-4 space-y-2" id="chat-messages">
                            <div class="bg-teal-900/50 p-3 text-sm text-white rounded-lg rounded-bl-none max-w-[80%]">
                                <p id="chat-ai-msg">Hello, seeker. I sense your Sage archetype is particularly active today. Would you like to explore a meditation to enhance your wisdom connection?</p>
                            </div>
                            <div class="bg-teal-900/20 p-3 text-sm text-white rounded-lg rounded-br-none max-w-[80%] ml-auto">
                                <p id="chat-user-msg">Yes, that sounds perfect. I've been feeling disconnected.</p>
                            </div>
                        </div>
                        <div class="flex">
                            <input type="text" placeholder="Ask your guide..." class="flex-1 bg-teal-900/20 border border-teal-800 rounded-l-lg px-4 py-2 text-sm text-white focus:outline-none focus:ring-1 focus:ring-teal-500" id="chat-input">
                            <button class="bg-teal-600 px-4 py-2 rounded-r-lg text-white hover:bg-teal-700" id="chat-send">
                                <i class="fas fa-paper-plane"></i>
                            </button>
                        </div>
                    </div>
                    
                    <!-- Quick Actions -->
                    <div class="archetype-card rounded-2xl p-6">
                        <h2 class="text-2xl font-bold text-teal-300 mb-4" id="actions-title">Quick Actions</h2>
                        <div class="grid grid-cols-2 gap-3">
                            <button class="py-2 px-3 rounded-lg bg-teal-900/20 border border-teal-800/50 text-teal-300 text-sm hover:bg-teal-900/30 flex items-center justify-center" id="new-entry-btn">
                                <i class="fas fa-plus mr-2"></i>
                                <span>New Entry</span>
                            </button>
                            <button class="py-2 px-3 rounded-lg bg-teal-900/20 border border-teal-800/50 text-teal-300 text-sm hover:bg-teal-900/30 flex items-center justify-center" id="community-btn">
                                <i class="fas fa-users mr-2"></i>
                                <span>Community</span>
                            </button>
                            <button class="py-2 px-3 rounded-lg bg-teal-900/20 border border-teal-800/50 text-teal-300 text-sm hover:bg-teal-900/30 flex items-center justify-center" id="meditation-btn">
                                <i class="fas fa-spa mr-2"></i>
                                <span>Meditation</span>
                            </button>
                            <button class="py-2 px-3 rounded-lg bg-teal-900/20 border border-teal-800/50 text-teal-300 text-sm hover:bg-teal-900/30 flex items-center justify-center" id="archetypes-btn">
                                <i class="fas fa-shapes mr-2"></i>
                                <span>Archetypes</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Journal Page -->
    <div class="page" id="journal-page">
        <div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
            <div class="flex justify-between items-center mb-8">
                <h2 class="text-3xl font-bold text-teal-300" id="journal-title">Transformation Journal</h2>
                <button class="px-4 py-2 rounded-full bg-gradient-to-r from-teal-600 to-emerald-600 text-white text-sm font-medium hover:opacity-90" id="new-journal-btn">
                    <i class="fas fa-plus mr-2"></i>
                    <span>New Entry</span>
                </button>
            </div>
            
            <!-- Journal Editor (hidden by default) -->
            <div class="archetype-card rounded-2xl p-6 mb-8 hidden" id="journal-editor">
                <div class="mb-4">
                    <input type="text" placeholder="Entry title" class="w-full bg-teal-900/20 border border-teal-800 rounded-lg px-4 py-2 text-white focus:outline-none focus:ring-1 focus:ring-teal-500" id="journal-title-input">
                </div>
                <div class="mb-4">
                    <textarea rows="8" placeholder="Write your thoughts here..." class="w-full bg-teal-900/20 border border-teal-800 rounded-lg px-4 py-2 text-white focus:outline-none focus:ring-1 focus:ring-teal-500" id="journal-content-input"></textarea>
                </div>
                <div class="flex justify-between">
                    <button class="px-4 py-2 rounded-lg border border-teal-500 text-teal-300 hover:bg-teal-900/30" id="cancel-journal-btn">
                        Cancel
                    </button>
                    <button class="px-4 py-2 rounded-lg bg-gradient-to-r from-teal-600 to-emerald-600 text-white hover:opacity-90" id="save-journal-btn">
                        Save Entry
                    </button>
                </div>
            </div>
            
            <!-- Journal Entries -->
            <div class="space-y-4" id="journal-entries">
                <div class="journal-entry rounded-xl p-5 border border-teal-800/50">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-lg font-semibold text-white" id="entry1-title">Wisdom from the Morning Walk</h3>
                        <span class="text-xs text-teal-300" id="entry1-date">Today</span>
                    </div>
                    <p class="text-gray-300 text-sm mb-3" id="entry1-preview">
                        Today during my walk, I noticed how the older trees provide shade for the younger saplings. It made me reflect on how my role as a mentor...</p>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="text-xs px-2 py-1 bg-teal-900/50 rounded-full text-teal-300" id="entry1-tag">Sage Archetype</span>
                        </div>
                        <button class="text-teal-300 text-sm hover:underline" id="entry1-read-btn">Read More</button>
                    </div>
                </div>
                
                <div class="journal-entry rounded-xl p-5 border border-teal-800/50">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-lg font-semibold text-white" id="entry2-title">Nurturing Myself First</h3>
                        <span class="text-xs text-teal-300" id="entry2-date">Yesterday</span>
                    </div>
                    <p class="text-gray-300 text-sm mb-3" id="entry2-preview">
                        I realized today that I've been neglecting my own needs while caring for others. The Caregiver archetype can become unbalanced when...</p>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="text-xs px-2 py-1 bg-teal-900/50 rounded-full text-teal-300" id="entry2-tag">Caregiver Archetype</span>
                        </div>
                        <button class="text-teal-300 text-sm hover:underline" id="entry2-read-btn">Read More</button>
                    </div>
                </div>
                
                <div class="journal-entry rounded-xl p-5 border border-teal-800/50">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-lg font-semibold text-white" id="entry3-title">New Adventure Calling</h3>
                        <span class="text-xs text-teal-300" id="entry3-date">2 days ago</span>
                    </div>
                    <p class="text-gray-300 text-sm mb-3" id="entry3-preview">
                        Felt a strong pull to book a trip to a place I've never been. The Explorer archetype is awakening, pushing me beyond my comfort zone...</p>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="text-xs px-2 py-1 bg-teal-900/50 rounded-full text-teal-300" id="entry3-tag">Explorer Archetype</span>
                        </div>
                        <button class="text-teal-300 text-sm hover:underline" id="entry3-read-btn">Read More</button>
                    </div>
                </div>
            </div>
            
            <!-- AI Prompts -->
            <div class="archetype-card rounded-2xl p-6 mt-8">
                <h3 class="text-xl font-semibold text-teal-300 mb-4" id="prompts-title">Need Inspiration?</h3>
                <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                    <button class="text-left p-3 rounded-lg bg-teal-900/20 border border-teal-800/50 text-gray-300 hover:bg-teal-900/30" id="prompt1-btn">
                        <p class="text-sm" id="prompt1-text">How did your dominant archetype show up today?</p>
                    </button>
                    <button class="text-left p-3 rounded-lg bg-teal-900/20 border border-teal-800/50 text-gray-300 hover:bg-teal-900/30" id="prompt2-btn">
                        <p class="text-sm" id="prompt2-text">What synchronicities did you notice?</p>
                    </button>
                    <button class="text-left p-3 rounded-lg bg-teal-900/20 border border-teal-800/50 text-gray-300 hover:bg-teal-900/30" id="prompt3-btn">
                        <p class="text-sm" id="prompt3-text">Describe a moment when you felt in flow.</p>
                    </button>
                    <button class="text-left p-3 rounded-lg bg-teal-900/20 border border-teal-800/50 text-gray-300 hover:bg-teal-900/30" id="prompt4-btn">
                        <p class="text-sm" id="prompt4-text">What limiting belief did you challenge today?</p>
                    </button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Community Page -->
    <div class="page" id="community-page">
        <div class="max-w-2xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
            <div class="text-center mb-10">
                <h2 class="text-3xl font-bold text-teal-300 mb-2" id="community-title">Community Pulse</h2>
                <p class="text-gray-300" id="community-subtitle">Share anonymously and connect with others on similar archetypal journeys</p>
            </div>
            
            <!-- New Post -->
            <div class="archetype-card rounded-2xl p-6 mb-8">
                <div class="mb-4">
                    <textarea rows="3" placeholder="Share your experience, insight or question..." class="w-full bg-teal-900/20 border border-teal-800 rounded-lg px-4 py-2 text-white focus:outline-none focus:ring-1 focus:ring-teal-500" id="community-post-input"></textarea>
                </div>
                <div class="flex justify-between items-center">
                    <div>
                        <span class="text-xs text-gray-400" id="post-anonymous">Posting as Anonymous</span>
                    </div>
                    <button class="px-4 py-2 rounded-lg bg-gradient-to-r from-teal-600 to-emerald-600 text-white text-sm font-medium hover:opacity-90" id="post-submit-btn">
                        Share
                    </button>
                </div>
            </div>
            
            <!-- Community Posts -->
            <div class="space-y-4" id="community-posts">
                <div class="community-post archetype-card rounded-2xl p-6">
                    <p class="text-gray-300 mb-4" id="post1-content">
                        "Today I recognized my Sage archetype when I found myself explaining a complex concept to a colleague with unusual patience and clarity. It felt like wisdom was flowing through me rather than from me."
                    </p>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="text-xs px-2 py-1 bg-teal-900/50 rounded-full text-teal-300" id="post1-tag">Sage Archetype</span>
                        </div>
                        <div class="flex space-x-4">
                            <button class="text-gray-400 hover:text-teal-300" id="post1-like-btn">
                                <i class="far fa-heart mr-1"></i>
                                <span class="text-xs" id="post1-likes">24</span>
                            </button>
                            <button class="text-gray-400 hover:text-teal-300" id="post1-share-btn">
                                <i class="far fa-share-square"></i>
                            </button>
                        </div>
                    </div>
                </div>
                
                <div class="community-post archetype-card rounded-2xl p-6">
                    <p class="text-gray-300 mb-4" id="post2-content">
                        "Struggling with my Caregiver archetype today. I said no to someone's request and felt guilty, but I know it was necessary for my own energy. How do others balance giving and self-care?"
                    </p>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="text-xs px-2 py-1 bg-teal-900/50 rounded-full text-teal-300" id="post2-tag">Caregiver Archetype</span>
                        </div>
                        <div class="flex space-x-4">
                            <button class="text-gray-400 hover:text-teal-300" id="post2-like-btn">
                                <i class="far fa-heart mr-1"></i>
                                <span class="text-xs" id="post2-likes">18</span>
                            </button>
                            <button class="text-gray-400 hover:text-teal-300" id="post2-share-btn">
                                <i class="far fa-share-square"></i>
                            </button>
                        </div>
                    </div>
                </div>
                
                <div class="community-post archetype-card rounded-2xl p-6">
                    <p class="text-gray-300 mb-4" id="post3-content">
                        "The Explorer in me is getting restless! Just booked a solo trip to a place I've never been. Any recommendations for connecting with local energies in Costa Rica?"
                    </p>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="text-xs px-2 py-1 bg-teal-900/50 rounded-full text-teal-300" id="post3-tag">Explorer Archetype</span>
                        </div>
                        <div class="flex space-x-4">
                            <button class="text-gray-400 hover:text-teal-300" id="post3-like-btn">
                                <i class="far fa-heart mr-1"></i>
                                <span class="text-xs" id="post3-likes">12</span>
                            </button>
                            <button class="text-gray-400 hover:text-teal-300" id="post3-share-btn">
                                <i class="far fa-share-square"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="text-center mt-8">
                <button class="px-6 py-2 rounded-full border border-teal-500 text-teal-300 hover:bg-teal-900/30" id="load-more-posts">
                    Load More
                </button>
            </div>
        </div>
    </div>
    
    <!-- Pricing Page -->
    <div class="page" id="pricing-page">
        <div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
            <div class="text-center mb-12">
                <h2 class="text-3xl font-bold text-teal-300 mb-2" id="pricing-title">Choose Your Path</h2>
                <p class="text-gray-300" id="pricing-subtitle">Upgrade to unlock deeper archetypal insights and support our mission</p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-12">
                <!-- Free Plan -->
                <div class="archetype-card rounded-2xl p-8 border border-teal-800/50">
                    <h3 class="text-2xl font-bold text-white mb-2" id="free-title">Explorer</h3>
                    <p class="text-gray-300 text-sm mb-6" id="free-subtitle">Begin your archetypal journey</p>
                    <div class="mb-6">
                        <span class="text-4xl font-bold text-white" id="free-price">Free</span>
                    </div>
                    <ul class="space-y-3 mb-8">
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-gray-300" id="free-feature1">Basic archetype profile</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-gray-300" id="free-feature2">Daily insight</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-gray-300" id="free-feature3">3 journal entries per week</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-gray-300" id="free-feature4">Community access</span>
                        </li>
                    </ul>
                    <button class="w-full py-3 rounded-lg border border-teal-500 text-teal-300 hover:bg-teal-900/30" id="current-plan-btn">
                        Your Current Plan
                    </button>
                </div>
                
                <!-- Pro Plan -->
                <div class="archetype-card rounded-2xl p-8 border border-teal-800/50 relative overflow-hidden">
                    <div class="absolute top-0 right-0 bg-teal-600 text-white text-xs font-bold px-3 py-1 rounded-bl-lg" id="popular-badge">
                        MOST POPULAR
                    </div>
                    <h3 class="text-2xl font-bold text-white mb-2" id="pro-title">Sage</h3>
                    <p class="text-gray-300 text-sm mb-6" id="pro-subtitle">Deepen your transformation</p>
                    <div class="mb-6">
                        <span class="text-4xl font-bold text-white" id="pro-price">$5</span>
                        <span class="text-gray-300" id="pro-frequency">/month</span>
                    </div>
                    <ul class="space-y-3 mb-8">
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-white font-medium" id="pro-feature1">Advanced archetype analysis</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-white font-medium" id="pro-feature2">Personalized Energy Quests</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-white font-medium" id="pro-feature3">Unlimited journal entries</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-white font-medium" id="pro-feature4">AI Guide conversations</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fas fa-check text-teal-300 mr-3"></i>
                            <span class="text-white font-medium" id="pro-feature5">Monthly archetype reports</span>
                        </li>
                    </ul>
                    <button class="w-full py-3 rounded-lg bg-gradient-to-r from-teal-600 to-emerald-600 text-white hover:opacity-90" id="upgrade-btn">
                        Upgrade Now
                    </button>
                </div>
            </div>
            
            <!-- PDF Reports -->
            <div class="archetype-card rounded-2xl p-8 border border-teal-800/50">
                <h3 class="text-2xl font-bold text-white mb-6 text-center" id="reports-title">Archetype Reports</h3>
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                    <div class="bg-teal-900/10 rounded-xl p-6 border border-teal-800/50 text-center">
                        <div class="w-16 h-16 rounded-full bg-teal-900 mx-auto flex items-center justify-center mb-4">
                            <i class="fas fa-file-alt text-2xl text-teal-300"></i>
                        </div>
                        <h4 class="text-lg font-semibold text-white mb-2" id="report1-title">Basic Report</h4>
                        <p class="text-gray-300 text-sm mb-4" id="report1-desc">Your primary archetype with key characteristics</p>
                        <button class="w-full py-2 rounded-lg border border-teal-500 text-teal-300 text-sm hover:bg-teal-900/30" id="report1-btn">
                            Download ($9)
                        </button>
                    </div>
                    <div class="bg-teal-900/20 rounded-xl p-6 border border-teal-800/50 text-center">
                        <div class="w-16 h-16 rounded-full bg-teal-900 mx-auto flex items-center justify-center mb-4">
                            <i class="fas fa-file-contract text-2xl text-teal-300"></i>
                        </div>
                        <h4 class="text-lg font-semibold text-white mb-2" id="report2-title">Advanced Report</h4>
                        <p class="text-gray-300 text-sm mb-4" id="report2-desc">Detailed analysis of all your archetypes</p>
                        <button class="w-full py-2 rounded-lg bg-gradient-to-r from-teal-600 to-emerald-600 text-white text-sm hover:opacity-90" id="report2-btn">
                            Download ($15)
                        </button>
                    </div>
                    <div class="bg-teal-900/10 rounded-xl p-6 border border-teal-800/50 text-center">
                        <div class="w-16 h-16 rounded-full bg-teal-900 mx-auto flex items-center justify-center mb-4">
                            <i class="fas fa-file-pdf text-2xl text-teal-300"></i>
                        </div>
                        <h4 class="text-lg font-semibold text-white mb-2" id="report3-title">Yearly Analysis</h4>
                        <p class="text-gray-300 text-sm mb-4" id="report3-desc">Comprehensive archetype evolution report</p>
                        <button class="w-full py-2 rounded-lg border border-teal-500 text-teal-300 text-sm hover:bg-teal-900/30" id="report3-btn">
                            Download ($25)
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- Payment Modal (hidden by default) -->
            <div class="fixed inset-0 bg-black/80 z-50 flex items-center justify-center hidden" id="payment-modal">
                <div class="bg-teal-900/90 backdrop-blur-md rounded-2xl p-8 max-w-md w-full border border-teal-800/50">
                    <div class="flex justify-between items-center mb-6">
                        <h3 class="text-xl font-bold text-teal-300" id="payment-title">Upgrade to Sage Plan</h3>
                        <button class="text-gray-400 hover:text-white" id="close-payment-modal">
                            <i class="fas fa-times"></i>
                        </button>
                    </div>
                    
                    <div class="mb-6">
                        <div class="stripe-element mb-4" id="card-element"></div>
                        <div class="stripe-element" id="payment-request-button"></div>
                    </div>
                    
                    <button class="w-full py-3 rounded-lg bg-gradient-to-r from-teal-600 to-emerald-600 text-white hover:opacity-90" id="submit-payment-btn">
                        Pay $5/month
                    </button>
                    
                    <p class="text-xs text-gray-400 mt-4 text-center" id="payment-terms">
                        By subscribing, you agree to our Terms of Service and Privacy Policy. Cancel anytime.
                    </p>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Footer -->
    <footer class="bg-black/50 border-t border-teal-900/50">
        <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-2 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-sm font-semibold text-teal-300 tracking-wider uppercase">ARHETIPUS</h3>
                    <p class="mt-4 text-sm text-gray-300" id="footer-desc">
                        The archetypal transformation platform bridging consciousness and technology.
                    </p>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-teal-300 tracking-wider uppercase" id="explore-title">Explore</h3>
                    <ul class="mt-4 space-y-2">
                        <li><a href="#" class="nav-link text-sm text-gray-300 hover:text-white" data-page="dashboard">Dashboard</a></li>
                        <li><a href="#" class="nav-link text-sm text-gray-300 hover:text-white" data-page="journal">Journal</a></li>
                        <li><a href="#" class="nav-link text-sm text-gray-300 hover:text-white" data-page="community">Community</a></li>
                        <li><a href="#" class="nav-link text-sm text-gray-300 hover:text-white" data-page="pricing">Pricing</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-teal-300 tracking-wider uppercase" id="resources-title">Resources</h3>
                    <ul class="mt-4 space-y-2">
                        <li><a href="#" class="text-sm text-gray-300 hover:text-white" id="footer-archetypes">Archetypes Guide</a></li>
                        <li><a href="#" class="text-sm text-gray-300 hover:text-white" id="footer-blog">Blog</a></li>
                        <li><a href="#" class="text-sm text-gray-300 hover:text-white" id="footer-faq">FAQs</a></li>
                        <li><a href="#" class="text-sm text-gray-300 hover:text-white" id="footer-research">Research</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-teal-300 tracking-wider uppercase" id="connect-title">Connect</h3>
                    <ul class="mt-4 space-y-2">
                        <li><a href="#" class="text-sm text-gray-300 hover:text-white" id="footer-discord">Discord</a></li>
                        <li><a href="#" class="text-sm text-gray-300 hover:text-white" id="footer-twitter">Twitter</a></li>
                        <li><a href="#" class="text-sm text-gray-300 hover:text-white" id="footer-instagram">Instagram</a></li>
                        <li><a href="#" class="text-sm text-gray-300 hover:text-white" id="footer-contact">Contact</a></li>
                    </ul>
                </div>
            </div>
            <div class="mt-12 border-t border-teal-900/50 pt-8 flex flex-col md:flex-row justify-between items-center">
                <p class="text-sm text-gray-400" id="copyright">
                    &copy; 2023 ARHETIPUS. All rights reserved.
                </p>
                <div class="mt-4 md:mt-0 flex space-x-6">
                    <a href="#" class="text-gray-400 hover:text-teal-300">
                        <i class="fab fa-github"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-teal-300">
                        <i class="fab fa-discord"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-teal-300">
                        <i class="fab fa-twitter"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-teal-300">
                        <i class="fab fa-medium"></i>
                    </a>
                </div>
            </div>
        </div>
    </footer>
    
    <script>
        // Language content
        const content = {
            en: {
                home: {
                    title: "Archetypal Transformation Journey",
                    subtitle: "Discover your dominant archetypes, unlock hidden potentials, and align with Earth's consciousness through our AI-guided system.",
                    startBtn: "Begin Your Journey"
                },
                onboarding: {
                    title: "Personalize Your Journey",
                    subtitle: "Answer these questions to help us tailor your archetypal experience",
                    purposeLabel: "What brings you to ARHETIPUS?",
                    purposeDefault: "Select your primary purpose",
                    purposeOptions: ["Self-discovery", "Healing", "Spiritual growth", "Creativity", "Finding life purpose"],
                    stateLabel: "How would you describe your current state?",
                    changeLabel: "What transformation are you seeking?",
                    completeBtn: "Complete Onboarding"
                },
                dashboard: {
                    archetypeTitle: "Your Archetype Profile",
                    primaryArchetype: "The Sage",
                    archetypeMatch: "85% match",
                    archetypeDesc: "You possess deep wisdom and a thirst for knowledge. Your path involves sharing insights while remaining open to new perspectives.",
                    viewArchetypeBtn: "View Full Archetype Report",
                    secondaryTitle: "Secondary Influences",
                    secondary1Name: "The Nurturer",
                    secondary1Percent: "72% influence",
                    secondary2Name: "The Explorer",
                    secondary2Percent: "68% influence",
                    secondary3Name: "The Creator",
                    secondary3Percent: "55% influence",
                    questTitle: "Energy Quest",
                    questProgress: "Day 3 of 7",
                    todaysQuest: "Today's Quest",
                    questDescription: "Spend 10 minutes in nature observing plant life. Notice how different species coexist and support each other's growth.",
                    beginQuestBtn: "Begin Today's Quest",
                    insightTitle: "Daily Insight",
                    insightQuestion: "\"Where in your life are you being called to share your wisdom with others?\"",
                    insightPrompt: "Reflect on this question throughout your day. The answer may come in unexpected ways.",
                    journalInsightBtn: "Journal About This",
                    chatTitle: "Arhetipus Guide",
                    chatPlaceholder: "Ask your guide...",
                    actionsTitle: "Quick Actions",
                    newEntryBtn: "New Entry",
                    communityBtn: "Community",
                    meditationBtn: "Meditation",
                    archetypesBtn: "Archetypes"
                },
                journal: {
                    title: "Transformation Journal",
                    newJournalBtn: "New Entry",
                    titlePlaceholder: "Entry title",
                    contentPlaceholder: "Write your thoughts here...",
                    cancelBtn: "Cancel",
                    saveBtn: "Save Entry",
                    entry1Title: "Wisdom from the Morning Walk",
                    entry1Date: "Today",
                    entry1Preview: "Today during my walk, I noticed how the older trees provide shade for the younger saplings. It made me reflect on how my role as a mentor...",
                    entry1Tag: "Sage Archetype",
                    readMore: "Read More",
                    entry2Title: "Nurturing Myself First",
                    entry2Date: "Yesterday",
                    entry2Preview: "I realized today that I've been neglecting my own needs while caring for others. The Caregiver archetype can become unbalanced when...",
                    entry2Tag: "Caregiver Archetype",
                    entry3Title: "New Adventure Calling",
                    entry3Date: "2 days ago",
                    entry3Preview: "Felt a strong pull to book a trip to a place I've never been. The Explorer archetype is awakening, pushing me beyond my comfort zone...",
                    entry3Tag: "Explorer Archetype",
                    promptsTitle: "Need Inspiration?",
                    prompt1Text: "How did your dominant archetype show up today?",
                    prompt2Text: "What synchronicities did you notice?",
                    prompt3Text: "Describe a moment when you felt in flow.",
                    prompt4Text: "What limiting belief did you challenge today?"
                },
                community: {
                    title: "Community Pulse",
                    subtitle: "Share anonymously and connect with others on similar archetypal journeys",
                    postPlaceholder: "Share your experience, insight or question...",
                    anonymousText: "Posting as Anonymous",
                    shareBtn: "Share",
                    post1Content: "\"Today I recognized my Sage archetype when I found myself explaining a complex concept to a colleague with unusual patience and clarity. It felt like wisdom was flowing through me rather than from me.\"",
                    post1Tag: "Sage Archetype",
                    post1Likes: "24",
                    post2Content: "\"Struggling with my Caregiver archetype today. I said no to someone's request and felt guilty, but I know it was necessary for my own energy. How do others balance giving and self-care?\"",
                    post2Tag: "Caregiver Archetype",
                    post2Likes: "18",
                    post3Content: "\"The Explorer in me is getting restless! Just booked a solo trip to a place I've never been. Any recommendations for connecting with local energies in Costa Rica?\"",
                    post3Tag: "Explorer Archetype",
                    post3Likes: "12",
                    loadMoreBtn: "Load More"
                },
                pricing: {
                    title: "Choose Your Path",
                    subtitle: "Upgrade to unlock deeper archetypal insights and support our mission",
                    freeTitle: "Explorer",
                    freeSubtitle: "Begin your archetypal journey",
                    freePrice: "Free",
                    freeFeatures: [
                        "Basic archetype profile",
                        "Daily insight",
                        "3 journal entries per week",
                        "Community access"
                    ],
                    currentPlanBtn: "Your Current Plan",
                    proTitle: "Sage",
                    proSubtitle: "Deepen your transformation",
                    proPrice: "$5",
                    proFrequency: "/month",
                    proFeatures: [
                        "Advanced archetype analysis",
                        "Personalized Energy Quests",
                        "Unlimited journal entries",
                        "AI Guide conversations",
                        "Monthly archetype reports"
                    ],
                    popularBadge: "MOST POPULAR",
                    upgradeBtn: "Upgrade Now",
                    reportsTitle: "Archetype Reports",
                    report1Title: "Basic Report",
                    report1Desc: "Your primary archetype with key characteristics",
                    report1Btn: "Download ($9)",
                    report2Title: "Advanced Report",
                    report2Desc: "Detailed analysis of all your archetypes",
                    report2Btn: "Download ($15)",
                    report3Title: "Yearly Analysis",
                    report3Desc: "Comprehensive archetype evolution report",
                    report3Btn: "Download ($25)",
                    paymentTitle: "Upgrade to Sage Plan",
                    paymentTerms: "By subscribing, you agree to our Terms of Service and Privacy Policy. Cancel anytime."
                },
                footer: {
                    desc: "The archetypal transformation platform bridging consciousness and technology.",
                    exploreTitle: "Explore",
                    resourcesTitle: "Resources",
                    archetypes: "Archetypes Guide",
                    blog: "Blog",
                    faq: "FAQs",
                    research: "Research",
                    connectTitle: "Connect",
                    discord: "Discord",
                    twitter: "Twitter",
                    instagram: "Instagram",
                    contact: "Contact",
                    copyright: "&copy; 2023 ARHETIPUS. All rights reserved."
                }
            },
            ru: {
                home: {
                    title: "Архетипический Путь Трансформации",
                    subtitle: "Откройте свои доминирующие архетипы, раскройте скрытый потенциал и соединитесь с сознанием Земли через нашу систему с ИИ-гидом.",
                    startBtn: "Начать Путешествие"
                },
                onboarding: {
                    title: "Персонализируйте Ваш Путь",
                    subtitle: "Ответьте на эти вопросы, чтобы мы могли настроить ваш архетипический опыт",
                    purposeLabel: "Что привело вас в ARHETIPUS?",
                    purposeDefault: "Выберите основную цель",
                    purposeOptions: ["Самопознание", "Исцеление", "Духовный рост", "Творчество", "Поиск жизненного предназначения"],
                    stateLabel: "Как бы вы описали ваше текущее состояние?",
                    changeLabel: "Каких изменений вы ищете?",
                    completeBtn: "Завершить Настройку"
                },
                dashboard: {
                    archetypeTitle: "Ваш Архетипический Профиль",
                    primaryArchetype: "Мудрец",
                    archetypeMatch: "85% совпадение",
                    archetypeDesc: "Вы обладаете глубокой мудростью и жаждой знаний. Ваш путь включает в себя обмен инсайтами, оставаясь открытым для новых перспектив.",
                    viewArchetypeBtn: "Посмотреть Полный Отчет",
                    secondaryTitle: "Вторичные Влияния",
                    secondary1Name: "Опекун",
                    secondary1Percent: "72% влияние",
                    secondary2Name: "Исследователь",
                    secondary2Percent: "68% влияние",
                    secondary3Name: "Творец",
                    secondary3Percent: "55% влияние",
                    questTitle: "Энергетический Квест",
                    questProgress: "День 3 из 7",
                    todaysQuest: "Сегодняшний Квест",
                    questDescription: "Проведите 10 минут на природе, наблюдая за растениями. Обратите внимание, как разные виды сосуществуют и поддерживают рост друг друга.",
                    beginQuestBtn: "Начать Сегодняшний Квест",
                    insightTitle: "Ежедневное Озарение",
                    insightQuestion: "\"Где в вашей жизни вас призывают делиться своей мудростью с другими?\"",
                    insightPrompt: "Размышляйте над этим вопросом в течение дня. Ответ может прийти неожиданным образом.",
                    journalInsightBtn: "Записать в Дневник",
                    chatTitle: "Гид ARHETIPUS",
                    chatPlaceholder: "Спросите вашего гида...",
                    actionsTitle: "Быстрые Действия",
                    newEntryBtn: "Новая Запись",
                    communityBtn: "Сообщество",
                    meditationBtn: "Медитация",
                    archetypesBtn: "Архетипы"
                },
                journal: {
                    title: "Дневник Трансформации",
                    newJournalBtn: "Новая Запись",
                    titlePlaceholder: "Заголовок записи",
                    contentPlaceholder: "Напишите свои мысли здесь...",
                    cancelBtn: "Отмена",
                    saveBtn: "Сохранить Запись",
                    entry1Title: "Мудрость с Утренней Прогулки",
                    entry1Date: "Сегодня",
                    entry1Preview: "Сегодня во время прогулки я заметил, как старые деревья обеспечивают тень для молодых саженцев. Это заставило меня задуматься о моей роли наставника...",
                    entry1Tag: "Архетип Мудреца",
                    readMore: "Читать Далее",
                    entry2Title: "Сначала Забота о Себе",
                    entry2Date: "Вчера",
                    entry2Preview: "Сегодня я понял, что пренебрегал своими потребностями, заботясь о других. Архетип Опекуна может выйти из равновесия, когда...",
                    entry2Tag: "Архетип Опекуна",
                    entry3Title: "Зов Нового Приключения",
                    entry3Date: "2 дня назад",
                    entry3Preview: "Почувствовал сильное желание отправиться в путешествие в незнакомое место. Архетип Исследователя пробуждается, подталкивая меня выйти из зоны комфорта...",
                    entry3Tag: "Архетип Исследователя",
                    promptsTitle: "Нужно Вдохновение?",
                    prompt1Text: "Как сегодня проявился ваш доминирующий архетип?",
                    prompt2Text: "Какие синхроничности вы заметили?",
                    prompt3Text: "Опишите момент, когда вы чувствовали поток.",
                    prompt4Text: "Какое ограничивающее убеждение вы оспорили сегодня?"
                },
                community: {
                    title: "Пульс Сообщества",
                    subtitle: "Делитесь анонимно и общайтесь с другими на схожих архетипических путях",
                    postPlaceholder: "Поделитесь своим опытом, озарением или вопросом...",
                    anonymousText: "Публикация анонимно",
                    shareBtn: "Поделиться",
                    post1Content: "\"Сегодня я узнал своего Мудреца, когда с необычным терпением и ясностью объяснял сложную концепцию коллеге. Казалось, что мудрость течет через меня, а не от меня.\"",
                    post1Tag: "Архетип Мудреца",
                    post1Likes: "24",
                    post2Content: "\"Сегодня сложности с архетипом Опекуна. Я сказал 'нет' чьей-то просьбе и чувствовал вину, но знаю, что это было необходимо для моей энергии. Как другие балансируют между отдачей и заботой о себе?\"",
                    post2Tag: "Архетип Опекуна",
                    post2Likes: "18",
                    post3Content: "\"Исследователь во мне становится беспокойным! Только что забронировал одиночную поездку в незнакомое место. Есть рекомендации по соединению с местными энергиями в Коста-Рике?\"",
                    post3Tag: "Архетип Исследователя",
                    post3Likes: "12",
                    loadMoreBtn: "Загрузить Еще"
                },
                pricing: {
                    title: "Выберите Свой Путь",
                    subtitle: "Обновитесь, чтобы открыть более глубокие архетипические прозрения и поддержать нашу миссию",
                    freeTitle: "Исследователь",
                    freeSubtitle: "Начните свой архетипический путь",
                    freePrice: "Бесплатно",
                    freeFeatures: [
                        "Базовый архетипический профиль",
                        "Ежедневное озарение",
                        "3 записи в дневнике в неделю",
                        "Доступ к сообществу"
                    ],
                    currentPlanBtn: "Ваш Текущий План",
                    proTitle: "Мудрец",
                    proSubtitle: "Углубите свою трансформацию",
                    proPrice: "$5",
                    proFrequency: "/месяц",
                    proFeatures: [
                        "Продвинутый архетипический анализ",
                        "Персонализированные Энергетические Квесты",
                        "Неограниченные записи в дневнике",
                        "Беседы с ИИ-гидом",
                        "Ежемесячные архетипические отчеты"
                    ],
                    popularBadge: "САМЫЙ ПОПУЛЯРНЫЙ",
                    upgradeBtn: "Обновить Сейчас",
                    reportsTitle: "Архетипические Отчеты",
                    report1Title: "Базовый Отчет",
                    report1Desc: "Ваш основной архетип с ключевыми характеристиками",
                    report1Btn: "Скачать ($9)",
                    report2Title: "Продвинутый Отчет",
                    report2Desc: "Детальный анализ всех ваших архетипов",
                    report2Btn: "Скачать ($15)",
                    report3Title: "Годовой Анализ",
                    report3Desc: "Комплексный отчет об эволюции архетипов",
                    report3Btn: "Скачать ($25)",
                    paymentTitle: "Обновление до Плана Мудреца",
                    paymentTerms: "Подписываясь, вы соглашаетесь с нашими Условиями обслуживания и Политикой конфиденциальности. Можно отменить в любой момент."
                },
                footer: {
                    desc: "Платформа архетипической трансформации, соединяющая сознание и технологии.",
                    exploreTitle: "Исследовать",
                    resourcesTitle: "Ресурсы",
                    archetypes: "Гид по Архетипам",
                    blog: "Блог",
                    faq: "ЧаВо",
                    research: "Исследования",
                    connectTitle: "Связь",
                    discord: "Discord",
                    twitter: "Twitter",
                    instagram: "Instagram",
                    contact: "Контакты",
                    copyright: "&copy; 2023 ARHETIPUS. Все права защищены."
                }
            }
        };

        // Current language
        let currentLang = 'en';
        
        // Page navigation
        const pages = document.querySelectorAll('.page');
        const navLinks = document.querySelectorAll('.nav-link');
        
        function showPage(pageId) {
            pages.forEach(page => {
                page.classList.remove('active');
                if (page.id === pageId + '-page') {
                    page.classList.add('active');
                }
            });
            
            navLinks.forEach(link => {
                link.classList.remove('active');
                if (link.getAttribute('data-page') === pageId) {
                    link.classList.add('active');
                }
            });
            
            // Update fractal background based on page
            updateFractal(pageId);
        }
        
        // Navigation click handlers
        document.querySelectorAll('[data-page]').forEach(link => {
            link.addEventListener('click', (e) => {
                e.preventDefault();
                const pageId = link.getAttribute('data-page');
                showPage(pageId);
            });
        });
        
        // Language switch
        const languageSwitch = document.getElementById('language-switch');
        languageSwitch.addEventListener('click', () => {
            languageSwitch.classList.toggle('active');
            currentLang = languageSwitch.classList.contains('active') ? 'ru' : 'en';
            updateContent();
        });
        
        // Update all content based on current language
        function updateContent() {
            // Home page
            document.getElementById('home-title').textContent = content[currentLang].home.title;
            document.getElementById('home-subtitle').textContent = content[currentLang].home.subtitle;
            document.getElementById('start-journey-btn').textContent = content[currentLang].home.startBtn;
            
            // Onboarding page
            document.getElementById('onboarding-title').textContent = content[currentLang].onboarding.title;
            document.getElementById('onboarding-subtitle').textContent = content[currentLang].onboarding.subtitle
</html>