Gp77 commited on
Commit
9d13461
·
verified ·
1 Parent(s): 2b85a3a

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +1132 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Try Secureai
3
- emoji: 🌍
4
- colorFrom: gray
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: try-secureai
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,1132 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>SecureAI - AI & Cybersecurity Platform</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #6e8efb 0%, #4a6cf7 100%);
12
+ }
13
+ .dark-gradient-bg {
14
+ background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
15
+ }
16
+ .tool-card:hover {
17
+ transform: translateY(-5px);
18
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
19
+ }
20
+ .cyber-pattern {
21
+ background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
22
+ background-size: 15px 15px;
23
+ }
24
+ .blink {
25
+ animation: blink 1s infinite;
26
+ }
27
+ @keyframes blink {
28
+ 0% { opacity: 1; }
29
+ 50% { opacity: 0.5; }
30
+ 100% { opacity: 1; }
31
+ }
32
+ </style>
33
+ </head>
34
+ <body class="bg-gray-50 font-sans">
35
+ <!-- Auth Modal -->
36
+ <div id="authModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
37
+ <div class="bg-white dark:bg-gray-800 rounded-lg p-6 w-full max-w-md">
38
+ <div class="flex justify-between items-center mb-4">
39
+ <h3 class="text-xl font-bold text-gray-800 dark:text-white">Welcome to SecureAI</h3>
40
+ <button onclick="closeAuthModal()" class="text-gray-500 hover:text-gray-700 dark:hover:text-gray-300">
41
+ <i class="fas fa-times"></i>
42
+ </button>
43
+ </div>
44
+
45
+ <div class="flex mb-4 border-b border-gray-200 dark:border-gray-700">
46
+ <button id="loginTab" class="px-4 py-2 font-medium text-blue-600 border-b-2 border-blue-600 dark:text-blue-400 dark:border-blue-400">Login</button>
47
+ <button id="registerTab" class="px-4 py-2 font-medium text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300">Register</button>
48
+ </div>
49
+
50
+ <!-- Login Form -->
51
+ <div id="loginForm">
52
+ <div class="mb-4">
53
+ <button onclick="loginWithGoogle()" class="w-full flex items-center justify-center gap-2 bg-white border border-gray-300 rounded-lg px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 dark:bg-gray-700 dark:text-white dark:hover:bg-gray-600">
54
+ <i class="fab fa-google text-red-500"></i>
55
+ Continue with Google
56
+ </button>
57
+ </div>
58
+ <div class="mb-4">
59
+ <button onclick="loginWithWeb3()" class="w-full flex items-center justify-center gap-2 bg-gray-800 text-white rounded-lg px-4 py-2 text-sm font-medium hover:bg-gray-700 dark:bg-gray-600 dark:hover:bg-gray-500">
60
+ <i class="fab fa-ethereum text-purple-400"></i>
61
+ Connect Wallet
62
+ </button>
63
+ </div>
64
+ <div class="flex items-center my-4">
65
+ <div class="flex-grow border-t border-gray-300 dark:border-gray-600"></div>
66
+ <span class="mx-4 text-gray-500 dark:text-gray-400">or</span>
67
+ <div class="flex-grow border-t border-gray-300 dark:border-gray-600"></div>
68
+ </div>
69
+ <div class="mb-4">
70
+ <label for="loginEmail" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Email</label>
71
+ <input type="email" id="loginEmail" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
72
+ </div>
73
+ <div class="mb-4">
74
+ <label for="loginPassword" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Password</label>
75
+ <input type="password" id="loginPassword" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
76
+ </div>
77
+ <div class="flex items-center justify-between mb-4">
78
+ <div class="flex items-center">
79
+ <input id="rememberMe" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded dark:bg-gray-700 dark:border-gray-600">
80
+ <label for="rememberMe" class="ml-2 block text-sm text-gray-700 dark:text-gray-300">Remember me</label>
81
+ </div>
82
+ <a href="#" class="text-sm text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">Forgot password?</a>
83
+ </div>
84
+ <button onclick="handleLogin()" class="w-full gradient-bg text-white py-2 px-4 rounded-md hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
85
+ Sign In
86
+ </button>
87
+ </div>
88
+
89
+ <!-- Register Form (hidden by default) -->
90
+ <div id="registerForm" class="hidden">
91
+ <div class="mb-4">
92
+ <label for="registerEmail" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Email</label>
93
+ <input type="email" id="registerEmail" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
94
+ </div>
95
+ <div class="mb-4">
96
+ <label for="registerPassword" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Password</label>
97
+ <input type="password" id="registerPassword" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
98
+ </div>
99
+ <div class="mb-4">
100
+ <label for="confirmPassword" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Confirm Password</label>
101
+ <input type="password" id="confirmPassword" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
102
+ </div>
103
+ <div class="flex items-center mb-4">
104
+ <input id="acceptTerms" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded dark:bg-gray-700 dark:border-gray-600">
105
+ <label for="acceptTerms" class="ml-2 block text-sm text-gray-700 dark:text-gray-300">
106
+ I agree to the <a href="#" class="text-blue-600 hover:text-blue-500 dark:text-blue-400">Terms</a> and <a href="#" class="text-blue-600 hover:text-blue-500 dark:text-blue-400">Privacy Policy</a>
107
+ </label>
108
+ </div>
109
+ <button onclick="handleRegister()" class="w-full gradient-bg text-white py-2 px-4 rounded-md hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
110
+ Create Account
111
+ </button>
112
+ </div>
113
+ </div>
114
+ </div>
115
+
116
+ <!-- MFA Modal -->
117
+ <div id="mfaModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
118
+ <div class="bg-white dark:bg-gray-800 rounded-lg p-6 w-full max-w-md">
119
+ <div class="flex justify-between items-center mb-4">
120
+ <h3 class="text-xl font-bold text-gray-800 dark:text-white">Multi-Factor Authentication</h3>
121
+ <button onclick="closeMFAModal()" class="text-gray-500 hover:text-gray-700 dark:hover:text-gray-300">
122
+ <i class="fas fa-times"></i>
123
+ </button>
124
+ </div>
125
+
126
+ <div class="mb-4 text-sm text-gray-600 dark:text-gray-300">
127
+ For security reasons, please verify your identity using one of these methods:
128
+ </div>
129
+
130
+ <div class="space-y-3">
131
+ <button onclick="verifyWithOTP()" class="w-full flex items-center justify-between px-4 py-3 bg-gray-100 dark:bg-gray-700 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-600">
132
+ <div class="flex items-center">
133
+ <div class="p-2 rounded-full bg-blue-100 dark:bg-blue-900 mr-3">
134
+ <i class="fas fa-mobile-alt text-blue-600 dark:text-blue-400"></i>
135
+ </div>
136
+ <span class="font-medium text-gray-800 dark:text-white">Email OTP</span>
137
+ </div>
138
+ <i class="fas fa-chevron-right text-gray-500 dark:text-gray-400"></i>
139
+ </button>
140
+
141
+ <button onclick="verifyWithAuthenticator()" class="w-full flex items-center justify-between px-4 py-3 bg-gray-100 dark:bg-gray-700 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-600">
142
+ <div class="flex items-center">
143
+ <div class="p-2 rounded-full bg-green-100 dark:bg-green-900 mr-3">
144
+ <i class="fas fa-lock text-green-600 dark:text-green-400"></i>
145
+ </div>
146
+ <span class="font-medium text-gray-800 dark:text-white">Authenticator App</span>
147
+ </div>
148
+ <i class="fas fa-chevron-right text-gray-500 dark:text-gray-400"></i>
149
+ </button>
150
+
151
+ <button onclick="verifyWithWeb3()" class="w-full flex items-center justify-between px-4 py-3 bg-gray-100 dark:bg-gray-700 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-600">
152
+ <div class="flex items-center">
153
+ <div class="p-2 rounded-full bg-purple-100 dark:bg-purple-900 mr-3">
154
+ <i class="fab fa-ethereum text-purple-600 dark:text-purple-400"></i>
155
+ </div>
156
+ <span class="font-medium text-gray-800 dark:text-white">Web3 Wallet</span>
157
+ </div>
158
+ <i class="fas fa-chevron-right text-gray-500 dark:text-gray-400"></i>
159
+ </button>
160
+ </div>
161
+ </div>
162
+ </div>
163
+
164
+ <!-- OTP Verification Modal -->
165
+ <div id="otpModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
166
+ <div class="bg-white dark:bg-gray-800 rounded-lg p-6 w-full max-w-md">
167
+ <div class="flex justify-between items-center mb-4">
168
+ <h3 class="text-xl font-bold text-gray-800 dark:text-white">Verify Email OTP</h3>
169
+ <button onclick="closeOTPModal()" class="text-gray-500 hover:text-gray-700 dark:hover:text-gray-300">
170
+ <i class="fas fa-times"></i>
171
+ </button>
172
+ </div>
173
+
174
+ <div class="mb-4 text-sm text-gray-600 dark:text-gray-300">
175
+ We've sent a 6-digit verification code to your email. Please enter it below:
176
+ </div>
177
+
178
+ <div class="mb-4">
179
+ <div class="flex justify-between space-x-2">
180
+ <input type="text" maxlength="1" class="w-12 h-12 text-center text-xl border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" pattern="\d*">
181
+ <input type="text" maxlength="1" class="w-12 h-12 text-center text-xl border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" pattern="\d*">
182
+ <input type="text" maxlength="1" class="w-12 h-12 text-center text-xl border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" pattern="\d*">
183
+ <input type="text" maxlength="1" class="w-12 h-12 text-center text-xl border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" pattern="\d*">
184
+ <input type="text" maxlength="1" class="w-12 h-12 text-center text-xl border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" pattern="\d*">
185
+ <input type="text" maxlength="1" class="w-12 h-12 text-center text-xl border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" pattern="\d*">
186
+ </div>
187
+ </div>
188
+
189
+ <div class="mb-4 text-sm text-gray-500 dark:text-gray-400">
190
+ Didn't receive a code? <a href="#" class="text-blue-600 hover:text-blue-500 dark:text-blue-400">Resend</a>
191
+ </div>
192
+
193
+ <button onclick="verifyOTP()" class="w-full gradient-bg text-white py-2 px-4 rounded-md hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
194
+ Verify & Continue
195
+ </button>
196
+ </div>
197
+ </div>
198
+
199
+ <!-- Navigation -->
200
+ <nav class="bg-white dark:bg-gray-800 shadow-sm">
201
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
202
+ <div class="flex justify-between h-16">
203
+ <div class="flex items-center">
204
+ <div class="flex-shrink-0 flex items-center">
205
+ <i class="fas fa-shield-alt text-blue-600 text-2xl mr-2"></i>
206
+ <span class="text-xl font-bold text-gray-800 dark:text-white">Secure<span class="text-blue-600">AI</span></span>
207
+ </div>
208
+ <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
209
+ <a href="#" class="border-blue-500 text-gray-900 dark:text-white inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" id="homeNav">
210
+ Home
211
+ </a>
212
+ <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" id="aiToolsNav">
213
+ AI Tools
214
+ </a>
215
+ <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" id="cyberNav">
216
+ Cybersecurity
217
+ </a>
218
+ <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" id="docsNav">
219
+ Docs
220
+ </a>
221
+ </div>
222
+ </div>
223
+ <div class="hidden sm:ml-6 sm:flex sm:items-center">
224
+ <div class="relative">
225
+ <button onclick="toggleTheme()" class="p-1 rounded-full text-gray-400 hover:text-gray-500 dark:hover:text-gray-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
226
+ <i class="fas fa-moon dark:hidden"></i>
227
+ <i class="fas fa-sun hidden dark:block text-yellow-300"></i>
228
+ </button>
229
+ </div>
230
+ <div class="ml-3 relative">
231
+ <div>
232
+ <button onclick="toggleUserMenu()" type="button" class="bg-white dark:bg-gray-700 rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" id="user-menu-button" aria-expanded="false" aria-haspopup="true">
233
+ <span class="sr-only">Open user menu</span>
234
+ <div class="h-8 w-8 rounded-full gradient-bg flex items-center justify-center text-white font-medium">
235
+ <span id="userInitials">?</span>
236
+ </div>
237
+ </button>
238
+ </div>
239
+ <div id="userMenu" class="origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white dark:bg-gray-700 ring-1 ring-black ring-opacity-5 focus:outline-none hidden" role="menu" aria-orientation="vertical" aria-labelledby="user-menu-button" tabindex="-1">
240
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-600" role="menuitem" tabindex="-1" id="user-menu-item-0">Your Profile</a>
241
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-600" role="menuitem" tabindex="-1" id="user-menu-item-1">Settings</a>
242
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-600" role="menuitem" tabindex="-1" id="user-menu-item-2">Sign out</a>
243
+ </div>
244
+ </div>
245
+ </div>
246
+ <div class="-mr-2 flex items-center sm:hidden">
247
+ <button onclick="toggleMobileMenu()" type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500" aria-controls="mobile-menu" aria-expanded="false">
248
+ <span class="sr-only">Open main menu</span>
249
+ <i class="fas fa-bars"></i>
250
+ </button>
251
+ </div>
252
+ </div>
253
+ </div>
254
+
255
+ <!-- Mobile menu -->
256
+ <div class="sm:hidden hidden" id="mobile-menu">
257
+ <div class="pt-2 pb-3 space-y-1">
258
+ <a href="#" class="bg-blue-50 border-blue-500 text-blue-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium dark:bg-gray-700 dark:text-blue-400">Home</a>
259
+ <a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium dark:text-gray-400 dark:hover:bg-gray-700">AI Tools</a>
260
+ <a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium dark:text-gray-400 dark:hover:bg-gray-700">Cybersecurity</a>
261
+ <a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium dark:text-gray-400 dark:hover:bg-gray-700">Docs</a>
262
+ </div>
263
+ <div class="pt-4 pb-3 border-t border-gray-200 dark:border-gray-700">
264
+ <div class="flex items-center px-4">
265
+ <div class="flex-shrink-0">
266
+ <div class="h-10 w-10 rounded-full gradient-bg flex items-center justify-center text-white font-medium">
267
+ <span>?</span>
268
+ </div>
269
+ </div>
270
+ <div class="ml-3">
271
+ <div class="text-base font-medium text-gray-800 dark:text-white">Guest User</div>
272
+ <div class="text-sm font-medium text-gray-500 dark:text-gray-400">guest@example.com</div>
273
+ </div>
274
+ <button onclick="toggleTheme()" class="ml-auto p-1 rounded-full text-gray-400 hover:text-gray-500 dark:hover:text-gray-300">
275
+ <i class="fas fa-moon dark:hidden"></i>
276
+ <i class="fas fa-sun hidden dark:block text-yellow-300"></i>
277
+ </button>
278
+ </div>
279
+ <div class="mt-3 space-y-1">
280
+ <a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 dark:hover:bg-gray-700 dark:text-gray-400 dark:hover:text-gray-300">Your Profile</a>
281
+ <a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 dark:hover:bg-gray-700 dark:text-gray-400 dark:hover:text-gray-300">Settings</a>
282
+ <a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 dark:hover:bg-gray-700 dark:text-gray-400 dark:hover:text-gray-300">Sign out</a>
283
+ </div>
284
+ </div>
285
+ </div>
286
+ </nav>
287
+
288
+ <!-- Main Content -->
289
+ <main>
290
+ <!-- Hero Section -->
291
+ <section id="homeSection" class="gradient-bg text-white">
292
+ <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
293
+ <div class="text-center">
294
+ <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">
295
+ Secure AI Platform for Everyone
296
+ </h1>
297
+ <p class="mt-6 max-w-lg mx-auto text-xl text-blue-100">
298
+ Open-source AI utilities with enterprise-grade cybersecurity, powered by Web3 authentication and decentralized storage.
299
+ </p>
300
+ <div class="mt-10 flex justify-center space-x-4">
301
+ <button onclick="openAuthModal()" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-blue-700 bg-white hover:bg-blue-50">
302
+ Get Started
303
+ <i class="fas fa-arrow-right ml-2"></i>
304
+ </button>
305
+ <a href="#" class="inline-flex items-center px-6 py-3 border border-white text-base font-medium rounded-md text-white hover:bg-blue-700 hover:bg-opacity-20">
306
+ <i class="fas fa-book mr-2"></i>
307
+ Documentation
308
+ </a>
309
+ </div>
310
+ </div>
311
+ </div>
312
+ </section>
313
+
314
+ <!-- Features Section -->
315
+ <section class="py-12 bg-white dark:bg-gray-900">
316
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
317
+ <div class="lg:text-center">
318
+ <h2 class="text-base text-blue-600 dark:text-blue-400 font-semibold tracking-wide uppercase">Features</h2>
319
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 dark:text-white sm:text-4xl">
320
+ Everything you need in one platform
321
+ </p>
322
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 dark:text-gray-400 lg:mx-auto">
323
+ Combining cutting-edge AI with robust security measures for a complete digital experience.
324
+ </p>
325
+ </div>
326
+
327
+ <div class="mt-10">
328
+ <div class="space-y-10 md:space-y-0 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10">
329
+ <div class="relative">
330
+ <div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
331
+ <i class="fas fa-robot"></i>
332
+ </div>
333
+ <div class="ml-16">
334
+ <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-white">AI Chat Assistant</h3>
335
+ <p class="mt-2 text-base text-gray-500 dark:text-gray-400">
336
+ Powered by open-source LLMs with privacy-focused architecture. No data leaves your device without consent.
337
+ </p>
338
+ </div>
339
+ </div>
340
+
341
+ <div class="relative">
342
+ <div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
343
+ <i class="fas fa-image"></i>
344
+ </div>
345
+ <div class="ml-16">
346
+ <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-white">Image Generation</h3>
347
+ <p class="mt-2 text-base text-gray-500 dark:text-gray-400">
348
+ Create stunning visuals with Stable Diffusion models, with options for on-device or cloud processing.
349
+ </p>
350
+ </div>
351
+ </div>
352
+
353
+ <div class="relative">
354
+ <div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
355
+ <i class="fas fa-code"></i>
356
+ </div>
357
+ <div class="ml-16">
358
+ <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-white">Code Assistant</h3>
359
+ <p class="mt-2 text-base text-gray-500 dark:text-gray-400">
360
+ AI-powered coding companion that understands your project context and suggests improvements.
361
+ </p>
362
+ </div>
363
+ </div>
364
+
365
+ <div class="relative">
366
+ <div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
367
+ <i class="fas fa-shield-alt"></i>
368
+ </div>
369
+ <div class="ml-16">
370
+ <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-white">Security Suite</h3>
371
+ <p class="mt-2 text-base text-gray-500 dark:text-gray-400">
372
+ Comprehensive cybersecurity tools including threat simulations, breach detection, and AI defense.
373
+ </p>
374
+ </div>
375
+ </div>
376
+ </div>
377
+ </div>
378
+ </div>
379
+ </section>
380
+
381
+ <!-- AI Tools Section -->
382
+ <section id="aiToolsSection" class="py-12 bg-gray-50 dark:bg-gray-800 hidden">
383
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
384
+ <div class="lg:text-center mb-12">
385
+ <h2 class="text-base text-blue-600 dark:text-blue-400 font-semibold tracking-wide uppercase">AI Utilities</h2>
386
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 dark:text-white sm:text-4xl">
387
+ Powerful AI tools at your fingertips
388
+ </p>
389
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 dark:text-gray-400 lg:mx-auto">
390
+ Free, open-source AI models running on optimized infrastructure.
391
+ </p>
392
+ </div>
393
+
394
+ <div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
395
+ <!-- Chat Assistant Card -->
396
+ <div class="bg-white dark:bg-gray-700 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
397
+ <div class="p-5">
398
+ <div class="flex items-center">
399
+ <div class="flex-shrink-0 bg-blue-500 rounded-md p-3">
400
+ <i class="fas fa-robot text-white"></i>
401
+ </div>
402
+ <div class="ml-4">
403
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">AI Chat Assistant</h3>
404
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Powered by Mistral 7B</p>
405
+ </div>
406
+ </div>
407
+ <div class="mt-4">
408
+ <p class="text-sm text-gray-500 dark:text-gray-400">
409
+ Conversational AI that can answer questions, summarize content, and assist with creative writing.
410
+ </p>
411
+ </div>
412
+ </div>
413
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-600 text-right">
414
+ <button onclick="openChatTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
415
+ Open Tool <i class="fas fa-arrow-right ml-1"></i>
416
+ </button>
417
+ </div>
418
+ </div>
419
+
420
+ <!-- Image Generation Card -->
421
+ <div class="bg-white dark:bg-gray-700 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
422
+ <div class="p-5">
423
+ <div class="flex items-center">
424
+ <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
425
+ <i class="fas fa-image text-white"></i>
426
+ </div>
427
+ <div class="ml-4">
428
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Image Generation</h3>
429
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Powered by Stable Diffusion XL</p>
430
+ </div>
431
+ </div>
432
+ <div class="mt-4">
433
+ <p class="text-sm text-gray-500 dark:text-gray-400">
434
+ Create stunning visuals from text prompts with various artistic styles and customization options.
435
+ </p>
436
+ </div>
437
+ </div>
438
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-600 text-right">
439
+ <button onclick="openImageTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
440
+ Open Tool <i class="fas fa-arrow-right ml-1"></i>
441
+ </button>
442
+ </div>
443
+ </div>
444
+
445
+ <!-- Code Assistant Card -->
446
+ <div class="bg-white dark:bg-gray-700 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
447
+ <div class="p-5">
448
+ <div class="flex items-center">
449
+ <div class="flex-shrink-0 bg-green-500 rounded-md p-3">
450
+ <i class="fas fa-code text-white"></i>
451
+ </div>
452
+ <div class="ml-4">
453
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Code Assistant</h3>
454
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Powered by CodeLlama</p>
455
+ </div>
456
+ </div>
457
+ <div class="mt-4">
458
+ <p class="text-sm text-gray-500 dark:text-gray-400">
459
+ AI pair programmer that helps you write better code, debug issues, and learn new programming concepts.
460
+ </p>
461
+ </div>
462
+ </div>
463
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-600 text-right">
464
+ <button onclick="openCodeTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
465
+ Open Tool <i class="fas fa-arrow-right ml-1"></i>
466
+ </button>
467
+ </div>
468
+ </div>
469
+
470
+ <!-- AI Search Card -->
471
+ <div class="bg-white dark:bg-gray-700 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
472
+ <div class="p-5">
473
+ <div class="flex items-center">
474
+ <div class="flex-shrink-0 bg-red-500 rounded-md p-3">
475
+ <i class="fas fa-search text-white"></i>
476
+ </div>
477
+ <div class="ml-4">
478
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">AI Search</h3>
479
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Powered by ColBERTv2</p>
480
+ </div>
481
+ </div>
482
+ <div class="mt-4">
483
+ <p class="text-sm text-gray-500 dark:text-gray-400">
484
+ Semantic search that understands your queries and retrieves the most relevant information.
485
+ </p>
486
+ </div>
487
+ </div>
488
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-600 text-right">
489
+ <button onclick="openSearchTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
490
+ Open Tool <i class="fas fa-arrow-right ml-1"></i>
491
+ </button>
492
+ </div>
493
+ </div>
494
+
495
+ <!-- Document AI Card -->
496
+ <div class="bg-white dark:bg-gray-700 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
497
+ <div class="p-5">
498
+ <div class="flex items-center">
499
+ <div class="flex-shrink-0 bg-yellow-500 rounded-md p-3">
500
+ <i class="fas fa-file-alt text-white"></i>
501
+ </div>
502
+ <div class="ml-4">
503
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Document AI</h3>
504
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Powered by Donut</p>
505
+ </div>
506
+ </div>
507
+ <div class="mt-4">
508
+ <p class="text-sm text-gray-500 dark:text-gray-400">
509
+ Extract, analyze and summarize information from documents with AI-powered document processing.
510
+ </p>
511
+ </div>
512
+ </div>
513
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-600 text-right">
514
+ <button onclick="openDocTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
515
+ Open Tool <i class="fas fa-arrow-right ml-1"></i>
516
+ </button>
517
+ </div>
518
+ </div>
519
+
520
+ <!-- Audio AI Card -->
521
+ <div class="bg-white dark:bg-gray-700 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
522
+ <div class="p-5">
523
+ <div class="flex items-center">
524
+ <div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
525
+ <i class="fas fa-microphone-alt text-white"></i>
526
+ </div>
527
+ <div class="ml-4">
528
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Audio AI</h3>
529
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Powered by Whisper</p>
530
+ </div>
531
+ </div>
532
+ <div class="mt-4">
533
+ <p class="text-sm text-gray-500 dark:text-gray-400">
534
+ Transcribe, translate and analyze audio content with state-of-the-art speech recognition.
535
+ </p>
536
+ </div>
537
+ </div>
538
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-600 text-right">
539
+ <button onclick="openAudioTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
540
+ Open Tool <i class="fas fa-arrow-right ml-1"></i>
541
+ </button>
542
+ </div>
543
+ </div>
544
+ </div>
545
+ </div>
546
+ </section>
547
+
548
+ <!-- Cybersecurity Section -->
549
+ <section id="cyberSection" class="py-12 dark:bg-gray-900 hidden">
550
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
551
+ <div class="lg:text-center mb-12">
552
+ <h2 class="text-base text-blue-600 dark:text-blue-400 font-semibold tracking-wide uppercase">Security Suite</h2>
553
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 dark:text-white sm:text-4xl">
554
+ Enterprise-grade cybersecurity
555
+ </p>
556
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 dark:text-gray-400 lg:mx-auto">
557
+ Protect your digital assets with our comprehensive security tools.
558
+ </p>
559
+ </div>
560
+
561
+ <div class="bg-white dark:bg-gray-800 shadow overflow-hidden sm:rounded-lg mb-8">
562
+ <div class="px-4 py-5 sm:px-6 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center">
563
+ <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-white">
564
+ Security Dashboard
565
+ </h3>
566
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200">
567
+ Protected
568
+ </span>
569
+ </div>
570
+ <div class="px-4 py-5 sm:p-6">
571
+ <div class="grid grid-cols-1 gap-5 sm:grid-cols-3">
572
+ <div class="bg-blue-50 dark:bg-gray-700 overflow-hidden shadow rounded-lg">
573
+ <div class="px-4 py-5 sm:p-6">
574
+ <div class="flex items-center">
575
+ <div class="flex-shrink-0 bg-blue-100 dark:bg-blue-900 rounded-md p-3">
576
+ <i class="fas fa-shield-alt text-blue-600 dark:text-blue-400"></i>
577
+ </div>
578
+ <div class="ml-5 w-0 flex-1">
579
+ <dl>
580
+ <dt class="text-sm font-medium text-gray-500 dark:text-gray-400 truncate">
581
+ Threat Detection
582
+ </dt>
583
+ <dd>
584
+ <div class="text-lg font-medium text-gray-900 dark:text-white">
585
+ 0 active
586
+ </div>
587
+ </dd>
588
+ </dl>
589
+ </div>
590
+ </div>
591
+ </div>
592
+ </div>
593
+
594
+ <div class="bg-green-50 dark:bg-gray-700 overflow-hidden shadow rounded-lg">
595
+ <div class="px-4 py-5 sm:p-6">
596
+ <div class="flex items-center">
597
+ <div class="flex-shrink-0 bg-green-100 dark:bg-green-900 rounded-md p-3">
598
+ <i class="fas fa-check-circle text-green-600 dark:text-green-400"></i>
599
+ </div>
600
+ <div class="ml-5 w-0 flex-1">
601
+ <dl>
602
+ <dt class="text-sm font-medium text-gray-500 dark:text-gray-400 truncate">
603
+ System Health
604
+ </dt>
605
+ <dd>
606
+ <div class="text-lg font-medium text-gray-900 dark:text-white">
607
+ 100%
608
+ </div>
609
+ </dd>
610
+ </dl>
611
+ </div>
612
+ </div>
613
+ </div>
614
+ </div>
615
+
616
+ <div class="bg-yellow-50 dark:bg-gray-700 overflow-hidden shadow rounded-lg">
617
+ <div class="px-4 py-5 sm:p-6">
618
+ <div class="flex items-center">
619
+ <div class="flex-shrink-0 bg-yellow-100 dark:bg-yellow-900 rounded-md p-3">
620
+ <i class="fas fa-clock text-yellow-600 dark:text-yellow-400"></i>
621
+ </div>
622
+ <div class="ml-5 w-0 flex-1">
623
+ <dl>
624
+ <dt class="text-sm font-medium text-gray-500 dark:text-gray-400 truncate">
625
+ Last Scan
626
+ </dt>
627
+ <dd>
628
+ <div class="text-lg font-medium text-gray-900 dark:text-white">
629
+ Just now
630
+ </div>
631
+ </dd>
632
+ </dl>
633
+ </div>
634
+ </div>
635
+ </div>
636
+ </div>
637
+ </div>
638
+ </div>
639
+ </div>
640
+
641
+ <div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
642
+ <!-- Vulnerability Scanner -->
643
+ <div class="bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
644
+ <div class="p-5">
645
+ <div class="flex items-center">
646
+ <div class="flex-shrink-0 bg-red-500 rounded-md p-3">
647
+ <i class="fas fa-bug text-white"></i>
648
+ </div>
649
+ <div class="ml-4">
650
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Vulnerability Scanner</h3>
651
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">AI-powered detection</p>
652
+ </div>
653
+ </div>
654
+ <div class="mt-4">
655
+ <p class="text-sm text-gray-500 dark:text-gray-400">
656
+ Scan your systems for known vulnerabilities and get AI-generated remediation advice.
657
+ </p>
658
+ </div>
659
+ </div>
660
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-700 text-right">
661
+ <button onclick="openScanner()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
662
+ Run Scan <i class="fas fa-arrow-right ml-1"></i>
663
+ </button>
664
+ </div>
665
+ </div>
666
+
667
+ <!-- Phishing Simulator -->
668
+ <div class="bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
669
+ <div class="p-5">
670
+ <div class="flex items-center">
671
+ <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
672
+ <i class="fas fa-fish text-white"></i>
673
+ </div>
674
+ <div class="ml-4">
675
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Phishing Simulator</h3>
676
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Training tool</p>
677
+ </div>
678
+ </div>
679
+ <div class="mt-4">
680
+ <p class="text-sm text-gray-500 dark:text-gray-400">
681
+ Test your team's ability to identify phishing attempts with realistic simulations.
682
+ </p>
683
+ </div>
684
+ </div>
685
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-700 text-right">
686
+ <button onclick="openPhishingTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
687
+ Configure <i class="fas fa-arrow-right ml-1"></i>
688
+ </button>
689
+ </div>
690
+ </div>
691
+
692
+ <!-- DDoS Simulator -->
693
+ <div class="bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
694
+ <div class="p-5">
695
+ <div class="flex items-center">
696
+ <div class="flex-shrink-0 bg-orange-500 rounded-md p-3">
697
+ <i class="fas fa-network-wired text-white"></i>
698
+ </div>
699
+ <div class="ml-4">
700
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">DDoS Simulator</h3>
701
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Controlled environment</p>
702
+ </div>
703
+ </div>
704
+ <div class="mt-4">
705
+ <p class="text-sm text-gray-500 dark:text-gray-400">
706
+ Test your infrastructure's resilience against distributed denial-of-service attacks.
707
+ </p>
708
+ </div>
709
+ </div>
710
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-700 text-right">
711
+ <button onclick="openDDoSTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
712
+ Run Test <i class="fas fa-arrow-right ml-1"></i>
713
+ </button>
714
+ </div>
715
+ </div>
716
+
717
+ <!-- Malware Analysis -->
718
+ <div class="bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
719
+ <div class="p-5">
720
+ <div class="flex items-center">
721
+ <div class="flex-shrink-0 bg-yellow-500 rounded-md p-3">
722
+ <i class="fas fa-virus text-white"></i>
723
+ </div>
724
+ <div class="ml-4">
725
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Malware Analysis</h3>
726
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Sandbox environment</p>
727
+ </div>
728
+ </div>
729
+ <div class="mt-4">
730
+ <p class="text-sm text-gray-500 dark:text-gray-400">
731
+ Upload suspicious files for analysis in a secure sandbox with AI-powered detection.
732
+ </p>
733
+ </div>
734
+ </div>
735
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-700 text-right">
736
+ <button onclick="openMalwareTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
737
+ Analyze File <i class="fas fa-arrow-right ml-1"></i>
738
+ </button>
739
+ </div>
740
+ </div>
741
+
742
+ <!-- Password Auditor -->
743
+ <div class="bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
744
+ <div class="p-5">
745
+ <div class="flex items-center">
746
+ <div class="flex-shrink-0 bg-green-500 rounded-md p-3">
747
+ <i class="fas fa-key text-white"></i>
748
+ </div>
749
+ <div class="ml-4">
750
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Password Auditor</h3>
751
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Security assessment</p>
752
+ </div>
753
+ </div>
754
+ <div class="mt-4">
755
+ <p class="text-sm text-gray-500 dark:text-gray-400">
756
+ Check if your passwords have been compromised in data breaches (secure offline check).
757
+ </p>
758
+ </div>
759
+ </div>
760
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-700 text-right">
761
+ <button onclick="openPasswordTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
762
+ Check Passwords <i class="fas fa-arrow-right ml-1"></i>
763
+ </button>
764
+ </div>
765
+ </div>
766
+
767
+ <!-- Network Monitor -->
768
+ <div class="bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden tool-card transition duration-300 ease-in-out">
769
+ <div class="p-5">
770
+ <div class="flex items-center">
771
+ <div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
772
+ <i class="fas fa-wifi text-white"></i>
773
+ </div>
774
+ <div class="ml-4">
775
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Network Monitor</h3>
776
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">Real-time analysis</p>
777
+ </div>
778
+ </div>
779
+ <div class="mt-4">
780
+ <p class="text-sm text-gray-500 dark:text-gray-400">
781
+ Monitor your network traffic for suspicious activity with AI anomaly detection.
782
+ </p>
783
+ </div>
784
+ </div>
785
+ <div class="px-5 py-3 bg-gray-50 dark:bg-gray-700 text-right">
786
+ <button onclick="openNetworkTool()" class="text-sm font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
787
+ Start Monitoring <i class="fas fa-arrow-right ml-1"></i>
788
+ </button>
789
+ </div>
790
+ </div>
791
+ </div>
792
+ </div>
793
+ </section>
794
+
795
+ <!-- Chat Tool Modal -->
796
+ <div id="chatToolModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
797
+ <div class="bg-white dark:bg-gray-800 rounded-lg w-full max-w-4xl h-[80vh] flex flex-col">
798
+ <div class="px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center">
799
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">
800
+ <i class="fas fa-robot mr-2 text-blue-500"></i>
801
+ AI Chat Assistant
802
+ </h3>
803
+ <div class="flex items-center space-x-2">
804
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200">
805
+ Mistral 7B
806
+ </span>
807
+ <button onclick="closeChatTool()" class="text-gray-500 hover:text-gray-700 dark:hover:text-gray-300">
808
+ <i class="fas fa-times"></i>
809
+ </button>
810
+ </div>
811
+ </div>
812
+
813
+ <div class="flex-1 overflow-y-auto p-4 space-y-4" id="chatMessages">
814
+ <div class="flex items-start">
815
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 dark:bg-blue-900 flex items-center justify-center">
816
+ <i class="fas fa-robot text-blue-600 dark:text-blue-400"></i>
817
+ </div>
818
+ <div class="ml-3">
819
+ <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-3">
820
+ <p class="text-sm text-gray-800 dark:text-gray-200">
821
+ Hello! I'm your AI assistant powered by Mistral 7B. How can I help you today?
822
+ </p>
823
+ </div>
824
+ <div class="mt-1 text-xs text-gray-500 dark:text-gray-400">
825
+ Just now
826
+ </div>
827
+ </div>
828
+ </div>
829
+ </div>
830
+
831
+ <div class="px-4 py-3 border-t border-gray-200 dark:border-gray-700">
832
+ <div class="flex space-x-2">
833
+ <div class="flex-1">
834
+ <textarea id="chatInput" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" rows="2" placeholder="Type your message..."></textarea>
835
+ </div>
836
+ <button onclick="sendChatMessage()" class="self-end gradient-bg text-white p-2 rounded-md hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
837
+ <i class="fas fa-paper-plane"></i>
838
+ </button>
839
+ </div>
840
+ <div class="mt-2 flex justify-between items-center">
841
+ <div class="flex space-x-2">
842
+ <button class="p-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300">
843
+ <i class="fas fa-paperclip"></i>
844
+ </button>
845
+ <button class="p-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300">
846
+ <i class="fas fa-code"></i>
847
+ </button>
848
+ </div>
849
+ <div class="text-xs text-gray-500 dark:text-gray-400">
850
+ AI responses may be inaccurate
851
+ </div>
852
+ </div>
853
+ </div>
854
+ </div>
855
+ </div>
856
+
857
+ <!-- Image Tool Modal -->
858
+ <div id="imageToolModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
859
+ <div class="bg-white dark:bg-gray-800 rounded-lg w-full max-w-4xl h-[80vh] flex flex-col">
860
+ <div class="px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center">
861
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">
862
+ <i class="fas fa-image mr-2 text-purple-500"></i>
863
+ AI Image Generator
864
+ </h3>
865
+ <div class="flex items-center space-x-2">
866
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-purple-100 text-purple-800 dark:bg-purple-900 dark:text-purple-200">
867
+ Stable Diffusion XL
868
+ </span>
869
+ <button onclick="closeImageTool()" class="text-gray-500 hover:text-gray-700 dark:hover:text-gray-300">
870
+ <i class="fas fa-times"></i>
871
+ </button>
872
+ </div>
873
+ </div>
874
+
875
+ <div class="flex-1 overflow-y-auto p-4">
876
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
877
+ <div>
878
+ <div class="mb-4">
879
+ <label for="imagePrompt" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Prompt</label>
880
+ <textarea id="imagePrompt" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-purple-500 focus:border-purple-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" rows="3" placeholder="Describe the image you want to generate..."></textarea>
881
+ </div>
882
+ <div class="mb-4">
883
+ <label for="negativePrompt" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Negative Prompt</label>
884
+ <input type="text" id="negativePrompt" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-purple-500 focus:border-purple-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" placeholder="Things you don't want to see in the image">
885
+ </div>
886
+ <div class="grid grid-cols-2 gap-4 mb-4">
887
+ <div>
888
+ <label for="imageStyle" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Style</label>
889
+ <select id="imageStyle" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-purple-500 focus:border-purple-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
890
+ <option>Realistic</option>
891
+ <option>Digital Art</option>
892
+ <option>Photographic</option>
893
+ <option>Fantasy Art</option>
894
+ <option>Anime</option>
895
+ <option>Watercolor</option>
896
+ </select>
897
+ </div>
898
+ <div>
899
+ <label for="imageSize" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Size</label>
900
+ <select id="imageSize" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-purple-500 focus:border-purple-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
901
+ <option>512x512</option>
902
+ <option>768x768</option>
903
+ <option>1024x1024</option>
904
+ </select>
905
+ </div>
906
+ </div>
907
+ <button onclick="generateImage()" class="w-full bg-purple-600 text-white py-2 px-4 rounded-md hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
908
+ Generate Image
909
+ </button>
910
+ </div>
911
+ <div class="bg-gray-100 dark:bg-gray-700 rounded-lg flex items-center justify-center h-64 md:h-auto">
912
+ <div class="text-center p-4" id="imageResult">
913
+ <i class="fas fa-image text-gray-400 text-4xl mb-2"></i>
914
+ <p class="text-sm text-gray-500 dark:text-gray-400">Your generated image will appear here</p>
915
+ </div>
916
+ </div>
917
+ </div>
918
+ </div>
919
+
920
+ <div class="px-4 py-3 border-t border-gray-200 dark:border-gray-700 text-right">
921
+ <div class="text-xs text-gray-500 dark:text-gray-400">
922
+ Generated images are stored temporarily for 48 hours
923
+ </div>
924
+ </div>
925
+ </div>
926
+ </div>
927
+
928
+ <!-- Scanner Tool Modal -->
929
+ <div id="scannerToolModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
930
+ <div class="bg-white dark:bg-gray-800 rounded-lg w-full max-w-4xl h-[80vh] flex flex-col">
931
+ <div class="px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center">
932
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">
933
+ <i class="fas fa-bug mr-2 text-red-500"></i>
934
+ Vulnerability Scanner
935
+ </h3>
936
+ <button onclick="closeScannerTool()" class="text-gray-500 hover:text-gray-700 dark:hover:text-gray-300">
937
+ <i class="fas fa-times"></i>
938
+ </button>
939
+ </div>
940
+
941
+ <div class="flex-1 overflow-y-auto p-4">
942
+ <div class="mb-6">
943
+ <h4 class="text-md font-medium text-gray-900 dark:text-white mb-2">Scan Target</h4>
944
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
945
+ <div>
946
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Scan Type</label>
947
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-red-500 focus:border-red-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
948
+ <option>Web Application</option>
949
+ <option>Network</option>
950
+ <option>API</option>
951
+ <option>Cloud Infrastructure</option>
952
+ </select>
953
+ </div>
954
+ <div class="md:col-span-2">
955
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Target URL/IP</label>
956
+ <div class="flex">
957
+ <input type="text" class="flex-1 px-3 py-2 border border-gray-300 rounded-l-md shadow-sm focus:outline-none focus:ring-red-500 focus:border-red-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white" placeholder="https://example.com or 192.168.1.1">
958
+ <button class="bg-red-600 text-white px-4 py-2 rounded-r-md hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500">
959
+ Validate
960
+ </button>
961
+ </div>
962
+ </div>
963
+ </div>
964
+ </div>
965
+
966
+ <div class="mb-6">
967
+ <h4 class="text-md font-medium text-gray-900 dark:text-white mb-2">Scan Options</h4>
968
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
969
+ <div>
970
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Intensity</label>
971
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-red-500 focus:border-red-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
972
+ <option>Light (fast)</option>
973
+ <option selected>Standard</option>
974
+ <option>Aggressive</option>
975
+ <option>Comprehensive (slow)</option>
976
+ </select>
977
+ </div>
978
+ <div>
979
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Vulnerability Database</label>
980
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-red-500 focus:border-red-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
981
+ <option>Latest Threats</option>
982
+ <option selected>Comprehensive</option>
983
+ <option>Zero-Day Focused</option>
984
+ </select>
985
+ </div>
986
+ </div>
987
+ </div>
988
+
989
+ <div class="mb-6">
990
+ <h4 class="text-md font-medium text-gray-900 dark:text-white mb-2">Advanced Options</h4>
991
+ <div class="space-y-3">
992
+ <div class="flex items-center">
993
+ <input id="scan-auth" type="checkbox" class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-300 rounded dark:bg-gray-700 dark:border-gray-600">
994
+ <label for="scan-auth" class="ml-2 block text-sm text-gray-700 dark:text-gray-300">Authenticated Scan</label>
995
+ </div>
996
+ <div class="flex items-center">
997
+ <input id="scan-crawl" type="checkbox" class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-300 rounded dark:bg-gray-700 dark:border-gray-600" checked>
998
+ <label for="scan-crawl" class="ml-2 block text-sm text-gray-700 dark:text-gray-300">Crawl Website</label>
999
+ </div>
1000
+ <div class="flex items-center">
1001
+ <input id="scan-ai" type="checkbox" class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-300 rounded dark:bg-gray-700 dark:border-gray-600" checked>
1002
+ <label for="scan-ai" class="ml-2 block text-sm text-gray-700 dark:text-gray-300">Use AI Analysis</label>
1003
+ </div>
1004
+ </div>
1005
+ </div>
1006
+
1007
+ <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-4">
1008
+ <h4 class="text-md font-medium text-gray-900 dark:text-white mb-2">Scan Summary</h4>
1009
+ <div class="grid grid-cols-3 gap-4 text-center">
1010
+ <div class="bg-white dark:bg-gray-800 p-3 rounded shadow">
1011
+ <div class="text-sm text-gray-500 dark:text-gray-400">Estimated Time</div>
1012
+ <div class="font-medium text-gray-900 dark:text-white">5-15 min</div>
1013
+ </div>
1014
+ <div class="bg-white dark:bg-gray-800 p-3 rounded shadow">
1015
+ <div class="text-sm text-gray-500 dark:text-gray-400">Tests to Run</div>
1016
+ <div class="font-medium text-gray-900 dark:text-white">1,248</div>
1017
+ </div>
1018
+ <div class="bg-white dark:bg-gray-800 p-3 rounded shadow">
1019
+ <div class="text-sm text-gray-500 dark:text-gray-400">AI Models</div>
1020
+ <div class="font-medium text-gray-900 dark:text-white">3</div>
1021
+ </div>
1022
+ </div>
1023
+ </div>
1024
+ </div>
1025
+
1026
+ <div class="px-4 py-3 border-t border-gray-200 dark:border-gray-700 flex justify-between items-center">
1027
+ <div class="text-sm text-gray-500 dark:text-gray-400">
1028
+ Scans are logged securely for audit purposes
1029
+ </div>
1030
+ <button onclick="startScan()" class="bg-red-600 text-white py-2 px-6 rounded-md hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500">
1031
+ Start Scan
1032
+ </button>
1033
+ </div>
1034
+ </div>
1035
+ </div>
1036
+ </main>
1037
+
1038
+ <!-- Footer -->
1039
+ <footer class="bg-gray-800 text-white">
1040
+ <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
1041
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
1042
+ <div>
1043
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase mb-4">SecureAI</h3>
1044
+ <p class="text-gray-300 text-sm">
1045
+ Open-source platform combining AI utilities with enterprise-grade cybersecurity, powered by Web3 authentication.
1046
+ </p>
1047
+ </div>
1048
+ <div>
1049
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase mb-4">AI Tools</h3>
1050
+ <ul class="space-y-2">
1051
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Chat Assistant</a></li>
1052
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Image Generation</a></li>
1053
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Code Assistant</a></li>
1054
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">AI Search</a></li>
1055
+ </ul>
1056
+ </div>
1057
+ <div>
1058
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase mb-4">Security</h3>
1059
+ <ul class="space-y-2">
1060
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Vulnerability Scanner</a></li>
1061
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Phishing Simulator</a></li>
1062
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">DDoS Testing</a></li>
1063
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Malware Analysis</a></li>
1064
+ </ul>
1065
+ </div>
1066
+ <div>
1067
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase mb-4">Connect</h3>
1068
+ <ul class="space-y-2">
1069
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">GitHub</a></li>
1070
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Documentation</a></li>
1071
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Community</a></li>
1072
+ <li><a href="#" class="text-gray-300 hover:text-white text-sm">Contact</a></li>
1073
+ </ul>
1074
+ </div>
1075
+ </div>
1076
+ <div class="mt-8 pt-8 border-t border-gray-700 flex flex-col md:flex-row justify-between items-center">
1077
+ <p class="text-gray-400 text-sm">
1078
+ &copy; 2023 SecureAI Platform. All rights reserved.
1079
+ </p>
1080
+ <div class="flex space-x-6 mt-4 md:mt-0">
1081
+ <a href="#" class="text-gray-400 hover:text-white">
1082
+ <i class="fab fa-github"></i>
1083
+ </a>
1084
+ <a href="#" class="text-gray-400 hover:text-white">
1085
+ <i class="fab fa-twitter"></i>
1086
+ </a>
1087
+ <a href="#" class="text-gray-400 hover:text-white">
1088
+ <i class="fab fa-discord"></i>
1089
+ </a>
1090
+ <a href="#" class="text-gray-400 hover:text-white">
1091
+ <i class="fab fa-medium"></i>
1092
+ </a>
1093
+ </div>
1094
+ </div>
1095
+ </div>
1096
+ </footer>
1097
+
1098
+ <script>
1099
+ // Theme handling
1100
+ function toggleTheme() {
1101
+ if (document.documentElement.classList.contains('dark')) {
1102
+ document.documentElement.classList.remove('dark');
1103
+ localStorage.setItem('theme', 'light');
1104
+ } else {
1105
+ document.documentElement.classList.add('dark');
1106
+ localStorage.setItem('theme', 'dark');
1107
+ }
1108
+ }
1109
+
1110
+ // Check for saved theme preference
1111
+ if (localStorage.getItem('theme') === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
1112
+ document.documentElement.classList.add('dark');
1113
+ } else {
1114
+ document.documentElement.classList.remove('dark');
1115
+ }
1116
+
1117
+ // Auth modal handling
1118
+ function openAuthModal() {
1119
+ document.getElementById('authModal').classList.remove('hidden');
1120
+ }
1121
+
1122
+ function closeAuthModal() {
1123
+ document.getElementById('authModal').classList.add('hidden');
1124
+ }
1125
+
1126
+ // MFA modal handling
1127
+ function openMFAModal() {
1128
+ document.getElementById('mfaModal').classList.remove('hidden');
1129
+ }
1130
+
1131
+
1132
+ </html>