File size: 30,453 Bytes
02d077a
e7e055f
02d077a
 
 
e7e055f
02d077a
 
 
e7e055f
 
02d077a
e7e055f
 
02d077a
e7e055f
 
 
02d077a
e7e055f
 
 
 
02d077a
e7e055f
 
 
 
02d077a
e7e055f
 
 
 
02d077a
e7e055f
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
e7e055f
 
02d077a
e7e055f
 
 
 
 
02d077a
e7e055f
 
02d077a
e7e055f
 
 
02d077a
e7e055f
 
 
 
02d077a
e7e055f
 
 
 
 
 
02d077a
 
 
e7e055f
02d077a
e7e055f
 
 
 
 
02d077a
e7e055f
 
 
 
 
 
 
02d077a
e7e055f
 
 
02d077a
 
e7e055f
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
e7e055f
 
 
 
 
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
 
 
 
 
e7e055f
 
 
 
 
 
 
 
 
 
02d077a
e7e055f
 
02d077a
 
e7e055f
 
 
 
02d077a
e7e055f
 
02d077a
 
e7e055f
 
 
 
02d077a
e7e055f
 
02d077a
 
e7e055f
 
 
 
02d077a
e7e055f
 
02d077a
 
e7e055f
 
 
 
02d077a
e7e055f
 
02d077a
 
e7e055f
 
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
 
e7e055f
 
02d077a
 
 
e7e055f
 
 
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
 
 
e7e055f
 
 
 
 
 
 
 
 
 
02d077a
e7e055f
 
 
 
 
 
02d077a
 
 
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
 
 
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
 
 
 
 
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
e7e055f
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
e7e055f
 
 
02d077a
 
e7e055f
02d077a
e7e055f
 
 
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
e7e055f
02d077a
e7e055f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02d077a
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ResearchGPT AI - $2/month AI Research Assistant</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .gradient-bg {
            background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
        }
        .chat-container {
            height: calc(100vh - 180px);
        }
        .typing-indicator::after {
            content: '...';
            animation: typing 1.5s infinite;
        }
        @keyframes typing {
            0% { content: '.'; }
            33% { content: '..'; }
            66% { content: '...'; }
        }
        .markdown-content h1 {
            font-size: 1.5rem;
            font-weight: bold;
            margin: 1rem 0;
        }
        .markdown-content h2 {
            font-size: 1.25rem;
            font-weight: bold;
            margin: 0.8rem 0;
        }
        .markdown-content p {
            margin: 0.5rem 0;
            line-height: 1.6;
        }
        .markdown-content ul, .markdown-content ol {
            margin: 0.5rem 0;
            padding-left: 1.5rem;
        }
        .markdown-content li {
            margin: 0.25rem 0;
        }
        .markdown-content code {
            background-color: #f3f4f6;
            padding: 0.2rem 0.4rem;
            border-radius: 0.25rem;
            font-family: monospace;
        }
        .markdown-content pre {
            background-color: #f3f4f6;
            padding: 1rem;
            border-radius: 0.5rem;
            overflow-x: auto;
            margin: 0.5rem 0;
        }
        .markdown-content blockquote {
            border-left: 4px solid #a777e3;
            padding-left: 1rem;
            margin: 0.5rem 0;
            color: #6b7280;
        }
        .pricing-card {
            transition: all 0.3s ease;
        }
        .pricing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .feature-list li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.5rem;
        }
        .feature-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #6e8efb;
            font-weight: bold;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- Navigation -->
    <nav class="gradient-bg text-white p-4 shadow-md">
        <div class="container mx-auto flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <i class="fas fa-robot text-2xl"></i>
                <h1 class="text-xl font-bold">ResearchGPT AI</h1>
            </div>
            <div class="hidden md:flex items-center space-x-4">
                <a href="#features" class="px-3 py-2 hover:bg-white hover:bg-opacity-20 rounded-md transition">Features</a>
                <a href="#pricing" class="px-3 py-2 hover:bg-white hover:bg-opacity-20 rounded-md transition">Pricing</a>
                <a href="#testimonials" class="px-3 py-2 hover:bg-white hover:bg-opacity-20 rounded-md transition">Testimonials</a>
                <button class="px-4 py-2 bg-white bg-opacity-20 rounded-md hover:bg-opacity-30 transition">
                    <i class="fas fa-user mr-2"></i>Sign In
                </button>
            </div>
            <button class="md:hidden text-2xl">
                <i class="fas fa-bars"></i>
            </button>
        </div>
    </nav>

    <!-- Hero Section -->
    <section class="gradient-bg text-white py-16">
        <div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
            <div class="md:w-1/2 mb-8 md:mb-0">
                <h1 class="text-4xl font-bold mb-4">AI-Powered Research Assistant</h1>
                <p class="text-xl mb-6">Write, edit, and improve your research papers with our $2/month AI assistant.</p>
                <div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4">
                    <a href="#pricing" class="px-6 py-3 bg-white text-purple-700 rounded-md font-bold text-center hover:bg-opacity-90 transition">
                        Get Started - $2/month
                    </a>
                    <a href="#demo" class="px-6 py-3 border-2 border-white text-white rounded-md font-bold text-center hover:bg-white hover:bg-opacity-20 transition">
                        Try Demo
                    </a>
                </div>
            </div>
            <div class="md:w-1/2">
                <div class="bg-white rounded-lg shadow-xl overflow-hidden">
                    <div class="p-4 bg-gray-100 flex items-center">
                        <div class="flex space-x-2">
                            <div class="w-3 h-3 rounded-full bg-red-500"></div>
                            <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
                            <div class="w-3 h-3 rounded-full bg-green-500"></div>
                        </div>
                        <div class="ml-2 text-sm text-gray-600">ResearchGPT - My Paper</div>
                    </div>
                    <div class="p-4 h-64 overflow-y-auto">
                        <div class="markdown-content">
                            <h1 class="text-purple-600">The Impact of AI on Academic Research</h1>
                            <p>Artificial Intelligence is transforming how researchers work. Our AI assistant can help you:</p>
                            <ul>
                                <li>Generate literature reviews</li>
                                <li>Improve methodology sections</li>
                                <li>Suggest relevant citations</li>
                                <li>Paraphrase complex ideas</li>
                                <li>Format references automatically</li>
                            </ul>
                            <p class="mt-4">All for just $2/month - less than the cost of a single coffee!</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section id="features" class="py-16 bg-white">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">How ResearchGPT Helps You</h2>
            <div class="grid md:grid-cols-3 gap-8">
                <!-- Feature 1 -->
                <div class="bg-gray-50 p-6 rounded-lg shadow-sm">
                    <div class="text-purple-600 text-4xl mb-4">
                        <i class="fas fa-lightbulb"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">Idea Generation</h3>
                    <p>Overcome writer's block with AI-generated research ideas, hypotheses, and paper outlines tailored to your field.</p>
                </div>
                
                <!-- Feature 2 -->
                <div class="bg-gray-50 p-6 rounded-lg shadow-sm">
                    <div class="text-purple-600 text-4xl mb-4">
                        <i class="fas fa-book"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">Literature Review</h3>
                    <p>Quickly summarize key papers, identify research gaps, and synthesize findings across multiple studies.</p>
                </div>
                
                <!-- Feature 3 -->
                <div class="bg-gray-50 p-6 rounded-lg shadow-sm">
                    <div class="text-purple-600 text-4xl mb-4">
                        <i class="fas fa-chart-line"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">Methodology Help</h3>
                    <p>Get suggestions for appropriate research methods, statistical analyses, and experimental designs.</p>
                </div>
                
                <!-- Feature 4 -->
                <div class="bg-gray-50 p-6 rounded-lg shadow-sm">
                    <div class="text-purple-600 text-4xl mb-4">
                        <i class="fas fa-quote-right"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">Citation Support</h3>
                    <p>Automatically generate properly formatted citations in APA, MLA, Chicago, and other academic styles.</p>
                </div>
                
                <!-- Feature 5 -->
                <div class="bg-gray-50 p-6 rounded-lg shadow-sm">
                    <div class="text-purple-600 text-4xl mb-4">
                        <i class="fas fa-spell-check"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">Language Polishing</h3>
                    <p>Improve academic writing with grammar corrections, vocabulary enhancements, and clarity suggestions.</p>
                </div>
                
                <!-- Feature 6 -->
                <div class="bg-gray-50 p-6 rounded-lg shadow-sm">
                    <div class="text-purple-600 text-4xl mb-4">
                        <i class="fas fa-clock"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">Time Savings</h3>
                    <p>Complete writing tasks in minutes instead of hours, allowing you to focus on high-value research work.</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Pricing Section -->
    <section id="pricing" class="py-16 bg-gray-50">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-4">Simple, Affordable Pricing</h2>
            <p class="text-center text-gray-600 mb-12">All the AI research assistance you need for less than the cost of a coffee</p>
            
            <div class="max-w-md mx-auto bg-white rounded-xl shadow-md overflow-hidden pricing-card">
                <div class="p-8 text-center">
                    <div class="uppercase tracking-wide text-sm text-purple-600 font-semibold">Monthly Plan</div>
                    <div class="mt-4 flex justify-center items-baseline">
                        <span class="text-5xl font-extrabold">$2</span>
                        <span class="ml-1 text-xl text-gray-600">/month</span>
                    </div>
                    <p class="mt-2 text-gray-500">Billed monthly, cancel anytime</p>
                    
                    <div class="mt-6">
                        <ul class="feature-list space-y-2 text-left">
                            <li>Unlimited AI-assisted writing</li>
                            <li>Research paper templates</li>
                            <li>Citation generator</li>
                            <li>Grammar & style checks</li>
                            <li>Literature review assistant</li>
                            <li>Methodology suggestions</li>
                            <li>24/7 support</li>
                        </ul>
                    </div>
                    
                    <div class="mt-8">
                        <button class="w-full gradient-bg text-white font-bold py-3 px-4 rounded-md hover:opacity-90 transition">
                            Get Started Now
                        </button>
                    </div>
                    
                    <p class="mt-4 text-sm text-gray-500">7-day money back guarantee</p>
                </div>
            </div>
            
            <div class="mt-8 text-center">
                <p class="text-gray-600">Need more? <a href="#" class="text-purple-600 hover:underline">Contact us</a> for institutional pricing</p>
            </div>
        </div>
    </section>

    <!-- Demo Section -->
    <section id="demo" class="py-16 bg-white">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">Try Our Interactive Demo</h2>
            
            <div class="bg-white rounded-lg shadow-xl overflow-hidden max-w-4xl mx-auto">
                <div class="flex flex-col md:flex-row">
                    <!-- Editor Panel -->
                    <div class="flex-1 border-r">
                        <div class="border-b p-3 flex justify-between items-center bg-gray-50">
                            <div class="text-sm text-gray-600">research_paper.md</div>
                            <div class="flex space-x-2">
                                <button class="p-1 text-gray-500 hover:text-purple-600 rounded-md">
                                    <i class="fas fa-save"></i>
                                </button>
                            </div>
                        </div>
                        <div class="p-4 h-96 overflow-y-auto">
                            <div class="markdown-content">
                                <h1>The Future of AI in Academic Writing</h1>
                                <p>Artificial intelligence is increasingly being used to assist with academic writing tasks. Some key applications include:</p>
                                
                                <h2>1. Automated Literature Reviews</h2>
                                <p>AI can quickly analyze thousands of papers to identify relevant studies, summarize findings, and highlight research gaps.</p>
                                
                                <h2>2. Writing Assistance</h2>
                                <p>Tools like ResearchGPT help researchers with:</p>
                                <ul>
                                    <li>Grammar and style improvements</li>
                                    <li>Paraphrasing complex ideas</li>
                                    <li>Generating paper outlines</li>
                                    <li>Suggesting appropriate terminology</li>
                                </ul>
                                
                                <p class="mt-4">Try asking our AI to improve this section or suggest additional applications!</p>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Chat Panel -->
                    <div class="w-full md:w-96">
                        <div class="border-b p-3 bg-gray-50">
                            <h3 class="font-medium">Research Assistant</h3>
                        </div>
                        <div class="h-72 overflow-y-auto p-4 space-y-4" id="demo-chat-messages">
                            <!-- AI Message -->
                            <div class="flex items-start space-x-2">
                                <div class="bg-purple-100 text-purple-800 p-2 rounded-full">
                                    <i class="fas fa-robot"></i>
                                </div>
                                <div class="bg-gray-100 rounded-lg p-3 max-w-xs">
                                    <p>Hi! I'm your ResearchGPT demo assistant. Try asking me to improve a section, suggest citations, or help with methodology!</p>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Input Area -->
                        <div class="border-t p-3">
                            <div class="flex items-center space-x-2">
                                <div class="flex-1 relative">
                                    <input 
                                        type="text" 
                                        id="demo-message-input" 
                                        placeholder="Try: Improve the writing in section 2..." 
                                        class="w-full p-3 pr-10 border rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-300"
                                    >
                                </div>
                                <button 
                                    id="demo-send-button"
                                    class="p-3 gradient-bg text-white rounded-md hover:opacity-90 transition"
                                >
                                    <i class="fas fa-paper-plane"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Testimonials -->
    <section id="testimonials" class="py-16 bg-gray-50">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">What Researchers Say</h2>
            
            <div class="grid md:grid-cols-3 gap-8">
                <!-- Testimonial 1 -->
                <div class="bg-white p-6 rounded-lg shadow-sm">
                    <div class="flex items-center mb-4">
                        <div class="text-yellow-400 text-xl mr-2">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                    </div>
                    <p class="mb-4 italic">"ResearchGPT cut my literature review time in half. For $2/month, it's the best investment I've made in my PhD."</p>
                    <div class="flex items-center">
                        <div class="bg-purple-100 text-purple-800 p-2 rounded-full mr-3">
                            <i class="fas fa-user-graduate"></i>
                        </div>
                        <div>
                            <p class="font-semibold">Sarah K.</p>
                            <p class="text-sm text-gray-600">PhD Candidate, Computer Science</p>
                        </div>
                    </div>
                </div>
                
                <!-- Testimonial 2 -->
                <div class="bg-white p-6 rounded-lg shadow-sm">
                    <div class="flex items-center mb-4">
                        <div class="text-yellow-400 text-xl mr-2">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                    </div>
                    <p class="mb-4 italic">"The citation generator alone is worth the price. I've recommended it to all my labmates."</p>
                    <div class="flex items-center">
                        <div class="bg-purple-100 text-purple-800 p-2 rounded-full mr-3">
                            <i class="fas fa-flask"></i>
                        </div>
                        <div>
                            <p class="font-semibold">Michael T.</p>
                            <p class="text-sm text-gray-600">Research Assistant, Biology</p>
                        </div>
                    </div>
                </div>
                
                <!-- Testimonial 3 -->
                <div class="bg-white p-6 rounded-lg shadow-sm">
                    <div class="flex items-center mb-4">
                        <div class="text-yellow-400 text-xl mr-2">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star-half-alt"></i>
                        </div>
                    </div>
                    <p class="mb-4 italic">"As a non-native English speaker, the language polishing feature has dramatically improved my paper acceptance rates."</p>
                    <div class="flex items-center">
                        <div class="bg-purple-100 text-purple-800 p-2 rounded-full mr-3">
                            <i class="fas fa-user-tie"></i>
                        </div>
                        <div>
                            <p class="font-semibold">Dr. Li Wei</p>
                            <p class="text-sm text-gray-600">Professor, Engineering</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="gradient-bg text-white py-16">
        <div class="container mx-auto px-4 text-center">
            <h2 class="text-3xl font-bold mb-4">Ready to Transform Your Research?</h2>
            <p class="text-xl mb-8 max-w-2xl mx-auto">Join thousands of researchers who save hours every week with our $2/month AI assistant.</p>
            <button class="px-8 py-3 bg-white text-purple-700 rounded-md font-bold hover:bg-opacity-90 transition text-lg">
                Start Your 7-Day Free Trial
            </button>
            <p class="mt-4 text-sm opacity-80">No credit card required. Cancel anytime.</p>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 text-white py-8">
        <div class="container mx-auto px-4">
            <div class="grid md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-lg font-bold mb-4">ResearchGPT AI</h3>
                    <p class="text-gray-400">The affordable AI assistant for researchers worldwide.</p>
                </div>
                <div>
                    <h4 class="font-bold mb-4">Product</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Demo</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Updates</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="font-bold mb-4">Resources</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Help Center</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Academic Discount</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">API</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="font-bold mb-4">Company</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Privacy</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Terms</a></li>
                    </ul>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
                <p>© 2023 ResearchGPT AI. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // Demo chat functionality
            const demoMessageInput = document.getElementById('demo-message-input');
            const demoSendButton = document.getElementById('demo-send-button');
            const demoChatMessages = document.getElementById('demo-chat-messages');
            
            // Function to add a new message to the demo chat
            function addDemoMessage(message, isUser = false) {
                const messageDiv = document.createElement('div');
                messageDiv.className = `flex items-start space-x-2 ${isUser ? 'justify-end' : ''}`;
                
                const avatarDiv = document.createElement('div');
                avatarDiv.className = isUser ? 
                    'bg-gray-200 text-gray-800 p-2 rounded-full' : 
                    'bg-purple-100 text-purple-800 p-2 rounded-full';
                
                const avatarIcon = document.createElement('i');
                avatarIcon.className = isUser ? 'fas fa-user' : 'fas fa-robot';
                avatarDiv.appendChild(avatarIcon);
                
                const contentDiv = document.createElement('div');
                contentDiv.className = 'bg-gray-100 rounded-lg p-3 max-w-xs';
                contentDiv.innerHTML = `<p>${message}</p>`;
                
                if (isUser) {
                    messageDiv.appendChild(contentDiv);
                    messageDiv.appendChild(avatarDiv);
                } else {
                    messageDiv.appendChild(avatarDiv);
                    messageDiv.appendChild(contentDiv);
                }
                
                demoChatMessages.appendChild(messageDiv);
                demoChatMessages.scrollTop = demoChatMessages.scrollHeight;
            }
            
            // Function to simulate AI response in demo
            function getDemoAIResponse(userMessage) {
                const responses = {
                    "improve": "Here's an improved version of section 2:\n\n'AI writing assistants provide valuable support for academic authors through several key functions: (1) enhancing grammatical accuracy and stylistic clarity, (2) rephrasing complex concepts for improved readability, (3) generating structured paper outlines, and (4) recommending discipline-specific terminology.'\n\nWould you like me to implement these changes?",
                    "citation": "For citations about AI in academic writing, I recommend:\n\n1. Smith, J. (2022). 'AI Writing Tools in Higher Education'. Journal of Educational Technology, 15(3), 45-67.\n\n2. Lee, H., & Chen, X. (2021). 'The Impact of NLP on Scholarly Communication'. AI Research, 8(2), 112-130.\n\nWould you like me to format these in a specific citation style?",
                    "methodology": "For your methodology section, consider including:\n1. Research design (quantitative/qualitative/mixed)\n2. Data collection procedures\n3. AI models/algorithms used\n4. Validation methods\n5. Ethical considerations\n\nWould you like me to generate a detailed methodology section?",
                    "abstract": "Here's a draft abstract for your paper:\n\n'This paper examines the transformative potential of artificial intelligence in academic writing. Through analysis of current applications and emerging technologies, we demonstrate how AI tools like ResearchGPT are reducing barriers to scholarly communication while maintaining academic rigor. The study identifies key benefits including time savings, improved language quality, and enhanced literature synthesis capabilities, while also addressing concerns about originality and critical thinking.'",
                    "help": "I can help with:\n1. Improving writing quality\n2. Generating citations\n3. Creating paper outlines\n4. Suggesting methodologies\n5. Summarizing literature\n\nWhat would you like help with specifically?"
                };
                
                const lowerMessage = userMessage.toLowerCase();
                let response = "I can help improve your research paper in several ways. Try asking me to:\n- 'Improve section 2'\n- 'Suggest citations'\n- 'Help with methodology'\n- 'Write an abstract'\n\nWhat would you like me to do?";
                
                for (const [key, value] of Object.entries(responses)) {
                    if (lowerMessage.includes(key)) {
                        response = value;
                        break;
                    }
                }
                
                return response;
            }
            
            // Handle demo send button click
            demoSendButton.addEventListener('click', function() {
                const message = demoMessageInput.value.trim();
                if (message) {
                    // Add user message
                    addDemoMessage(message, true);
                    demoMessageInput.value = '';
                    
                    // Simulate AI thinking
                    setTimeout(() => {
                        // Get and add AI response
                        const aiResponse = getDemoAIResponse(message);
                        addDemoMessage(aiResponse);
                    }, 800);
                }
            });
            
            // Handle Enter key press in demo
            demoMessageInput.addEventListener('keypress', function(e) {
                if (e.key === 'Enter') {
                    demoSendButton.click();
                }
            });
            
            // Smooth scrolling for anchor links
            document.querySelectorAll('a[href^="#"]').forEach(anchor => {
                anchor.addEventListener('click', function (e) {
                    e.preventDefault();
                    document.querySelector(this.getAttribute('href')).scrollIntoView({
                        behavior: 'smooth'
                    });
                });
            });
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Asif-code/portfolio-projects" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>