Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
381 lines (381 loc) · 22.7 KB
/
Copy pathindex.html
File metadata and controls
381 lines (381 loc) · 22.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recast Pricing Calculator</title>
<meta name="description" content="Instantly estimate customer and partner pricing with an accessible, brand-aware calculator.">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/lucide@latest"></script>
</head>
<body class="min-h-screen bg-gray-50 font-['Inter',sans-serif] text-gray-900 antialiased">
<header class="max-w-6xl mx-auto px-6 lg:px-12 pt-8 pb-4">
<div class="flex items-center justify-between gap-4">
<div class="flex items-center gap-3">
<h1 class="text-3xl font-semibold leading-tight">Recast Pricing Calculator</h1>
</div>
<button id="copy-email" class="inline-flex items-center gap-2 rounded-full bg-blue-600 px-6 py-2 text-white shadow-sm hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-offset-2 transition text-base font-medium">
<i data-lucide="mail" class="size-4"></i>
<span>Copy Summary</span>
</button>
</div>
<p class="mt-2 text-base text-gray-700 leading-relaxed">1-Year Term Contract | Discounts increase with higher tiers.</p>
</header>
<nav class="max-w-6xl mx-auto px-6 lg:px-12 mt-4" role="tablist" aria-label="Pricing sections">
<div class="inline-flex w-full sm:w-auto rounded-full bg-gray-100 p-1 shadow-sm divide-x divide-gray-200 sm:divide-x-0">
<button class="tab-btn flex-1 sm:flex-none inline-flex justify-center items-center gap-2 rounded-full px-6 py-2 text-base font-medium focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-offset-2 data-[active=true]:bg-blue-600 data-[active=true]:text-white text-gray-700 hover:bg-gray-200 transition"
role="tab" aria-selected="true" aria-controls="tab-customer" id="tab-customer-btn" data-tab="customer" data-active="true">
<i data-lucide="user" class="size-4"></i><span>Pricing</span>
</button>
<button class="tab-btn flex-1 sm:flex-none inline-flex justify-center items-center gap-2 rounded-full px-6 py-2 text-base font-medium focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-offset-2 data-[active=true]:bg-blue-600 data-[active=true]:text-white text-gray-700 hover:bg-gray-200 transition"
role="tab" aria-selected="false" aria-controls="tab-onboarding" id="tab-onboarding-btn" data-tab="onboarding" data-active="false">
<i data-lucide="rocket" class="size-4"></i><span>Onboarding</span>
</button>
<button class="tab-btn flex-1 sm:flex-none inline-flex justify-center items-center gap-2 rounded-full px-6 py-2 text-base font-medium focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-offset-2 data-[active=true]:bg-blue-600 data-[active=true]:text-white text-gray-700 hover:bg-gray-200 transition"
role="tab" aria-selected="false" aria-controls="tab-sla" id="tab-sla-btn" data-tab="sla" data-active="false">
<i data-lucide="life-buoy" class="size-4"></i><span>Support</span>
</button>
</div>
</nav>
<main id="main" tabindex="-1" class="max-w-6xl mx-auto px-6 lg:px-12 py-6 space-y-6">
<section id="tab-customer" role="tabpanel" aria-labelledby="tab-customer-btn" class="tab-content">
<div class="rounded-2xl bg-white p-6 shadow-md hover:shadow-lg transition-shadow duration-300">
<form id="customer-form" class="grid md:grid-cols-2 gap-6 mb-6" novalidate>
<div class="space-y-4">
<div>
<label for="currency" class="block text-base font-medium text-gray-900 mb-2">Currency</label>
<select id="currency" name="currency" class="w-full sm:w-40 rounded-lg border border-gray-300 px-3 py-2 focus:border-blue-600 focus:ring-2 focus:ring-blue-600 focus:outline-none bg-white text-gray-900">
<option value="USD" selected>USD</option>
<option value="GBP">GBP (Pound)</option>
<option value="EUR">EUR (Euro)</option>
</select>
</div>
<div>
<label for="users" class="block text-base font-medium text-gray-900 mb-2">User count</label>
<input id="users" name="users" type="number" inputmode="numeric" min="250" value="500"
class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:border-blue-600 focus:ring-2 focus:ring-blue-600 focus:outline-none bg-white text-gray-900"
aria-describedby="users-help users-error" />
<p id="users-help" class="text-sm text-gray-500 mt-1">Enter number of licensed users (minimum 250).</p>
<p id="users-error" class="hidden mt-1 text-sm text-red-600" role="alert">Please enter a valid user count (minimum 250).</p>
</div>
</div>
<div class="space-y-4">
<div>
<label class="block text-base font-medium text-gray-900 mb-2">Options</label>
<div class="flex items-center">
<input id="include-partner" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-600 border-gray-300 rounded">
<label for="include-partner" class="ml-2 text-base text-gray-900">Show Partner Pricing (Net New)</label>
</div>
</div>
</div>
</form>
<h2 class="text-xl font-medium mb-4">Customer Quote</h2>
<div class="overflow-x-auto">
<table class="w-full text-base text-gray-700 border-collapse">
<thead>
<tr class="border-b border-gray-200">
<th class="px-4 pb-3 font-medium text-left">Product</th>
<th class="px-4 pb-3 font-medium text-right">Users</th>
<th id="custPerUserHeader" class="px-4 pb-3 font-medium text-right">Per User / month</th>
<th id="thBaseCust" class="px-4 pb-3 font-medium text-right">Base MRR</th>
<th id="thTotalCust" class="px-4 pb-3 font-medium text-right">Total ARR</th>
<th id="partPerUserHeader" class="px-4 pb-3 font-medium text-right partner-col hidden">Partner Per User / month</th>
<th id="thBasePart" class="px-4 pb-3 font-medium text-right partner-col hidden">Partner Base MRR</th>
<th id="thTotalPart" class="px-4 pb-3 font-medium text-right partner-col hidden">Partner Total ARR</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-200 last:border-0">
<td class="px-4 py-3 text-left">Application Workspace</td>
<td id="custUsers" class="px-4 py-3 text-right">0</td>
<td id="custPerUser" class="px-4 py-3 text-right">$0.00</td>
<td id="custBase" class="px-4 py-3 text-right">$0.00</td>
<td id="custTotal" class="px-4 py-3 text-right">$0.00</td>
<td id="partPerUser" class="px-4 py-3 text-right partner-col hidden">$0.00</td>
<td id="partBase" class="px-4 py-3 text-right partner-col hidden">$0.00</td>
<td id="partTotal" class="px-4 py-3 text-right partner-col hidden">$0.00</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section id="tab-onboarding" role="tabpanel" aria-labelledby="tab-onboarding-btn" class="tab-content hidden">
<div class="rounded-2xl bg-white p-6 shadow-md hover:shadow-lg transition-shadow duration-300">
<h2 class="text-xl font-medium mb-2">Recast Onboarding Overview</h2>
<p class="text-base text-gray-700 leading-relaxed mb-2">Moving from Citrix to Azure Virtual Desktop (AVD) has never been easier.</p>
<p class="text-base text-gray-700 leading-relaxed mb-4">Our onboarding is built to make your transition fast, predictable, and low-stress. You’ll work directly with Recast experts who guide your IT team step-by-step — from environment preparation to AVD configuration and go-live support. Within a few weeks, your environment will be fully optimized for AVD and ready for production use.</p>
<h3 class="text-base font-medium mb-3">Onboarding Services Comparison</h3>
<div class="overflow-x-auto">
<table class="w-full text-left border-collapse text-base text-gray-700">
<thead>
<tr class="border-b border-gray-200">
<th class="pb-3 font-medium">Onboarding Stage</th>
<th class="pb-3 font-medium">Citrix to AVD Transition Onboarding</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-200"><td class="py-3">Project Duration</td><td class="py-3">6–8 Weeks (max 40 consulting hours)</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Go-Live Support Period</td><td class="py-3">6 Weeks post-configuration (2 hrs/week of SME access)</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Engagement Type</td><td class="py-3">Advisory-led (Customer executes configurations under Recast guidance)</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Scope of Support</td><td class="py-3">Migration planning, AVD setup, and operational transition from Citrix</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Availability</td><td class="py-3">Standard Business Hours (8am–5pm CT/CET)</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Delivery Format</td><td class="py-3">Remote consultation and documentation support</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Environment Preparation</td><td class="py-3">Guidance for preparing infrastructure and identity access for AVD</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">AVD Configuration Assistance</td><td class="py-3">Step-by-step guidance on configuring host pools, session management, and user access</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Policy & Access Advisory</td><td class="py-3">Consultation on conditional access, identity mapping, and application policies</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Modern Workplace Alignment</td><td class="py-3">Optimization of AVD deployment for Windows endpoint environments</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Custom Branding (Optional)</td><td class="py-3">Consultation on workspace look and feel to match corporate standards</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Consultation Deliverables</td><td class="py-3">Custom configuration guide, training materials, and best-practice documentation</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Acceptance Criteria</td><td class="py-3">Customer validates readiness for production AVD use following guided implementation</td></tr>
<tr class="border-b border-gray-200"><td class="py-3">Dependencies</td><td class="py-3">Customer provides infrastructure access and participates in scheduled onboarding sessions</td></tr>
<tr class="border-b border-gray-200 last:border-0"><td class="py-3">Pricing</td><td class="py-3">Included in onboarding engagement (non-standalone service)</td></tr>
</tbody>
</table>
</div>
</div>
</section>
<section id="tab-sla" role="tabpanel" aria-labelledby="tab-sla-btn" class="tab-content hidden">
<div class="rounded-2xl bg-white p-6 shadow-md hover:shadow-lg transition-shadow duration-300">
<h2 class="text-xl font-medium mb-4">Support Service Levels</h2>
<div class="overflow-x-auto">
<table class="w-full text-left border-collapse text-base text-gray-700" aria-label="Support features and response times">
<thead>
<tr class="border-b border-gray-200">
<th scope="col" class="pb-3 font-medium">Feature</th>
<th scope="col" class="pb-3 font-medium">Support</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Urgent Severity</td><td class="py-3">First response: <strong>1 Business Day</strong></td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Normal Severity</td><td class="py-3">First response: <strong>2 Business Days</strong></td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Low Severity</td><td class="py-3">First response: <strong>3 Business Days</strong></td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Availability</td><td class="py-3">8am – 5pm CT/CET</td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Support Hours</td><td class="py-3">Unlimited</td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Dedicated CSM</td><td class="py-3">✔</td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Support Call Scheduling</td><td class="py-3">Based on availability</td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Environment Audit</td><td class="py-3">—</td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Configuration Audit</td><td class="py-3">—</td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">Upgrade Assistance</td><td class="py-3">—</td></tr>
<tr class="border-b border-gray-200"><td class="py-3 font-medium">User Group Membership</td><td class="py-3">Based on availability</td></tr>
<tr class="border-b border-gray-200 last:border-0"><td class="py-3 font-medium">Pricing</td><td class="py-3">Included with Recast Licensing</td></tr>
</tbody>
</table>
</div>
</div>
</section>
</main>
<div id="toast" role="status" aria-live="polite" class="pointer-events-none fixed bottom-4 right-4 z-50 hidden">
<div class="rounded-xl bg-white px-4 py-3 shadow-lg text-base flex items-center gap-2 border border-gray-200">
<i data-lucide="check" class="size-4 text-green-600"></i>
<span id="toast-msg">Copied to clipboard</span>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
lucide.createIcons();
initApp();
});
const CURRENCIES = {
USD: { code: 'USD', label: 'USD', locale: 'en-US', rateFromUSD: 1.00 },
EUR: { code: 'EUR', label: 'EUR', locale: 'de-DE', rateFromUSD: 0.85 },
GBP: { code: 'GBP', label: 'GBP', locale: 'en-GB', rateFromUSD: 0.77 }
};
const STATE = {
currency: 'USD',
users: 500,
includePartner: false,
totals: {
baseMonthly: 0,
baseAnnual: 0,
totalMonthly: 0,
totalAnnual: 0,
partnerPerUser: 0,
partnerMonthly: 0,
partnerAnnual: 0
}
};
function calculateMonthlyCost(users) {
if (!Number.isFinite(users) || users < 1) return 0;
let total = 0;
let remaining = users;
let tier1 = Math.min(remaining, 999);
total += tier1 * 4.00;
remaining -= tier1;
if (remaining <= 0) return total;
let tier2 = Math.min(remaining, 4000);
total += tier2 * 3.50;
remaining -= tier2;
if (remaining <= 0) return total;
let tier3 = Math.min(remaining, 5000);
total += tier3 * 3.00;
remaining -= tier3;
if (remaining <= 0) return total;
let tier4 = Math.min(remaining, 15000);
total += tier4 * 2.50;
remaining -= tier4;
if (remaining <= 0) return total;
let tier5 = Math.min(remaining, 25000);
total += tier5 * 2.00;
remaining -= tier5;
if (remaining <= 0) return total;
total += remaining * 1.50;
return total;
}
function getCurrencyMeta() {
return CURRENCIES[STATE.currency] || CURRENCIES.USD;
}
function toSelectedCurrency(amountUSD) {
const { rateFromUSD } = getCurrencyMeta();
return amountUSD * rateFromUSD;
}
function formatCurrencyFromUSD(amountUSD) {
const { code, locale } = getCurrencyMeta();
const v = toSelectedCurrency(amountUSD) || 0;
return new Intl.NumberFormat(locale, { style: 'currency', currency: code, maximumFractionDigits: 2 }).format(v);
}
function validateUsers(n) {
const valid = Number.isFinite(n) && n >= 250 && n <= 1000000;
return { valid, message: valid ? '' : 'Please enter a valid user count (minimum 250).' };
}
function computeTotals() {
const monthlyCostUSD = calculateMonthlyCost(STATE.users);
const annualCostUSD = monthlyCostUSD * 12;
const baseMonthlyUSD = monthlyCostUSD;
const baseAnnualUSD = annualCostUSD;
const totalMonthlyUSD = baseMonthlyUSD;
const totalAnnualUSD = baseAnnualUSD;
const marginPercent = 0.25;
const partnerAnnualUSD = totalAnnualUSD * (1 - marginPercent);
const partnerMonthlyUSD = partnerAnnualUSD / 12;
const partnerPerUserUSD = STATE.users > 0 ? partnerMonthlyUSD / STATE.users : 0;
STATE.totals = {
baseMonthly: baseMonthlyUSD,
baseAnnual: baseAnnualUSD,
totalMonthly: totalMonthlyUSD,
totalAnnual: totalAnnualUSD,
partnerPerUser: partnerPerUserUSD,
partnerMonthly: partnerMonthlyUSD,
partnerAnnual: partnerAnnualUSD
};
}
function renderCustomerTable() {
document.getElementById('custUsers').textContent = STATE.users;
const monthlyCostUSD = calculateMonthlyCost(STATE.users);
const avgPerUserMonthly = STATE.users > 0 ? monthlyCostUSD / STATE.users : 0;
document.getElementById('custPerUser').textContent = formatCurrencyFromUSD(avgPerUserMonthly);
document.getElementById('custBase').textContent = formatCurrencyFromUSD(STATE.totals.baseMonthly);
document.getElementById('custTotal').textContent = formatCurrencyFromUSD(STATE.totals.totalAnnual);
document.getElementById('partPerUser').textContent = formatCurrencyFromUSD(STATE.totals.partnerPerUser);
document.getElementById('partBase').textContent = formatCurrencyFromUSD(STATE.totals.partnerMonthly);
document.getElementById('partTotal').textContent = formatCurrencyFromUSD(STATE.totals.partnerAnnual);
document.querySelectorAll('.partner-col').forEach(el => el.classList.toggle('hidden', !STATE.includePartner));
}
function renderForm() {
const usersInput = document.getElementById('users');
const currencySelect = document.getElementById('currency');
const partnerCheck = document.getElementById('include-partner');
if (Number(usersInput.value) !== STATE.users) usersInput.value = STATE.users;
if (currencySelect.value !== STATE.currency) currencySelect.value = STATE.currency;
if (partnerCheck.checked !== STATE.includePartner) partnerCheck.checked = STATE.includePartner;
}
function renderTabs(active) {
document.querySelectorAll('.tab-btn').forEach(btn => {
const isActive = btn.dataset.tab === active;
btn.setAttribute('data-active', isActive);
btn.setAttribute('aria-selected', isActive);
});
document.querySelectorAll('.tab-content').forEach(sec => sec.classList.add('hidden'));
document.getElementById(`tab-${active}`).classList.remove('hidden');
}
function renderAll() {
computeTotals();
renderCustomerTable();
renderForm();
}
function showToast(message) {
const toast = document.getElementById('toast');
const msg = document.getElementById('toast-msg');
if (!toast || !msg) return;
msg.textContent = message;
toast.classList.remove('hidden');
setTimeout(() => toast.classList.add('hidden'), 1800);
}
function copyEmailSummary() {
const subject = 'Pricing Summary';
const { code } = getCurrencyMeta();
const baseLabel = 'Base MRR';
const totalLabel = 'Total ARR';
const baseValue = STATE.totals.baseMonthly;
const totalValue = STATE.totals.totalAnnual;
const monthlyCostUSD = calculateMonthlyCost(STATE.users);
const averageMonthlyPerUser = STATE.users > 0 ? monthlyCostUSD / STATE.users : 0;
const lines = [
'Recast Pricing Summary',
'',
'Inputs',
`- Users: ${STATE.users}`,
`- Currency: ${code}`,
`- Average MSRP (per-user monthly): ${formatCurrencyFromUSD(averageMonthlyPerUser)}`,
'',
'Customer Pricing',
`- ${baseLabel}: ${formatCurrencyFromUSD(baseValue)}`,
`- ${totalLabel}: ${formatCurrencyFromUSD(totalValue)}`
];
if (STATE.includePartner) {
lines.push('');
lines.push('Partner Pricing (25% Margin)');
lines.push(`- Average Partner Price (per-user monthly): ${formatCurrencyFromUSD(STATE.totals.partnerPerUser)}`);
lines.push(`- Partner ${baseLabel}: ${formatCurrencyFromUSD(STATE.totals.partnerMonthly)}`);
lines.push(`- Partner ${totalLabel}: ${formatCurrencyFromUSD(STATE.totals.partnerAnnual)}`);
}
const body = encodeURIComponent(lines.join('\n'));
const mailto = `mailto:?subject=${encodeURIComponent(subject)}&body=${body}`;
navigator.clipboard.writeText(lines.join('\n')).then(() => {
showToast('Summary copied to clipboard');
}).catch(() => {
window.location.href = mailto;
});
}
function initEvents() {
const usersInput = document.getElementById('users');
const usersError = document.getElementById('users-error');
const currencySelect = document.getElementById('currency');
const partnerCheck = document.getElementById('include-partner');
usersInput.addEventListener('input', () => {
const n = parseInt(usersInput.value, 10);
const { valid, message } = validateUsers(n);
usersError.textContent = message;
usersError.classList.toggle('hidden', valid);
if (valid) {
STATE.users = n;
renderAll();
}
});
currencySelect.addEventListener('change', () => {
STATE.currency = currencySelect.value;
renderAll();
});
partnerCheck.addEventListener('change', () => {
STATE.includePartner = partnerCheck.checked;
renderAll();
});
document.querySelectorAll('.tab-btn').forEach(btn => {
btn.addEventListener('click', () => {
renderTabs(btn.dataset.tab);
});
});
document.getElementById('copy-email').addEventListener('click', (e) => {
e.preventDefault();
copyEmailSummary();
});
}
function initApp() {
initEvents();
renderTabs('customer');
renderAll();
}
</script>
</body>
</html>