Redesign pricing into 3-step wizard: Starter €499 + Professional €899, then 1yr/2yr(5%)/3yr(10%) support duration
This commit is contained in:
+305
-140
@@ -68,47 +68,72 @@
|
|||||||
.included-item h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
|
.included-item h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
|
||||||
.included-item p { font-size: 0.75rem; color: var(--muted); line-height: 1.6; }
|
.included-item p { font-size: 0.75rem; color: var(--muted); line-height: 1.6; }
|
||||||
|
|
||||||
/* ── PRICING ── */
|
/* ── WIZARD PRICING ── */
|
||||||
.pricing-section { padding: 6rem 3rem; max-width: 900px; margin: 0 auto; text-align: center; }
|
.pricing-section { padding: 6rem 3rem; max-width: 960px; margin: 0 auto; text-align: center; }
|
||||||
.pricing-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; margin-bottom: 0.8rem; }
|
.pricing-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; margin-bottom: 0.8rem; }
|
||||||
.pricing-section > p { font-size: 0.85rem; color: var(--muted); margin-bottom: 3rem; }
|
.pricing-section > p { font-size: 0.85rem; color: var(--muted); margin-bottom: 3rem; }
|
||||||
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; text-align: left; }
|
|
||||||
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 2rem; }
|
|
||||||
.pricing-card.featured { border-color: rgba(201,165,90,0.3); position: relative; }
|
|
||||||
.pricing-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -1px; left: 2rem; background: var(--gold); color: #080809; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; padding: 0.3rem 0.8rem; border-radius: 0 0 4px 4px; }
|
|
||||||
.pricing-card h3 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
|
|
||||||
.pricing-card h4 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
|
|
||||||
.pricing-card .price { font-size: 2rem; font-weight: 700; color: var(--gold); margin-bottom: 0.3rem; }
|
|
||||||
.pricing-card .price-note { font-size: 0.72rem; color: var(--muted); margin-bottom: 1.5rem; }
|
|
||||||
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
|
|
||||||
.pricing-card li { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
|
|
||||||
.pricing-card li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
|
|
||||||
|
|
||||||
/* ── MONTHLY RETAINER ── */
|
/* Wizard steps */
|
||||||
.retainer-section { padding: 6rem 3rem; background: var(--bg-card); border-top: 1px solid var(--border); }
|
.wizard-steps { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-bottom: 3rem; }
|
||||||
.retainer-inner { max-width: 1100px; margin: 0 auto; }
|
.wizard-step { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
|
||||||
.retainer-header { text-align: center; margin-bottom: 3.5rem; }
|
.wizard-step.active { color: var(--gold); }
|
||||||
.section-eyebrow { font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
|
.wizard-step.done { color: var(--gold); }
|
||||||
.retainer-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; margin-bottom: 0.8rem; }
|
.wizard-step-num { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--muted); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; }
|
||||||
.retainer-intro { font-size: 0.88rem; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.8; }
|
.wizard-step.active .wizard-step-num { border-color: var(--gold); background: var(--gold); color: #080809; }
|
||||||
.retainer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
|
.wizard-step.done .wizard-step-num { border-color: var(--gold); background: var(--gold); color: #080809; }
|
||||||
.retainer-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; text-align: center; transition: border-color 0.3s; position: relative; }
|
.wizard-step-divider { width: 40px; height: 1px; background: var(--border); }
|
||||||
.retainer-card.featured { border-color: rgba(201,165,90,0.3); }
|
|
||||||
.retainer-card:hover { border-color: rgba(201,165,90,0.25); }
|
/* Step panels */
|
||||||
.retainer-badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
|
.wizard-panel { display: none; }
|
||||||
.retainer-hours { font-size: 4rem; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 0.3rem; }
|
.wizard-panel.active { display: block; animation: fadeIn 0.3s ease; }
|
||||||
.retainer-unit { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
|
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
|
||||||
.retainer-price { font-size: 2.2rem; font-weight: 700; color: var(--gold); margin-bottom: 0.2rem; }
|
|
||||||
.retainer-price span { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
|
/* Plan cards */
|
||||||
.retainer-equivalent { font-size: 0.7rem; color: var(--muted); margin-bottom: 1.5rem; }
|
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; text-align: left; max-width: 760px; margin: 0 auto 2rem; }
|
||||||
.retainer-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
|
.plan-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: 8px; padding: 2rem; cursor: pointer; transition: all 0.25s; position: relative; }
|
||||||
.retainer-features li { font-size: 0.8rem; color: var(--muted); padding-left: 1.2rem; position: relative; }
|
.plan-card:hover { border-color: rgba(201,165,90,0.3); transform: translateY(-2px); }
|
||||||
.retainer-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 0.7rem; }
|
.plan-card.selected { border-color: var(--gold); background: rgba(201,165,90,0.05); }
|
||||||
.retainer-btn { background: transparent; border: 1px solid rgba(201,165,90,0.25); color: var(--gold); padding: 0.6rem 1.5rem; border-radius: 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; width: 100%; transition: all 0.3s; font-family: 'Inter', sans-serif; }
|
.plan-card.featured { border-color: rgba(201,165,90,0.3); }
|
||||||
.retainer-btn:hover { background: rgba(201,165,90,0.08); border-color: rgba(201,165,90,0.4); }
|
.plan-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -1px; left: 2rem; background: var(--gold); color: #080809; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; padding: 0.3rem 0.8rem; border-radius: 0 0 4px 4px; }
|
||||||
.retainer-btn.primary { background: var(--gold); color: #080809; border-color: var(--gold); }
|
.plan-card h3 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
|
||||||
.retainer-btn.primary:hover { background: #e0bc72; }
|
.plan-card h4 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
|
||||||
.retainer-note { text-align: center; font-size: 0.75rem; color: var(--muted); max-width: 500px; margin: 0 auto; line-height: 1.7; }
|
.plan-card .plan-price { font-size: 2.2rem; font-weight: 700; color: var(--gold); margin-bottom: 0.2rem; }
|
||||||
|
.plan-card .plan-price-note { font-size: 0.72rem; color: var(--muted); margin-bottom: 1.5rem; }
|
||||||
|
.plan-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
|
||||||
|
.plan-card li { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
|
||||||
|
.plan-card li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
|
||||||
|
.plan-card .ai-badge { display: inline-block; background: var(--gold-dim); border: 1px solid rgba(201,165,90,0.2); color: var(--gold); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 2px; margin-left: 0.4rem; }
|
||||||
|
|
||||||
|
/* Duration selector */
|
||||||
|
.duration-section { max-width: 680px; margin: 0 auto; }
|
||||||
|
.duration-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
|
||||||
|
.duration-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
|
||||||
|
.duration-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: 8px; padding: 1.5rem 1rem; cursor: pointer; transition: all 0.25s; text-align: center; }
|
||||||
|
.duration-card:hover { border-color: rgba(201,165,90,0.3); }
|
||||||
|
.duration-card.selected { border-color: var(--gold); background: rgba(201,165,90,0.05); }
|
||||||
|
.duration-card .dur-label { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
|
||||||
|
.duration-card .dur-save { font-size: 0.68rem; font-weight: 700; color: #4ade80; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
|
||||||
|
.duration-card .dur-desc { font-size: 0.7rem; color: var(--muted); line-height: 1.5; }
|
||||||
|
.duration-card.selected .dur-label { color: var(--gold); }
|
||||||
|
|
||||||
|
/* Price summary */
|
||||||
|
.price-summary { background: var(--bg-card); border: 1px solid rgba(201,165,90,0.2); border-radius: 8px; padding: 1.8rem 2rem; max-width: 520px; margin: 0 auto 2rem; text-align: left; }
|
||||||
|
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; font-size: 0.85rem; color: var(--muted); }
|
||||||
|
.summary-row.total { border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 1rem; font-size: 1rem; font-weight: 600; color: var(--text); }
|
||||||
|
.summary-row .summary-val { font-weight: 600; color: var(--text); }
|
||||||
|
.summary-row.total .summary-val { font-size: 1.2rem; color: var(--gold); font-weight: 700; }
|
||||||
|
.summary-discount { color: #4ade80; font-weight: 600; }
|
||||||
|
|
||||||
|
/* Wizard nav */
|
||||||
|
.wizard-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
|
||||||
|
.wizard-btn { background: transparent; border: 1px solid rgba(201,165,90,0.25); color: var(--gold); padding: 0.7rem 2rem; border-radius: 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.25s; font-family: 'Inter', sans-serif; }
|
||||||
|
.wizard-btn:hover { background: rgba(201,165,90,0.08); border-color: rgba(201,165,90,0.4); }
|
||||||
|
.wizard-btn.primary { background: var(--gold); color: #080809; border-color: var(--gold); }
|
||||||
|
.wizard-btn.primary:hover { background: #e0bc72; }
|
||||||
|
.wizard-btn:disabled { opacity: 0.4; cursor: not-allowed; }
|
||||||
|
|
||||||
|
/* Commitment badge */
|
||||||
|
.commitment { text-align: center; font-size: 0.72rem; color: var(--muted); margin-top: 1rem; }
|
||||||
|
|
||||||
/* ── CONTACT FORM ── */
|
/* ── CONTACT FORM ── */
|
||||||
.contact-section { padding: 6rem 3rem; background: var(--bg-card); border-top: 1px solid var(--border); }
|
.contact-section { padding: 6rem 3rem; background: var(--bg-card); border-top: 1px solid var(--border); }
|
||||||
@@ -142,12 +167,13 @@
|
|||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
.demos-grid { grid-template-columns: repeat(2, 1fr); }
|
.demos-grid { grid-template-columns: repeat(2, 1fr); }
|
||||||
.included-grid { grid-template-columns: repeat(2, 1fr); }
|
.included-grid { grid-template-columns: repeat(2, 1fr); }
|
||||||
.pricing-cards { grid-template-columns: 1fr; }
|
.plan-cards { grid-template-columns: 1fr; max-width: 420px; }
|
||||||
.retainer-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
|
.duration-cards { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; }
|
||||||
header { padding: 1.2rem 1.5rem; }
|
header { padding: 1.2rem 1.5rem; }
|
||||||
.hero { padding: 8rem 1.5rem 4rem; }
|
.hero { padding: 8rem 1.5rem 4rem; }
|
||||||
.demos-section, .included-section, .pricing-section, .retainer-section, .contact-section { padding-left: 1.5rem; padding-right: 1.5rem; }
|
.demos-section, .included-section, .pricing-section, .contact-section { padding-left: 1.5rem; padding-right: 1.5rem; }
|
||||||
.form-grid { grid-template-columns: 1fr; }
|
.form-grid { grid-template-columns: 1fr; }
|
||||||
|
.wizard-steps { flex-wrap: wrap; }
|
||||||
}
|
}
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
.demos-grid { grid-template-columns: 1fr; }
|
.demos-grid { grid-template-columns: 1fr; }
|
||||||
@@ -158,7 +184,7 @@
|
|||||||
|
|
||||||
<header>
|
<header>
|
||||||
<div class="header-logo">Host<span>Pioneers</span> — Restaurant Templates</div>
|
<div class="header-logo">Host<span>Pioneers</span> — Restaurant Templates</div>
|
||||||
<button class="header-cta" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">Get Your Website</button>
|
<button class="header-cta" onclick="document.getElementById('pricing').scrollIntoView({behavior:'smooth'})">Build Your Site</button>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- HERO -->
|
<!-- HERO -->
|
||||||
@@ -298,98 +324,144 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- PRICING -->
|
<!-- WIZARD PRICING -->
|
||||||
<section class="pricing-section">
|
<section class="pricing-section" id="pricing">
|
||||||
<h2>Website setup — one time</h2>
|
<h2>Build your plan</h2>
|
||||||
<p>Choose your template tier. All include hosting for year one.</p>
|
<p>Pick your website package, then lock in your support plan. The longer the commitment, the more you save.</p>
|
||||||
<div class="pricing-cards">
|
|
||||||
<div class="pricing-card">
|
|
||||||
<h3>Essential</h3>
|
|
||||||
<h4>Your Restaurant Website</h4>
|
|
||||||
<div class="price">€499</div>
|
|
||||||
<div class="price-note">One-time · then €25/mo hosting</div>
|
|
||||||
<ul>
|
|
||||||
<li>Custom restaurant template</li>
|
|
||||||
<li>Menu + photos + content</li>
|
|
||||||
<li>Google Maps + contact form</li>
|
|
||||||
<li>Mobile optimised</li>
|
|
||||||
<li>Social media links</li>
|
|
||||||
<li>1 year hosting included</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="pricing-card featured">
|
|
||||||
<h3>Professional</h3>
|
|
||||||
<h4>Website + AI Extras</h4>
|
|
||||||
<div class="price">€699</div>
|
|
||||||
<div class="price-note">One-time · then €30/mo all-in</div>
|
|
||||||
<ul>
|
|
||||||
<li>Everything in Essential</li>
|
|
||||||
<li>AI menu chatbot (24/7)</li>
|
|
||||||
<li>AI booking assistant</li>
|
|
||||||
<li>Multi-language menu option</li>
|
|
||||||
<li>Priority support line</li>
|
|
||||||
<li>1 year hosting included</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- MONTHLY RETAINER -->
|
<!-- Steps indicator -->
|
||||||
<section class="retainer-section">
|
<div class="wizard-steps">
|
||||||
<div class="retainer-inner">
|
<div class="wizard-step active" id="step1Indicator">
|
||||||
<div class="retainer-header">
|
<div class="wizard-step-num">1</div>
|
||||||
<p class="section-eyebrow">Monthly Support Retainer</p>
|
<span>Choose Plan</span>
|
||||||
<h2>Keep your site fresh — prepaid hours</h2>
|
|
||||||
<p class="retainer-intro">Need menu updates, seasonal changes, new photos, or new sections? Prepay hours and use them when you need. Cancel anytime — no lock-in.</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="retainer-grid">
|
<div class="wizard-step-divider"></div>
|
||||||
<div class="retainer-card">
|
<div class="wizard-step" id="step2Indicator">
|
||||||
<div class="retainer-badge">Starter</div>
|
<div class="wizard-step-num">2</div>
|
||||||
<div class="retainer-hours">2</div>
|
<span>Support Length</span>
|
||||||
<div class="retainer-unit">hours / month</div>
|
</div>
|
||||||
<div class="retainer-price">€69<span>/mo</span></div>
|
<div class="wizard-step-divider"></div>
|
||||||
<div class="retainer-equivalent">≈ €35/hr</div>
|
<div class="wizard-step" id="step3Indicator">
|
||||||
<ul class="retainer-features">
|
<div class="wizard-step-num">3</div>
|
||||||
<li>Menu updates</li>
|
<span>Summary</span>
|
||||||
<li>Seasonal changes</li>
|
|
||||||
<li>Photo swaps</li>
|
|
||||||
<li>Email support</li>
|
|
||||||
</ul>
|
|
||||||
<button class="retainer-btn" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">Choose Starter</button>
|
|
||||||
</div>
|
|
||||||
<div class="retainer-card featured">
|
|
||||||
<div class="retainer-badge">Standard</div>
|
|
||||||
<div class="retainer-hours">4</div>
|
|
||||||
<div class="retainer-unit">hours / month</div>
|
|
||||||
<div class="retainer-price">€119<span>/mo</span></div>
|
|
||||||
<div class="retainer-equivalent">≈ €30/hr</div>
|
|
||||||
<ul class="retainer-features">
|
|
||||||
<li>Everything in Starter</li>
|
|
||||||
<li>New menu sections</li>
|
|
||||||
<li>Layout adjustments</li>
|
|
||||||
<li>New pages (about, events)</li>
|
|
||||||
<li>Priority response</li>
|
|
||||||
</ul>
|
|
||||||
<button class="retainer-btn primary" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">Choose Standard</button>
|
|
||||||
</div>
|
|
||||||
<div class="retainer-card">
|
|
||||||
<div class="retainer-badge">Pro</div>
|
|
||||||
<div class="retainer-hours">8</div>
|
|
||||||
<div class="retainer-unit">hours / month</div>
|
|
||||||
<div class="retainer-price">€219<span>/mo</span></div>
|
|
||||||
<div class="retainer-equivalent">≈ €27/hr</div>
|
|
||||||
<ul class="retainer-features">
|
|
||||||
<li>Everything in Standard</li>
|
|
||||||
<li>Full page redesigns</li>
|
|
||||||
<li>New features + integrations</li>
|
|
||||||
<li>AI training for your restaurant</li>
|
|
||||||
<li>Dedicated Slack channel</li>
|
|
||||||
</ul>
|
|
||||||
<button class="retainer-btn" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">Choose Pro</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<p class="retainer-note">Unused hours roll over to next month. Cancel anytime by sending one email. No contracts, no lock-in.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- STEP 1: Choose Plan -->
|
||||||
|
<div class="wizard-panel active" id="panel1">
|
||||||
|
<div class="plan-cards">
|
||||||
|
<div class="plan-card featured" onclick="selectPlan('starter')" id="card-starter">
|
||||||
|
<h3>Starter</h3>
|
||||||
|
<h4>Your Restaurant Website</h4>
|
||||||
|
<div class="plan-price">€499</div>
|
||||||
|
<div class="plan-price-note">One-time setup · then €25/mo hosting</div>
|
||||||
|
<ul>
|
||||||
|
<li>Custom restaurant template</li>
|
||||||
|
<li>Menu + photos + content</li>
|
||||||
|
<li>Google Maps + contact form</li>
|
||||||
|
<li>Mobile optimised</li>
|
||||||
|
<li>Social media links</li>
|
||||||
|
<li>1 year hosting included</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="plan-card" onclick="selectPlan('professional')" id="card-professional">
|
||||||
|
<h3>Professional <span class="ai-badge">+ AI Suite</span></h3>
|
||||||
|
<h4>Website + Full AI Extras</h4>
|
||||||
|
<div class="plan-price">€899</div>
|
||||||
|
<div class="plan-price-note">One-time setup · then €30/mo hosting</div>
|
||||||
|
<ul>
|
||||||
|
<li>Everything in Starter</li>
|
||||||
|
<li>AI menu chatbot (24/7)</li>
|
||||||
|
<li>AI booking assistant</li>
|
||||||
|
<li>Multi-language menu</li>
|
||||||
|
<li>AI voice phone assistant</li>
|
||||||
|
<li>AI review responder</li>
|
||||||
|
<li>Priority support line</li>
|
||||||
|
<li>1 year hosting included</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wizard-nav">
|
||||||
|
<button class="wizard-btn primary" id="btnStep1" onclick="goStep(2)" disabled>Continue →</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- STEP 2: Choose Duration -->
|
||||||
|
<div class="wizard-panel" id="panel2">
|
||||||
|
<div class="duration-section">
|
||||||
|
<p class="duration-label">How long do you want to commit?</p>
|
||||||
|
<div class="duration-cards">
|
||||||
|
<div class="duration-card" onclick="selectDuration(1)" id="dur-1">
|
||||||
|
<div class="dur-label">1 Year</div>
|
||||||
|
<div class="dur-desc">Full price</div>
|
||||||
|
</div>
|
||||||
|
<div class="duration-card" onclick="selectDuration(2)" id="dur-2">
|
||||||
|
<div class="dur-label">2 Years</div>
|
||||||
|
<div class="dur-save">Save 5%</div>
|
||||||
|
<div class="dur-desc">Billed as 23 months</div>
|
||||||
|
</div>
|
||||||
|
<div class="duration-card" onclick="selectDuration(3)" id="dur-3">
|
||||||
|
<div class="dur-label">3 Years</div>
|
||||||
|
<div class="dur-save">Save 10%</div>
|
||||||
|
<div class="dur-desc">Billed as 32 months</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="price-summary" id="priceSummary2">
|
||||||
|
<div class="summary-row">
|
||||||
|
<span id="summary-plan-name">Starter Website</span>
|
||||||
|
<span class="summary-val" id="summary-site-price">€499</span>
|
||||||
|
</div>
|
||||||
|
<div class="summary-row">
|
||||||
|
<span id="summary-support-label">1 yr support (2 hrs/mo)</span>
|
||||||
|
<span class="summary-val" id="summary-support-price">—</span>
|
||||||
|
</div>
|
||||||
|
<div class="summary-row total">
|
||||||
|
<span>Total due today</span>
|
||||||
|
<span class="summary-val" id="summary-total-2">€499</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="commitment" id="commitment-text">No lock-in. Cancel support anytime — your website stays live.</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="wizard-nav">
|
||||||
|
<button class="wizard-btn" onclick="goStep(1)">← Back</button>
|
||||||
|
<button class="wizard-btn primary" id="btnStep2" onclick="goStep(3)" disabled>See Summary →</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- STEP 3: Summary -->
|
||||||
|
<div class="wizard-panel" id="panel3">
|
||||||
|
<div class="price-summary" id="priceSummary3">
|
||||||
|
<div class="summary-row">
|
||||||
|
<span>Plan</span>
|
||||||
|
<span class="summary-val" id="s3-plan">—</span>
|
||||||
|
</div>
|
||||||
|
<div class="summary-row">
|
||||||
|
<span>Website setup</span>
|
||||||
|
<span class="summary-val" id="s3-site">—</span>
|
||||||
|
</div>
|
||||||
|
<div class="summary-row">
|
||||||
|
<span>Support</span>
|
||||||
|
<span class="summary-val" id="s3-support">—</span>
|
||||||
|
</div>
|
||||||
|
<div class="summary-row">
|
||||||
|
<span>Discount</span>
|
||||||
|
<span class="summary-val summary-discount" id="s3-discount">—</span>
|
||||||
|
</div>
|
||||||
|
<div class="summary-row total">
|
||||||
|
<span>Due today</span>
|
||||||
|
<span class="summary-val" id="s3-total">—</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="wizard-nav">
|
||||||
|
<button class="wizard-btn" onclick="goStep(2)">← Edit</button>
|
||||||
|
<button class="wizard-btn primary" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">Start Your Website →</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- CONTACT FORM -->
|
<!-- CONTACT FORM -->
|
||||||
@@ -448,23 +520,117 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>© 2026 HostPioneers.com — HostPioneers, Benalmádena Costa</p>
|
<p>© 2012-2026 <a href="https://hostpioneers.com">HostPioneers.com</a> — HostPioneers, Benalmádena Costa</p>
|
||||||
<p><a href="https://hostpioneers.com">hostpioneers.com</a></p>
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
// ── Wizard state ──
|
||||||
|
var selectedPlan = null; // 'starter' | 'professional'
|
||||||
|
var selectedDuration = null; // 1 | 2 | 3
|
||||||
|
|
||||||
|
// ── Support tiers (monthly price per hour) ──
|
||||||
|
var supportTiers = {
|
||||||
|
1: { hours: 2, pricePerHr: 35, label: 'Starter' },
|
||||||
|
2: { hours: 4, pricePerHr: 30, label: 'Standard' },
|
||||||
|
3: { hours: 8, pricePerHr: 27, label: 'Pro' }
|
||||||
|
};
|
||||||
|
|
||||||
|
var planPrices = {
|
||||||
|
starter: 499,
|
||||||
|
professional: 899
|
||||||
|
};
|
||||||
|
|
||||||
|
var durationDiscounts = { 1: 0, 2: 0.05, 3: 0.10 };
|
||||||
|
var durationLabels = { 1: '1 Year', 2: '2 Years', 3: '3 Years' };
|
||||||
|
|
||||||
|
function selectPlan(plan) {
|
||||||
|
selectedPlan = plan;
|
||||||
|
document.querySelectorAll('.plan-card').forEach(function(c) { c.classList.remove('selected'); });
|
||||||
|
document.getElementById('card-' + plan).classList.add('selected');
|
||||||
|
document.getElementById('btnStep1').disabled = false;
|
||||||
|
updatePriceSummary();
|
||||||
|
}
|
||||||
|
|
||||||
|
function selectDuration(dur) {
|
||||||
|
selectedDuration = dur;
|
||||||
|
document.querySelectorAll('.duration-card').forEach(function(c) { c.classList.remove('selected'); });
|
||||||
|
document.getElementById('dur-' + dur).classList.add('selected');
|
||||||
|
document.getElementById('btnStep2').disabled = false;
|
||||||
|
updatePriceSummary();
|
||||||
|
}
|
||||||
|
|
||||||
|
function updatePriceSummary() {
|
||||||
|
if (!selectedPlan || !selectedDuration) return;
|
||||||
|
|
||||||
|
var sitePrice = planPrices[selectedPlan];
|
||||||
|
var disc = durationDiscounts[selectedDuration];
|
||||||
|
var tier = supportTiers[selectedDuration];
|
||||||
|
var monthlySupport = tier.hours * tier.pricePerHr;
|
||||||
|
|
||||||
|
// months billed with discount
|
||||||
|
var monthsBilled = selectedDuration === 2 ? 23 : selectedDuration === 3 ? 32 : 12;
|
||||||
|
var totalSupport = monthlySupport * monthsBilled;
|
||||||
|
var discountAmount = disc > 0 ? totalSupport * disc : 0;
|
||||||
|
var totalToday = sitePrice + (totalSupport - discountAmount);
|
||||||
|
|
||||||
|
// Panel 2 summary
|
||||||
|
var planName = selectedPlan === 'starter' ? 'Starter Website' : 'Professional Website + AI';
|
||||||
|
document.getElementById('summary-plan-name').textContent = planName;
|
||||||
|
document.getElementById('summary-site-price').textContent = '€' + sitePrice;
|
||||||
|
document.getElementById('summary-support-label').textContent =
|
||||||
|
durationLabels[selectedDuration] + ' support (' + tier.hours + ' hrs/mo, ' + tier.label + ')';
|
||||||
|
document.getElementById('summary-support-price').textContent =
|
||||||
|
(disc > 0 ? '€' + Math.round(totalSupport - discountAmount) + ' (before €' + Math.round(discountAmount) + ' off)' : '€' + totalSupport);
|
||||||
|
document.getElementById('summary-total-2').textContent = '€' + Math.round(totalToday);
|
||||||
|
|
||||||
|
// Panel 3 summary
|
||||||
|
document.getElementById('s3-plan').textContent = planName;
|
||||||
|
document.getElementById('s3-site').textContent = '€' + sitePrice;
|
||||||
|
document.getElementById('s3-support').textContent =
|
||||||
|
durationLabels[selectedDuration] + ' · ' + tier.hours + ' hrs/mo · ' + tier.label;
|
||||||
|
document.getElementById('s3-discount').textContent =
|
||||||
|
disc > 0 ? '-' + Math.round(discountAmount) + '€ (' + (disc * 100) + '% off)' : '—';
|
||||||
|
document.getElementById('s3-total').textContent = '€' + Math.round(totalToday);
|
||||||
|
|
||||||
|
// Commitment text
|
||||||
|
var commitEl = document.getElementById('commitment-text');
|
||||||
|
if (disc > 0) {
|
||||||
|
commitEl.textContent = selectedDuration + '-year commitment. Cancel anytime — your website stays live.';
|
||||||
|
} else {
|
||||||
|
commitEl.textContent = 'No lock-in. Cancel support anytime — your website stays live.';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function goStep(n) {
|
||||||
|
// Update panels
|
||||||
|
document.querySelectorAll('.wizard-panel').forEach(function(p) { p.classList.remove('active'); });
|
||||||
|
document.getElementById('panel' + n).classList.add('active');
|
||||||
|
|
||||||
|
// Update step indicators
|
||||||
|
for (var i = 1; i <= 3; i++) {
|
||||||
|
var ind = document.getElementById('step' + i + 'Indicator');
|
||||||
|
ind.classList.remove('active', 'done');
|
||||||
|
if (i < n) ind.classList.add('done');
|
||||||
|
if (i === n) ind.classList.add('active');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Refresh summary when showing step 3
|
||||||
|
if (n === 3) updatePriceSummary();
|
||||||
|
|
||||||
|
// Scroll to pricing
|
||||||
|
document.getElementById('pricing').scrollIntoView({ behavior: 'smooth', block: 'start' });
|
||||||
|
}
|
||||||
|
|
||||||
function handleSubmit(e) {
|
function handleSubmit(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const form = document.getElementById('contactForm');
|
var form = document.getElementById('contactForm');
|
||||||
const success = document.getElementById('formSuccess');
|
var success = document.getElementById('formSuccess');
|
||||||
const submitBtn = form.querySelector('.form-submit');
|
var submitBtn = form.querySelector('.form-submit');
|
||||||
const data = new FormData(form);
|
var data = new FormData(form);
|
||||||
|
|
||||||
// Show loading state
|
|
||||||
submitBtn.textContent = 'Sending…';
|
submitBtn.textContent = 'Sending…';
|
||||||
submitBtn.disabled = true;
|
submitBtn.disabled = true;
|
||||||
|
|
||||||
// Send to Telegram HP Alerts in background
|
|
||||||
fetch('/autojobs/api/contact/telegram', {
|
fetch('/autojobs/api/contact/telegram', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: new URLSearchParams({
|
body: new URLSearchParams({
|
||||||
@@ -476,9 +642,8 @@ function handleSubmit(e) {
|
|||||||
message: data.get('message')
|
message: data.get('message')
|
||||||
})
|
})
|
||||||
}).catch(function() {
|
}).catch(function() {
|
||||||
// Telegram failure is non-fatal — user still sees success
|
// Telegram failure is non-fatal
|
||||||
}).finally(function() {
|
}).finally(function() {
|
||||||
// Always show success regardless of Telegram result
|
|
||||||
form.style.display = 'none';
|
form.style.display = 'none';
|
||||||
success.classList.add('show');
|
success.classList.add('show');
|
||||||
success.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
success.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||||
|
|||||||
Reference in New Issue
Block a user