import Link from 'next/link'
import Image from 'next/image'
import { DocumentTextIcon, ScaleIcon, ExclamationTriangleIcon } from '@heroicons/react/24/outline'
// Magical floating orbs component
const MagicalOrbs = () => {
return (
<div className='absolute inset-0 overflow-hidden pointer-events-none'>
{[...Array(6)].map((_, i) => (
<div
key={i}
className='absolute rounded-full animate-pulse'
style={{
left: `${Math.random() * 100}%`,
top: `${Math.random() * 100}%`,
width: `${4 + Math.random() * 6}px`,
height: `${4 + Math.random() * 6}px`,
background: `radial-gradient(circle, rgba(20, 184, 166, 0.4) 0%, rgba(6, 182, 212, 0.2) 50%, transparent 100%)`,
animationDelay: `${Math.random() * 4}s`,
animationDuration: `${3 + Math.random() * 2}s`,
}}
/>
))}
</div>
)
}
export default function TermsPage() {
return (
<div className='min-h-screen bg-gradient-to-br from-slate-50 via-white to-slate-100 relative overflow-hidden'>
<MagicalOrbs />
<div className='absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-teal-500/5 via-transparent to-transparent' />
{/* Navigation */}
<nav className='bg-slate-900/50 backdrop-blur-sm border-b border-teal-600/20 shadow-lg relative z-10'>
<div className='max-w-7xl mx-auto px-4 sm:px-6 lg:px-8'>
<div className='flex justify-between h-16'>
<div className='flex items-center'>
<Link href='/' className='flex-shrink-0 flex items-center'>
<Image
src='/images/logo-glyph-white.png'
alt='Bookwiz Glyph'
width={24}
height={24}
className='mr-2'
/>
<Image
src='/images/logo-text-white.svg'
alt='Bookwiz'
width={96}
height={24}
/>
</Link>
</div>
<div className='flex items-center space-x-4'>
<Link
href='/privacy'
className='text-slate-300 hover:text-white transition-colors text-sm'
>
Privacy
</Link>
<Link
href='/'
className='bg-teal-600 hover:bg-teal-700 text-white px-4 py-2 rounded-lg transition-colors text-sm font-medium'
>
Back to Home
</Link>
</div>
</div>
</div>
</nav>
{/* Hero Section */}
<div className='relative overflow-hidden'>
<div className='max-w-4xl mx-auto text-center pt-20 pb-16 px-4 sm:px-6 lg:px-8'>
<div className='relative z-10'>
<div className='inline-flex items-center px-4 py-2 rounded-full bg-teal-50 border border-teal-200 text-teal-700 text-sm font-medium mb-6'>
<DocumentTextIcon className='w-4 h-4 mr-2' />
Fair & Transparent
</div>
<h1 className='text-5xl md:text-6xl font-bold text-slate-900 mb-6 leading-tight'>
Terms of
<span className='block bg-gradient-to-r from-teal-600 to-cyan-600 bg-clip-text text-transparent'>
Service
</span>
</h1>
<p className='text-xl text-slate-600 mb-8 max-w-2xl mx-auto leading-relaxed'>
Clear, straightforward terms that protect both you and Bookwiz while you create amazing stories.
</p>
<p className='text-sm text-slate-500'>
Last updated: January 2025
</p>
</div>
</div>
</div>
{/* Content */}
<div className='max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 pb-20 relative z-10'>
<div className='bg-white/80 backdrop-blur-sm rounded-3xl p-8 md:p-12 border border-slate-200 shadow-lg'>
<div className='prose prose-slate max-w-none'>
{/* Quick Summary */}
<div className='bg-teal-50 border border-teal-200 rounded-2xl p-6 mb-8'>
<h2 className='text-lg font-semibold text-teal-900 mb-3 flex items-center'>
<ScaleIcon className='w-5 h-5 mr-2' />
Key Points
</h2>
<ul className='text-sm text-teal-800 space-y-2 mb-0'>
<li>• You own all the content you create on Bookwiz</li>
<li>• Use our platform respectfully and legally</li>
<li>• We provide the service "as is" with reasonable effort to maintain uptime</li>
<li>• Cancel your subscription anytime</li>
<li>• We may update these terms with notice</li>
</ul>
</div>
<h2>1. Acceptance of Terms</h2>
<p>By accessing or using Bookwiz ("the Service"), you agree to be bound by these Terms of Service ("Terms"). If you don't agree to these terms, please don't use our service.</p>
<p>These Terms apply to all users of Bookwiz, including free and paid subscribers.</p>
<h2>2. Description of Service</h2>
<p>Bookwiz is an AI-powered writing platform that helps authors:</p>
<ul>
<li>Organize and structure their writing projects</li>
<li>Create and manage characters, plots, and world-building</li>
<li>Write with AI assistance and suggestions</li>
<li>Store and sync content across devices</li>
<li>Collaborate on writing projects</li>
</ul>
<h2>3. User Accounts</h2>
<h3>Account Creation</h3>
<p>To use Bookwiz, you must:</p>
<ul>
<li>Be at least 13 years old</li>
<li>Provide accurate and complete information</li>
<li>Maintain the security of your account</li>
<li>Notify us immediately of any unauthorized use</li>
</ul>
<h3>Account Responsibility</h3>
<p>You are responsible for:</p>
<ul>
<li>All activity that occurs under your account</li>
<li>Keeping your login credentials secure</li>
<li>All content you create or upload</li>
</ul>
<h2>4. Content Ownership and Rights</h2>
<div className='bg-emerald-50 border border-emerald-200 rounded-2xl p-6 my-6'>
<h3 className='text-lg font-semibold text-emerald-900 mb-3'>
Your Content Belongs to You
</h3>
<p className='text-sm text-emerald-800 mb-0'>
You retain full ownership of all stories, characters, plots, and other creative content you create using Bookwiz. We never claim ownership of your intellectual property.
</p>
</div>
<h3>License to Bookwiz</h3>
<p>By using our service, you grant Bookwiz a limited license to:</p>
<ul>
<li>Store and display your content to provide the service</li>
<li>Make backup copies for data protection</li>
<li>Process your content with AI features when you request it</li>
</ul>
<p>This license ends when you delete your content or close your account.</p>
<h3>AI-Generated Content</h3>
<p>Content generated by our AI assistant:</p>
<ul>
<li>Is provided as suggestions and inspiration</li>
<li>Becomes yours when you accept and use it</li>
<li>Should be reviewed and edited by you</li>
<li>May not be unique (AI could generate similar content for others)</li>
</ul>
<h2>5. Acceptable Use</h2>
<p>You agree not to use Bookwiz to:</p>
<ul>
<li>Create content that is illegal, harmful, or violates others' rights</li>
<li>Harass, threaten, or harm other users</li>
<li>Upload malware, viruses, or malicious code</li>
<li>Attempt to gain unauthorized access to our systems</li>
<li>Use the service for commercial purposes without permission</li>
<li>Share your account with others</li>
<li>Reverse engineer or copy our software</li>
</ul>
<div className='bg-amber-50 border border-amber-200 rounded-2xl p-6 my-6'>
<h3 className='text-lg font-semibold text-amber-900 mb-3 flex items-center'>
<ExclamationTriangleIcon className='w-5 h-5 mr-2' />
Content Guidelines
</h3>
<p className='text-sm text-amber-800 mb-0'>
While we support creative freedom, content that promotes violence, hatred, or illegal activities may result in account suspension. We review reported content and reserve the right to remove content that violates these terms.
</p>
</div>
<h2>6. Subscription and Billing</h2>
<h3>Paid Plans</h3>
<p>Paid subscriptions include:</p>
<ul>
<li>Enhanced AI features and capabilities</li>
<li>Increased storage and project limits</li>
<li>Priority customer support</li>
<li>Advanced collaboration features</li>
</ul>
<h3>Billing Terms</h3>
<ul>
<li><strong>Payment:</strong> Processed securely through Stripe</li>
<li><strong>Billing Cycle:</strong> Monthly or annual, as selected</li>
<li><strong>Auto-Renewal:</strong> Subscriptions renew automatically</li>
<li><strong>Price Changes:</strong> We'll notify you 30 days in advance</li>
</ul>
<h3>Cancellation and Refunds</h3>
<ul>
<li>Cancel anytime from your account settings</li>
<li>Access continues until the end of your billing period</li>
<li>No refunds for partial months, except as required by law</li>
<li>Free plan available after cancellation</li>
</ul>
<h2>7. Service Availability</h2>
<p>We strive to provide reliable service, but:</p>
<ul>
<li>Service may be temporarily unavailable for maintenance</li>
<li>We don't guarantee 100% uptime</li>
<li>We may modify or discontinue features with notice</li>
<li>We recommend regular backups of your important content</li>
</ul>
<h2>8. Privacy and Data Protection</h2>
<p>Your privacy is important to us. Please review our <Link href="/privacy" className="text-teal-600 hover:text-teal-700">Privacy Policy</Link> to understand how we collect, use, and protect your information.</p>
<h2>9. Intellectual Property</h2>
<p>Bookwiz and its features are protected by intellectual property laws. You may not:</p>
<ul>
<li>Copy, modify, or distribute our software</li>
<li>Use our trademarks without permission</li>
<li>Create derivative works based on our service</li>
<li>Remove copyright or proprietary notices</li>
</ul>
<h2>10. Limitation of Liability</h2>
<p>To the maximum extent permitted by law:</p>
<ul>
<li>Bookwiz is provided "as is" without warranties</li>
<li>We're not liable for indirect, incidental, or consequential damages</li>
<li>Our total liability is limited to the amount you paid in the last 12 months</li>
<li>You use the service at your own risk</li>
</ul>
<h2>11. Termination</h2>
<h3>By You</h3>
<p>You may terminate your account at any time by:</p>
<ul>
<li>Canceling your subscription</li>
<li>Deleting your account from settings</li>
<li>Contacting our support team</li>
</ul>
<h3>By Bookwiz</h3>
<p>We may suspend or terminate accounts that:</p>
<ul>
<li>Violate these Terms of Service</li>
<li>Engage in abusive or harmful behavior</li>
<li>Have unpaid fees (after notice and opportunity to cure)</li>
</ul>
<h2>12. Changes to Terms</h2>
<p>We may update these Terms from time to time. We'll notify you of material changes by:</p>
<ul>
<li>Email notification to your account</li>
<li>Notice in the application</li>
<li>Posting on our website</li>
</ul>
<p>Continued use after changes means you accept the new terms.</p>
<h2>13. Governing Law</h2>
<p>These Terms are governed by the laws of Bulgaria. Any disputes will be resolved in the courts of Sofia, Bulgaria.</p>
<h2>14. Contact Information</h2>
<p>Questions about these Terms? Contact us:</p>
<ul>
<li><strong>Email:</strong> hello@bookwiz.io</li>
<li><strong>Discord:</strong> <a href="https://discord.gg/3QjkcjsKkn" target="_blank" rel="noopener noreferrer" className="text-teal-600 hover:text-teal-700">Join our community</a></li>
<li><strong>Location:</strong> Sofia, Bulgaria</li>
</ul>
<div className='bg-teal-50 border border-teal-200 rounded-2xl p-6 mt-8'>
<p className='text-sm text-teal-800 mb-0'>
<strong>Have questions about these terms?</strong> We're happy to clarify anything. Reach out to us at hello@bookwiz.io or join our Discord community, and we'll get back to you promptly.
</p>
</div>
</div>
</div>
</div>
</div>
)
}