-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
2088 lines (2019 loc) · 76.5 KB
/
index.html
File metadata and controls
2088 lines (2019 loc) · 76.5 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
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
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Business Conversion Simulator</title>
<script src="https://cdn.tailwindcss.com"></script>
<script
defer
src="https://umami.url4irl.com/script.js"
data-website-id="e4d3a29b-98e3-4fc3-83b1-9bcfb230b3cc"
></script>
<link
href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap"
rel="stylesheet"
/>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ["Outfit", "system-ui", "sans-serif"],
mono: ["JetBrains Mono", "monospace"],
},
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
primary: {
DEFAULT: "var(--primary)",
foreground: "var(--primary-foreground)",
},
secondary: {
DEFAULT: "var(--secondary)",
foreground: "var(--secondary-foreground)",
},
card: {
DEFAULT: "var(--card)",
foreground: "var(--card-foreground)",
},
muted: {
DEFAULT: "var(--muted)",
foreground: "var(--muted-foreground)",
},
accent: {
DEFAULT: "var(--accent)",
foreground: "var(--accent-foreground)",
},
destructive: {
DEFAULT: "var(--destructive)",
foreground: "var(--destructive-foreground)",
},
border: "var(--border)",
input: "var(--input)",
ring: "var(--ring)",
success: "var(--success)",
warning: "var(--warning)",
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
"slide-up": {
"0%": { opacity: "0", transform: "translateY(10px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
"fade-in": {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
"pulse-glow": {
"0%, 100%": { boxShadow: "0 0 20px var(--primary)" },
"50%": {
boxShadow: "0 0 40px var(--primary), 0 0 60px var(--primary)",
},
},
},
animation: {
"slide-up": "slide-up 0.4s ease-out forwards",
"fade-in": "fade-in 0.3s ease-out forwards",
"pulse-glow": "pulse-glow 2s ease-in-out infinite",
},
},
},
};
</script>
<style>
:root {
--radius: 1rem;
/* Deep Ocean Theme */
--background: #0a0f1a;
--foreground: #e8edf5;
--card: #111827;
--card-foreground: #f1f5f9;
--muted: #1e293b;
--muted-foreground: #94a3b8;
--accent: #1e3a5f;
--accent-foreground: #e0f2fe;
--primary: #0ea5e9;
--primary-foreground: #ffffff;
--secondary: #6366f1;
--secondary-foreground: #ffffff;
--destructive: #ef4444;
--destructive-foreground: #ffffff;
--success: #22c55e;
--warning: #f59e0b;
--border: #334155;
--input: #1e293b;
--ring: #0ea5e9;
}
* {
box-sizing: border-box;
}
body {
font-family: "Outfit", sans-serif;
background: var(--background);
background-image: radial-gradient(
ellipse at 20% 0%,
rgba(14, 165, 233, 0.15) 0%,
transparent 50%
),
radial-gradient(
ellipse at 80% 100%,
rgba(99, 102, 241, 0.1) 0%,
transparent 50%
),
linear-gradient(180deg, var(--background) 0%, #0f172a 100%);
min-height: 100vh;
color: var(--foreground);
}
.glass-card {
background: rgba(17, 24, 39, 0.8);
backdrop-filter: blur(12px);
border: 1px solid rgba(51, 65, 85, 0.5);
}
.input-field {
background: var(--input);
border: 1px solid var(--border);
color: var(--foreground);
transition: all 0.2s ease;
}
.input-field:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
outline: none;
}
.input-field:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.tab-btn {
position: relative;
padding: 1rem 2rem;
font-weight: 600;
color: var(--muted-foreground);
background: transparent;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.tab-btn:hover {
color: var(--foreground);
}
.tab-btn.active {
color: var(--primary);
}
.tab-btn.active::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--primary), var(--secondary));
border-radius: 3px 3px 0 0;
}
.metric-card {
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.25rem;
transition: all 0.3s ease;
}
.metric-card:hover {
border-color: var(--primary);
transform: translateY(-2px);
}
.stat-value {
font-family: "JetBrains Mono", monospace;
font-weight: 600;
}
.section-divider {
height: 1px;
background: linear-gradient(
90deg,
transparent,
var(--border),
transparent
);
margin: 1.5rem 0;
}
.gradient-text {
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.positive {
color: var(--success);
}
.negative {
color: var(--destructive);
}
.warning-text {
color: var(--warning);
}
.animate-delay-1 {
animation-delay: 0.1s;
}
.animate-delay-2 {
animation-delay: 0.2s;
}
.animate-delay-3 {
animation-delay: 0.3s;
}
.animate-delay-4 {
animation-delay: 0.4s;
}
.input-group label {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.8rem;
font-weight: 500;
color: var(--muted-foreground);
margin-bottom: 0.5rem;
}
.tooltip {
position: relative;
}
.tooltip::before {
content: attr(data-tip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
padding: 0.5rem 0.75rem;
background: var(--card);
border: 1px solid var(--border);
border-radius: 0.5rem;
font-size: 0.75rem;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s;
z-index: 10;
}
.tooltip:hover::before {
opacity: 1;
}
.collapsible-header {
cursor: pointer;
user-select: none;
}
.collapsible-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.collapsible-content.open {
max-height: 2000px;
}
select option {
background: var(--card);
color: var(--foreground);
}
</style>
</head>
<body class="p-4 md:p-8">
<div class="max-w-7xl mx-auto">
<!-- Header -->
<header
class="text-center mb-8 opacity-0 animate-fade-in"
style="animation-delay: 0s; animation-fill-mode: forwards"
>
<div class="flex items-center justify-center gap-3 mb-2">
<img
src="https://minio.url4irl.com/public-read-url4irl/url4irl-logo.png"
alt="Logo"
class="w-10 h-10"
/>
<h1 class="text-3xl md:text-4xl font-bold gradient-text">
Business Conversion Simulator
</h1>
</div>
<p class="text-muted-foreground">
Model your SaaS or hardware product business with precision
</p>
</header>
<!-- Tab Navigation -->
<nav
class="glass-card rounded-xl mb-6 opacity-0 animate-fade-in"
style="animation-delay: 0.1s; animation-fill-mode: forwards"
>
<div class="flex border-b border-border">
<button
class="tab-btn active"
data-tab="saas"
onclick="switchTab('saas')"
>
<span class="flex items-center gap-2">
<svg
class="w-5 h-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z"
/>
</svg>
SaaS Simulator
</span>
</button>
<button
class="tab-btn"
data-tab="product"
onclick="switchTab('product')"
>
<span class="flex items-center gap-2">
<svg
class="w-5 h-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"
/>
</svg>
Product Simulator
</span>
</button>
</div>
</nav>
<!-- SaaS Simulator Tab -->
<div id="saas-tab" class="tab-content">
<div
class="glass-card rounded-xl p-6 mb-6 opacity-0 animate-slide-up"
style="animation-delay: 0.2s; animation-fill-mode: forwards"
>
<h2 class="text-xl font-bold mb-4 flex items-center gap-2">
<span class="w-2 h-2 rounded-full bg-primary"></span>
Market & Users
</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/></svg
>Target Market</label
>
<select id="marketSize" class="input-field w-full p-3 rounded-lg">
<option value="custom">Custom Users</option>
<option value="eu">Europe</option>
<option value="na">North America</option>
<option value="latam">Latin America</option>
<option value="asia">Asia</option>
<option value="global">Global Market</option>
</select>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"
/></svg
>Demographic</label
>
<select
id="demographic"
class="input-field w-full p-3 rounded-lg"
>
<option value="tech_young">Tech Savvy (20-35)</option>
<option value="genz">Gen Z (13-24)</option>
<option value="professionals">Professionals (25-45)</option>
<option value="general">General (25-55)</option>
<option value="seniors">Seniors (55+)</option>
</select>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"
/></svg
>Monthly Active Users</label
>
<input
type="number"
id="totalUsers"
value="1000"
min="100"
max="1000000"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"
/></svg
>Market Penetration %</label
>
<input
type="number"
id="marketPenetration"
value="0.1"
min="0.001"
max="100"
step="0.001"
class="input-field w-full p-3 rounded-lg"
disabled
/>
</div>
</div>
</div>
<div
class="glass-card rounded-xl p-6 mb-6 opacity-0 animate-slide-up"
style="animation-delay: 0.3s; animation-fill-mode: forwards"
>
<h2 class="text-xl font-bold mb-4 flex items-center gap-2">
<span class="w-2 h-2 rounded-full bg-secondary"></span>
Pricing & Conversion
</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4">
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"
/></svg
>Conversion Rate %</label
>
<input
type="number"
id="conversionRate"
value="8"
min="1"
max="100"
step="0.1"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/></svg
>Cost per User $</label
>
<input
type="number"
id="costPerUser"
value="0.50"
min="0.10"
max="5"
step="0.05"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"
/></svg
>Basic Tier $</label
>
<input
type="number"
id="basicTier"
value="3"
min="1"
max="50"
step="0.5"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"
/></svg
>Premium Tier $</label
>
<input
type="number"
id="premiumTier"
value="5"
min="2"
max="100"
step="0.5"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M8 9l4-4 4 4m0 6l-4 4-4-4"
/></svg
>Premium Tier %</label
>
<input
type="number"
id="tierSplit"
value="40"
min="0"
max="100"
class="input-field w-full p-3 rounded-lg"
/>
</div>
</div>
</div>
<div
id="saas-results"
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6"
></div>
<div
class="glass-card rounded-xl p-6 opacity-0 animate-slide-up"
style="animation-delay: 0.5s; animation-fill-mode: forwards"
>
<h2 class="text-xl font-bold mb-4 flex items-center gap-2">
🎯 Strategic Scenarios
</h2>
<div
id="saas-scenarios"
class="grid grid-cols-1 md:grid-cols-3 gap-4"
></div>
</div>
</div>
<!-- Product Simulator Tab -->
<div id="product-tab" class="tab-content hidden">
<!-- Product Configuration -->
<div
class="glass-card rounded-xl p-6 mb-6 opacity-0 animate-slide-up"
style="animation-delay: 0.2s; animation-fill-mode: forwards"
>
<h2 class="text-xl font-bold mb-4 flex items-center gap-2">
<span class="w-2 h-2 rounded-full bg-primary"></span>
Product & Manufacturing
</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"
/></svg
>Product Name</label
>
<input
type="text"
id="productName"
value="Smart Device Pro"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/></svg
>Manufacturing Cost $</label
>
<input
type="number"
id="manufacturingCost"
value="45"
min="1"
max="10000"
step="0.5"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"
/></svg
>Packaging Cost $</label
>
<input
type="number"
id="packagingCost"
value="3"
min="0.1"
max="100"
step="0.1"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 7h6m0 10v-3m-3 3h.01M9 17h.01M9 14h.01M12 14h.01M15 11h.01M12 11h.01M9 11h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z"
/></svg
>Units/Month</label
>
<input
type="number"
id="unitsProduced"
value="5000"
min="100"
max="1000000"
step="100"
class="input-field w-full p-3 rounded-lg"
/>
</div>
</div>
<div class="section-divider"></div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"
/></svg
>Retail Price $</label
>
<input
type="number"
id="retailPrice"
value="149"
min="1"
max="50000"
step="1"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"
/></svg
>Wholesale Price $</label
>
<input
type="number"
id="wholesalePrice"
value="89"
min="1"
max="50000"
step="1"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M16 15v-1a4 4 0 00-4-4H8m0 0l3 3m-3-3l3-3m9 14V5a2 2 0 00-2-2H6a2 2 0 00-2 2v16l4-2 4 2 4-2 4 2z"
/></svg
>Return Rate %</label
>
<input
type="number"
id="returnRate"
value="5"
min="0"
max="50"
step="0.5"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label
><svg
class="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"
/></svg
>Defect Rate %</label
>
<input
type="number"
id="defectRate"
value="2"
min="0"
max="20"
step="0.1"
class="input-field w-full p-3 rounded-lg"
/>
</div>
</div>
</div>
<!-- Sales Channels -->
<div
class="glass-card rounded-xl p-6 mb-6 opacity-0 animate-slide-up"
style="animation-delay: 0.3s; animation-fill-mode: forwards"
>
<h2 class="text-xl font-bold mb-4 flex items-center gap-2">
<span class="w-2 h-2 rounded-full bg-secondary"></span>
Sales Channels
</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Physical Stores -->
<div class="bg-muted/50 rounded-xl p-4">
<h3 class="font-semibold mb-4 flex items-center gap-2">
<svg
class="w-5 h-5 text-primary"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"
/>
</svg>
Physical Retail
</h3>
<div class="grid grid-cols-2 gap-3">
<div class="input-group">
<label>Number of Stores</label>
<input
type="number"
id="storeCount"
value="12"
min="0"
max="1000"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label>Avg Rent/Store $</label>
<input
type="number"
id="storeRent"
value="4500"
min="0"
max="100000"
step="100"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label>Utilities/Store $</label>
<input
type="number"
id="storeUtilities"
value="800"
min="0"
max="10000"
step="50"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label>Store Staff/Location</label>
<input
type="number"
id="storeStaffCount"
value="4"
min="1"
max="50"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group col-span-2">
<label>% Sales via Physical</label>
<input
type="number"
id="physicalSalesPercent"
value="35"
min="0"
max="100"
class="input-field w-full p-3 rounded-lg"
/>
</div>
</div>
</div>
<!-- Online Sales -->
<div class="bg-muted/50 rounded-xl p-4">
<h3 class="font-semibold mb-4 flex items-center gap-2">
<svg
class="w-5 h-5 text-secondary"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"
/>
</svg>
E-Commerce
</h3>
<div class="grid grid-cols-2 gap-3">
<div class="input-group">
<label>Platform Fee %</label>
<input
type="number"
id="platformFee"
value="3.5"
min="0"
max="30"
step="0.1"
class="input-field w-full p-3 rounded-lg"
/>
</div>
<div class="input-group">
<label>Payment Processing %</label>
<input
type="number"
id="paymentProcessing"
value="2.9"
min="0"
max="10"
step="0.1"
class="input-field w-full p-3 rounded-lg"
/>
</div>