LukasBe commited on
Commit
0fcaf1c
·
verified ·
1 Parent(s): 41ba17c

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +1009 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Clarity Compass
3
- emoji: 💻
4
- colorFrom: pink
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: clarity-compass
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,1009 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Clarity Compass | Business-First Software Readiness Wizard</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Inter', sans-serif;
14
+ background-color: #f8fafc;
15
+ color: #1e293b;
16
+ }
17
+
18
+ .progress-bar {
19
+ height: 6px;
20
+ transition: width 0.5s ease;
21
+ }
22
+
23
+ .question-card {
24
+ opacity: 0;
25
+ transform: translateY(20px);
26
+ transition: opacity 0.3s ease, transform 0.3s ease;
27
+ }
28
+
29
+ .question-card.active {
30
+ opacity: 1;
31
+ transform: translateY(0);
32
+ }
33
+
34
+ .option-card {
35
+ transition: all 0.2s ease;
36
+ }
37
+
38
+ .option-card:hover {
39
+ transform: translateY(-2px);
40
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
41
+ }
42
+
43
+ .option-card.selected {
44
+ border-color: #4f46e5;
45
+ background-color: #eef2ff;
46
+ }
47
+
48
+ .slider {
49
+ -webkit-appearance: none;
50
+ width: 100%;
51
+ height: 8px;
52
+ border-radius: 4px;
53
+ background: #e2e8f0;
54
+ outline: none;
55
+ }
56
+
57
+ .slider::-webkit-slider-thumb {
58
+ -webkit-appearance: none;
59
+ appearance: none;
60
+ width: 20px;
61
+ height: 20px;
62
+ border-radius: 50%;
63
+ background: #4f46e5;
64
+ cursor: pointer;
65
+ }
66
+
67
+ .slider::-moz-range-thumb {
68
+ width: 20px;
69
+ height: 20px;
70
+ border-radius: 50%;
71
+ background: #4f46e5;
72
+ cursor: pointer;
73
+ }
74
+
75
+ .report-card {
76
+ background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
77
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
78
+ }
79
+
80
+ .fade-in {
81
+ animation: fadeIn 0.5s ease forwards;
82
+ }
83
+
84
+ @keyframes fadeIn {
85
+ from { opacity: 0; }
86
+ to { opacity: 1; }
87
+ }
88
+ </style>
89
+ </head>
90
+ <body>
91
+ <div class="min-h-screen flex flex-col">
92
+ <!-- Header -->
93
+ <header class="bg-white shadow-sm py-6">
94
+ <div class="container mx-auto px-4">
95
+ <div class="flex items-center justify-between">
96
+ <div class="flex items-center space-x-3">
97
+ <div class="w-10 h-10 rounded-lg bg-indigo-600 flex items-center justify-center">
98
+ <i class="fas fa-compass text-white text-xl"></i>
99
+ </div>
100
+ <h1 class="text-2xl font-semibold text-gray-800">Clarity Compass</h1>
101
+ </div>
102
+ <div class="text-sm text-gray-500">
103
+ <span id="current-step">1</span> of <span id="total-steps">6</span>
104
+ </div>
105
+ </div>
106
+ <div class="mt-4 w-full bg-gray-200 rounded-full h-2">
107
+ <div id="progress-bar" class="progress-bar bg-indigo-600 rounded-full" style="width: 16.66%"></div>
108
+ </div>
109
+ </div>
110
+ </header>
111
+
112
+ <!-- Main Content -->
113
+ <main class="flex-grow py-8 container mx-auto px-4 max-w-3xl">
114
+ <!-- Wizard Steps -->
115
+ <div id="wizard-container">
116
+ <!-- Step 1 -->
117
+ <div class="question-card active" data-step="1">
118
+ <h2 class="text-2xl font-semibold text-gray-800 mb-2">Understanding the Context</h2>
119
+ <p class="text-gray-600 mb-6">Let's start by understanding where this project lives in your business.</p>
120
+
121
+ <div class="space-y-4">
122
+ <div>
123
+ <label class="block text-sm font-medium text-gray-700 mb-2">Is this tool meant for:</label>
124
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
125
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="internal">
126
+ <div class="flex items-center space-x-3">
127
+ <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center">
128
+ <i class="fas fa-users-cog text-blue-600"></i>
129
+ </div>
130
+ <span class="font-medium">Internal efficiency</span>
131
+ </div>
132
+ </div>
133
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="customer">
134
+ <div class="flex items-center space-x-3">
135
+ <div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center">
136
+ <i class="fas fa-handshake text-purple-600"></i>
137
+ </div>
138
+ <span class="font-medium">Customer engagement/sales</span>
139
+ </div>
140
+ </div>
141
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="partner">
142
+ <div class="flex items-center space-x-3">
143
+ <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center">
144
+ <i class="fas fa-building text-green-600"></i>
145
+ </div>
146
+ <span class="font-medium">Partner/vendor operations</span>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </div>
151
+
152
+ <div>
153
+ <label class="block text-sm font-medium text-gray-700 mb-2">Is this replacing, improving, or inventing something new?</label>
154
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
155
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="replace">
156
+ <div class="flex items-center space-x-3">
157
+ <div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center">
158
+ <i class="fas fa-exchange-alt text-red-600"></i>
159
+ </div>
160
+ <span class="font-medium">Replacing</span>
161
+ </div>
162
+ </div>
163
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="improve">
164
+ <div class="flex items-center space-x-3">
165
+ <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center">
166
+ <i class="fas fa-tools text-yellow-600"></i>
167
+ </div>
168
+ <span class="font-medium">Improving</span>
169
+ </div>
170
+ </div>
171
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="invent">
172
+ <div class="flex items-center space-x-3">
173
+ <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center">
174
+ <i class="fas fa-lightbulb text-indigo-600"></i>
175
+ </div>
176
+ <span class="font-medium">Inventing new</span>
177
+ </div>
178
+ </div>
179
+ </div>
180
+ </div>
181
+
182
+ <div>
183
+ <label class="block text-sm font-medium text-gray-700 mb-2">Does your team already use a tool for this?</label>
184
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
185
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="yes">
186
+ <div class="flex items-center space-x-3">
187
+ <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center">
188
+ <i class="fas fa-check text-green-600"></i>
189
+ </div>
190
+ <span class="font-medium">Yes</span>
191
+ </div>
192
+ </div>
193
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="no">
194
+ <div class="flex items-center space-x-3">
195
+ <div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center">
196
+ <i class="fas fa-times text-red-600"></i>
197
+ </div>
198
+ <span class="font-medium">No</span>
199
+ </div>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ </div>
204
+
205
+ <div class="mt-8 flex justify-end">
206
+ <button class="next-btn px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Continue</button>
207
+ </div>
208
+ </div>
209
+
210
+ <!-- Step 2 -->
211
+ <div class="question-card hidden" data-step="2">
212
+ <h2 class="text-2xl font-semibold text-gray-800 mb-2">Quantifying the Impact</h2>
213
+ <p class="text-gray-600 mb-6">Let's size the potential gain or protection this project offers.</p>
214
+
215
+ <div class="space-y-6">
216
+ <div>
217
+ <label for="users" class="block text-sm font-medium text-gray-700 mb-2">How many people will use this tool annually?</label>
218
+ <input type="number" id="users" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500" placeholder="Enter number of users">
219
+ </div>
220
+
221
+ <div>
222
+ <label for="transactions" class="block text-sm font-medium text-gray-700 mb-2">How many transactions/interactions will it process yearly?</label>
223
+ <input type="number" id="transactions" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500" placeholder="Enter estimated number">
224
+ </div>
225
+
226
+ <div>
227
+ <label class="block text-sm font-medium text-gray-700 mb-4">Will it affect revenue directly or indirectly?</label>
228
+ <div class="flex items-center space-x-4">
229
+ <span class="text-sm text-gray-500">Indirect</span>
230
+ <input type="range" min="0" max="100" value="50" class="slider" id="revenue-impact">
231
+ <span class="text-sm text-gray-500">Direct</span>
232
+ </div>
233
+ <div class="mt-2 text-sm text-gray-500 text-center" id="revenue-impact-value">50%</div>
234
+ </div>
235
+
236
+ <div>
237
+ <label for="savings" class="block text-sm font-medium text-gray-700 mb-2">Estimated savings or revenue gain yearly? (€)</label>
238
+ <div class="relative rounded-md shadow-sm">
239
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
240
+ <span class="text-gray-500 sm:text-sm">€</span>
241
+ </div>
242
+ <input type="text" id="savings" class="pl-8 w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500" placeholder="Amount">
243
+ </div>
244
+ </div>
245
+ </div>
246
+
247
+ <div class="mt-8 flex justify-between">
248
+ <button class="prev-btn px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition">Back</button>
249
+ <button class="next-btn px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Continue</button>
250
+ </div>
251
+ </div>
252
+
253
+ <!-- Step 3 -->
254
+ <div class="question-card hidden" data-step="3">
255
+ <h2 class="text-2xl font-semibold text-gray-800 mb-2">Assessing Growth & Future-readiness</h2>
256
+ <p class="text-gray-600 mb-6">Software should grow with you. Let's see what's ahead.</p>
257
+
258
+ <div class="space-y-6">
259
+ <div>
260
+ <label class="block text-sm font-medium text-gray-700 mb-2">How much growth do you expect in this area (users, ops, revenue)?</label>
261
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
262
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="stable">
263
+ <div class="flex flex-col items-center text-center">
264
+ <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mb-2">
265
+ <i class="fas fa-chart-line text-blue-600 text-xl"></i>
266
+ </div>
267
+ <span class="font-medium">0-10%: Stable</span>
268
+ </div>
269
+ </div>
270
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="growing">
271
+ <div class="flex flex-col items-center text-center">
272
+ <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mb-2">
273
+ <i class="fas fa-chart-bar text-green-600 text-xl"></i>
274
+ </div>
275
+ <span class="font-medium">10-50%: Growing</span>
276
+ </div>
277
+ </div>
278
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="scaling">
279
+ <div class="flex flex-col items-center text-center">
280
+ <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mb-2">
281
+ <i class="fas fa-rocket text-purple-600 text-xl"></i>
282
+ </div>
283
+ <span class="font-medium">50%+: Scaling aggressively</span>
284
+ </div>
285
+ </div>
286
+ </div>
287
+ </div>
288
+
289
+ <div>
290
+ <label for="expansion" class="block text-sm font-medium text-gray-700 mb-2">Is there any planned expansion, acquisition, or external change that would affect this domain?</label>
291
+ <textarea id="expansion" rows="3" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500" placeholder="Describe any upcoming changes..."></textarea>
292
+ </div>
293
+ </div>
294
+
295
+ <div class="mt-8 flex justify-between">
296
+ <button class="prev-btn px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition">Back</button>
297
+ <button class="next-btn px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Continue</button>
298
+ </div>
299
+ </div>
300
+
301
+ <!-- Step 4 -->
302
+ <div class="question-card hidden" data-step="4">
303
+ <h2 class="text-2xl font-semibold text-gray-800 mb-2">Strategic Importance</h2>
304
+ <p class="text-gray-600 mb-6">Now let's measure how mission-critical this is.</p>
305
+
306
+ <div class="space-y-6">
307
+ <div>
308
+ <label class="block text-sm font-medium text-gray-700 mb-2">If you don't build this, what will happen?</label>
309
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
310
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="lose">
311
+ <div class="flex flex-col items-center text-center">
312
+ <div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center mb-2">
313
+ <i class="fas fa-exclamation-triangle text-red-600"></i>
314
+ </div>
315
+ <span class="font-medium">We'll lose market/revenue</span>
316
+ </div>
317
+ </div>
318
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="miss">
319
+ <div class="flex flex-col items-center text-center">
320
+ <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mb-2">
321
+ <i class="fas fa-clock text-yellow-600"></i>
322
+ </div>
323
+ <span class="font-medium">We'll miss a growth window</span>
324
+ </div>
325
+ </div>
326
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="not-critical">
327
+ <div class="flex flex-col items-center text-center">
328
+ <div class="w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center mb-2">
329
+ <i class="fas fa-check-circle text-gray-600"></i>
330
+ </div>
331
+ <span class="font-medium">It's not critical yet</span>
332
+ </div>
333
+ </div>
334
+ </div>
335
+ </div>
336
+
337
+ <div>
338
+ <label class="block text-sm font-medium text-gray-700 mb-2">Does this project align with a leadership or board-level priority?</label>
339
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
340
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="yes">
341
+ <div class="flex items-center space-x-3">
342
+ <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center">
343
+ <i class="fas fa-check text-green-600"></i>
344
+ </div>
345
+ <span class="font-medium">Yes</span>
346
+ </div>
347
+ </div>
348
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="no">
349
+ <div class="flex items-center space-x-3">
350
+ <div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center">
351
+ <i class="fas fa-times text-red-600"></i>
352
+ </div>
353
+ <span class="font-medium">No</span>
354
+ </div>
355
+ </div>
356
+ </div>
357
+ </div>
358
+
359
+ <div>
360
+ <label class="block text-sm font-medium text-gray-700 mb-2">Will this touch sensitive data or compliance domains?</label>
361
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
362
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="yes">
363
+ <div class="flex items-center space-x-3">
364
+ <div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center">
365
+ <i class="fas fa-lock text-red-600"></i>
366
+ </div>
367
+ <span class="font-medium">Yes</span>
368
+ </div>
369
+ </div>
370
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="no">
371
+ <div class="flex items-center space-x-3">
372
+ <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center">
373
+ <i class="fas fa-lock-open text-green-600"></i>
374
+ </div>
375
+ <span class="font-medium">No</span>
376
+ </div>
377
+ </div>
378
+ </div>
379
+ </div>
380
+ </div>
381
+
382
+ <div class="mt-8 flex justify-between">
383
+ <button class="prev-btn px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition">Back</button>
384
+ <button class="next-btn px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Continue</button>
385
+ </div>
386
+ </div>
387
+
388
+ <!-- Step 5 -->
389
+ <div class="question-card hidden" data-step="5">
390
+ <h2 class="text-2xl font-semibold text-gray-800 mb-2">Timeline & Buy-in</h2>
391
+ <p class="text-gray-600 mb-6">Let's check how ready you are to act.</p>
392
+
393
+ <div class="space-y-6">
394
+ <div>
395
+ <label for="timeline" class="block text-sm font-medium text-gray-700 mb-2">Desired launch timeline (MVP or full)</label>
396
+ <select id="timeline" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500">
397
+ <option value="">Select timeline</option>
398
+ <option value="1-3">1-3 months (Urgent)</option>
399
+ <option value="3-6">3-6 months (Standard)</option>
400
+ <option value="6-12">6-12 months (Long-term)</option>
401
+ <option value="12+">12+ months (Strategic)</option>
402
+ </select>
403
+ </div>
404
+
405
+ <div>
406
+ <label class="block text-sm font-medium text-gray-700 mb-2">Do you already have:</label>
407
+ <div class="space-y-3">
408
+ <div class="flex items-center">
409
+ <input type="checkbox" id="budget" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
410
+ <label for="budget" class="ml-2 block text-sm text-gray-700">Budget allocated</label>
411
+ </div>
412
+ <div class="flex items-center">
413
+ <input type="checkbox" id="sponsor" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
414
+ <label for="sponsor" class="ml-2 block text-sm text-gray-700">Executive sponsor</label>
415
+ </div>
416
+ <div class="flex items-center">
417
+ <input type="checkbox" id="team" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
418
+ <label for="team" class="ml-2 block text-sm text-gray-700">Internal team ready to collaborate</label>
419
+ </div>
420
+ </div>
421
+ </div>
422
+ </div>
423
+
424
+ <div class="mt-8 flex justify-between">
425
+ <button class="prev-btn px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition">Back</button>
426
+ <button class="next-btn px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Continue</button>
427
+ </div>
428
+ </div>
429
+
430
+ <!-- Step 6 -->
431
+ <div class="question-card hidden" data-step="6">
432
+ <h2 class="text-2xl font-semibold text-gray-800 mb-2">Confidence Check & Tech Direction</h2>
433
+ <p class="text-gray-600 mb-6">Let's sum up where you stand.</p>
434
+
435
+ <div class="space-y-6">
436
+ <div>
437
+ <label class="block text-sm font-medium text-gray-700 mb-2">What is your team's internal tech capability?</label>
438
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
439
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="no-devs">
440
+ <div class="flex flex-col items-center text-center">
441
+ <div class="w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center mb-2">
442
+ <i class="fas fa-user text-gray-600"></i>
443
+ </div>
444
+ <span class="font-medium">No devs</span>
445
+ </div>
446
+ </div>
447
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="low-code">
448
+ <div class="flex flex-col items-center text-center">
449
+ <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mb-2">
450
+ <i class="fas fa-code text-blue-600"></i>
451
+ </div>
452
+ <span class="font-medium">Light/no-code only</span>
453
+ </div>
454
+ </div>
455
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="full-stack">
456
+ <div class="flex flex-col items-center text-center">
457
+ <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mb-2">
458
+ <i class="fas fa-laptop-code text-green-600"></i>
459
+ </div>
460
+ <span class="font-medium">In-house full-stack</span>
461
+ </div>
462
+ </div>
463
+ </div>
464
+ </div>
465
+
466
+ <div>
467
+ <label class="block text-sm font-medium text-gray-700 mb-2">Your preferred approach:</label>
468
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
469
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="buy">
470
+ <div class="flex flex-col items-center text-center">
471
+ <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mb-2">
472
+ <i class="fas fa-shopping-cart text-purple-600"></i>
473
+ </div>
474
+ <span class="font-medium">Buy first, then customize</span>
475
+ </div>
476
+ </div>
477
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="build">
478
+ <div class="flex flex-col items-center text-center">
479
+ <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mb-2">
480
+ <i class="fas fa-hammer text-indigo-600"></i>
481
+ </div>
482
+ <span class="font-medium">Build a custom solution</span>
483
+ </div>
484
+ </div>
485
+ <div class="option-card p-4 border-2 border-gray-200 rounded-lg cursor-pointer" data-value="hybrid">
486
+ <div class="flex flex-col items-center text-center">
487
+ <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mb-2">
488
+ <i class="fas fa-random text-yellow-600"></i>
489
+ </div>
490
+ <span class="font-medium">Hybrid: integrate SaaS + custom modules</span>
491
+ </div>
492
+ </div>
493
+ </div>
494
+ </div>
495
+ </div>
496
+
497
+ <div class="mt-8 flex justify-between">
498
+ <button class="prev-btn px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition">Back</button>
499
+ <button id="generate-report" class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Generate Report</button>
500
+ </div>
501
+ </div>
502
+ </div>
503
+
504
+ <!-- Report Section -->
505
+ <div id="report-container" class="hidden">
506
+ <div class="text-center mb-8">
507
+ <div class="w-16 h-16 rounded-full bg-indigo-100 flex items-center justify-center mx-auto mb-4">
508
+ <i class="fas fa-check-circle text-indigo-600 text-3xl"></i>
509
+ </div>
510
+ <h2 class="text-2xl font-semibold text-gray-800 mb-2">Your Business Opportunity Report</h2>
511
+ <p class="text-gray-600 max-w-lg mx-auto">Here's your personalized assessment with strategic recommendations</p>
512
+ </div>
513
+
514
+ <div class="report-card rounded-xl p-6 mb-8">
515
+ <h3 class="text-lg font-semibold text-gray-800 mb-4 flex items-center">
516
+ <i class="fas fa-book-open text-indigo-600 mr-2"></i> Business Opportunity Snapshot
517
+ </h3>
518
+
519
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
520
+ <div>
521
+ <div class="flex items-start mb-4">
522
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center mr-3">
523
+ <i class="fas fa-tag text-blue-600"></i>
524
+ </div>
525
+ <div>
526
+ <h4 class="text-sm font-medium text-gray-500">Type</h4>
527
+ <p id="report-type" class="text-sm font-medium text-gray-800">Internal Efficiency Tool</p>
528
+ </div>
529
+ </div>
530
+
531
+ <div class="flex items-start mb-4">
532
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
533
+ <i class="fas fa-bullseye text-purple-600"></i>
534
+ </div>
535
+ <div>
536
+ <h4 class="text-sm font-medium text-gray-500">Purpose</h4>
537
+ <p id="report-purpose" class="text-sm font-medium text-gray-800">Replace and automate an existing manual workflow</p>
538
+ </div>
539
+ </div>
540
+
541
+ <div class="flex items-start mb-4">
542
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
543
+ <i class="fas fa-hand-holding-usd text-green-600"></i>
544
+ </div>
545
+ <div>
546
+ <h4 class="text-sm font-medium text-gray-500">Business Touch</h4>
547
+ <p id="report-business-touch" class="text-sm font-medium text-gray-800">Impacts 65% of revenue operations</p>
548
+ </div>
549
+ </div>
550
+ </div>
551
+
552
+ <div>
553
+ <div class="flex items-start mb-4">
554
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-yellow-100 flex items-center justify-center mr-3">
555
+ <i class="fas fa-chart-pie text-yellow-600"></i>
556
+ </div>
557
+ <div>
558
+ <h4 class="text-sm font-medium text-gray-500">Scale</h4>
559
+ <p id="report-scale" class="text-sm font-medium text-gray-800">~5000 transactions/year</p>
560
+ </div>
561
+ </div>
562
+
563
+ <div class="flex items-start mb-4">
564
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 flex items-center justify-center mr-3">
565
+ <i class="fas fa-euro-sign text-red-600"></i>
566
+ </div>
567
+ <div>
568
+ <h4 class="text-sm font-medium text-gray-500">Projected ROI</h4>
569
+ <p id="report-roi" class="text-sm font-medium text-gray-800">€100–150k/year in saved labor</p>
570
+ </div>
571
+ </div>
572
+
573
+ <div class="flex items-start mb-4">
574
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
575
+ <i class="fas fa-chart-line text-indigo-600"></i>
576
+ </div>
577
+ <div>
578
+ <h4 class="text-sm font-medium text-gray-500">Growth Outlook</h4>
579
+ <p id="report-growth" class="text-sm font-medium text-gray-800">+30% users over 3 years</p>
580
+ </div>
581
+ </div>
582
+
583
+ <div class="flex items-start">
584
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center mr-3">
585
+ <i class="fas fa-chess text-gray-600"></i>
586
+ </div>
587
+ <div>
588
+ <h4 class="text-sm font-medium text-gray-500">Strategic Fit</h4>
589
+ <p id="report-strategic" class="text-sm font-medium text-gray-800">Directly tied to leadership priorities</p>
590
+ </div>
591
+ </div>
592
+ </div>
593
+ </div>
594
+ </div>
595
+
596
+ <div class="report-card rounded-xl p-6 mb-8">
597
+ <h3 class="text-lg font-semibold text-gray-800 mb-4 flex items-center">
598
+ <i class="fas fa-compass text-indigo-600 mr-2"></i> Recommended Path
599
+ </h3>
600
+
601
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
602
+ <div>
603
+ <div class="flex items-start mb-4">
604
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center mr-3">
605
+ <i class="fas fa-battery-three-quarters text-blue-600"></i>
606
+ </div>
607
+ <div>
608
+ <h4 class="text-sm font-medium text-gray-500">Tech Investment Readiness</h4>
609
+ <p id="report-readiness" class="text-sm font-medium text-gray-800">High</p>
610
+ </div>
611
+ </div>
612
+
613
+ <div class="flex items-start">
614
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
615
+ <i class="fas fa-balance-scale text-purple-600"></i>
616
+ </div>
617
+ <div>
618
+ <h4 class="text-sm font-medium text-gray-500">Buy vs Build</h4>
619
+ <p id="report-build" class="text-sm font-medium text-gray-800">Custom Build with integration (Hybrid Strategy)</p>
620
+ </div>
621
+ </div>
622
+ </div>
623
+
624
+ <div>
625
+ <div class="flex items-start mb-4">
626
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
627
+ <i class="fas fa-euro-sign text-green-600"></i>
628
+ </div>
629
+ <div>
630
+ <h4 class="text-sm font-medium text-gray-500">Suggested Range</h4>
631
+ <p id="report-range" class="text-sm font-medium text-gray-800">~€80–120k initial investment</p>
632
+ </div>
633
+ </div>
634
+
635
+ <div class="flex items-start">
636
+ <div class="flex-shrink-0 h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
637
+ <i class="fas fa-arrow-circle-right text-indigo-600"></i>
638
+ </div>
639
+ <div>
640
+ <h4 class="text-sm font-medium text-gray-500">Next Step</h4>
641
+ <p id="report-next" class="text-sm font-medium text-gray-800">Explore MVP definition phase with a discovery sprint</p>
642
+ </div>
643
+ </div>
644
+ </div>
645
+ </div>
646
+
647
+ <div class="mt-6 p-4 bg-indigo-50 rounded-lg">
648
+ <div class="flex">
649
+ <div class="flex-shrink-0">
650
+ <i class="fas fa-lightbulb text-indigo-600"></i>
651
+ </div>
652
+ <div class="ml-3">
653
+ <p id="report-insight" class="text-sm text-indigo-700">
654
+ Given your scale and growth trajectory, a custom solution tailored to your workflow would maximize efficiency while preserving future agility.
655
+ </p>
656
+ </div>
657
+ </div>
658
+ </div>
659
+ </div>
660
+
661
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-8">
662
+ <div class="p-4 bg-white rounded-lg shadow-sm border border-gray-200">
663
+ <h4 class="text-sm font-medium text-gray-500 mb-2">Impact Index</h4>
664
+ <div class="flex items-center">
665
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
666
+ <div id="impact-index" class="bg-blue-600 h-2.5 rounded-full" style="width: 75%"></div>
667
+ </div>
668
+ <span id="impact-value" class="text-xs font-medium text-blue-600 ml-2">75/100</span>
669
+ </div>
670
+ </div>
671
+
672
+ <div class="p-4 bg-white rounded-lg shadow-sm border border-gray-200">
673
+ <h4 class="text-sm font-medium text-gray-500 mb-2">Strategic Alignment</h4>
674
+ <div class="flex items-center">
675
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
676
+ <div id="strategic-score" class="bg-purple-600 h-2.5 rounded-full" style="width: 85%"></div>
677
+ </div>
678
+ <span id="strategic-value" class="text-xs font-medium text-purple-600 ml-2">85/100</span>
679
+ </div>
680
+ </div>
681
+
682
+ <div class="p-4 bg-white rounded-lg shadow-sm border border-gray-200">
683
+ <h4 class="text-sm font-medium text-gray-500 mb-2">Investment Readiness</h4>
684
+ <div class="flex items-center">
685
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
686
+ <div id="readiness-level" class="bg-green-600 h-2.5 rounded-full" style="width: 65%"></div>
687
+ </div>
688
+ <span id="readiness-value" class="text-xs font-medium text-green-600 ml-2">65/100</span>
689
+ </div>
690
+ </div>
691
+ </div>
692
+
693
+ <div class="flex flex-col sm:flex-row justify-center gap-4">
694
+ <button id="schedule-btn" class="px-6 py-3 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition flex items-center justify-center">
695
+ <i class="fas fa-calendar-alt mr-2"></i> Schedule Consultation
696
+ </button>
697
+ <button id="download-btn" class="px-6 py-3 bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition flex items-center justify-center">
698
+ <i class="fas fa-file-pdf mr-2"></i> Download PDF Report
699
+ </button>
700
+ <button id="new-assessment" class="px-6 py-3 bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition flex items-center justify-center">
701
+ <i class="fas fa-redo mr-2"></i> Start New Assessment
702
+ </button>
703
+ </div>
704
+ </div>
705
+ </main>
706
+
707
+ <!-- Footer -->
708
+ <footer class="bg-white py-6 border-t border-gray-200">
709
+ <div class="container mx-auto px-4 text-center text-sm text-gray-500">
710
+ <p>Clarity Compass helps businesses make informed technology decisions. This is not financial advice.</p>
711
+ <p class="mt-2">© 2023 Clarity Compass. All rights reserved.</p>
712
+ </div>
713
+ </footer>
714
+ </div>
715
+
716
+ <script>
717
+ document.addEventListener('DOMContentLoaded', function() {
718
+ // Wizard navigation
719
+ const totalSteps = 6;
720
+ let currentStep = 1;
721
+ const wizardContainer = document.getElementById('wizard-container');
722
+ const reportContainer = document.getElementById('report-container');
723
+ const progressBar = document.getElementById('progress-bar');
724
+ const currentStepEl = document.getElementById('current-step');
725
+ const totalStepsEl = document.getElementById('total-steps');
726
+
727
+ totalStepsEl.textContent = totalSteps;
728
+
729
+ // Store user responses
730
+ const responses = {};
731
+
732
+ // Option card selection
733
+ document.querySelectorAll('.option-card').forEach(card => {
734
+ card.addEventListener('click', function() {
735
+ const parent = this.parentElement;
736
+ const question = parent.previousElementSibling.textContent.trim();
737
+
738
+ // Remove selected class from siblings
739
+ Array.from(parent.children).forEach(sibling => {
740
+ sibling.classList.remove('selected');
741
+ });
742
+
743
+ // Add selected class to clicked card
744
+ this.classList.add('selected');
745
+
746
+ // Store response
747
+ const value = this.getAttribute('data-value');
748
+ responses[question] = value;
749
+ });
750
+ });
751
+
752
+ // Slider for revenue impact
753
+ const revenueSlider = document.getElementById('revenue-impact');
754
+ const revenueValue = document.getElementById('revenue-impact-value');
755
+
756
+ revenueSlider.addEventListener('input', function() {
757
+ revenueValue.textContent = this.value + '%';
758
+ });
759
+
760
+ // Next button click
761
+ document.querySelectorAll('.next-btn').forEach(btn => {
762
+ btn.addEventListener('click', function() {
763
+ const currentCard = document.querySelector(`.question-card[data-step="${currentStep}"]`);
764
+
765
+ // Validate and collect responses for current step
766
+ if (currentStep === 1) {
767
+ if (!responses['Is this tool meant for:'] ||
768
+ !responses['Is this replacing, improving, or inventing something new?'] ||
769
+ !responses['Does your team already use a tool for this?']) {
770
+ alert('Please answer all questions before continuing.');
771
+ return;
772
+ }
773
+ } else if (currentStep === 2) {
774
+ const users = document.getElementById('users').value;
775
+ const transactions = document.getElementById('transactions').value;
776
+ const savings = document.getElementById('savings').value;
777
+
778
+ if (!users || !transactions || !savings) {
779
+ alert('Please fill in all fields before continuing.');
780
+ return;
781
+ }
782
+
783
+ responses['How many people will use this tool annually?'] = users;
784
+ responses['How many transactions/interactions will it process yearly?'] = transactions;
785
+ responses['Will it affect revenue directly or indirectly?'] = revenueSlider.value + '%';
786
+ responses['Estimated savings or revenue gain yearly? (€)'] = savings;
787
+ } else if (currentStep === 3) {
788
+ if (!responses['How much growth do you expect in this area (users, ops, revenue)?']) {
789
+ alert('Please select a growth expectation.');
790
+ return;
791
+ }
792
+
793
+ const expansion = document.getElementById('expansion').value;
794
+ if (expansion) {
795
+ responses['Is there any planned expansion, acquisition, or external change that would affect this domain?'] = expansion;
796
+ }
797
+ } else if (currentStep === 4) {
798
+ if (!responses['If you don\'t build this, what will happen?'] ||
799
+ !responses['Does this project align with a leadership or board-level priority?'] ||
800
+ !responses['Will this touch sensitive data or compliance domains?']) {
801
+ alert('Please answer all questions before continuing.');
802
+ return;
803
+ }
804
+ } else if (currentStep === 5) {
805
+ const timeline = document.getElementById('timeline').value;
806
+ if (!timeline) {
807
+ alert('Please select a timeline.');
808
+ return;
809
+ }
810
+
811
+ responses['Desired launch timeline (MVP or full)'] = timeline;
812
+
813
+ const budget = document.getElementById('budget').checked;
814
+ const sponsor = document.getElementById('sponsor').checked;
815
+ const team = document.getElementById('team').checked;
816
+
817
+ responses['Budget allocated'] = budget;
818
+ responses['Executive sponsor'] = sponsor;
819
+ responses['Internal team ready to collaborate'] = team;
820
+ } else if (currentStep === 6) {
821
+ if (!responses['What is your team\'s internal tech capability?'] ||
822
+ !responses['Your preferred approach:']) {
823
+ alert('Please answer all questions before continuing.');
824
+ return;
825
+ }
826
+ }
827
+
828
+ // Move to next step
829
+ if (currentStep < totalSteps) {
830
+ currentStep++;
831
+ updateStep();
832
+ }
833
+ });
834
+ });
835
+
836
+ // Previous button click
837
+ document.querySelectorAll('.prev-btn').forEach(btn => {
838
+ btn.addEventListener('click', function() {
839
+ if (currentStep > 1) {
840
+ currentStep--;
841
+ updateStep();
842
+ }
843
+ });
844
+ });
845
+
846
+ // Generate report button
847
+ document.getElementById('generate-report').addEventListener('click', function() {
848
+ // Collect final step responses
849
+ if (!responses['What is your team\'s internal tech capability?'] ||
850
+ !responses['Your preferred approach:']) {
851
+ alert('Please answer all questions before generating the report.');
852
+ return;
853
+ }
854
+
855
+ // Generate report data
856
+ generateReport();
857
+
858
+ // Show report
859
+ wizardContainer.classList.add('hidden');
860
+ reportContainer.classList.remove('hidden');
861
+ reportContainer.classList.add('fade-in');
862
+ });
863
+
864
+ // New assessment button
865
+ document.getElementById('new-assessment').addEventListener('click', function() {
866
+ // Reset wizard
867
+ currentStep = 1;
868
+ updateStep();
869
+
870
+ // Clear responses
871
+ for (const key in responses) {
872
+ delete responses[key];
873
+ }
874
+
875
+ // Reset form elements
876
+ document.querySelectorAll('.option-card').forEach(card => {
877
+ card.classList.remove('selected');
878
+ });
879
+
880
+ document.getElementById('users').value = '';
881
+ document.getElementById('transactions').value = '';
882
+ document.getElementById('savings').value = '';
883
+ revenueSlider.value = 50;
884
+ revenueValue.textContent = '50%';
885
+ document.getElementById('expansion').value = '';
886
+ document.getElementById('timeline').value = '';
887
+ document.getElementById('budget').checked = false;
888
+ document.getElementById('sponsor').checked = false;
889
+ document.getElementById('team').checked = false;
890
+
891
+ // Show wizard, hide report
892
+ wizardContainer.classList.remove('hidden');
893
+ reportContainer.classList.add('hidden');
894
+ });
895
+
896
+ // Schedule button
897
+ document.getElementById('schedule-btn').addEventListener('click', function() {
898
+ alert('Scheduling functionality would be integrated with a service like Calendly in a production environment.');
899
+ });
900
+
901
+ // Download button
902
+ document.getElementById('download-btn').addEventListener('click', function() {
903
+ alert('PDF generation would be implemented in a production environment.');
904
+ });
905
+
906
+ // Update step display
907
+ function updateStep() {
908
+ currentStepEl.textContent = currentStep;
909
+ progressBar.style.width = `${(currentStep / totalSteps) * 100}%`;
910
+
911
+ // Hide all cards
912
+ document.querySelectorAll('.question-card').forEach(card => {
913
+ card.classList.remove('active');
914
+ card.classList.add('hidden');
915
+ });
916
+
917
+ // Show current card
918
+ const currentCard = document.querySelector(`.question-card[data-step="${currentStep}"]`);
919
+ currentCard.classList.remove('hidden');
920
+ setTimeout(() => {
921
+ currentCard.classList.add('active');
922
+ }, 10);
923
+ }
924
+
925
+ // Generate report data
926
+ function generateReport() {
927
+ // Determine report values based on responses
928
+ const toolType = responses['Is this tool meant for:'] === 'internal' ? 'Internal Efficiency Tool' :
929
+ responses['Is this tool meant for:'] === 'customer' ? 'Customer Engagement Tool' : 'Partner Operations Tool';
930
+
931
+ const purpose = responses['Is this replacing, improving, or inventing something new?'] === 'replace' ? 'Replace an existing manual workflow' :
932
+ responses['Is this replacing, improving, or inventing something new?'] === 'improve' ? 'Improve an existing solution' : 'Create a new solution';
933
+
934
+ const businessTouch = responses['Will it affect revenue directly or indirectly?'] === '100%' ? 'Directly impacts all revenue operations' :
935
+ parseInt(responses['Will it affect revenue directly or indirectly?']) > 50 ? `Impacts ${responses['Will it affect revenue directly or indirectly?']} of revenue operations` :
936
+ `Indirectly impacts ${responses['Will it affect revenue directly or indirectly?']} of operations`;
937
+
938
+ const scale = `~${responses['How many transactions/interactions will it process yearly?']} transactions/year`;
939
+
940
+ const roi = `€${responses['Estimated savings or revenue gain yearly? (€)']}–${Math.round(responses['Estimated savings or revenue gain yearly? (€)'] * 1.5)}k/year in ${toolType.includes('Internal') ? 'saved labor' : 'revenue impact'}`;
941
+
942
+ const growth = responses['How much growth do you expect in this area (users, ops, revenue)?'] === 'stable' ? '+10% users over 3 years' :
943
+ responses['How much growth do you expect in this area (users, ops, revenue)?'] === 'growing' ? '+30% users over 3 years' : '+75% users over 3 years';
944
+
945
+ const strategic = responses['Does this project align with a leadership or board-level priority?'] === 'yes' ? 'Directly tied to leadership priorities' : 'Not currently a leadership priority';
946
+
947
+ const readiness = responses['Budget allocated'] && responses['Executive sponsor'] && responses['Internal team ready to collaborate'] ? 'High' :
948
+ responses['Budget allocated'] || responses['Executive sponsor'] || responses['Internal team ready to collaborate'] ? 'Medium' : 'Low';
949
+
950
+ const buildApproach = responses['Your preferred approach:'] === 'buy' ? 'Buy first, then customize' :
951
+ responses['Your preferred approach:'] === 'build' ? 'Build a custom solution' : 'Hybrid: integrate SaaS + custom modules';
952
+
953
+ const investmentRange = responses['Estimated savings or revenue gain yearly? (€)'] < 50000 ? '~€20–50k initial investment' :
954
+ responses['Estimated savings or revenue gain yearly? (€)'] < 100000 ? '~€50–80k initial investment' : '~€80–120k initial investment';
955
+
956
+ const nextStep = responses['What is your team\'s internal tech capability?'] === 'no-devs' ? 'Consider no-code solutions or partner with a development team' :
957
+ responses['What is your team\'s internal tech capability?'] === 'low-code' ? 'Explore low-code platforms with customization options' : 'Begin discovery phase with your internal team';
958
+
959
+ const insight = responses['Your preferred approach:'] === 'buy' ? 'Given your current capabilities and requirements, a purchased solution with light customization would provide the fastest time-to-value.' :
960
+ responses['Your preferred approach:'] === 'build' ? 'Given your scale and unique requirements, a custom-built solution would provide the best long-term fit and flexibility.' : 'A hybrid approach would allow you to leverage existing SaaS solutions while customizing key components for competitive advantage.';
961
+
962
+ // Update report UI
963
+ document.getElementById('report-type').textContent = toolType;
964
+ document.getElementById('report-purpose').textContent = purpose;
965
+ document.getElementById('report-business-touch').textContent = businessTouch;
966
+ document.getElementById('report-scale').textContent = scale;
967
+ document.getElementById('report-roi').textContent = roi;
968
+ document.getElementById('report-growth').textContent = growth;
969
+ document.getElementById('report-strategic').textContent = strategic;
970
+ document.getElementById('report-readiness').textContent = readiness;
971
+ document.getElementById('report-build').textContent = buildApproach;
972
+ document.getElementById('report-range').textContent = investmentRange;
973
+ document.getElementById('report-next').textContent = nextStep;
974
+ document.getElementById('report-insight').textContent = insight;
975
+
976
+ // Calculate scores (simplified for demo)
977
+ const impactScore = Math.min(100, Math.max(0,
978
+ (parseInt(responses['How many people will use this tool annually?']) / 1000 * 10) +
979
+ (parseInt(responses['Estimated savings or revenue gain yearly? (€)']) / 10000) +
980
+ (responses['If you don\'t build this, what will happen?'] === 'lose' ? 30 :
981
+ responses['If you don\'t build this, what will happen?'] === 'miss' ? 15 : 0)
982
+ ));
983
+
984
+ const strategicScore = Math.min(100, Math.max(0,
985
+ (responses['Does this project align with a leadership or board-level priority?'] === 'yes' ? 50 : 0) +
986
+ (responses['Will this touch sensitive data or compliance domains?'] === 'yes' ? 20 : 0) +
987
+ (responses['How much growth do you expect in this area (users, ops, revenue)?'] === 'scaling' ? 30 :
988
+ responses['How much growth do you expect in this area (users, ops, revenue)?'] === 'growing' ? 15 : 0)
989
+ ));
990
+
991
+ const readinessScore = Math.min(100, Math.max(0,
992
+ (responses['Budget allocated'] ? 30 : 0) +
993
+ (responses['Executive sponsor'] ? 30 : 0) +
994
+ (responses['Internal team ready to collaborate'] ? 30 : 0) +
995
+ (responses['What is your team\'s internal tech capability?'] === 'full-stack' ? 10 : 0)
996
+ ));
997
+
998
+ // Update score indicators
999
+ document.getElementById('impact-index').style.width = `${impactScore}%`;
1000
+ document.getElementById('impact-value').textContent = `${Math.round(impactScore)}/100`;
1001
+ document.getElementById('strategic-score').style.width = `${strategicScore}%`;
1002
+ document.getElementById('strategic-value').textContent = `${Math.round(strategicScore)}/100`;
1003
+ document.getElementById('readiness-level').style.width = `${readinessScore}%`;
1004
+ document.getElementById('readiness-value').textContent = `${Math.round(readinessScore)}/100`;
1005
+ }
1006
+ });
1007
+ </script>
1008
+ <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=LukasBe/clarity-compass" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1009
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Clarity Compass – Your Business-First Software Readiness Wizard 🌐 Format: A Guided Web App Wizard Style: Calm, elegant, not corporate — think Typeform meets Intercom meets Basecamp Tone: Business-savvy but approachable Steps: ~6 steps, each with 2-4 smart questions Output: Personalized “Opportunity & Readiness Report” + Strategic Tech Path Recommendation 🪄 Step-by-Step Wizard Flow 🔍 STEP 1: Understanding the Context “Let’s start by understanding where this project lives in your business.” Is this tool meant for: Internal efficiency Customer engagement/sales Partner/vendor operations Is this replacing, improving, or inventing something new? Does your team already use a tool for this? 📊 STEP 2: Quantifying the Impact “Let’s size the potential gain or protection this project offers.” How many people will use this tool annually? How many transactions/interactions will it process yearly? Will it affect revenue directly or indirectly? (slider %) Estimated savings or revenue gain yearly? (€ input or estimate range) 📈 STEP 3: Assessing Growth & Future-readiness “Software should grow with you. Let’s see what’s ahead.” How much growth do you expect in this area (users, ops, revenue)? 0-10%: Stable 10-50%: Growing 50%+: Scaling aggressively Is there any planned expansion, acquisition, or external change that would affect this domain? 🧱 STEP 4: Strategic Importance “Now let’s measure how mission-critical this is.” If you don’t build this, what will happen? We’ll lose market/revenue We’ll miss a growth window It’s not critical yet Does this project align with a leadership or board-level priority? Will this touch sensitive data or compliance domains? 📅 STEP 5: Timeline & Buy-in “Let’s check how ready you are to act.” Desired launch timeline (MVP or full) Do you already have: Budget allocated Executive sponsor Internal team ready to collaborate 📤 STEP 6: Confidence Check & Tech Direction “Let’s sum up where you stand.” What is your team’s internal tech capability? No devs Light/no-code only In-house full-stack Your preferred approach: Buy first, then customize Build a custom solution Hybrid: integrate SaaS + custom modules ✅ Final Output: Business Opportunity Report You’d get something like this: 📘 Your Business Opportunity Snapshot Type: Internal Efficiency Tool Purpose: Replace and automate an existing manual workflow Business Touch: Impacts 65% of revenue operations Scale: ~5000 transactions/year Projected ROI: €100–150k/year in saved labor Growth Outlook: +30% users over 3 years Strategic Fit: Directly tied to leadership priorities 🧭 Recommended Path: Tech Investment Readiness: High Buy vs Build: Custom Build with integration (Hybrid Strategy) Suggested Range: ~€80–120k initial investment Next Step: Explore MVP definition phase with a discovery sprint “Given your scale and growth trajectory, a custom solution tailored to your workflow would maximize efficiency while preserving future agility.” 🛠 Behind the scenes: How it works Each question has a weighted score contributing to: Impact Index (0–100) Strategic Alignment Score Investment Readiness Level The Buy vs Build logic uses heuristics like: of users Complexity Volatility of domain In-house capability The budget range suggestion is based on benchmarks like: € per user, or per € of impact Typical ROI thresholds 🚀 Optional Add-ons Embed scheduling for follow-up consult (e.g. Calendly) Email PDF summary to share with stakeholders Generate a “Board Slide” to justify the initiative