|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>Build.Web4 - Membership & Billing</title> |
|
<script src="https://cdn.tailwindcss.com"></script> |
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
|
<style> |
|
.neumorphic { |
|
box-shadow: 8px 8px 16px #0f172a, |
|
-8px -8px 16px #1e293b; |
|
} |
|
.neumorphic-inset { |
|
box-shadow: inset 4px 4px 8px #0f172a, |
|
inset -4px -4px 8px #1e293b; |
|
} |
|
.plan-card { |
|
transition: all 0.3s ease; |
|
} |
|
.plan-card:hover { |
|
transform: translateY(-5px); |
|
} |
|
.selected-plan { |
|
border: 2px solid #3b82f6; |
|
background-color: rgba(59, 130, 246, 0.1); |
|
} |
|
.tab-active { |
|
border-bottom: 3px solid #3b82f6; |
|
color: #3b82f6; |
|
} |
|
.slide-fade-enter-active { |
|
transition: all 0.3s ease; |
|
} |
|
.slide-fade-leave-active { |
|
transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1); |
|
} |
|
.slide-fade-enter-from, |
|
.slide-fade-leave-to { |
|
transform: translateX(20px); |
|
opacity: 0; |
|
} |
|
</style> |
|
</head> |
|
<body class="bg-slate-900 text-gray-100 min-h-screen"> |
|
<div class="container mx-auto px-4 py-12"> |
|
|
|
<header class="text-center mb-12"> |
|
<h1 class="text-4xl font-bold mb-2 bg-gradient-to-r from-blue-400 to-blue-600 text-transparent bg-clip-text">Build.Web4</h1> |
|
<p class="text-lg text-blue-300">Membership, Payment & Billing Portal</p> |
|
</header> |
|
|
|
<div class="max-w-6xl mx-auto"> |
|
|
|
<div class="flex justify-between mb-12 relative"> |
|
<div class="absolute top-1/2 left-0 right-0 h-1 bg-slate-800 -z-10"></div> |
|
<div class="step flex flex-col items-center" id="step1"> |
|
<div class="w-12 h-12 rounded-full bg-blue-600 flex items-center justify-center mb-2"> |
|
<span class="text-white font-bold">1</span> |
|
</div> |
|
<span class="text-sm">Registration</span> |
|
</div> |
|
<div class="step flex flex-col items-center" id="step2"> |
|
<div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2"> |
|
<span class="text-white font-bold">2</span> |
|
</div> |
|
<span class="text-sm text-slate-400">Plan Selection</span> |
|
</div> |
|
<div class="step flex flex-col items-center" id="step3"> |
|
<div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2"> |
|
<span class="text-white font-bold">3</span> |
|
</div> |
|
<span class="text-sm text-slate-400">Payment</span> |
|
</div> |
|
<div class="step flex flex-col items-center" id="step4"> |
|
<div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2"> |
|
<span class="text-white font-bold">4</span> |
|
</div> |
|
<span class="text-sm text-slate-400">Confirmation</span> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8"> |
|
|
|
<div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic" id="registrationForm"> |
|
<h2 class="text-2xl font-bold mb-6">Member Registration</h2> |
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6"> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Full Name</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Professional Title</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Country</label> |
|
<select class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
<option>Select Country</option> |
|
<option>United States</option> |
|
<option>United Kingdom</option> |
|
<option>Canada</option> |
|
<option>Australia</option> |
|
</select> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Region</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Company Name (Optional)</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Website URL (Optional)</label> |
|
<input type="url" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Email</label> |
|
<input type="email" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Phone Number</label> |
|
<input type="tel" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
</div> |
|
|
|
<div class="mt-8"> |
|
<h3 class="text-lg font-medium mb-4">Social Media Handles</h3> |
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-4"> |
|
<div class="flex items-center"> |
|
<span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-twitter"></i></span> |
|
<input type="text" placeholder="@username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none"> |
|
</div> |
|
<div class="flex items-center"> |
|
<span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-linkedin"></i></span> |
|
<input type="text" placeholder="linkedin.com/in/username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none"> |
|
</div> |
|
<div class="flex items-center"> |
|
<span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-github"></i></span> |
|
<input type="text" placeholder="github.com/username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none"> |
|
</div> |
|
<div class="flex items-center"> |
|
<span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-instagram"></i></span> |
|
<input type="text" placeholder="@username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none"> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<div class="mt-8"> |
|
<button id="nextToPlans" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300"> |
|
Continue to Plan Selection |
|
</button> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="planSelection"> |
|
<h2 class="text-2xl font-bold mb-6">Select Your Membership Plan</h2> |
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8"> |
|
<div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="ai"> |
|
<div class="flex justify-between items-start mb-4"> |
|
<h3 class="text-xl font-bold">Build.AI.Tools</h3> |
|
<span class="bg-blue-900 text-blue-300 px-3 py-1 rounded-full text-sm">Popular</span> |
|
</div> |
|
<p class="text-slate-400 mb-4">Access to all AI development tools and APIs</p> |
|
<div class="text-3xl font-bold mb-4">$49<span class="text-lg text-slate-400">/month</span></div> |
|
<ul class="space-y-2 mb-6"> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 100 API calls/day</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> GPT-4 integration</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Custom model training</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Analytics dashboard</li> |
|
</ul> |
|
<button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn"> |
|
Select Plan |
|
</button> |
|
</div> |
|
<div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="marketplace"> |
|
<h3 class="text-xl font-bold mb-4">Build.Marketplace</h3> |
|
<p class="text-slate-400 mb-4">Complete e-commerce platform solutions</p> |
|
<div class="text-3xl font-bold mb-4">$79<span class="text-lg text-slate-400">/month</span></div> |
|
<ul class="space-y-2 mb-6"> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Unlimited products</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Payment gateway integration</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Inventory management</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Customer analytics</li> |
|
</ul> |
|
<button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn"> |
|
Select Plan |
|
</button> |
|
</div> |
|
<div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="digitaltwin"> |
|
<h3 class="text-xl font-bold mb-4">Build.Digital Twin</h3> |
|
<p class="text-slate-400 mb-4">Digital twin technology for IoT solutions</p> |
|
<div class="text-3xl font-bold mb-4">$129<span class="text-lg text-slate-400">/month</span></div> |
|
<ul class="space-y-2 mb-6"> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 5 digital twin models</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Real-time data sync</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Predictive analytics</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 3D visualization</li> |
|
</ul> |
|
<button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn"> |
|
Select Plan |
|
</button> |
|
</div> |
|
<div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="iot"> |
|
<h3 class="text-xl font-bold mb-4">Build.IoT</h3> |
|
<p class="text-slate-400 mb-4">Complete IoT device management platform</p> |
|
<div class="text-3xl font-bold mb-4">$199<span class="text-lg text-slate-400">/month</span></div> |
|
<ul class="space-y-2 mb-6"> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 100 device connections</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Edge computing</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Data encryption</li> |
|
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Custom dashboards</li> |
|
</ul> |
|
<button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn"> |
|
Select Plan |
|
</button> |
|
</div> |
|
</div> |
|
|
|
<div class="flex justify-between mt-6"> |
|
<button id="backToRegistration" class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300"> |
|
<i class="fas fa-arrow-left mr-2"></i> Back |
|
</button> |
|
<button id="nextToPayment" class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 hidden"> |
|
Continue to Payment <i class="fas fa-arrow-right ml-2"></i> |
|
</button> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="paymentSection"> |
|
<h2 class="text-2xl font-bold mb-6">Payment Information</h2> |
|
|
|
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8"> |
|
|
|
<div> |
|
<h3 class="text-lg font-medium mb-4">Payment Method</h3> |
|
<div class="space-y-4"> |
|
<div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500"> |
|
<input type="radio" name="paymentMethod" id="creditCard" class="mr-3" checked> |
|
<label for="creditCard" class="flex-1 cursor-pointer"> |
|
<div class="flex items-center"> |
|
<i class="far fa-credit-card text-xl mr-3"></i> |
|
<span>Credit/Debit Card</span> |
|
</div> |
|
</label> |
|
</div> |
|
<div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500"> |
|
<input type="radio" name="paymentMethod" id="bankTransfer" class="mr-3"> |
|
<label for="bankTransfer" class="flex-1 cursor-pointer"> |
|
<div class="flex items-center"> |
|
<i class="fas fa-university text-xl mr-3"></i> |
|
<span>Bank Transfer</span> |
|
</div> |
|
</label> |
|
</div> |
|
<div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500"> |
|
<input type="radio" name="paymentMethod" id="ach" class="mr-3"> |
|
<label for="ach" class="flex-1 cursor-pointer"> |
|
<div class="flex items-center"> |
|
<i class="fas fa-exchange-alt text-xl mr-3"></i> |
|
<span>ACH Payment</span> |
|
</div> |
|
</label> |
|
</div> |
|
</div> |
|
|
|
|
|
<div id="creditCardForm" class="mt-6"> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Card Number</label> |
|
<div class="relative"> |
|
<input type="text" placeholder="1234 5678 9012 3456" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
<div class="absolute right-3 top-3 flex space-x-2"> |
|
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/visa/visa-original.svg" class="w-8 h-5" alt="Visa"> |
|
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mastercard/mastercard-original.svg" class="w-8 h-5" alt="Mastercard"> |
|
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/apple/apple-original.svg" class="w-8 h-5" alt="Apple Pay"> |
|
</div> |
|
</div> |
|
</div> |
|
<div class="grid grid-cols-2 gap-4 mb-4"> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Expiry Date</label> |
|
<input type="text" placeholder="MM/YY" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">CVV</label> |
|
<input type="text" placeholder="123" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">Name on Card</label> |
|
<input type="text" placeholder="John Doe" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
</div> |
|
|
|
|
|
<div id="bankTransferForm" class="mt-6 hidden"> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Bank Name</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Account Number</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Routing Number</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
</div> |
|
|
|
|
|
<div id="achForm" class="mt-6 hidden"> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Account Type</label> |
|
<select class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
<option>Checking</option> |
|
<option>Savings</option> |
|
</select> |
|
</div> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Account Number</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Routing Number</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
|
|
<div> |
|
<h3 class="text-lg font-medium mb-4">Billing Information</h3> |
|
|
|
<div class="mb-6"> |
|
<div class="flex space-x-4 mb-4"> |
|
<button id="individualTab" class="tab-active pb-2 font-medium">Individual</button> |
|
<button id="businessTab" class="pb-2 font-medium text-slate-400">Business</button> |
|
</div> |
|
|
|
|
|
<div id="individualBilling"> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Billing Address</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div class="grid grid-cols-2 gap-4 mb-4"> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">City</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">ZIP Code</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
|
|
<div id="businessBilling" class="hidden"> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Company Name</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Tax ID</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div class="mb-4"> |
|
<label class="block text-sm font-medium mb-2">Billing Address</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div class="grid grid-cols-2 gap-4 mb-4"> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">City</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
<div> |
|
<label class="block text-sm font-medium mb-2">ZIP Code</label> |
|
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<div class="bg-slate-700 p-4 rounded-lg"> |
|
<h4 class="font-medium mb-3">Invoice Preferences</h4> |
|
<div class="flex items-center mb-2"> |
|
<input type="checkbox" id="emailInvoice" class="mr-3" checked> |
|
<label for="emailInvoice">Email me invoices</label> |
|
</div> |
|
<div class="flex items-center"> |
|
<input type="checkbox" id="paperInvoice" class="mr-3"> |
|
<label for="paperInvoice">Send paper invoices</label> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<div class="flex justify-between mt-8"> |
|
<button id="backToPlans" class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300"> |
|
<i class="fas fa-arrow-left mr-2"></i> Back |
|
</button> |
|
<button id="nextToConfirmation" class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300"> |
|
Complete Payment <i class="fas fa-lock ml-2"></i> |
|
</button> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="confirmationSection"> |
|
<div class="text-center py-8"> |
|
<div class="w-20 h-20 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-6"> |
|
<i class="fas fa-check text-3xl text-white"></i> |
|
</div> |
|
<h2 class="text-2xl font-bold mb-2">Payment Successful!</h2> |
|
<p class="text-slate-400 mb-6">Thank you for subscribing to Build.Web4</p> |
|
|
|
<div class="max-w-md mx-auto bg-slate-700 rounded-lg p-6 mb-8"> |
|
<h3 class="font-medium mb-4">Order Summary</h3> |
|
<div class="flex justify-between mb-2"> |
|
<span class="text-slate-400">Plan:</span> |
|
<span class="font-medium" id="confirmedPlan">Build.AI.Tools</span> |
|
</div> |
|
<div class="flex justify-between mb-2"> |
|
<span class="text-slate-400">Billing Cycle:</span> |
|
<span class="font-medium">Monthly</span> |
|
</div> |
|
<div class="flex justify-between mb-2"> |
|
<span class="text-slate-400">Amount Paid:</span> |
|
<span class="font-medium" id="confirmedAmount">$49.00</span> |
|
</div> |
|
<div class="flex justify-between mb-2"> |
|
<span class="text-slate-400">Payment Method:</span> |
|
<span class="font-medium">Visa ending in 4242</span> |
|
</div> |
|
<div class="border-t border-slate-600 my-4"></div> |
|
<div class="flex justify-between font-medium"> |
|
<span>Next Billing Date:</span> |
|
<span>May 1, 2023</span> |
|
</div> |
|
</div> |
|
|
|
<div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4"> |
|
<button class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300"> |
|
Go to Dashboard <i class="fas fa-tachometer-alt ml-2"></i> |
|
</button> |
|
<button class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300"> |
|
Download Invoice <i class="fas fa-download ml-2"></i> |
|
</button> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="bg-slate-800 rounded-xl p-6 neumorphic h-fit sticky top-6" id="orderSummary"> |
|
<h2 class="text-xl font-bold mb-4">Order Summary</h2> |
|
|
|
<div class="mb-6 p-4 bg-slate-700 rounded-lg"> |
|
<div class="flex justify-between items-center mb-2"> |
|
<span class="font-medium">Selected Plan:</span> |
|
<span class="text-blue-400" id="selectedPlanDisplay">None selected</span> |
|
</div> |
|
<div class="flex justify-between items-center mb-2"> |
|
<span class="font-medium">Billing Cycle:</span> |
|
<span>Monthly</span> |
|
</div> |
|
<div class="flex justify-between items-center"> |
|
<span class="font-medium">Amount Due:</span> |
|
<span class="text-2xl font-bold" id="amountDueDisplay">$0.00</span> |
|
</div> |
|
</div> |
|
|
|
<div class="mb-6"> |
|
<h3 class="font-medium mb-2">Plan Features</h3> |
|
<ul class="space-y-2 text-sm" id="planFeaturesDisplay"> |
|
<li class="flex items-center"><i class="fas fa-info-circle text-blue-500 mr-2"></i> Select a plan to view features</li> |
|
</ul> |
|
</div> |
|
|
|
<div class="bg-slate-700 p-4 rounded-lg"> |
|
<h3 class="font-medium mb-2">Supported Integrations</h3> |
|
<div class="flex flex-wrap gap-3"> |
|
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/microsoft/microsoft-original.svg" class="w-8 h-8" alt="Microsoft"> |
|
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/amazonwebservices/amazonwebservices-original.svg" class="w-8 h-8" alt="AWS"> |
|
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/google/google-original.svg" class="w-8 h-8" alt="Google"> |
|
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/oracle/oracle-original.svg" class="w-8 h-8" alt="Oracle"> |
|
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/salesforce/salesforce-original.svg" class="w-8 h-8" alt="Salesforce"> |
|
</div> |
|
</div> |
|
|
|
<div class="mt-6 text-xs text-slate-400"> |
|
<p><i class="fas fa-lock mr-1"></i> All transactions are secured with 256-bit encryption</p> |
|
<p class="mt-2"><i class="fas fa-sync-alt mr-1"></i> Cancel anytime with 30-day notice</p> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
|
|
<footer class="mt-16 text-center text-slate-500 text-sm"> |
|
<p>Powered by Web4.0 OS – WY.USA</p> |
|
<div class="flex justify-center space-x-4 mt-4"> |
|
<a href="#" class="hover:text-blue-400"><i class="fab fa-github"></i></a> |
|
<a href="#" class="hover:text-blue-400"><i class="fab fa-twitter"></i></a> |
|
<a href="#" class="hover:text-blue-400"><i class="fab fa-linkedin"></i></a> |
|
<a href="#" class="hover:text-blue-400"><i class="fab fa-discord"></i></a> |
|
</div> |
|
</footer> |
|
</div> |
|
|
|
<script> |
|
document.addEventListener('DOMContentLoaded', function() { |
|
|
|
const plans = { |
|
ai: { |
|
name: "Build.AI.Tools", |
|
price: "$49", |
|
features: [ |
|
"100 API calls/day", |
|
"GPT-4 integration", |
|
"Custom model training", |
|
"Analytics dashboard", |
|
"Priority support" |
|
] |
|
}, |
|
marketplace: { |
|
name: "Build.Marketplace", |
|
price: "$79", |
|
features: [ |
|
"Unlimited products", |
|
"Payment gateway integration", |
|
"Inventory management", |
|
"Customer analytics", |
|
"Multi-vendor support" |
|
] |
|
}, |
|
digitaltwin: { |
|
name: "Build.Digital Twin", |
|
price: "$129", |
|
features: [ |
|
"5 digital twin models", |
|
"Real-time data sync", |
|
"Predictive analytics", |
|
"3D visualization", |
|
"IoT device integration" |
|
] |
|
}, |
|
iot: { |
|
name: "Build.IoT", |
|
price: "$199", |
|
features: [ |
|
"100 device connections", |
|
"Edge computing", |
|
"Data encryption", |
|
"Custom dashboards", |
|
"24/7 monitoring" |
|
] |
|
} |
|
}; |
|
|
|
|
|
const registrationForm = document.getElementById('registrationForm'); |
|
const planSelection = document.getElementById('planSelection'); |
|
const paymentSection = document.getElementById('paymentSection'); |
|
const confirmationSection = document.getElementById('confirmationSection'); |
|
const orderSummary = document.getElementById('orderSummary'); |
|
const selectedPlanDisplay = document.getElementById('selectedPlanDisplay'); |
|
const amountDueDisplay = document.getElementById('amountDueDisplay'); |
|
const planFeaturesDisplay = document.getElementById('planFeaturesDisplay'); |
|
const confirmedPlan = document.getElementById('confirmedPlan'); |
|
const confirmedAmount = document.getElementById('confirmedAmount'); |
|
|
|
const nextToPlansBtn = document.getElementById('nextToPlans'); |
|
const backToRegistrationBtn = document.getElementById('backToRegistration'); |
|
const nextToPaymentBtn = document.getElementById('nextToPayment'); |
|
const backToPlansBtn = document.getElementById('backToPlans'); |
|
const nextToConfirmationBtn = document.getElementById('nextToConfirmation'); |
|
|
|
const planCards = document.querySelectorAll('.plan-card'); |
|
const selectPlanBtns = document.querySelectorAll('.select-plan-btn'); |
|
|
|
const creditCardRadio = document.getElementById('creditCard'); |
|
const bankTransferRadio = document.getElementById('bankTransfer'); |
|
const achRadio = document.getElementById('ach'); |
|
const creditCardForm = document.getElementById('creditCardForm'); |
|
const bankTransferForm = document.getElementById('bankTransferForm'); |
|
const achForm = document.getElementById('achForm'); |
|
|
|
const individualTab = document.getElementById('individualTab'); |
|
const businessTab = document.getElementById('businessTab'); |
|
const individualBilling = document.getElementById('individualBilling'); |
|
const businessBilling = document.getElementById('businessBilling'); |
|
|
|
const step1 = document.getElementById('step1'); |
|
const step2 = document.getElementById('step2'); |
|
const step3 = document.getElementById('step3'); |
|
const step4 = document.getElementById('step4'); |
|
|
|
|
|
let selectedPlan = null; |
|
|
|
|
|
nextToPlansBtn.addEventListener('click', function() { |
|
registrationForm.classList.add('hidden'); |
|
planSelection.classList.remove('hidden'); |
|
step1.querySelector('div').classList.remove('bg-blue-600'); |
|
step1.querySelector('div').classList.add('bg-green-500'); |
|
step2.querySelector('div').classList.remove('bg-slate-700'); |
|
step2.querySelector('div').classList.add('bg-blue-600'); |
|
step2.querySelector('span').classList.remove('text-slate-400'); |
|
}); |
|
|
|
backToRegistrationBtn.addEventListener('click', function() { |
|
planSelection.classList.add('hidden'); |
|
registrationForm.classList.remove('hidden'); |
|
step1.querySelector('div').classList.remove('bg-green-500'); |
|
step1.querySelector('div').classList.add('bg-blue-600'); |
|
step2.querySelector('div').classList.remove('bg-blue-600'); |
|
step2.querySelector('div').classList.add('bg-slate-700'); |
|
step2.querySelector('span').classList.add('text-slate-400'); |
|
}); |
|
|
|
nextToPaymentBtn.addEventListener('click', function() { |
|
planSelection.classList.add('hidden'); |
|
paymentSection.classList.remove('hidden'); |
|
step2.querySelector('div').classList.remove('bg-blue-600'); |
|
step2.querySelector('div').classList.add('bg-green-500'); |
|
step3.querySelector('div').classList.remove('bg-slate-700'); |
|
step3.querySelector('div').classList.add('bg-blue-600'); |
|
step3.querySelector('span').classList.remove('text-slate-400'); |
|
}); |
|
|
|
backToPlansBtn.addEventListener('click', function() { |
|
paymentSection.classList.add('hidden'); |
|
planSelection.classList.remove('hidden'); |
|
step2.querySelector('div').classList.remove('bg-green-500'); |
|
step2.querySelector('div').classList.add('bg-blue-600'); |
|
step3.querySelector('div').classList.remove('bg-blue-600'); |
|
step3.querySelector('div').classList.add('bg-slate-700'); |
|
step3.querySelector('span').classList.add('text-slate-400'); |
|
}); |
|
|
|
nextToConfirmationBtn.addEventListener('click', function() { |
|
paymentSection.classList.add('hidden'); |
|
confirmationSection.classList.remove('hidden'); |
|
step3.querySelector('div').classList.remove('bg-blue-600'); |
|
step3.querySelector('div').classList.add('bg-green-500'); |
|
step4.querySelector('div').classList.remove('bg-slate-700'); |
|
step4.querySelector('div').classList.add('bg-blue-600'); |
|
step4.querySelector('span').classList.remove('text-slate-400'); |
|
}); |
|
|
|
|
|
planCards.forEach(card => { |
|
card.addEventListener('click', function() { |
|
|
|
planCards.forEach(c => { |
|
c.classList.remove('selected-plan'); |
|
c.querySelector('button').textContent = 'Select Plan'; |
|
c.querySelector('button').classList.remove('bg-blue-800'); |
|
c.querySelector('button').classList.add('bg-blue-600'); |
|
}); |
|
|
|
|
|
this.classList.add('selected-plan'); |
|
this.querySelector('button').textContent = 'Selected'; |
|
this.querySelector('button').classList.remove('bg-blue-600'); |
|
this.querySelector('button').classList.add('bg-blue-800'); |
|
|
|
|
|
selectedPlan = this.dataset.plan; |
|
|
|
|
|
updateOrderSummary(); |
|
|
|
|
|
nextToPaymentBtn.classList.remove('hidden'); |
|
}); |
|
}); |
|
|
|
|
|
creditCardRadio.addEventListener('change', function() { |
|
if (this.checked) { |
|
creditCardForm.classList.remove('hidden'); |
|
bankTransferForm.classList.add('hidden'); |
|
achForm.classList.add('hidden'); |
|
} |
|
}); |
|
|
|
bankTransferRadio.addEventListener('change', function() { |
|
if (this.checked) { |
|
creditCardForm.classList.add('hidden'); |
|
bankTransferForm.classList.remove('hidden'); |
|
achForm.classList.add('hidden'); |
|
} |
|
}); |
|
|
|
achRadio.addEventListener('change', function() { |
|
if (this.checked) { |
|
creditCardForm.classList.add('hidden'); |
|
bankTransferForm.classList.add('hidden'); |
|
achForm.classList.remove('hidden'); |
|
} |
|
}); |
|
|
|
|
|
individualTab.addEventListener('click', function() { |
|
individualTab.classList.add('tab-active'); |
|
individualTab.classList.remove('text-slate-400'); |
|
businessTab.classList.remove('tab-active'); |
|
businessTab.classList.add('text-slate-400'); |
|
individualBilling.classList.remove('hidden'); |
|
businessBilling.classList.add('hidden'); |
|
}); |
|
|
|
businessTab.addEventListener('click', function() { |
|
businessTab.classList.add('tab-active'); |
|
businessTab.classList.remove('text-slate-400'); |
|
individualTab.classList.remove('tab-active'); |
|
individualTab.classList.add('text-slate-400'); |
|
businessBilling.classList.remove('hidden'); |
|
individualBilling.classList.add('hidden'); |
|
}); |
|
|
|
|
|
function updateOrderSummary() { |
|
if (selectedPlan) { |
|
const plan = plans[selectedPlan]; |
|
selectedPlanDisplay.textContent = plan.name; |
|
amountDueDisplay.textContent = plan.price; |
|
|
|
|
|
planFeaturesDisplay.innerHTML = ''; |
|
plan.features.forEach(feature => { |
|
const li = document.createElement('li'); |
|
li.className = 'flex items-center'; |
|
li.innerHTML = `<i class="fas fa-check-circle text-blue-500 mr-2"></i> ${feature}`; |
|
planFeaturesDisplay.appendChild(li); |
|
}); |
|
|
|
|
|
confirmedPlan.textContent = plan.name; |
|
confirmedAmount.textContent = plan.price; |
|
} |
|
} |
|
}); |
|
</script> |
|
<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=Unnab/build-web4-payment-billing" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
|
</html> |