File size: 20,348 Bytes
0406816
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
da7f4e3
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
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TradeFlow Pro Infinity - Quantum Trading OS</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    colors: {
                        'quantum': {
                            50: '#f0f9ff',
                            100: '#e0f2fe',
                            200: '#bae6fd',
                            300: '#7dd3fc',
                            400: '#38bdf8',
                            500: '#0ea5e9',
                            600: '#0284c7',
                            700: '#0369a1',
                            800: '#075985',
                            900: '#0c4a6e',
                            950: '#082f49'
                        },
                        'neon': {
                            50: '#f0fdf4',
                            100: '#dcfce7',
                            200: '#bbf7d0',
                            300: '#86efac',
                            400: '#4ade80',
                            500: '#22c55e',
                            600: '#16a34a',
                            700: '#15803d',
                            800: '#166534',
                            900: '#14532d',
                            950: '#052e16'
                        }
                    },
                    animation: {
                        'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
                        'float': 'float 6s ease-in-out infinite',
                        'glow': 'glow 2s ease-in-out infinite alternate',
                    },
                    keyframes: {
                        float: {
                            '0%, 100%': { transform: 'translateY(0px)' },
                            '50%': { transform: 'translateY(-20px)' },
                        },
                        glow: {
                            'from': { boxShadow: '0 0 10px #0ea5e9, 0 0 20px #0ea5e9, 0 0 30px #0ea5e9' },
                            'to': { boxShadow: '0 0 20px #0ea5e9, 0 0 30px #0ea5e9, 0 0 40px #0ea5e9' },
                        }
                    }
                }
            }
        }
    </script>
    <style>
        .quantum-gradient {
            background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0ea5e9 100%);
        }
        .glass-effect {
            backdrop-filter: blur(10px);
            background: rgba(8, 47, 73, 0.3);
            border: 1px solid rgba(14, 165, 233, 0.2);
        }
        .quantum-card {
            background: linear-gradient(145deg, rgba(8, 47, 73, 0.6), rgba(14, 165, 233, 0.1));
            border: 1px solid rgba(14, 165, 233, 0.3);
            box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
        }
        .neon-glow {
            box-shadow: 0 0 5px #22c55e, 0 0 10px #22c55e, 0 0 15px #22c55e;
        }
        .holographic-text {
            background: linear-gradient(45deg, #0ea5e9, #22c55e, #0ea5e9);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shimmer 3s ease-in-out infinite;
        }
        @keyframes shimmer {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
    </style>
</head>
<body class="dark bg-gray-950 text-white min-h-screen overflow-x-hidden">
    <!-- Vanta.js Background -->
    <div id="vanta-bg" class="fixed inset-0 z-0"></div>
    
    <!-- Navigation -->
    <nav class="relative z-50 glass-effect border-b border-quantum-700/30">
        <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 space-x-4">
                    <div class="flex-shrink-0">
                        <h1 class="text-2xl font-bold holographic-text">TradeFlow Pro ∞</h1>
                    </div>
                    <div class="hidden md:block">
                        <div class="ml-10 flex items-baseline space-x-4">
                            <a href="#" class="quantum-gradient px-3 py-2 rounded-md text-sm font-medium hover:opacity-80 transition-opacity">Dashboard</a>
                            <a href="trading.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors">Trading</a>
                            <a href="analytics.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors">Analytics</a>
                            <a href="portfolio.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors">Portfolio</a>
                            <a href="ai-advisor.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors">AI Advisor</a>
                        </div>
                    </div>
                </div>
                <div class="flex items-center space-x-4">
                    <button class="quantum-gradient p-2 rounded-full hover:animate-glow">
                        <i data-feather="bell" class="w-5 h-5"></i>
                    </button>
                    <div class="relative">
                        <button class="flex items-center space-x-2 quantum-gradient px-3 py-2 rounded-lg hover:opacity-80 transition-opacity">
                            <div class="w-2 h-2 bg-neon-500 rounded-full animate-pulse"></div>
                            <span class="text-sm">Connected</span>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <main class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
        <!-- Welcome Section -->
        <div class="mb-8">
            <h2 class="text-4xl font-bold mb-2 holographic-text">Welcome to the Quantum Realm</h2>
            <p class="text-gray-400">Your AI-powered trading singularity awaits</p>
        </div>

        <!-- Stats Grid -->
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
            <div class="quantum-card rounded-xl p-6 hover:scale-105 transition-transform duration-300">
                <div class="flex items-center justify-between mb-4">
                    <div class="p-3 bg-quantum-600/30 rounded-lg">
                        <i data-feather="trending-up" class="w-6 h-6 text-neon-500"></i>
                    </div>
                    <span class="text-sm text-gray-400">Today</span>
                </div>
                <h3 class="text-2xl font-bold mb-1">+$12,847</h3>
                <p class="text-neon-500 text-sm">+3.2% Portfolio Growth</p>
            </div>

            <div class="quantum-card rounded-xl p-6 hover:scale-105 transition-transform duration-300">
                <div class="flex items-center justify-between mb-4">
                    <div class="p-3 bg-quantum-600/30 rounded-lg">
                        <i data-feather="activity" class="w-6 h-6 text-quantum-400"></i>
                    </div>
                    <span class="text-sm text-gray-400">Active</span>
                </div>
                <h3 class="text-2xl font-bold mb-1">7</h3>
                <p class="text-quantum-400 text-sm">ATAs Running</p>
            </div>

            <div class="quantum-card rounded-xl p-6 hover:scale-105 transition-transform duration-300">
                <div class="flex items-center justify-between mb-4">
                    <div class="p-3 bg-quantum-600/30 rounded-lg">
                        <i data-feather="shield" class="w-6 h-6 text-yellow-500"></i>
                    </div>
                    <span class="text-sm text-gray-400">Risk Level</span>
                </div>
                <h3 class="text-2xl font-bold mb-1">Low</h3>
                <p class="text-yellow-500 text-sm">VaR: 2.1%</p>
            </div>

            <div class="quantum-card rounded-xl p-6 hover:scale-105 transition-transform duration-300">
                <div class="flex items-center justify-between mb-4">
                    <div class="p-3 bg-quantum-600/30 rounded-lg">
                        <i data-feather="zap" class="w-6 h-6 text-purple-500"></i>
                    </div>
                    <span class="text-sm text-gray-400">Quantum Score</span>
                </div>
                <h3 class="text-2xl font-bold mb-1">94.7</h3>
                <p class="text-purple-500 text-sm">AI Confidence</p>
            </div>
        </div>

        <!-- Main Dashboard Grid -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
            <!-- Trading Chart -->
            <div class="lg:col-span-2 quantum-card rounded-xl p-6">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="text-xl font-semibold">Quantum Chart Analysis</h3>
                    <div class="flex space-x-2">
                        <button class="px-3 py-1 bg-quantum-600/30 rounded-lg text-sm hover:bg-quantum-600/50 transition-colors">EUR/USD</button>
                        <button class="px-3 py-1 bg-gray-800 rounded-lg text-sm hover:bg-gray-700 transition-colors">BTC/USD</button>
                        <button class="px-3 py-1 bg-gray-800 rounded-lg text-sm hover:bg-gray-700 transition-colors">GOLD</button>
                    </div>
                </div>
                <div class="h-64 bg-gray-900/50 rounded-lg flex items-center justify-center relative overflow-hidden">
                    <div class="absolute inset-0 bg-gradient-to-r from-quantum-500/20 to-neon-500/20 animate-pulse-slow"></div>
                    <div class="text-center z-10">
                        <i data-feather="bar-chart-2" class="w-16 h-16 text-quantum-400 mb-4 animate-float"></i>
                        <p class="text-gray-400">Holographic chart loading...</p>
                        <div class="mt-4 flex justify-center space-x-2">
                            <div class="w-2 h-2 bg-quantum-400 rounded-full animate-bounce"></div>
                            <div class="w-2 h-2 bg-quantum-400 rounded-full animate-bounce" style="animation-delay: 0.1s"></div>
                            <div class="w-2 h-2 bg-quantum-400 rounded-full animate-bounce" style="animation-delay: 0.2s"></div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- AI Advisor -->
            <div class="quantum-card rounded-xl p-6">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="text-xl font-semibold">AI Copilot</h3>
                    <div class="w-3 h-3 bg-neon-500 rounded-full animate-pulse"></div>
                </div>
                <div class="space-y-4">
                    <div class="glass-effect rounded-lg p-4">
                        <div class="flex items-start space-x-3">
                            <div class="w-8 h-8 bg-quantum-600 rounded-full flex items-center justify-center flex-shrink-0">
                                <i data-feather="cpu" class="w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="text-sm text-gray-300">Detected harmonic pattern on GBP/JPY</p>
                                <p class="text-xs text-quantum-400 mt-1">85% confidence - Bullish Gartley</p>
                            </div>
                        </div>
                    </div>
                    <div class="glass-effect rounded-lg p-4">
                        <div class="flex items-start space-x-3">
                            <div class="w-8 h-8 bg-yellow-600 rounded-full flex items-center justify-center flex-shrink-0">
                                <i data-feather="alert-triangle" class="w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="text-sm text-gray-300">Risk exposure elevated</p>
                                <p class="text-xs text-yellow-400 mt-1">Consider reducing position size</p>
                            </div>
                        </div>
                    </div>
                    <div class="glass-effect rounded-lg p-4">
                        <div class="flex items-start space-x-3">
                            <div class="w-8 h-8 bg-neon-600 rounded-full flex items-center justify-center flex-shrink-0">
                                <i data-feather="trending-up" class="w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="text-sm text-gray-300">ATA-7 optimized parameters</p>
                                <p class="text-xs text-neon-400 mt-1">Expected alpha: +12.3%</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Active Trades -->
            <div class="lg:col-span-2 quantum-card rounded-xl p-6">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="text-xl font-semibold">Active Quantum Positions</h3>
                    <button class="text-quantum-400 hover:text-quantum-300 transition-colors">
                        <i data-feather="plus-circle" class="w-5 h-5"></i>
                    </button>
                </div>
                <div class="overflow-x-auto">
                    <table class="w-full">
                        <thead>
                            <tr class="text-left text-gray-400 text-sm">
                                <th class="pb-3">Asset</th>
                                <th class="pb-3">Type</th>
                                <th class="pb-3">Size</th>
                                <th class="pb-3">P&L</th>
                                <th class="pb-3">ATA</th>
                            </tr>
                        </thead>
                        <tbody class="text-sm">
                            <tr class="border-t border-gray-800">
                                <td class="py-3">EUR/USD</td>
                                <td class="py-3">BUY</td>
                                <td class="py-3">2.5 lots</td>
                                <td class="py-3 text-neon-500">+$847</td>
                                <td class="py-3">ATA-3</td>
                            </tr>
                            <tr class="border-t border-gray-800">
                                <td class="py-3">BTC/USD</td>
                                <td class="py-3">SELL</td>
                                <td class="py-3">0.5 lots</td>
                                <td class="py-3 text-red-500">-$234</td>
                                <td class="py-3">ATA-7</td>
                            </tr>
                            <tr class="border-t border-gray-800">
                                <td class="py-3">GOLD</td>
                                <td class="py-3">BUY</td>
                                <td class="py-3">1.0 lots</td>
                                <td class="py-3 text-neon-500">+$1,234</td>
                                <td class="py-3">ATA-1</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>

            <!-- Market Sentiment -->
            <div class="quantum-card rounded-xl p-6">
                <h3 class="text-xl font-semibold mb-4">Quantum Sentiment</h3>
                <div class="space-y-4">
                    <div>
                        <div class="flex justify-between text-sm mb-2">
                            <span>Fear & Greed Index</span>
                            <span class="text-neon-500">72 (Greed)</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-gradient-to-r from-red-500 to-neon-500 h-2 rounded-full" style="width: 72%"></div>
                        </div>
                    </div>
                    <div>
                        <div class="flex justify-between text-sm mb-2">
                            <span>Quantum Volatility</span>
                            <span class="text-quantum-400">Low</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-quantum-500 h-2 rounded-full" style="width: 25%"></div>
                        </div>
                    </div>
                    <div>
                        <div class="flex justify-between text-sm mb-2">
                            <span>Correlation Risk</span>
                            <span class="text-yellow-500">Medium</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-yellow-500 h-2 rounded-full" style="width: 55%"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- Bottom Navigation for Mobile -->
    <nav class="fixed bottom-0 left-0 right-0 z-50 glass-effect border-t border-quantum-700/30 md:hidden">
        <div class="grid grid-cols-5 py-2">
            <button class="flex flex-col items-center justify-center space-y-1 text-quantum-400">
                <i data-feather="home" class="w-5 h-5"></i>
                <span class="text-xs">Home</span>
            </button>
            <button class="flex flex-col items-center justify-center space-y-1 text-gray-400">
                <i data-feather="bar-chart-2" class="w-5 h-5"></i>
                <span class="text-xs">Trade</span>
            </button>
            <button class="flex flex-col items-center justify-center space-y-1 text-gray-400">
                <i data-feather="activity" class="w-5 h-5"></i>
                <span class="text-xs">Analytics</span>
            </button>
            <button class="flex flex-col items-center justify-center space-y-1 text-gray-400">
                <i data-feather="pie-chart" class="w-5 h-5"></i>
                <span class="text-xs">Portfolio</span>
            </button>
            <button class="flex flex-col items-center justify-center space-y-1 text-gray-400">
                <i data-feather="cpu" class="w-5 h-5"></i>
                <span class="text-xs">AI</span>
            </button>
        </div>
    </nav>

    <script>
        // Initialize Vanta.js background
        VANTA.NET({
            el: "#vanta-bg",
            mouseControls: true,
            touchControls: true,
            gyroControls: false,
            minHeight: 200.00,
            minWidth: 200.00,
            scale: 1.00,
            scaleMobile: 1.00,
            color: 0x0ea5e9,
            backgroundColor: 0x0c4a6e,
            points: 10.00,
            maxDistance: 25.00,
            spacing: 18.00
        });

        // Initialize Feather Icons
        feather.replace();

        // Animate elements on load
        anime({
            targets: '.quantum-card',
            translateY: [50, 0],
            opacity: [0, 1],
            delay: anime.stagger(100),
            duration: 800,
            easing: 'easeOutQuad'
        });

        // Animate stats numbers
        anime({
            targets: 'h3',
            innerHTML: [0, el => el.innerHTML],
            delay: 500,
            duration: 1500,
            round: 1,
            easing: 'easeInOutExpo'
        });
    </script>
</body>
</html>