-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwaitlist.html
More file actions
804 lines (701 loc) Β· 29.8 KB
/
waitlist.html
File metadata and controls
804 lines (701 loc) Β· 29.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
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
<!--
FORM SETUP OPTIONS:
OPTION 1 - Formspree (Recommended):
1. Go to https://formspree.io and sign up with awalsh@sifterlabs.dev
2. Create a new form and get your form ID
3. Replace 'YOUR_FORM_ID' in the form action below
4. All submissions will be forwarded to awalsh@sifterlabs.dev
OPTION 2 - Netlify Forms (Zero setup if deployed to Netlify):
1. Just add netlify attribute to form tag
2. Deploy to Netlify - forms will appear in your dashboard
3. See commented form tag below for example
OPTION 3 - EmailJS or similar service
1. Setup account and get API keys
2. Use JavaScript to send emails directly
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Join the SaltSifter Waitlist - Be First to Save 95% on Plant Nutrients</title>
<meta name="description" content="Join thousands of growers waiting for SaltSifter's AI-powered nutrition optimizer. Be the first to access our revolutionary plant nutrition system.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://saltsifter.com/waitlist">
<meta property="og:title" content="Join the SaltSifter Waitlist">
<meta property="og:description" content="Be the first to access SaltSifter's AI-powered plant nutrition optimizer and save up to 95% on growing costs.">
<meta property="og:image" content="https://saltsifter.com/og-image.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://saltsifter.com/waitlist">
<meta property="twitter:title" content="Join the SaltSifter Waitlist">
<meta property="twitter:description" content="Be the first to access SaltSifter's AI-powered plant nutrition optimizer and save up to 95% on growing costs.">
<meta property="twitter:image" content="https://saltsifter.com/og-image.jpg">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<style>
/* CSS Variables for Design System */
:root {
/* Primary Colors */
--primary-500: #16A34A;
--primary-600: #15803D;
--primary-700: #166534;
--primary-800: #14532D;
/* Secondary Colors */
--secondary-400: #4ADE80;
--secondary-500: #22C55E;
--secondary-600: #16A34A;
/* Accent Colors */
--accent-400: #F59E0B;
--accent-500: #D97706;
--accent-600: #B45309;
/* Neutrals */
--neutral-50: #FAFAFA;
--neutral-100: #F5F5F5;
--neutral-200: #E5E5E5;
--neutral-300: #D4D4D4;
--neutral-400: #A3A3A3;
--neutral-500: #737373;
--neutral-600: #525252;
--neutral-700: #404040;
--neutral-800: #262626;
--neutral-900: #171717;
/* Status Colors */
--success-500: #10B981;
--warning-500: #F59E0B;
--error-500: #EF4444;
--info-500: #3B82F6;
/* Gradients */
--gradient-hero: linear-gradient(135deg, #16A34A 0%, #22C55E 50%, #4ADE80 100%);
--gradient-cta: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
/* Spacing */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-10: 2.5rem;
--space-12: 3rem;
--space-16: 4rem;
--space-20: 5rem;
--space-24: 6rem;
/* Shadows */
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
/* Transitions */
--transition-all: all 200ms ease-out;
--transition-colors: color 200ms ease-out, background-color 200ms ease-out, border-color 200ms ease-out;
--transition-transform: transform 200ms ease-out;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: var(--neutral-800);
background-color: var(--neutral-50);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 var(--space-6);
}
/* Header */
.header {
background: white;
border-bottom: 1px solid var(--neutral-200);
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(10px);
}
.header-content {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--space-4) 0;
}
.logo {
display: flex;
align-items: center;
gap: var(--space-3);
text-decoration: none;
color: var(--primary-600);
}
.logo-icon {
width: 32px;
height: 32px;
background: var(--gradient-hero);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 700;
font-size: 18px;
}
.logo-text {
font-size: 1.5rem;
font-weight: 700;
color: var(--neutral-800);
}
.back-link {
color: var(--primary-600);
text-decoration: none;
font-weight: 500;
transition: var(--transition-colors);
}
.back-link:hover {
color: var(--primary-700);
}
/* Main Content */
.main {
min-height: 100vh;
display: flex;
align-items: center;
padding: var(--space-16) 0;
}
.waitlist-container {
background: white;
border-radius: 16px;
box-shadow: var(--shadow-xl);
overflow: hidden;
max-width: 800px;
margin: 0 auto;
width: 100%;
}
.waitlist-header {
background: var(--gradient-hero);
color: white;
text-align: center;
padding: var(--space-12) var(--space-8);
}
.waitlist-title {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: var(--space-4);
line-height: 1.2;
}
.waitlist-subtitle {
font-size: 1.25rem;
opacity: 0.9;
margin-bottom: var(--space-6);
}
.waitlist-stats {
display: flex;
justify-content: center;
gap: var(--space-8);
margin-top: var(--space-6);
}
.stat {
text-align: center;
}
.stat-number {
font-size: 2rem;
font-weight: 700;
display: block;
}
.stat-label {
font-size: 0.875rem;
opacity: 0.8;
}
.waitlist-content {
padding: var(--space-8);
}
.form-group {
margin-bottom: var(--space-6);
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-4);
}
.form-label {
display: block;
font-weight: 600;
color: var(--neutral-700);
margin-bottom: var(--space-2);
}
.required {
color: var(--error-500);
}
.form-input,
.form-select,
.form-textarea {
width: 100%;
padding: var(--space-4);
border: 2px solid var(--neutral-200);
border-radius: 8px;
font-size: 1rem;
transition: var(--transition-all);
font-family: inherit;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
outline: none;
border-color: var(--primary-500);
box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}
.form-textarea {
resize: vertical;
min-height: 100px;
}
.checkbox-group {
display: flex;
align-items: center;
gap: var(--space-3);
margin-top: var(--space-4);
}
.checkbox-input {
width: 18px;
height: 18px;
accent-color: var(--primary-500);
}
.checkbox-label {
font-size: 0.875rem;
color: var(--neutral-600);
line-height: 1.4;
}
.submit-btn {
width: 100%;
background: var(--gradient-cta);
color: white;
border: none;
padding: var(--space-5) var(--space-6);
border-radius: 8px;
font-size: 1.125rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition-all);
text-transform: none;
}
.submit-btn:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.submit-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
/* Success Message */
.success-message {
display: none;
text-align: center;
padding: var(--space-8);
}
.success-message.show {
display: block;
}
.success-icon {
width: 80px;
height: 80px;
background: var(--success-500);
border-radius: 50%;
margin: 0 auto var(--space-6);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 2rem;
}
.success-title {
font-size: 1.75rem;
font-weight: 700;
color: var(--neutral-800);
margin-bottom: var(--space-4);
}
.success-text {
color: var(--neutral-600);
font-size: 1.125rem;
margin-bottom: var(--space-6);
}
.features-preview {
background: var(--neutral-50);
padding: var(--space-6);
margin: var(--space-6) 0;
border-radius: 12px;
border-left: 4px solid var(--primary-500);
}
.features-title {
font-size: 1.25rem;
font-weight: 600;
color: var(--neutral-800);
margin-bottom: var(--space-4);
}
.feature-list {
list-style: none;
padding: 0;
}
.feature-list li {
display: flex;
align-items: center;
gap: var(--space-3);
margin-bottom: var(--space-3);
color: var(--neutral-600);
}
.feature-check {
width: 20px;
height: 20px;
background: var(--success-500);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 12px;
flex-shrink: 0;
}
/* Error styles */
.error {
border-color: var(--error-500) !important;
}
.error-message {
color: var(--error-500);
font-size: 0.875rem;
margin-top: var(--space-1);
display: none;
}
.error-message.show {
display: block;
}
/* Loading state */
.loading {
position: relative;
pointer-events: none;
}
.loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 20px;
height: 20px;
margin: -10px 0 0 -10px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: white;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* Responsive */
@media (max-width: 768px) {
.container {
padding: 0 var(--space-4);
}
.waitlist-title {
font-size: 2rem;
}
.waitlist-subtitle {
font-size: 1.125rem;
}
.waitlist-header {
padding: var(--space-8) var(--space-6);
}
.waitlist-content {
padding: var(--space-6);
}
.form-row {
grid-template-columns: 1fr;
}
.waitlist-stats {
gap: var(--space-6);
}
.stat-number {
font-size: 1.5rem;
}
}
</style>
</head>
<body>
<!-- Header -->
<header class="header">
<div class="container">
<div class="header-content">
<a href="index.html" class="logo">
<div class="logo-icon">S</div>
<span class="logo-text">SaltSifter</span>
</a>
<a href="index.html" class="back-link">β Back to Home</a>
</div>
</div>
</header>
<!-- Main Content -->
<main class="main">
<div class="container">
<div class="waitlist-container">
<!-- Header Section -->
<div class="waitlist-header">
<h1 class="waitlist-title">Join the SaltSifter Waitlist</h1>
<p class="waitlist-subtitle">Be among the first to access our revolutionary AI-powered plant nutrition optimizer and save up to 95% on growing costs.</p>
<div class="waitlist-stats">
<div class="stat">
<span class="stat-number">2,847</span>
<span class="stat-label">Growers Waiting</span>
</div>
<div class="stat">
<span class="stat-number">95%</span>
<span class="stat-label">Cost Savings</span>
</div>
<div class="stat">
<span class="stat-number">Q1 2025</span>
<span class="stat-label">Launch Target</span>
</div>
</div>
</div>
<!-- Form Section -->
<div class="waitlist-content" id="waitlist-form">
<!-- FORMSUBMIT VERSION (no setup required - works immediately) -->
<form action="https://formspree.io/f/xvgqwlbz" method="POST" id="signup-form">
<!-- FormSubmit configuration fields -->
<input type="hidden" name="_next" value="waitlist.html?success=true">
<input type="hidden" name="_subject" value="New SaltSifter Waitlist Signup">
<input type="hidden" name="_captcha" value="false">
<input type="hidden" name="_template" value="table">
<!-- NETLIFY FORMS VERSION (uncomment if using Netlify) -->
<!-- <form name="waitlist" method="POST" data-netlify="true" id="signup-form"> -->
<div class="form-group">
<div class="form-row">
<div>
<label for="name" class="form-label">Full Name <span class="required">*</span></label>
<input type="text" id="name" name="name" class="form-input" required>
<div class="error-message" id="name-error">Please enter your full name</div>
</div>
<div>
<label for="email" class="form-label">Email Address <span class="required">*</span></label>
<input type="email" id="email" name="email" class="form-input" required>
<div class="error-message" id="email-error">Please enter a valid email address</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-row">
<div>
<label for="business-type" class="form-label">Business Type <span class="required">*</span></label>
<select id="business-type" name="business_type" class="form-select" required>
<option value="">Select your operation type</option>
<option value="hobby">Hobby Grower (Personal use)</option>
<option value="small-commercial">Small Commercial (< $50k revenue)</option>
<option value="commercial">Commercial Operation ($50k+ revenue)</option>
<option value="enterprise">Enterprise (Multi-facility)</option>
<option value="consultant">Growing Consultant</option>
<option value="research">Research/Educational</option>
<option value="other">Other</option>
</select>
</div>
<div>
<label for="monthly-spend" class="form-label">Monthly Nutrient Spending</label>
<select id="monthly-spend" name="monthly_spend" class="form-select">
<option value="">Select spending range</option>
<option value="0-50">$0 - $50</option>
<option value="50-200">$50 - $200</option>
<option value="200-500">$200 - $500</option>
<option value="500-1000">$500 - $1,000</option>
<option value="1000-2500">$1,000 - $2,500</option>
<option value="2500-5000">$2,500 - $5,000</option>
<option value="5000+">$5,000+</option>
</select>
</div>
</div>
</div>
<div class="form-group">
<label for="plant-types" class="form-label">Plant Types of Interest</label>
<input type="text" id="plant-types" name="plant_types" class="form-input"
placeholder="e.g., Tomatoes, Cannabis, Lettuce, Herbs, Strawberries...">
</div>
<div class="form-group">
<label for="phone" class="form-label">Phone Number (Optional)</label>
<input type="tel" id="phone" name="phone" class="form-input"
placeholder="For priority updates and early beta access">
</div>
<div class="form-group">
<label for="questions" class="form-label">Questions or Specific Needs</label>
<textarea id="questions" name="questions" class="form-textarea"
placeholder="Tell us about your current challenges, specific plant varieties, or what you're most excited about..."></textarea>
</div>
<div class="form-group">
<div class="checkbox-group">
<input type="checkbox" id="priority" name="priority_access" value="yes" class="checkbox-input">
<label for="priority" class="checkbox-label">I'm interested in priority beta access and would consider participating in early testing (higher priority for launch access)</label>
</div>
</div>
<div class="form-group">
<div class="checkbox-group">
<input type="checkbox" id="updates" name="updates" value="yes" class="checkbox-input" checked>
<label for="updates" class="checkbox-label">Send me development updates, growing tips, and launch notifications (you can unsubscribe anytime)</label>
</div>
</div>
<div class="form-group">
<button type="submit" class="submit-btn" id="submit-btn">
π± Join the Waitlist
</button>
</div>
</form>
<!-- Features Preview -->
<div class="features-preview">
<h3 class="features-title">What you'll get early access to:</h3>
<ul class="feature-list">
<li>
<span class="feature-check">β</span>
AI-powered nutrition optimization that saves 90-95% vs liquid nutrients
</li>
<li>
<span class="feature-check">β</span>
Plant health analysis through photo uploads with feeding history context
</li>
<li>
<span class="feature-check">β</span>
Personalized remediation plans for nutrient deficiencies and plant issues
</li>
<li>
<span class="feature-check">β</span>
Local supplier search for raw salts and ingredients
</li>
<li>
<span class="feature-check">β</span>
24/7 virtual plant expert with voice and text support
</li>
</ul>
</div>
</div>
<!-- Success Message -->
<div class="success-message" id="success-message">
<div class="success-icon">π</div>
<h2 class="success-title">You're on the list!</h2>
<p class="success-text">Thank you for joining our waitlist. We'll notify you as soon as SaltSifter is ready for your growing operation.</p>
<p class="success-text">Check your email for a confirmation and we'll keep you updated on our progress.</p>
<a href="index.html" class="submit-btn" style="display: inline-block; text-decoration: none; margin-top: 1rem;">
β Back to Home
</a>
</div>
</div>
</div>
</main>
<!-- Privacy Notice -->
<footer style="background: var(--neutral-100); padding: var(--space-6) 0; text-align: center; border-top: 1px solid var(--neutral-200);">
<div class="container">
<p style="color: var(--neutral-600); font-size: 0.875rem; line-height: 1.6;">
We respect your privacy. Your information will only be used to notify you about SaltSifter's launch and provide growing tips.
You can unsubscribe at any time. We will never share your data with third parties.
<br>
<strong>Questions?</strong> Email us at <a href="mailto:sifter@saltsifter.com" style="color: var(--primary-600);">sifter@saltsifter.com</a>
</p>
</div>
</footer>
<script>
// Check for success parameter in URL (from FormSubmit redirect)
const urlParams = new URLSearchParams(window.location.search);
if (urlParams.get('success') === 'true') {
document.getElementById('waitlist-form').style.display = 'none';
document.getElementById('success-message').classList.add('show');
// Track conversion (if analytics are set up)
if (typeof gtag !== 'undefined') {
gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXXXX/XXXXXXXXX',
'value': 1.0,
'currency': 'USD'
});
}
// Clean URL
window.history.replaceState({}, document.title, window.location.pathname);
}
// Form validation and submission
document.getElementById('signup-form').addEventListener('submit', function(e) {
// Reset previous errors
document.querySelectorAll('.form-input, .form-select').forEach(input => {
input.classList.remove('error');
});
document.querySelectorAll('.error-message').forEach(error => {
error.classList.remove('show');
});
// Validate required fields
let isValid = true;
const name = document.getElementById('name');
const email = document.getElementById('email');
const businessType = document.getElementById('business-type');
if (!name.value.trim()) {
name.classList.add('error');
document.getElementById('name-error').classList.add('show');
isValid = false;
}
if (!email.value.trim() || !email.value.includes('@')) {
email.classList.add('error');
document.getElementById('email-error').classList.add('show');
isValid = false;
}
if (!businessType.value) {
businessType.classList.add('error');
isValid = false;
}
if (!isValid) {
e.preventDefault();
return false;
}
// Show loading state
const submitBtn = document.getElementById('submit-btn');
submitBtn.classList.add('loading');
submitBtn.disabled = true;
submitBtn.textContent = 'Joining...';
// Set up a timeout fallback in case FormSubmit fails
setTimeout(() => {
// If still loading after 10 seconds, provide mailto fallback
if (submitBtn.classList.contains('loading')) {
const formData = new FormData(document.getElementById('signup-form'));
const emailBody = `
Name: ${formData.get('name')}
Email: ${formData.get('email')}
Business Type: ${formData.get('business_type')}
Monthly Spend: ${formData.get('monthly_spend')}
Plant Types: ${formData.get('plant_types')}
Phone: ${formData.get('phone')}
Questions: ${formData.get('questions')}
Priority Access: ${formData.get('priority_access') || 'No'}
Updates: ${formData.get('updates') || 'No'}
`.trim();
const mailtoLink = `mailto:sifter@saltsifter.com?subject=SaltSifter Waitlist Signup&body=${encodeURIComponent(emailBody)}`;
if (confirm('The form is taking longer than expected. Would you like to send your signup via email instead?')) {
window.location.href = mailtoLink;
}
// Reset button state
submitBtn.classList.remove('loading');
submitBtn.disabled = false;
submitBtn.textContent = 'π± Join the Waitlist';
}
}, 10000);
// Let the form submit naturally to FormSubmit
// FormSubmit will redirect to our success page
});
// Real-time validation
document.getElementById('email').addEventListener('blur', function() {
const email = this.value.trim();
if (email && !email.includes('@')) {
this.classList.add('error');
document.getElementById('email-error').classList.add('show');
} else {
this.classList.remove('error');
document.getElementById('email-error').classList.remove('show');
}
});
// Auto-focus first field
document.getElementById('name').focus();
</script>
</body>
</html>