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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Script2Video AI | Transform Scripts into Engaging Videos</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, #a777e3);
        }
        .script-editor {
            min-height: 300px;
            border: 2px dashed #a777e3;
            transition: all 0.3s ease;
        }
        .script-editor:focus {
            border: 2px solid #6e8efb;
            box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
        }
        .video-preview {
            aspect-ratio: 9/16;
            background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
        }
        .animate-pulse-slow {
            animation: pulse 3s infinite;
        }
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }
        .tab-active {
            border-bottom: 3px solid #6e8efb;
            color: #6e8efb;
            font-weight: 600;
        }
    </style>
</head>
<body class="font-sans bg-gray-50">
    <!-- Navigation -->
    <nav class="bg-white shadow-sm">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class="flex items-center">
                    <div class="flex-shrink-0 flex items-center">
                        <i class="fas fa-video text-purple-600 text-2xl mr-2"></i>
                        <span class="text-xl font-bold text-gray-900">Script2Video AI</span>
                    </div>
                </div>
                <div class="hidden sm:ml-6 sm:flex sm:items-center mobile-menu">
                    <a href="#features" class="px-3 py-2 text-sm font-medium text-gray-700 hover:text-purple-600">Features</a>
                    <a href="#pricing" class="px-3 py-2 text-sm font-medium text-gray-700 hover:text-purple-600">Pricing</a>
                    <a href="#how-it-works" class="px-3 py-2 text-sm font-medium text-gray-700 hover:text-purple-600">How It Works</a>
                    <button class="ml-4 px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
                        Sign Up Free
                    </button>
                </div>
                <div class="-mr-2 flex items-center sm:hidden">
                    <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-purple-500">
                        <span class="sr-only">Open main menu</span>
                        <i class="fas fa-bars"></i>
                    </button>
                </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 text-center">
            <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">
                Transform Your Scripts Into Engaging Videos
            </h1>
            <p class="mt-6 max-w-3xl mx-auto text-xl">
                AI-powered video creation platform that turns your scripts into professional animated videos with voiceovers, perfect for TikTok, Facebook, and YouTube.
            </p>
            <div class="mt-10 flex justify-center">
                <div class="rounded-md shadow">
                    <a href="#generator" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-purple-600 bg-white hover:bg-gray-50 md:py-4 md:text-lg md:px-10">
                        Try It Now - Free
                    </a>
                </div>
                <div class="ml-3 rounded-md shadow">
                    <a href="#demo" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-purple-800 bg-opacity-60 hover:bg-opacity-70 md:py-4 md:text-lg md:px-10">
                        Watch Demo
                    </a>
                </div>
            </div>
        </div>
    </div>

    <!-- Features Section -->
    <div id="features" class="py-12 bg-white">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="lg:text-center">
                <h2 class="text-base text-purple-600 font-semibold tracking-wide uppercase">Features</h2>
                <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
                    Everything you need to create viral videos
                </p>
            </div>

            <div class="mt-10">
                <div class="grid grid-cols-1 gap-6 sm:gap-8 md:grid-cols-2 lg:grid-cols-3">
                    <div class="bg-gray-50 p-6 rounded-lg">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
                                <i class="fas fa-robot text-white text-xl"></i>
                            </div>
                            <div class="ml-5">
                                <h3 class="text-lg font-medium text-gray-900">AI-Powered Animation</h3>
                            </div>
                        </div>
                        <div class="mt-4">
                            <p class="text-base text-gray-500">
                                Our advanced AI generates 2D/3D animated characters with lip-sync and natural movements based on your script.
                            </p>
                        </div>
                    </div>

                    <div class="bg-gray-50 p-6 rounded-lg">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
                                <i class="fas fa-microphone-alt text-white text-xl"></i>
                            </div>
                            <div class="ml-5">
                                <h3 class="text-lg font-medium text-gray-900">Realistic Voiceovers</h3>
                            </div>
                        </div>
                        <div class="mt-4">
                            <p class="text-base text-gray-500">
                                Choose from 50+ natural-sounding voices in multiple languages with perfect lip-sync to your characters.
                            </p>
                        </div>
                    </div>

                    <div class="bg-gray-50 p-6 rounded-lg">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
                                <i class="fas fa-film text-white text-xl"></i>
                            </div>
                            <div class="ml-5">
                                <h3 class="text-lg font-medium text-gray-900">Long Video Support</h3>
                            </div>
                        </div>
                        <div class="mt-4">
                            <p class="text-base text-gray-500">
                                Create videos from 30 seconds to 30+ minutes by intelligently breaking scripts into scenes and stitching them together.
                            </p>
                        </div>
                    </div>

                    <div class="bg-gray-50 p-6 rounded-lg">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
                                <i class="fas fa-mobile-alt text-white text-xl"></i>
                            </div>
                            <div class="ml-5">
                                <h3 class="text-lg font-medium text-gray-900">Platform Optimization</h3>
                            </div>
                        </div>
                        <div class="mt-4">
                            <p class="text-base text-gray-500">
                                Export videos in perfect formats for TikTok (9:16), YouTube/Facebook (16:9), and Instagram (1:1).
                            </p>
                        </div>
                    </div>

                    <div class="bg-gray-50 p-6 rounded-lg">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
                                <i class="fas fa-palette text-white text-xl"></i>
                            </div>
                            <div class="ml-5">
                                <h3 class="text-lg font-medium text-gray-900">Multiple Styles</h3>
                            </div>
                        </div>
                        <div class="mt-4">
                            <p class="text-base text-gray-500">
                                Choose from 2D Cartoon, 3D Simple, or Minimal Motion Graphics styles to match your brand.
                            </p>
                        </div>
                    </div>

                    <div class="bg-gray-50 p-6 rounded-lg">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
                                <i class="fas fa-cloud text-white text-xl"></i>
                            </div>
                            <div class="ml-5">
                                <h3 class="text-lg font-medium text-gray-900">Cloud Storage</h3>
                            </div>
                        </div>
                        <div class="mt-4">
                            <p class="text-base text-gray-500">
                                All your generated videos are stored securely in the cloud with easy access from any device.
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- How It Works Section -->
    <div id="how-it-works" class="py-12 bg-gray-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="lg:text-center">
                <h2 class="text-base text-purple-600 font-semibold tracking-wide uppercase">Process</h2>
                <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
                    From script to video in 5 simple steps
                </p>
            </div>

            <div class="mt-10">
                <div class="relative">
                    <div class="absolute left-1/2 -ml-1 h-full w-0.5 bg-purple-200"></div>
                    
                    <div class="relative mb-12">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg">
                                1
                            </div>
                            <div class="ml-6">
                                <h3 class="text-lg font-medium text-gray-900">Paste Your Script</h3>
                                <p class="mt-2 text-base text-gray-500">
                                    Simply paste or type your script into our editor. You can format it with basic markdown for emphasis.
                                </p>
                            </div>
                        </div>
                    </div>
                    
                    <div class="relative mb-12">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg">
                                2
                            </div>
                            <div class="ml-6">
                                <h3 class="text-lg font-medium text-gray-900">Choose Style & Voice</h3>
                                <p class="mt-2 text-base text-gray-500">
                                    Select from our animation styles (2D, 3D, Motion Graphics) and pick a voice that matches your content.
                                </p>
                            </div>
                        </div>
                    </div>
                    
                    <div class="relative mb-12">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg">
                                3
                            </div>
                            <div class="ml-6">
                                <h3 class="text-lg font-medium text-gray-900">AI Scene Breakdown</h3>
                                <p class="mt-2 text-base text-gray-500">
                                    Our AI analyzes your script and breaks it into logical scenes with appropriate backgrounds and characters.
                                </p>
                            </div>
                        </div>
                    </div>
                    
                    <div class="relative mb-12">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg">
                                4
                            </div>
                            <div class="ml-6">
                                <h3 class="text-lg font-medium text-gray-900">Video Generation</h3>
                                <p class="mt-2 text-base text-gray-500">
                                    The system generates voiceovers, animates characters, syncs lip movements, and composes the final video.
                                </p>
                            </div>
                        </div>
                    </div>
                    
                    <div class="relative">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg">
                                5
                            </div>
                            <div class="ml-6">
                                <h3 class="text-lg font-medium text-gray-900">Download & Share</h3>
                                <p class="mt-2 text-base text-gray-500">
                                    Download your video in multiple formats or share directly to social platforms with optimized settings.
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Video Generator Section -->
    <div id="generator" class="py-12 bg-white">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center">
                <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
                    Create Your Video Now
                </h2>
                <p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
                    Paste your script below and watch it come to life with AI animation.
                </p>
            </div>

            <div class="mt-10 bg-gray-50 rounded-xl shadow-lg overflow-hidden">
                <div class="flex border-b border-gray-200">
                    <button class="px-6 py-4 text-sm font-medium tab-active">
                        <i class="fas fa-edit mr-2"></i> Script Editor
                    </button>
                    <button class="px-6 py-4 text-sm font-medium text-gray-500 hover:text-purple-600">
                        <i class="fas fa-cog mr-2"></i> Settings
                    </button>
                    <button class="px-6 py-4 text-sm font-medium text-gray-500 hover:text-purple-600">
                        <i class="fas fa-images mr-2"></i> Media Library
                    </button>
                </div>

                <div class="grid grid-cols-1 md:grid-cols-2 gap-6 p-4 sm:p-6">
                    <!-- Script Editor Column -->
                    <div>
                        <div class="mb-4">
                            <label for="video-title" class="block text-sm font-medium text-gray-700">Video Title</label>
                            <input type="text" id="video-title" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border">
                        </div>

                        <div class="mb-4">
                            <label class="block text-sm font-medium text-gray-700">Script Content</label>
                            <div class="mt-1">
                                <textarea id="script-content" class="script-editor block w-full rounded-md p-4" placeholder="Paste your script here... Our AI will analyze it and create a video with animated characters, voiceover, and scenes.

Example:
---
[Scene: A sunny park with trees and a bench]
[Narrator]: Welcome to our tutorial on creating amazing videos with AI!
[Character: Young woman sitting on bench, smiling]
[Character speaks]: With Script2Video AI, you can turn any script into a professional animated video in minutes.
---"></textarea>
                            </div>
                        </div>

                        <div class="grid grid-cols-2 gap-4 mb-4">
                            <div>
                                <label for="animation-style" class="block text-sm font-medium text-gray-700">Animation Style</label>
                                <select id="animation-style" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border">
                                    <option>2D Cartoon</option>
                                    <option>3D Simple</option>
                                    <option>Minimal Motion Graphics</option>
                                </select>
                            </div>
                            <div>
                                <label for="voice-style" class="block text-sm font-medium text-gray-700">Voice Style</label>
                                <select id="voice-style" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border">
                                    <option>Male - Friendly</option>
                                    <option>Female - Professional</option>
                                    <option>Male - Energetic</option>
                                    <option>Female - Calm</option>
                                </select>
                            </div>
                        </div>

                        <div class="flex justify-between">
                            <button class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
                                <i class="fas fa-save mr-2"></i> Save Draft
                            </button>
                            <button id="generate-btn" class="px-6 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
                                <i class="fas fa-magic mr-2"></i> Generate Video
                            </button>
                        </div>
                    </div>

                    <!-- Video Preview Column -->
                    <div>
                        <div class="mb-4">
                            <label class="block text-sm font-medium text-gray-700">Video Preview</label>
                            <div class="mt-1 video-preview rounded-lg flex items-center justify-center relative overflow-hidden">
                                <div id="preview-placeholder" class="text-center p-6">
                                    <i class="fas fa-video text-gray-400 text-5xl mb-4"></i>
                                    <h3 class="text-lg font-medium text-gray-900">Your video will appear here</h3>
                                    <p class="mt-1 text-sm text-gray-500">After generation, you can preview and edit the video before downloading.</p>
                                </div>
                                <div id="generating-indicator" class="hidden absolute inset-0 bg-black bg-opacity-70 flex items-center justify-center flex-col text-white">
                                    <div class="animate-spin rounded-full h-12 w-12 border-b-2 border-white mb-4"></div>
                                    <p class="text-lg font-medium">Generating your video...</p>
                                    <p class="text-sm mt-1">This may take a few minutes depending on length</p>
                                </div>
                                <video id="video-result" class="hidden w-full h-full object-cover" controls></video>
                            </div>
                        </div>

                        <div class="grid grid-cols-2 gap-4 mb-4">
                            <div>
                                <label for="aspect-ratio" class="block text-sm font-medium text-gray-700">Aspect Ratio</label>
                                <select id="aspect-ratio" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border">
                                    <option value="9:16">TikTok/Reels (9:16)</option>
                                    <option value="16:9">YouTube/Facebook (16:9)</option>
                                    <option value="1:1">Instagram (1:1)</option>
                                </select>
                            </div>
                            <div>
                                <label for="video-quality" class="block text-sm font-medium text-gray-700">Quality</label>
                                <select id="video-quality" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border">
                                    <option>720p (Free)</option>
                                    <option>1080p (Pro)</option>
                                    <option>4K (Enterprise)</option>
                                </select>
                            </div>
                        </div>

                        <div class="flex justify-between">
                            <button id="download-btn" class="hidden px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-green-600 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500">
                                <i class="fas fa-download mr-2"></i> Download MP4
                            </button>
                            <div class="flex space-x-2">
                                <button id="tiktok-btn" class="hidden px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
                                    <i class="fab fa-tiktok mr-2"></i> TikTok
                                </button>
                                <button id="facebook-btn" class="hidden px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
                                    <i class="fab fa-facebook mr-2"></i> Facebook
                                </button>
                                <button id="youtube-btn" class="hidden px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
                                    <i class="fab fa-youtube mr-2"></i> YouTube
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Pricing Section -->
    <div id="pricing" class="py-12 bg-gray-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="sm:flex sm:flex-col sm:align-center">
                <h2 class="text-3xl font-extrabold text-gray-900 text-center">Simple, transparent pricing</h2>
                <p class="mt-5 text-xl text-gray-500 text-center">Start for free, upgrade when you need more.</p>
                
                <div class="relative mt-6 bg-white rounded-lg shadow-lg overflow-hidden">
                    <div class="grid grid-cols-1 md:grid-cols-3">
                        <div class="border-b md:border-b-0 md:border-r border-gray-200">
                            <div class="p-6">
                                <h3 class="text-lg font-medium leading-6 text-gray-900">Free</h3>
                                <p class="mt-4">
                                    <span class="text-4xl font-extrabold text-gray-900">$0</span>
                                    <span class="text-base font-medium text-gray-500">/month</span>
                                </p>
                                <p class="mt-4 text-sm text-gray-500">
                                    Perfect for trying out the platform
                                </p>
                                <div class="mt-6">
                                    <ul class="space-y-4">
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">Up to 2 minute videos</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">720p resolution</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">Basic animation styles</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">5 voice options</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-times-circle text-gray-300"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500 line-through">Watermark-free</p>
                                        </li>
                                    </ul>
                                </div>
                                <div class="mt-8">
                                    <button class="w-full px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-gray-400 hover:bg-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500">
                                        Current plan
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <div class="border-b md:border-b-0 md:border-r border-gray-200">
                            <div class="p-6">
                                <div class="flex justify-between">
                                    <h3 class="text-lg font-medium leading-6 text-gray-900">Pro</h3>
                                    <span class="inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-purple-100 text-purple-800">
                                        Most Popular
                                    </span>
                                </div>
                                <p class="mt-4">
                                    <span class="text-4xl font-extrabold text-gray-900">$29</span>
                                    <span class="text-base font-medium text-gray-500">/month</span>
                                </p>
                                <p class="mt-4 text-sm text-gray-500">
                                    For content creators and small businesses
                                </p>
                                <div class="mt-6">
                                    <ul class="space-y-4">
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">Up to 10 minute videos</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">1080p resolution</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">All animation styles</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">20+ voice options</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">No watermark</p>
                                        </li>
                                    </ul>
                                </div>
                                <div class="mt-8">
                                    <button class="w-full px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
                                        Upgrade to Pro
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <div>
                            <div class="p-6">
                                <h3 class="text-lg font-medium leading-6 text-gray-900">Enterprise</h3>
                                <p class="mt-4">
                                    <span class="text-4xl font-extrabold text-gray-900">$99</span>
                                    <span class="text-base font-medium text-gray-500">/month</span>
                                </p>
                                <p class="mt-4 text-sm text-gray-500">
                                    For agencies and high-volume creators
                                </p>
                                <div class="mt-6">
                                    <ul class="space-y-4">
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">Unlimited video length</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">4K resolution</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">Priority generation</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">All voice options</p>
                                        </li>
                                        <li class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500"></i>
                                            </div>
                                            <p class="ml-3 text-base text-gray-500">Custom branding</p>
                                        </li>
                                    </ul>
                                </div>
                                <div class="mt-8">
                                    <button class="w-full px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-gray-800 hover:bg-gray-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500">
                                        Contact Sales
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Testimonials -->
    <div class="py-12 bg-white">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="lg:text-center">
                <h2 class="text-base text-purple-600 font-semibold tracking-wide uppercase">Testimonials</h2>
                <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
                    Loved by content creators worldwide
                </p>
            </div>

            <div class="mt-10 grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3">
                <div class="bg-gray-50 p-6 rounded-lg">
                    <div class="flex items-center">
                        <div class="flex-shrink-0">
                            <img class="h-12 w-12 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
                        </div>
                        <div class="ml-4">
                            <div class="text-lg font-medium text-gray-900">Sarah Johnson</div>
                            <div class="text-purple-600">@sarahcreates</div>
                        </div>
                    </div>
                    <div class="mt-4">
                        <p class="text-base text-gray-500">
                            "Script2Video AI has completely transformed my content creation process. I can now produce 3-4 high-quality animated videos per day instead of just 1 per week!"
                        </p>
                    </div>
                    <div class="mt-4 flex">
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                    </div>
                </div>

                <div class="bg-gray-50 p-6 rounded-lg">
                    <div class="flex items-center">
                        <div class="flex-shrink-0">
                            <img class="h-12 w-12 rounded-full" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
                        </div>
                        <div class="ml-4">
                            <div class="text-lg font-medium text-gray-900">Michael Chen</div>
                            <div class="text-purple-600">@michaelchenedu</div>
                        </div>
                    </div>
                    <div class="mt-4">
                        <p class="text-base text-gray-500">
                            "As an educator, I need to create engaging content quickly. The AI voice sync and animation quality are so good that my students think I have a professional production team!"
                        </p>
                    </div>
                    <div class="mt-4 flex">
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                    </div>
                </div>

                <div class="bg-gray-50 p-6 rounded-lg">
                    <div class="flex items-center">
                        <div class="flex-shrink-0">
                            <img class="h-12 w-12 rounded-full" src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
                        </div>
                        <div class="ml-4">
                            <div class="text-lg font-medium text-gray-900">David Rodriguez</div>
                            <div class="text-purple-600">@davidmarketing</div>
                        </div>
                    </div>
                    <div class="mt-4">
                        <p class="text-base text-gray-500">
                            "Our marketing agency has saved thousands on video production costs. The ability to create long-form videos with consistent quality across scenes is a game-changer."
                        </p>
                    </div>
                    <div class="mt-4 flex">
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                        <i class="fas fa-star text-yellow-400"></i>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- CTA Section -->
    <div class="gradient-bg">
        <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8 lg:py-24">
            <div class="text-center">
                <h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">
                    Ready to transform your scripts into videos?
                </h2>
                <p class="mt-3 max-w-3xl mx-auto text-xl text-purple-100">
                    Join thousands of creators who are saving time and money with AI-powered video creation.
                </p>
                <div class="mt-8 flex justify-center">
                    <div class="inline-flex rounded-md shadow">
                        <a href="#generator" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-purple-600 bg-white hover:bg-gray-50">
                            Start Creating - It's Free
                        </a>
                    </div>
                    <div class="ml-3 inline-flex">
                        <a href="#demo" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-purple-800 bg-opacity-60 hover:bg-opacity-70">
                            <i class="fas fa-play-circle mr-2"></i> Watch Demo
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-800">
        <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-400 tracking-wider uppercase">Product</h3>
                    <ul class="mt-4 space-y-4">
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Features</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Pricing</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Templates</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Integrations</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Resources</h3>
                    <ul class="mt-4 space-y-4">
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Documentation</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Tutorials</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Blog</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Community</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Company</h3>
                    <ul class="mt-4 space-y-4">
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">About</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Careers</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Press</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Contact</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Legal</h3>
                    <ul class="mt-4 space-y-4">
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Privacy</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Terms</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">Cookie Policy</a></li>
                        <li><a href="#" class="text-base text-gray-300 hover:text-white">GDPR</a></li>
                    </ul>
                </div>
            </div>
            <div class="mt-8 border-t border-gray-700 pt-8 md:flex md:items-center md:justify-between">
                <div class="flex space-x-6 md:order-2">
                    <a href="#" class="text-gray-400 hover:text-gray-300">
                        <span class="sr-only">Facebook</span>
                        <i class="fab fa-facebook-f"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-gray-300">
                        <span class="sr-only">Instagram</span>
                        <i class="fab fa-instagram"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-gray-300">
                        <span class="sr-only">Twitter</span>
                        <i class="fab fa-twitter"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-gray-300">
                        <span class="sr-only">YouTube</span>
                        <i class="fab fa-youtube"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-gray-300">
                        <span class="sr-only">TikTok</span>
                        <i class="fab fa-tiktok"></i>
                    </a>
                </div>
                <p class="mt-8 text-base text-gray-400 md:mt-0 md:order-1">
                    &copy; 2023 Script2Video AI. All rights reserved.
                </p>
            </div>
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
    <script>
        // Configuration
        const API_BASE_URL = 'https://api.openai.com/v1';
        const API_KEY = 'YOUR_OPENAI_API_KEY'; // Replace with your actual API key
        
        // DOM Elements
        const generateBtn = document.getElementById('generate-btn');
        const scriptContent = document.getElementById('script-content');
        const previewPlaceholder = document.getElementById('preview-placeholder');
        const generatingIndicator = document.getElementById('generating-indicator');
        const videoResult = document.getElementById('video-result');
        const downloadBtn = document.getElementById('download-btn');
        
        // Generate video function
        async function generateVideo() {
            const content = scriptContent.value.trim();
            
            if (!content) {
                alert('Please enter a script to generate a video');
                return;
            }
            
            // Show loading state
            previewPlaceholder.classList.add('hidden');
            generatingIndicator.classList.remove('hidden');
            generateBtn.disabled = true;
            generateBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Generating...';
            
            try {
                // Step 1: Generate images from script using DALL·E
                const imagePrompts = await breakScriptIntoScenes(content);
                const imageUrls = await generateImages(imagePrompts);
                
                // Step 2: Generate voiceover using text-to-speech
                const audioUrl = await generateVoiceover(content);
                
                // Step 3: Combine images and audio into video (simplified for demo)
                // In a real app, you'd use a backend service like FFmpeg
                const videoUrl = await combineMedia(imageUrls, audioUrl);
                
                // Display result
                generatingIndicator.classList.add('hidden');
                videoResult.classList.remove('hidden');
                videoResult.src = videoUrl;
                videoResult.load();
                
                // Enable download
                downloadBtn.classList.remove('hidden');
                downloadBtn.onclick = () => downloadVideo(videoUrl);
                
            } catch (error) {
                console.error('Error generating video:', error);
                alert('Error generating video. Please try again.');
            } finally {
                generateBtn.disabled = false;
                generateBtn.innerHTML = '<i class="fas fa-magic mr-2"></i> Generate Video';
            }
        }
        
        // Helper functions
        async function breakScriptIntoScenes(script) {
            // This would use GPT to break script into scenes with prompts
            // Simplified for demo - just return the whole script as one scene
            return [script];
        }
        
        async function generateImages(prompts) {
            const config = {
                headers: {
                    'Authorization': `Bearer ${API_KEY}`,
                    'Content-Type': 'application/json'
                }
            };
            
            const responses = [];
            
            for (const prompt of prompts) {
                const data = {
                    prompt: `Create an illustration for: ${prompt}`,
                    n: 1,
                    size: "1024x1024"
                };
                
                const response = await axios.post(`${API_BASE_URL}/images/generations`, data, config);
                responses.push(response.data.data[0].url);
            }
            
            return responses;
        }
        
        async function generateVoiceover(text) {
            // This would use text-to-speech API
            // For demo, we'll use a placeholder
            return "https://example.com/voiceover.mp3";
        }
        
        async function combineMedia(imageUrls, audioUrl) {
            // In a real app, this would use a backend service with FFmpeg
            // For demo, we'll return a placeholder video
            return "https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4";
        }
        
        function downloadVideo(url) {
            const a = document.createElement('a');
            a.href = url;
            a.download = 'generated-video.mp4';
            document.body.appendChild(a);
            a.click();
            document.body.removeChild(a);
        }
        
        // Event listeners
        generateBtn.addEventListener('click', generateVideo);
        
        // Mobile menu toggle (for responsive design)
        document.querySelector('.sm\\:hidden button').addEventListener('click', function() {
            const menu = document.querySelector('.sm\\:hidden + .sm\\:flex');
            menu.classList.toggle('hidden');
        });
    </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=Tamizin2121/script2text" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>