import React from "react";

const TermsAndConditions = () => {
  return (
    <div className="min-h-screen py-12 bg-[#F9F1FF] px-4 sm:px-6 lg:px-8">
      <div className="max-w-4xl mx-auto rounded-xl overflow-hidden">
        <div className="p-8">
          <div className="text-center mb-8">
            <h1 className="text-3xl font-bold text-gray-900">
              Terms and Conditions
            </h1>
            <p className="mt-2 text-sm text-gray-600">
              Last Updated: 02/02/2025
            </p>
          </div>

          <div className="prose max-w-none">
            <p className="mb-6">
              Welcome to <strong>PlanPost AI</strong> the Service, a platform
              designed to generate AI-powered content, plans, and strategies.
              These <strong>Terms and Conditions</strong> govern your use of our
              platform, products, and services. By accessing or using{" "}
              <strong>PlanPost AI</strong>, you agree to comply with these
              terms.
            </p>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              1. Acceptance of Terms
            </h2>
            <p className="mb-2">By using PlanPost AI, you confirm that:</p>
            <ul className="list-disc pl-6 mb-6 space-y-1">
              <li>
                You are at least 18 years old or of legal age in your
                jurisdiction.
              </li>
              <li>
                You agree to these Terms, our Privacy Policy, and all applicable
                laws.
              </li>
              <li>
                You will not use the Service for illegal or unauthorized
                purposes.
              </li>
            </ul>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              2. Service Description
            </h2>
            <p className="mb-6">
              PlanPost AI provides users with tools for key features, e.g.,
              create content, automate planning, generate insights via
              artificial intelligence. The Service may evolve over time, and we
              reserve the right to modify, suspend, or discontinue features
              without notice.
            </p>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              3. User Responsibilities
            </h2>
            <p className="mb-2">You agree to:</p>
            <ul className="list-disc pl-6 mb-6 space-y-1">
              <li>
                Provide accurate and up-to-date information during registration.
              </li>
              <li>
                Keep your account credentials secure and notify us of
                unauthorized access.
              </li>
              <li>
                Use the Service lawfully and refrain from:
                <ul className="list-disc pl-6 mt-2 mb-2 space-y-1">
                  <li>Uploading harmful/violent content.</li>
                  <li>Reverse-engineering or exploiting vulnerabilities.</li>
                  <li>Spamming, phishing, or harassing others.</li>
                </ul>
              </li>
              <li>
                Comply with all applicable laws (e.g., copyright, data
                protection).
              </li>
            </ul>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              4. Intellectual Property
            </h2>
            <ul className="list-disc pl-6 mb-6 space-y-2">
              <li>
                <strong>PlanPost AI Ownership</strong>: All software, designs,
                logos, and content provided by PlanPost AI are owned by PlanPost
                AI or its licensors. You may not copy, modify, or resell them
                without explicit permission.
              </li>
              <li>
                <strong>User Content</strong>: You retain ownership of content
                you create/upload. By using the Service, you grant PlanPost AI a
                non-exclusive, worldwide license to use, reproduce, and display
                such content solely to operate the Service.
              </li>
            </ul>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              5. Privacy
            </h2>
            <p className="mb-6">
              Your use of PlanPost AI is governed by our Privacy Policy, which
              explains how we collect, use, and protect your data. By using the
              Service, you consent to data practices outlined therein.
            </p>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              6. AI-Generated Content
            </h2>
            <ul className="list-disc pl-6 mb-6 space-y-2">
              <li>
                PlanPost AI may produce outputs based on your inputs. You are
                solely responsible for reviewing, editing, and ensuring the
                accuracy and legality of such content.
              </li>
              <li>
                We do not guarantee that AI-generated content will be
                error-free, appropriate, or compliant with third-party rights.
              </li>
            </ul>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              7. Payment and Subscriptions
            </h2>
            <ul className="list-disc pl-6 mb-6 space-y-1">
              <li>
                <strong>Trial Plan</strong>: $0 (limited features)
              </li>
              <li>
                <strong>Basic Plan</strong>: $19 (20 posts/month, 1 brand)
              </li>
              <li>
                <strong>Standard Plan</strong>: $59 (60 posts/month, 5 brands)
              </li>
              <li>
                <strong>Premium Plan</strong>: $300 (750 posts/month, 50 brands)
              </li>
              <li>Payments are non-refundable except as required by law.</li>
            </ul>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              8. Disclaimers
            </h2>
            <p className="mb-2 uppercase font-medium">
              THE SERVICE IS PROVIDED AS IS WITHOUT WARRANTIES OF ANY KIND. WE
              DISCLAIM ALL LIABILITY FOR:
            </p>
            <ul className="list-disc pl-6 mb-6 space-y-1">
              <li>ERRORS, INTERRUPTIONS, OR UNAVAILABILITY OF THE SERVICE.</li>
              <li>LOSS OF DATA, PROFITS, OR BUSINESS OPPORTUNITIES.</li>
              <li>
                THIRD-PARTY ACTIONS OR CONTENT LINKED THROUGH THE SERVICE.
              </li>
            </ul>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              9. Limitation of Liability
            </h2>
            <p className="mb-6">
              To the fullest extent permitted by law, PlanPost AI and its
              affiliates shall not be liable for any indirect, incidental, or
              consequential damages arising from your use of the Service.
            </p>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              10. Termination
            </h2>
            <p className="mb-6">
              We reserve the right to suspend or terminate your access to the
              Service at any time, with or without cause, and without prior
              notice.
            </p>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              11. Governing Law
            </h2>
            <p className="mb-6">
              These Terms are governed by the laws of{" "}
              <strong>Bangladesh</strong>. Any disputes shall be resolved in the
              courts of <strong>Dhaka, Bangladesh</strong>.
            </p>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              12. Changes to Terms
            </h2>
            <p className="mb-6">
              We may update these Terms periodically. Continued use of the
              Service after changes constitutes acceptance. We will notify users
              of material updates via email or in-app alerts.
            </p>

            <h2 className="text-xl font-semibold mt-8 mb-4 text-gray-800">
              13. Contact Us
            </h2>
            <p className="mb-6">
              For questions or concerns about these Terms, contact us at:
              <br />
              <strong>PlanPost AI</strong>
              <br />
              Email: shahin@planpostai.com
              <br />
              Address: 965 (6th Floor), Apartment D, Begum Rokeya Avenue, Dhaka
              1216
            </p>

            <p className="text-center font-medium mt-12">
              Thank you for using PlanPost AI!
            </p>
          </div>
        </div>
      </div>
    </div>
  );
};

export default TermsAndConditions;
