Spaces:
Running
Running
File size: 24,627 Bytes
b9b9779 c90227c b9b9779 2606d6f b9b9779 c90227c b9b9779 6ea9978 ebf3a82 6ea9978 ebf3a82 b9b9779 4afa6c8 97e3995 b9b9779 97e3995 b9b9779 ea69083 a8773c5 b9b9779 a8773c5 b9b9779 623f51e b9b9779 c90227c b9b9779 2b1dd19 b9b9779 3c62aad b9b9779 2606d6f b9b9779 2606d6f b9b9779 2606d6f b9b9779 2606d6f b9b9779 2606d6f b9b9779 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Services & Pricing - ContentCraft AI</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://js.stripe.com/v3/"></script>
<script>
// Stripe configuration
const stripe = Stripe('pk_test_51QNq8xRw2vV6x8V9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789');
</script>
<style>
.pricing-card {
transition: all 0.3s ease;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.pricing-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.popular-badge {
background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
}
.feature-item {
position: relative;
padding-left: 1.75rem;
}
.feature-item:before {
content: "";
position: absolute;
left: 0;
top: 0.5rem;
width: 1rem;
height: 1rem;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2306b6d4'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E");
background-repeat: no-repeat;
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<!-- Navigation -->
<nav class="relative z-10 bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="index.html" class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-cyan-500 to-indigo-500">ContentCraft AI</a>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="index.html" class="text-gray-700 hover:text-primary-500 font-medium">Home</a>
<a href="services.html" class="text-primary-500 font-medium">Services</a>
<a href="about.html" class="text-gray-700 hover:text-primary-500 font-medium">About</a>
<a href="faq.html" class="text-gray-700 hover:text-primary-500 font-medium">FAQ</a>
<button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-lg font-medium transition-colors">Get Started</button>
</div>
<div class="md:hidden flex items-center">
<button>
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero -->
<section class="bg-gradient-to-r from-primary-500 to-secondary-500 text-white py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-6 text-black">Simple, Transparent Pricing</h1>
<p class="text-xl max-w-3xl mx-auto text-gray-700">
Choose the perfect plan for your content needs. Scale up or down as your business grows.
</p>
</div>
</section>
<!-- Pricing Toggle -->
<section class="py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-center mb-12">
<div class="inline-flex rounded-lg bg-gray-100 p-1">
<button id="monthly-btn" class="px-6 py-2 rounded-lg font-medium bg-white text-primary-500 shadow-sm">Monthly</button>
<button id="yearly-btn" class="px-6 py-2 rounded-lg font-medium text-gray-600 hover:text-primary-500">Yearly <span class="text-sm bg-primary-100 text-primary-600 px-2 py-0.5 rounded ml-1">Save 20%</span></button>
</div>
</div>
<!-- Pricing Cards -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Basic Plan -->
<div class="pricing-card bg-white rounded-xl overflow-hidden">
<div class="p-8">
<h3 class="text-xl font-bold text-gray-900 mb-2">Basic</h3>
<p class="text-gray-600 mb-6">Perfect for individuals and small businesses</p>
<div class="mb-6">
<span class="text-4xl font-bold text-gray-900">$29</span>
<span class="text-gray-500">/month</span>
</div>
<button id="basic-plan-btn" class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-3 rounded-lg font-medium transition-colors">
Get Started
</button>
</div>
<div class="border-t border-gray-100 p-8 bg-gray-50">
<h4 class="font-medium text-gray-900 mb-4">Features:</h4>
<ul class="space-y-3">
<li class="feature-item">10,000 words per month</li>
<li class="feature-item">5 blog articles</li>
<li class="feature-item">Basic SEO optimization</li>
<li class="feature-item">Standard writing quality</li>
<li class="feature-item">Email support</li>
</ul>
</div>
</div>
<!-- Pro Plan (Popular) -->
<div class="pricing-card bg-white rounded-xl overflow-hidden transform scale-105 relative">
<div class="absolute top-0 right-0 bg-primary-500 text-white text-xs font-bold px-3 py-1 rounded-bl-lg rounded-tr-lg">
MOST POPULAR
</div>
<div class="p-8">
<h3 class="text-xl font-bold text-gray-900 mb-2">Pro</h3>
<p class="text-gray-600 mb-6">For growing businesses and content teams</p>
<div class="mb-6">
<span class="text-4xl font-bold text-gray-900">$79</span>
<span class="text-gray-500">/month</span>
</div>
<button id="pro-plan-btn" class="w-full bg-primary-500 hover:bg-primary-600 text-white py-3 rounded-lg font-medium transition-colors">
Get Started
</button>
</div>
<div class="border-t border-gray-100 p-8 bg-gray-50">
<h4 class="font-medium text-gray-900 mb-4">Features:</h4>
<ul class="space-y-3">
<li class="feature-item">50,000 words per month</li>
<li class="feature-item">25 blog articles</li>
<li class="feature-item">Advanced SEO optimization</li>
<li class="feature-item">Premium writing quality</li>
<li class="feature-item">Content strategy tools</li>
<li class="feature-item">Priority email support</li>
<li class="feature-item">Style customization</li>
</ul>
</div>
</div>
<!-- Enterprise Plan -->
<div class="pricing-card bg-white rounded-xl overflow-hidden">
<div class="p-8">
<h3 class="text-xl font-bold text-gray-900 mb-2">Enterprise</h3>
<p class="text-gray-600 mb-6">For agencies and high-volume content needs</p>
<div class="mb-6">
<span class="text-4xl font-bold text-gray-900">$199</span>
<span class="text-gray-500">/month</span>
</div>
<button id="enterprise-plan-btn" class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-3 rounded-lg font-medium transition-colors">
Get Started
</button>
</div>
<div class="border-t border-gray-100 p-8 bg-gray-50">
<h4 class="font-medium text-gray-900 mb-4">Features:</h4>
<ul class="space-y-3">
<li class="feature-item">200,000 words per month</li>
<li class="feature-item">100 blog articles</li>
<li class="feature-item">Premium SEO optimization</li>
<li class="feature-item">Human-level writing quality</li>
<li class="feature-item">API access</li>
<li class="feature-item">Team collaboration</li>
<li class="feature-item">Dedicated account manager</li>
<li class="feature-item">24/7 priority support</li>
</ul>
</div>
</div>
</div>
<!-- Custom Plan -->
<div class="mt-16 bg-white rounded-xl shadow-sm p-8">
<div class="text-center mb-8">
<h3 class="text-2xl font-bold text-gray-900">Need a custom plan?</h3>
<p class="text-gray-600 mt-2">We can create a solution tailored to your specific needs</p>
</div>
<div class="max-w-md mx-auto">
<form>
<div class="mb-4">
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500">
</div>
<div class="mb-4">
<label for="message" class="block text-sm font-medium text-gray-700 mb-1">Your Requirements</label>
<textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500"></textarea>
</div>
<button type="submit" class="w-full bg-primary-500 hover:bg-primary-600 text-white py-3 rounded-lg font-medium transition-colors">
Request Custom Plan
</button>
</form>
</div>
</div>
</div>
</section>
<!-- Payment Methods -->
<section class="py-16 bg-gray-100">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-gray-900">Secure Payment Options</h2>
<p class="text-xl text-gray-600 mt-4">We accept all major payment methods</p>
</div>
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div class="bg-white rounded-lg p-6 flex items-center justify-center">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/visa/visa-original.svg" class="h-12" alt="Visa">
</div>
<div class="bg-white rounded-lg p-6 flex items-center justify-center">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mastercard/mastercard-original.svg" class="h-12" alt="Mastercard">
</div>
<div class="bg-white rounded-lg p-6 flex items-center justify-center">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/paypal/paypal-original.svg" class="h-12" alt="PayPal">
</div>
<div class="bg-white rounded-lg p-6 flex items-center justify-center">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/apple/apple-original.svg" class="h-12" alt="Apple Pay">
</div>
</div>
</div>
</section>
<!-- CTA -->
<section class="py-20 bg-gradient-to-r from-primary-500 to-secondary-500 text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl md:text-4xl font-bold mb-6 text-black">Still Have Questions?</h2>
<p class="text-xl max-w-3xl mx-auto mb-10 opacity-90 text-black">
Our team is here to help you choose the right plan for your needs.
</p>
<button class="bg-white hover:bg-gray-100 text-black px-8 py-4 rounded-lg font-bold text-lg transition-colors shadow-lg">
Contact Our Sales Team
</button>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white pt-16 pb-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-12">
<div>
<h3 class="text-xl font-bold mb-6">ContentCraft AI</h3>
<p class="text-gray-400">
Revolutionizing content creation with advanced AI technology that delivers human-quality writing at scale.
</p>
<div class="flex space-x-4 mt-6">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="linkedin" class="w-5 h-5"></i>
</a>
</div>
</div>
<div>
<h4 class="text-sm font-semibold uppercase tracking-wider mb-6">Services</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Blog Articles</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">SEO Content</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Product Descriptions</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Website Copy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Newsletters</a></li>
</ul>
</div>
<div>
<h4 class="text-sm font-semibold uppercase tracking-wider mb-6">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Content Guide</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">SEO Tips</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">API Access</a></li>
</ul>
</div>
<div>
<h4 class="text-sm font-semibold uppercase tracking-wider mb-6">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Terms of Service</a></li>
</ul>
</div>
</div>
<div class="mt-12 pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm">
© 2025 ContentCraft AI. All rights reserved.
</p>
<div class="mt-4 md:mt-0 flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white text-sm">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Cookie Policy</a>
</div>
</div>
</div>
</footer>
<!-- Payment Modal -->
<div id="payment-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
<div class="bg-white rounded-xl p-8 max-w-md w-full mx-4">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold text-gray-900">Complete Your Purchase</h3>
<button id="close-modal" class="text-gray-500 hover:text-gray-700">
<i data-feather="x" class="w-6 h-6"></i>
</button>
</div>
<div class="mb-6">
<p class="text-gray-600">You're subscribing to: <span id="selected-plan" class="font-medium text-gray-900">Pro Plan</span></p>
<p class="text-gray-600 mt-1">Amount: <span id="plan-price" class="font-medium text-gray-900">$79/month</span></p>
</div>
<form id="payment-form">
<div id="card-element" class="border border-gray-300 rounded-lg p-3 mb-4"></div>
<div id="card-errors" role="alert" class="text-red-500 text-sm mb-4"></div>
<button id="submit-payment" class="w-full bg-primary-500 hover:bg-primary-600 text-white py-3 rounded-lg font-medium transition-colors">
Pay Now
</button>
</form>
</div>
</div>
<script>
feather.replace();
// Stripe Payment Integration
const elements = stripe.elements();
const cardElement = elements.create('card', {
style: {
base: {
fontSize: '16px',
color: '#424770',
'::placeholder': {
color: '#aab7c4',
},
});
cardElement.mount('#card-element');
// Handle form submission
const paymentForm = document.getElementById('payment-form');
paymentForm.addEventListener('submit', async (event) => {
event.preventDefault();
const submitButton = document.getElementById('submit-payment');
submitButton.disabled = true;
submitButton.textContent = 'Processing...';
const {error, paymentMethod} = await stripe.createPaymentMethod({
type: 'card',
card: cardElement,
});
if (error) {
document.getElementById('card-errors').textContent = error.message;
submitButton.disabled = false;
submitButton.textContent = 'Pay Now';
} else {
// Send payment method to server
try {
const response = await fetch('/api/create-subscription', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
paymentMethodId: paymentMethod.id,
planId: document.getElementById('selected-plan').textContent.toLowerCase().replace(' plan', ''),
});
if (!response.ok) {
throw new Error('Payment failed');
}
const result = await response.json();
if (result.success) {
document.getElementById('payment-modal').classList.add('hidden');
alert('Payment successful! Your subscription is now active.');
} else {
throw new Error('Payment processing failed');
}
} catch (err) {
document.getElementById('card-errors').textContent = 'Payment failed. Please try again.';
}
} catch (err) {
document.getElementById('card-errors').textContent = 'Payment failed. Please try again.';
}
submitButton.disabled = false;
submitButton.textContent = 'Pay Now';
}, 1500);
}
});
// Plan selection and modal handling
document.getElementById('basic-plan-btn').addEventListener('click', () => {
document.getElementById('selected-plan').textContent = 'Basic Plan';
document.getElementById('plan-price').textContent = '$29/month';
document.getElementById('payment-modal').classList.remove('hidden');
});
document.getElementById('pro-plan-btn').addEventListener('click', () => {
document.getElementById('selected-plan').textContent = 'Pro Plan';
document.getElementById('plan-price').textContent = '$79/month';
document.getElementById('payment-modal').classList.remove('hidden');
});
document.getElementById('enterprise-plan-btn').addEventListener('click', () => {
document.getElementById('selected-plan').textContent = 'Enterprise Plan';
document.getElementById('plan-price').textContent = '$199/month';
document.getElementById('payment-modal').classList.remove('hidden');
});
document.getElementById('close-modal').addEventListener('click', () => {
document.getElementById('payment-modal').classList.add('hidden');
});
// Monthly/Yearly toggle
document.getElementById('monthly-btn').addEventListener('click', () => {
document.getElementById('monthly-btn').classList.add('bg-white', 'text-primary-500', 'shadow-sm');
document.getElementById('monthly-btn').classList.remove('text-gray-600', 'hover:text-primary-500');
document.getElementById('yearly-btn').classList.remove('bg-white', 'text-primary-500', 'shadow-sm');
document.getElementById('yearly-btn').classList.add('text-gray-600', 'hover:text-primary-500');
// Update prices for monthly
document.querySelectorAll('.pricing-card:nth-child(1) .text-4xl').forEach(el => {
el.textContent = '$29';
});
document.querySelectorAll('.pricing-card:nth-child(2) .text-4xl').forEach(el => {
el.textContent = '$79';
});
document.querySelectorAll('.pricing-card:nth-child(3) .text-4xl').forEach(el => {
el.textContent = '$199';
});
});
document.getElementById('yearly-btn').addEventListener('click', () => {
document.getElementById('yearly-btn').classList.add('bg-white', 'text-primary-500', 'shadow-sm');
document.getElementById('yearly-btn').classList.remove('text-gray-600', 'hover:text-primary-500');
document.getElementById('monthly-btn').classList.remove('bg-white', 'text-primary-500', 'shadow-sm');
document.getElementById('monthly-btn').classList.add('text-gray-600', 'hover:text-primary-500');
// Update prices for yearly (20% discount)
document.querySelectorAll('.pricing-card:nth-child(1) .text-4xl').forEach(el => {
el.textContent = '$23';
});
document.querySelectorAll('.pricing-card:nth-child(2) .text-4xl').forEach(el => {
el.textContent = '$63';
});
document.querySelectorAll('.pricing-card:nth-child(3) .text-4xl').forEach(el => {
el.textContent = '$159';
});
});
});
</script>
</body>
</html> |