export default function TermsOfServicePage() {
  return (
    <div className="min-h-screen bg-gray-50 py-12">
      <div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
        <div className="bg-white rounded-lg shadow-lg p-8 md:p-12">
          <h1 className="text-3xl md:text-4xl font-playfair font-bold text-teal mb-6 pb-4 border-b-4 border-teal">
            Terms of Service
          </h1>
          
          <div className="bg-gray-100 p-4 rounded-lg mb-8 italic">
            <strong>Last Updated:</strong> December 2024
          </div>

          <p className="text-gray-700 mb-6 leading-relaxed">
            Welcome to Pilates with Fadia. These Terms of Service ("Terms") govern your use of our website pilateswithfadia.com and our services. By accessing or using our services, you agree to be bound by these Terms.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">1. Acceptance of Terms</h2>
          <p className="text-gray-700 mb-6">
            By accessing and using our website and services, you accept and agree to be bound by the terms and provision of this agreement. If you do not agree to abide by the above, please do not use this service.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">2. Description of Services</h2>
          <p className="text-gray-700 mb-3">Pilates with Fadia provides:</p>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>In-person and virtual Pilates classes</li>
            <li>Private and group instruction</li>
            <li>Wellness coaching and fitness guidance</li>
            <li>Online class booking and scheduling</li>
            <li>Educational content and resources</li>
          </ul>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">3. User Registration and Accounts</h2>
          <p className="text-gray-700 mb-3">To access certain services, you may be required to create an account. You agree to:</p>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>Provide accurate, current, and complete information</li>
            <li>Maintain and update your account information</li>
            <li>Keep your login credentials secure and confidential</li>
            <li>Notify us immediately of any unauthorized use of your account</li>
            <li>Accept responsibility for all activities under your account</li>
          </ul>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">4. Health and Safety Considerations</h2>
          <div className="bg-red-50 border border-red-200 p-4 rounded-lg mb-6">
            <strong className="text-red-800">Important Health Notice:</strong> 
            <span className="text-red-700"> Pilates and physical exercise involve inherent risks. By participating in our classes and services, you acknowledge and assume these risks.</span>
          </div>
          
          <p className="text-gray-700 mb-3">Before participating in any classes, you agree to:</p>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>Consult with a healthcare provider if you have any medical conditions</li>
            <li>Inform us of any injuries, limitations, or health concerns</li>
            <li>Listen to your body and exercise within your limits</li>
            <li>Follow all safety instructions provided by instructors</li>
            <li>Understand that you participate at your own risk</li>
          </ul>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">5. Class Policies</h2>
          
          <h3 className="text-xl font-semibold text-gray-700 mb-3">Booking and Cancellation</h3>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>Classes must be booked in advance through our booking system</li>
            <li>Cancellations must be made at least 24 hours before class</li>
            <li>Late cancellations may result in forfeiture of class credit</li>
            <li>No-shows will be charged the full class fee</li>
            <li>We reserve the right to cancel classes due to low enrollment or unforeseen circumstances</li>
          </ul>

          <h3 className="text-xl font-semibold text-gray-700 mb-3">Class Conduct</h3>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>Arrive on time for classes</li>
            <li>Turn off or silence mobile devices</li>
            <li>Respect other participants and instructors</li>
            <li>Follow studio rules and guidelines</li>
            <li>Maintain appropriate attire and hygiene</li>
          </ul>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">6. Payment Terms</h2>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>Payment is due at the time of booking unless otherwise arranged</li>
            <li>We accept major credit cards and other approved payment methods</li>
            <li>Package deals and memberships are non-refundable unless required by law</li>
            <li>Prices are subject to change with reasonable notice</li>
            <li>Outstanding balances may result in suspension of services</li>
          </ul>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">7. Refund and Cancellation Policy</h2>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>Refunds are considered on a case-by-case basis</li>
            <li>Medical exemptions may qualify for partial refunds with documentation</li>
            <li>Credits may be offered in lieu of refunds when appropriate</li>
            <li>Membership cancellations require 30 days written notice</li>
          </ul>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">8. Intellectual Property Rights</h2>
          <p className="text-gray-700 mb-4">
            All content on our website and in our classes, including but not limited to text, graphics, logos, images, video content, and software, is the property of Pilates with Fadia and is protected by copyright and other intellectual property laws.
          </p>

          <p className="text-gray-700 mb-3">You may not:</p>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>Copy, distribute, or reproduce our content without permission</li>
            <li>Record classes without explicit written consent</li>
            <li>Use our materials for commercial purposes</li>
            <li>Modify or create derivative works from our content</li>
          </ul>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">9. Privacy and Data Protection</h2>
          <p className="text-gray-700 mb-6">
            Your privacy is important to us. Please review our Privacy Policy, which governs how we collect, use, and protect your personal information.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">10. Limitation of Liability</h2>
          <p className="text-gray-700 mb-6">
            To the fullest extent permitted by law, Pilates with Fadia shall not be liable for any direct, indirect, incidental, special, consequential, or punitive damages arising out of your use of our services, even if we have been advised of the possibility of such damages.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">11. Indemnification</h2>
          <p className="text-gray-700 mb-6">
            You agree to indemnify and hold harmless Pilates with Fadia, its instructors, and affiliates from any claims, damages, or expenses arising from your use of our services or violation of these Terms.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">12. Prohibited Uses</h2>
          <p className="text-gray-700 mb-3">You may not use our services to:</p>
          <ul className="list-disc list-inside text-gray-700 mb-6 space-y-2 ml-4">
            <li>Violate any applicable laws or regulations</li>
            <li>Harass, abuse, or harm other users or staff</li>
            <li>Transmit malicious code or attempt to gain unauthorized access</li>
            <li>Impersonate others or provide false information</li>
            <li>Engage in any activity that interferes with our services</li>
          </ul>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">13. Termination</h2>
          <p className="text-gray-700 mb-6">
            We reserve the right to terminate or suspend your account and access to our services at our sole discretion, without prior notice, for conduct that we believe violates these Terms or is harmful to other users or our business.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">14. Modifications to Terms</h2>
          <p className="text-gray-700 mb-6">
            We reserve the right to modify these Terms at any time. We will notify users of any material changes by posting the updated Terms on our website. Your continued use of our services after such modifications constitutes acceptance of the updated Terms.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">15. Governing Law</h2>
          <p className="text-gray-700 mb-6">
            These Terms shall be governed by and construed in accordance with the laws of Germany, without regard to its conflict of law principles.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">16. Dispute Resolution</h2>
          <p className="text-gray-700 mb-6">
            Any disputes arising under these Terms shall be resolved through binding arbitration in accordance with German arbitration rules, except where prohibited by law.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">17. Severability</h2>
          <p className="text-gray-700 mb-6">
            If any provision of these Terms is found to be unenforceable or invalid, the remaining provisions will continue to be valid and enforceable.
          </p>

          <h2 className="text-2xl font-semibold text-gray-800 mt-8 mb-4">18. Contact Information</h2>
          <div className="bg-blue-50 p-6 rounded-lg border-l-4 border-teal">
            <p className="text-gray-700 mb-4">If you have any questions about these Terms of Service, please contact us:</p>
            <div className="text-gray-700">
              <p><strong>Pilates with Fadia</strong></p>
              <p>Email: hello@pilateswithfadia.com</p>
              <p>Website: pilateswithfadia.com</p>
            </div>
          </div>

          <p className="text-gray-600 italic mt-8">
            By using our services, you acknowledge that you have read, understood, and agree to be bound by these Terms of Service.
          </p>
        </div>
      </div>
    </div>
  );
}