masoudmarandi commited on
Commit
2611ab6
·
verified ·
1 Parent(s): c0be3ee

inside each and ALL modals, all email, name, company, etc. entry boxes must be fixed, icons, etc. must be fixed - growth pricing 1,999/mo

Browse files
Files changed (3) hide show
  1. index.html +2 -3
  2. script.js +140 -67
  3. style.css +20 -0
index.html CHANGED
@@ -572,13 +572,12 @@ curl -X POST https://api.clinicalapi.com/v1/extract \
572
  </ul>
573
  <button class="modal-trigger block text-center py-2 px-4 bg-slate-100 text-slate-700 font-bold rounded hover:bg-slate-200 w-full" data-modal="get-started-starter">Get Started</button>
574
  </div>
575
-
576
  <!-- Growth -->
577
  <div class="border-2 border-primary-500 rounded-xl p-8 flex flex-col relative shadow-lg transform md:-translate-y-4">
578
  <div class="absolute top-0 right-0 bg-primary-500 text-white text-xs font-bold px-3 py-1 rounded-bl-lg rounded-tr-lg">POPULAR</div>
579
  <h3 class="font-bold text-lg text-slate-900">Growth</h3>
580
- <div class="my-4"><span class="text-3xl font-bold">$249</span> <span class="text-slate-500">/mo</span></div>
581
- <ul class="space-y-4 mb-8 text-sm text-slate-600 flex-1">
582
  <li class="flex"><i data-feather="check" class="w-4 h-4 text-primary-600 mr-2"></i> 2M chars included</li>
583
  <li class="flex"><i data-feather="check" class="w-4 h-4 text-primary-600 mr-2"></i> All Packs enabled</li>
584
  <li class="flex"><i data-feather="check" class="w-4 h-4 text-primary-600 mr-2"></i> Evidence Packs included</li>
 
572
  </ul>
573
  <button class="modal-trigger block text-center py-2 px-4 bg-slate-100 text-slate-700 font-bold rounded hover:bg-slate-200 w-full" data-modal="get-started-starter">Get Started</button>
574
  </div>
 
575
  <!-- Growth -->
576
  <div class="border-2 border-primary-500 rounded-xl p-8 flex flex-col relative shadow-lg transform md:-translate-y-4">
577
  <div class="absolute top-0 right-0 bg-primary-500 text-white text-xs font-bold px-3 py-1 rounded-bl-lg rounded-tr-lg">POPULAR</div>
578
  <h3 class="font-bold text-lg text-slate-900">Growth</h3>
579
+ <div class="my-4"><span class="text-3xl font-bold">$1,999</span> <span class="text-slate-500">/mo</span></div>
580
+ <ul class="space-y-4 mb-8 text-sm text-slate-600 flex-1">
581
  <li class="flex"><i data-feather="check" class="w-4 h-4 text-primary-600 mr-2"></i> 2M chars included</li>
582
  <li class="flex"><i data-feather="check" class="w-4 h-4 text-primary-600 mr-2"></i> All Packs enabled</li>
583
  <li class="flex"><i data-feather="check" class="w-4 h-4 text-primary-600 mr-2"></i> Evidence Packs included</li>
script.js CHANGED
@@ -29,7 +29,10 @@ document.addEventListener('DOMContentLoaded', () => {
29
  </div>
30
  <div class="space-y-2 pt-2">
31
  <label class="text-xs font-bold text-slate-500 uppercase tracking-wide">Email Address</label>
32
- <input type="email" class="w-full px-4 py-3 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm placeholder:text-slate-400" placeholder="you@company.com">
 
 
 
33
  <p class="text-xs text-slate-500">We'll send your API key instantly to this address.</p>
34
  </div>
35
  </div>
@@ -43,27 +46,36 @@ document.addEventListener('DOMContentLoaded', () => {
43
  <div class="p-4 bg-primary-50 border-l-4 border-primary-500 rounded-r-lg">
44
  <p class="text-sm font-semibold text-primary-800">See ClinicalAPI in action with a demo tailored to your specific use case and compliance requirements.</p>
45
  </div>
46
- <div class="space-y-3">
47
  <div>
48
- <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-1.5">Full Name</label>
49
- <input type="text" class="w-full px-4 py-2.5 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="Dr. Jane Smith">
 
 
 
50
  </div>
51
  <div>
52
- <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-1.5">Work Email</label>
53
- <input type="email" class="w-full px-4 py-2.5 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="jane@hospital.com">
 
 
 
54
  </div>
55
  <div>
56
- <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-1.5">Company</label>
57
- <input type="text" class="w-full px-4 py-2.5 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="Healthcare Inc.">
 
 
 
58
  </div>
59
  </div>
60
  <div class="grid grid-cols-2 gap-3 pt-2">
61
  <div class="text-center p-3 border border-slate-200 rounded-lg">
62
- <div class="text-primary-600 font-bold text-lg mb-1">30m</div>
63
  <div class="text-xs text-slate-500">Live Session</div>
64
  </div>
65
  <div class="text-center p-3 border border-slate-200 rounded-lg">
66
- <div class="text-primary-600 font-bold text-lg mb-1">24h</div>
67
  <div class="text-xs text-slate-500">Response Time</div>
68
  </div>
69
  </div>
@@ -71,7 +83,7 @@ document.addEventListener('DOMContentLoaded', () => {
71
  `,
72
  confirmText: 'Request Demo'
73
  },
74
- 'view-docs': {
75
  title: 'Explore Our Documentation',
76
  content: `
77
  <div class="space-y-4">
@@ -484,24 +496,42 @@ document.addEventListener('DOMContentLoaded', () => {
484
  title: 'Book Architecture Review',
485
  content: `
486
  <div class="space-y-4">
487
- <p>Get expert guidance on your ClinicalAPI implementation:</p>
488
- <ul class="space-y-2 text-sm">
489
- <li>✓ Architecture design review</li>
490
- <li>✓ Security and compliance assessment</li>
491
- <li>✓ Performance optimization recommendations</li>
492
- <li>✓ Integration best practices</li>
493
- <li>✓ Cost optimization strategies</li>
494
  </ul>
495
- <div class="bg-slate-50 p-4 rounded-lg space-y-3">
496
- <input type="text" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Your Name">
497
- <input type="email" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Work Email">
498
- <input type="text" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Company">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
499
  </div>
500
  </div>
501
  `,
502
  confirmText: 'Request Review'
503
  },
504
- 'read-docs-dev': {
505
  title: 'Developer Documentation',
506
  content: `
507
  <div class="space-y-4">
@@ -567,16 +597,19 @@ document.addEventListener('DOMContentLoaded', () => {
567
  title: 'Start with Free Tier',
568
  content: `
569
  <div class="space-y-4">
570
- <p>Begin exploring ClinicalAPI with our free tier:</p>
571
- <ul class="space-y-2 text-sm">
572
- <li>✓ 5,000 characters/month free</li>
573
- <li>✓ All core processing packs</li>
574
- <li>✓ Community support</li>
575
- <li>✓ No credit card required</li>
576
  </ul>
577
  <div class="bg-slate-50 p-4 rounded-lg">
578
- <label class="block text-sm font-medium mb-2">Email</label>
579
- <input type="email" class="w-full px-3 py-2 border border-slate-300 rounded-lg" placeholder="you@company.com">
 
 
 
580
  </div>
581
  </div>
582
  `,
@@ -586,15 +619,16 @@ document.addEventListener('DOMContentLoaded', () => {
586
  title: 'Upgrade to Growth Plan',
587
  content: `
588
  <div class="space-y-4">
589
- <p>Unlock powerful features with the Growth plan:</p>
590
- <ul class="space-y-2 text-sm">
591
- <li>✓ 2 million characters included</li>
592
- <li>✓ All processing packs enabled</li>
593
- <li>✓ Evidence packs included</li>
594
- <li>✓ Priority email support</li>
595
- <li>✓ Starting at $249/month</li>
596
  </ul>
597
- <div class="bg-primary-50 p-4 rounded-lg text-sm text-primary-700">
 
598
  First month free for new customers!
599
  </div>
600
  </div>
@@ -605,18 +639,36 @@ document.addEventListener('DOMContentLoaded', () => {
605
  title: 'Contact Enterprise Sales',
606
  content: `
607
  <div class="space-y-4">
608
- <p>Let's discuss your enterprise needs:</p>
609
- <ul class="space-y-2 text-sm">
610
- <li>✓ High volume processing</li>
611
- <li>✓ Dedicated BYOC runtimes</li>
612
- <li>✓ SSO & custom SLAs</li>
613
- <li>✓ Dedicated account manager</li>
614
- <li>✓ Custom integrations</li>
615
  </ul>
616
- <div class="space-y-3">
617
- <input type="text" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Full Name">
618
- <input type="email" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Work Email">
619
- <input type="text" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Company">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
620
  </div>
621
  </div>
622
  `,
@@ -626,12 +678,15 @@ document.addEventListener('DOMContentLoaded', () => {
626
  title: 'Get Your API Key Now',
627
  content: `
628
  <div class="space-y-4">
629
- <p>Start processing clinical documents in minutes:</p>
630
  <div class="bg-slate-50 p-4 rounded-lg">
631
- <label class="block text-sm font-medium mb-2">Email Address</label>
632
- <input type="email" class="w-full px-3 py-2 border border-slate-300 rounded-lg" placeholder="you@company.com">
 
 
 
633
  </div>
634
- <p class="text-sm text-slate-500">Free tier: 5,000 characters/month. No credit card required.</p>
635
  </div>
636
  `,
637
  confirmText: 'Generate API Key'
@@ -640,11 +695,29 @@ document.addEventListener('DOMContentLoaded', () => {
640
  title: 'Schedule Your Demo',
641
  content: `
642
  <div class="space-y-4">
643
- <p>See ClinicalAPI in action with your own data:</p>
644
- <div class="space-y-3">
645
- <input type="text" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Full Name">
646
- <input type="email" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Work Email">
647
- <input type="text" class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm" placeholder="Company">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
648
  </div>
649
  </div>
650
  `,
@@ -654,19 +727,19 @@ document.addEventListener('DOMContentLoaded', () => {
654
  title: 'BYOC Deployment Options',
655
  content: `
656
  <div class="space-y-4">
657
- <p>Keep PHI within your security boundary:</p>
658
- <ul class="space-y-2 text-sm">
659
- <li>✓ Deploy to your AWS VPC</li>
660
- <li>✓ Zero data egress</li>
661
- <li>✓ Full infrastructure control</li>
662
- <li>✓ Enterprise-grade security</li>
663
  </ul>
664
- <p class="text-sm text-slate-500">Contact sales for BYOC pricing and setup.</p>
665
  </div>
666
  `,
667
  confirmText: 'Contact Sales'
668
  }
669
- };
670
 
671
  // Modal Functionality
672
  const modal = document.getElementById('main-modal');
 
29
  </div>
30
  <div class="space-y-2 pt-2">
31
  <label class="text-xs font-bold text-slate-500 uppercase tracking-wide">Email Address</label>
32
+ <div class="relative">
33
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
34
+ <input type="email" class="w-full pl-10 pr-4 py-3 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm placeholder:text-slate-400" placeholder="you@company.com">
35
+ </div>
36
  <p class="text-xs text-slate-500">We'll send your API key instantly to this address.</p>
37
  </div>
38
  </div>
 
46
  <div class="p-4 bg-primary-50 border-l-4 border-primary-500 rounded-r-lg">
47
  <p class="text-sm font-semibold text-primary-800">See ClinicalAPI in action with a demo tailored to your specific use case and compliance requirements.</p>
48
  </div>
49
+ <div class="space-y-4">
50
  <div>
51
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Full Name</label>
52
+ <div class="relative">
53
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
54
+ <input type="text" class="w-full pl-10 pr-4 py-2.5 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="Dr. Jane Smith">
55
+ </div>
56
  </div>
57
  <div>
58
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Work Email</label>
59
+ <div class="relative">
60
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
61
+ <input type="email" class="w-full pl-10 pr-4 py-2.5 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="jane@hospital.com">
62
+ </div>
63
  </div>
64
  <div>
65
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Company</label>
66
+ <div class="relative">
67
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg>
68
+ <input type="text" class="w-full pl-10 pr-4 py-2.5 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="Healthcare Inc.">
69
+ </div>
70
  </div>
71
  </div>
72
  <div class="grid grid-cols-2 gap-3 pt-2">
73
  <div class="text-center p-3 border border-slate-200 rounded-lg">
74
+ <div class="text-primary-600 font-bold text-lg mb-1 flex items-center justify-center gap-1"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>30m</div>
75
  <div class="text-xs text-slate-500">Live Session</div>
76
  </div>
77
  <div class="text-center p-3 border border-slate-200 rounded-lg">
78
+ <div class="text-primary-600 font-bold text-lg mb-1 flex items-center justify-center gap-1"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>24h</div>
79
  <div class="text-xs text-slate-500">Response Time</div>
80
  </div>
81
  </div>
 
83
  `,
84
  confirmText: 'Request Demo'
85
  },
86
+ 'view-docs': {
87
  title: 'Explore Our Documentation',
88
  content: `
89
  <div class="space-y-4">
 
496
  title: 'Book Architecture Review',
497
  content: `
498
  <div class="space-y-4">
499
+ <p class="text-slate-600">Get expert guidance on your ClinicalAPI implementation:</p>
500
+ <ul class="space-y-2 text-sm text-slate-700">
501
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Architecture design review</li>
502
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Security and compliance assessment</li>
503
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Performance optimization recommendations</li>
504
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Integration best practices</li>
505
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Cost optimization strategies</li>
506
  </ul>
507
+ <div class="bg-slate-50 p-4 rounded-lg space-y-4">
508
+ <div>
509
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Your Name</label>
510
+ <div class="relative">
511
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
512
+ <input type="text" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="John Doe">
513
+ </div>
514
+ </div>
515
+ <div>
516
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Work Email</label>
517
+ <div class="relative">
518
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
519
+ <input type="email" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="you@company.com">
520
+ </div>
521
+ </div>
522
+ <div>
523
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Company</label>
524
+ <div class="relative">
525
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg>
526
+ <input type="text" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="Company Name">
527
+ </div>
528
+ </div>
529
  </div>
530
  </div>
531
  `,
532
  confirmText: 'Request Review'
533
  },
534
+ 'read-docs-dev': {
535
  title: 'Developer Documentation',
536
  content: `
537
  <div class="space-y-4">
 
597
  title: 'Start with Free Tier',
598
  content: `
599
  <div class="space-y-4">
600
+ <p class="text-slate-600">Begin exploring ClinicalAPI with our free tier:</p>
601
+ <ul class="space-y-2 text-sm text-slate-700">
602
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>5,000 characters/month free</li>
603
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>All core processing packs</li>
604
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Community support</li>
605
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>No credit card required</li>
606
  </ul>
607
  <div class="bg-slate-50 p-4 rounded-lg">
608
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Email Address</label>
609
+ <div class="relative">
610
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
611
+ <input type="email" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="you@company.com">
612
+ </div>
613
  </div>
614
  </div>
615
  `,
 
619
  title: 'Upgrade to Growth Plan',
620
  content: `
621
  <div class="space-y-4">
622
+ <p class="text-slate-600">Unlock powerful features with the Growth plan:</p>
623
+ <ul class="space-y-2 text-sm text-slate-700">
624
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>2 million characters included</li>
625
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>All processing packs enabled</li>
626
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Evidence packs included</li>
627
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Priority email support</li>
628
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Starting at $1,999/month</li>
629
  </ul>
630
+ <div class="bg-primary-50 border border-primary-200 p-4 rounded-lg text-sm text-primary-700 flex items-center gap-2">
631
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="flex-shrink-0"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>
632
  First month free for new customers!
633
  </div>
634
  </div>
 
639
  title: 'Contact Enterprise Sales',
640
  content: `
641
  <div class="space-y-4">
642
+ <p class="text-slate-600">Let's discuss your enterprise needs:</p>
643
+ <ul class="space-y-2 text-sm text-slate-700">
644
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>High volume processing</li>
645
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Dedicated BYOC runtimes</li>
646
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>SSO & custom SLAs</li>
647
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Dedicated account manager</li>
648
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Custom integrations</li>
649
  </ul>
650
+ <div class="space-y-4">
651
+ <div>
652
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Full Name</label>
653
+ <div class="relative">
654
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
655
+ <input type="text" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="John Doe">
656
+ </div>
657
+ </div>
658
+ <div>
659
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Work Email</label>
660
+ <div class="relative">
661
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
662
+ <input type="email" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="you@company.com">
663
+ </div>
664
+ </div>
665
+ <div>
666
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Company</label>
667
+ <div class="relative">
668
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg>
669
+ <input type="text" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="Company Name">
670
+ </div>
671
+ </div>
672
  </div>
673
  </div>
674
  `,
 
678
  title: 'Get Your API Key Now',
679
  content: `
680
  <div class="space-y-4">
681
+ <p class="text-slate-600">Start processing clinical documents in minutes:</p>
682
  <div class="bg-slate-50 p-4 rounded-lg">
683
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Email Address</label>
684
+ <div class="relative">
685
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
686
+ <input type="email" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="you@company.com">
687
+ </div>
688
  </div>
689
+ <p class="text-sm text-slate-500 flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-primary-500"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>Free tier: 5,000 characters/month. No credit card required.</p>
690
  </div>
691
  `,
692
  confirmText: 'Generate API Key'
 
695
  title: 'Schedule Your Demo',
696
  content: `
697
  <div class="space-y-4">
698
+ <p class="text-slate-600">See ClinicalAPI in action with your own data:</p>
699
+ <div class="space-y-4">
700
+ <div>
701
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Full Name</label>
702
+ <div class="relative">
703
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
704
+ <input type="text" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="John Doe">
705
+ </div>
706
+ </div>
707
+ <div>
708
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Work Email</label>
709
+ <div class="relative">
710
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
711
+ <input type="email" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="you@company.com">
712
+ </div>
713
+ </div>
714
+ <div>
715
+ <label class="block text-xs font-bold text-slate-500 uppercase tracking-wide mb-2">Company</label>
716
+ <div class="relative">
717
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-slate-400 pointer-events-none"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg>
718
+ <input type="text" class="w-full pl-10 pr-4 py-2 bg-white border border-slate-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-shadow outline-none text-sm" placeholder="Company Name">
719
+ </div>
720
+ </div>
721
  </div>
722
  </div>
723
  `,
 
727
  title: 'BYOC Deployment Options',
728
  content: `
729
  <div class="space-y-4">
730
+ <p class="text-slate-600">Keep PHI within your security boundary:</p>
731
+ <ul class="space-y-2 text-sm text-slate-700">
732
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Deploy to your AWS VPC</li>
733
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Zero data egress</li>
734
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Full infrastructure control</li>
735
+ <li class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-green-500"><polyline points="20 6 9 17 4 12"></polyline></svg>Enterprise-grade security</li>
736
  </ul>
737
+ <p class="text-sm text-slate-500 flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-primary-500"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>Contact sales for BYOC pricing and setup.</p>
738
  </div>
739
  `,
740
  confirmText: 'Contact Sales'
741
  }
742
+ };
743
 
744
  // Modal Functionality
745
  const modal = document.getElementById('main-modal');
style.css CHANGED
@@ -5,6 +5,26 @@ body {
5
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
6
  }
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  /* Smooth scrolling for anchor links */
9
  html {
10
  scroll-behavior: smooth;
 
5
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
6
  }
7
 
8
+ /* Modal Input Styles with Icons */
9
+ .modal-body input[type="text"],
10
+ .modal-body input[type="email"] {
11
+ transition: all 0.2s ease;
12
+ }
13
+
14
+ .modal-body input[type="text"]:focus,
15
+ .modal-body input[type="email"]:focus {
16
+ box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
17
+ }
18
+
19
+ .modal-body input[type="text"]:hover,
20
+ .modal-body input[type="email"]:hover {
21
+ border-color: #94a3b8;
22
+ }
23
+
24
+ /* Checkbox icons styling */
25
+ input[type="checkbox"]:checked {
26
+ background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
27
+ }
28
  /* Smooth scrolling for anchor links */
29
  html {
30
  scroll-behavior: smooth;