"use client";

import { Navbar } from "@/components/home/Navbar";
import { Footer } from "@/components/home/Footer";
import { PageHeader } from "@/components/shared/PageHeader";

export default function TermsPage() {
  return (
    <div className="flex flex-1 flex-col">
      <Navbar />

      <PageHeader
        title="Terms & Conditions"
        breadcrumbs={[
          { label: "Home", href: "/" },
          { label: "Terms & Conditions" },
        ]}
      />

      <section className="py-20 lg:py-24 bg-white">
        <div className="mx-auto max-w-4xl px-6 lg:px-8 prose prose-obsidian">
          <p className="text-sm text-obsidian-500">Last updated: May 25, 2026</p>

          <h2>1. Acceptance of Terms</h2>
          <p>
            By accessing or using the Diaspora Property platform (&quot;Service&quot;), you agree to be bound by these
            Terms and Conditions. If you do not agree to these terms, please do not use the Service.
          </p>

          <h2>2. Description of Service</h2>
          <p>
            Diaspora Property is an online platform that connects Kenyan diaspora investors with vetted property
            companies, property listings, and investment-related content including a digital magazine. We act as an
            information and connection platform and do not directly sell, manage, or guarantee any property transactions.
          </p>

          <h2>3. User Accounts</h2>
          <p>
            To access certain features, you must create an account. You are responsible for maintaining the
            confidentiality of your account credentials and for all activities that occur under your account.
            You agree to:
          </p>
          <ul>
            <li>Provide accurate and complete registration information</li>
            <li>Keep your login credentials secure</li>
            <li>Notify us immediately of any unauthorised access</li>
            <li>Not share your account with third parties</li>
          </ul>

          <h2>4. Property Listings & Company Directory</h2>
          <p>
            While we take reasonable steps to vet property companies and listings on our platform, Diaspora Property
            does not guarantee the accuracy, completeness, or reliability of any listing or company information.
            Users should conduct their own due diligence before making any investment decisions.
          </p>

          <h2>5. Magazine & Subscriptions</h2>
          <p>
            Access to premium magazine content requires a paid subscription. Subscription terms, pricing, and renewal
            policies are detailed at the time of purchase. Refunds are handled on a case-by-case basis within 14 days
            of purchase.
          </p>

          <h2>6. Advertising</h2>
          <p>
            Advertisements displayed on the platform are provided by third-party advertisers. Diaspora Property does
            not endorse or guarantee any products or services advertised on the platform.
          </p>

          <h2>7. Intellectual Property</h2>
          <p>
            All content on the platform, including text, graphics, logos, images, and software, is the property of
            Diaspora Property or its licensors and is protected by intellectual property laws. You may not reproduce,
            distribute, or create derivative works without express written permission.
          </p>

          <h2>8. Prohibited Conduct</h2>
          <p>You agree not to:</p>
          <ul>
            <li>Use the Service for any unlawful purpose</li>
            <li>Post false, misleading, or fraudulent content</li>
            <li>Attempt to gain unauthorised access to the platform or other users&apos; accounts</li>
            <li>Interfere with the proper functioning of the Service</li>
            <li>Scrape or harvest data from the platform without permission</li>
          </ul>

          <h2>9. Limitation of Liability</h2>
          <p>
            To the maximum extent permitted by law, Diaspora Property shall not be liable for any indirect, incidental,
            special, consequential, or punitive damages arising from your use of the Service, including but not limited
            to losses from property investment decisions made based on information found on the platform.
          </p>

          <h2>10. Indemnification</h2>
          <p>
            You agree to indemnify and hold harmless Diaspora Property, its officers, directors, employees, and agents
            from any claims, damages, losses, or expenses arising from your use of the Service or violation of these terms.
          </p>

          <h2>11. Modifications</h2>
          <p>
            We reserve the right to modify these Terms at any time. Changes will be posted on this page with an updated
            date. Continued use of the Service after changes constitutes acceptance of the modified terms.
          </p>

          <h2>12. Governing Law</h2>
          <p>
            These Terms shall be governed by and construed in accordance with the laws of Kenya. Any disputes arising
            from these Terms shall be subject to the exclusive jurisdiction of the courts of Kenya.
          </p>

          <h2>13. Contact</h2>
          <p>
            If you have questions about these Terms, please contact us at{" "}
            <a href="mailto:legal@diasporaproperty.com" className="text-primary hover:text-primary/80">
              legal@diasporaproperty.com
            </a>.
          </p>
        </div>
      </section>

      <Footer />
    </div>
  );
}
