import React, { useEffect } from 'react';

export default function TermsConditions() {
  useEffect(() => {
    document.title = "Terms & Conditions - Legacy Kairos | Premium 3.5 & 4 BHK in Pune";
    const metaDesc = document.querySelector('meta[name="description"]');
    if (metaDesc) {
      metaDesc.setAttribute("content", "Read the Terms and Conditions of use for the Legacy Kairos project website by Legacy Lifespaces, including legal disclaimers and copyrights.");
    }
  }, []);

  return (
    <main className="flex-grow bg-[#fbfbfb] py-24 px-4 sm:px-6">
      <div className="max-w-4xl mx-auto bg-white p-8 sm:p-12 shadow-sm border border-gray-100 rounded-2xl">
        <h1 className="text-4xl font-serif text-secondary mb-8 pb-4 border-b border-gray-200">Terms and Conditions</h1>

        <p className="font-serif text-xl text-primary font-medium mb-6"><a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="hover:underline">LEGACY LIFESPACES</a> LLP</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">1. INTRODUCTION</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">
          This website, <a href="https://legacykairos.legacylifespaces.co.in" className="text-primary hover:underline">www.legacykairos.legacylifespaces.co.in</a> (“Website”), is owned and operated by <strong className="text-gray-800"><a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> Limited Liability Partnership</strong>, together with its affiliates, subsidiaries, associate entities, group companies and sister concerns (collectively referred to as “<a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> LLP”, “we”, “our” or “us”).
        </p>
        <p className="mb-4 text-gray-600 leading-relaxed">
          These Terms and Conditions of Use (“Terms”) govern your access to and use of this Website and any related mobile application operated by us (collectively, “Site”).
        </p>
        <p className="mb-4 text-gray-600 leading-relaxed">
          By accessing, browsing, registering on, or otherwise using this Site, you acknowledge that you have read, understood and agree to be legally bound by these Terms. If you do not agree to these Terms, you must immediately cease use of the Site.
        </p>
        <p className="mb-6 text-gray-600 leading-relaxed">
          These Terms constitute a legally binding agreement between you (“User”) and <a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> LLP.
        </p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">2. MODIFICATION OF TERMS</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">
          <a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> LLP reserves the right to revise, amend or update these Terms at any time without prior notice. Updated Terms shall be effective immediately upon posting on the Website. Continued use of the Site following such updates constitutes acceptance of the revised Terms.
        </p>
        <p className="mb-6 text-gray-600 leading-relaxed">Users are advised to periodically review this page.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">3. USE OF THE WEBSITE</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">Access to the Site is provided on a temporary and non-exclusive basis. We reserve the right to:</p>
        <ul className="list-disc pl-6 mb-4 text-gray-600 space-y-2">
          <li>Suspend, withdraw, discontinue or modify the Site or any part thereof without notice;</li>
          <li>Restrict access to certain areas of the Site;</li>
          <li>Disable any user account, identification code or password if we reasonably believe there has been a breach of these Terms.</li>
        </ul>
        <p className="mb-4 text-gray-600 leading-relaxed">We do not guarantee uninterrupted, secure, or error-free access to the Site.</p>
        <p className="mb-4 text-gray-600 leading-relaxed">You are responsible for:</p>
        <ul className="list-disc pl-6 mb-6 text-gray-600 space-y-2">
          <li>Ensuring that your access to the Site complies with applicable laws;</li>
          <li>Maintaining confidentiality of login credentials;</li>
          <li>Ensuring that persons accessing the Site through your internet connection comply with these Terms.</li>
        </ul>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">4. INFORMATION AND DISCLAIMERS</h2>
        
        <h3 className="text-lg font-bold text-gray-800 mt-6 mb-3">4.1 General Information</h3>
        <p className="mb-4 text-gray-600 leading-relaxed">The content on this Site is provided for general information and illustrative purposes only. It does not constitute:</p>
        <ul className="list-disc pl-6 mb-4 text-gray-600 space-y-2">
          <li>A legal offer,</li>
          <li>A contractual commitment,</li>
          <li>A warranty or guarantee,</li>
          <li>Legal, financial, tax, or investment advice.</li>
        </ul>
        <p className="mb-6 text-gray-600 leading-relaxed">Users are advised to conduct independent due diligence and obtain professional advice prior to making any decision based on information available on the Site.</p>

        <h3 className="text-lg font-bold text-gray-800 mt-6 mb-3">4.2 Accuracy of Information</h3>
        <p className="mb-4 text-gray-600 leading-relaxed">While reasonable care is taken in preparing the content:</p>
        <ul className="list-disc pl-6 mb-4 text-gray-600 space-y-2">
          <li>We do not warrant the completeness, reliability, or accuracy of any information.</li>
          <li>Content may be updated, modified, or removed without notice.</li>
          <li>We are under no obligation to update outdated information.</li>
        </ul>
        <p className="mb-6 text-gray-600 leading-relaxed">To the fullest extent permitted by law, <a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> LLP disclaims all liability for any loss or damage arising from reliance on the Site content.</p>

        <h3 className="text-lg font-bold text-gray-800 mt-6 mb-3">4.3 Property-Specific Disclaimers</h3>
        <p className="mb-4 text-gray-600 leading-relaxed">Without prejudice to the generality of the above:</p>
        <ol className="list-decimal pl-6 mb-4 text-gray-600 space-y-2">
          <li>All descriptions, dimensions, specifications, permissions and details are provided in good faith but must not be treated as statements of fact.</li>
          <li>Images, renderings, layouts, and plans may include artistic impressions and computer-generated visuals and may not be to scale.</li>
          <li>Specifications, fittings, finishes, dimensions, and features are subject to change during planning or development.</li>
          <li>Example financial projections, rental yields or returns are illustrative only and not guaranteed.</li>
          <li>Measurements are approximate and taken at the widest points unless otherwise specified.</li>
          <li>Apartment numbers used for marketing purposes may differ from final postal addresses.</li>
          <li>Journey times and distances are approximate.</li>
        </ol>
        <p className="mb-6 text-gray-600 leading-relaxed">Nothing on the Site shall be construed as legal or financial advice.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">5. INTELLECTUAL PROPERTY RIGHTS</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">All intellectual property rights in the Site and its content, including but not limited to:</p>
        <ul className="list-disc pl-6 mb-4 text-gray-600 space-y-2">
          <li>Text, graphics, logos, images,</li>
          <li>Layout, design, architecture,</li>
          <li>Databases and software,</li>
          <li>Trademarks and branding,</li>
        </ul>
        <p className="mb-4 text-gray-600 leading-relaxed">are owned by or licensed to <a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> LLP.</p>
        <p className="mb-4 text-gray-600 leading-relaxed">Users shall not:</p>
        <ul className="list-disc pl-6 mb-4 text-gray-600 space-y-2">
          <li>Copy, reproduce, distribute, modify, transmit or exploit any content for commercial purposes;</li>
          <li>Reverse engineer or create derivative works;</li>
          <li>Use content without prior written consent.</li>
        </ul>
        <p className="mb-4 text-gray-600 leading-relaxed">You may download or print content for personal, non-commercial use only, provided that:</p>
        <ul className="list-disc pl-6 mb-6 text-gray-600 space-y-2">
          <li>No modifications are made; and</li>
          <li>Our authorship and ownership are acknowledged.</li>
        </ul>
        <p className="mb-6 text-gray-600 leading-relaxed">Any breach shall result in immediate termination of usage rights and may invite legal action.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">6. LIMITATION OF LIABILITY</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">To the fullest extent permitted under applicable law, <a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> LLP shall not be liable for:</p>
        <ul className="list-disc pl-6 mb-4 text-gray-600 space-y-2">
          <li>Any direct, indirect, incidental, consequential, or special loss or damage;</li>
          <li>Loss of profits, revenue, goodwill, business opportunity or anticipated savings;</li>
          <li>Loss arising from inability to use the Site;</li>
          <li>Reliance on information contained on the Site;</li>
          <li>Technical failures, interruptions or errors;</li>
          <li>Loss caused by viruses or harmful material.</li>
        </ul>
        <p className="mb-4 text-gray-600 leading-relaxed">If you are a consumer user, the Site is provided for domestic and private use only. We shall not be liable for commercial losses.</p>
        <p className="mb-6 text-gray-600 leading-relaxed">Nothing in these Terms excludes liability where such exclusion is prohibited by law.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">7. VIRUSES AND SECURITY</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">We do not guarantee that the Site will be secure or free from viruses, malware, or other harmful components.</p>
        <p className="mb-4 text-gray-600 leading-relaxed">Users must:</p>
        <ul className="list-disc pl-6 mb-4 text-gray-600 space-y-2">
          <li>Use appropriate virus protection software;</li>
          <li>Not introduce malicious or harmful material;</li>
          <li>Not attempt unauthorized access to servers or databases.</li>
        </ul>
        <p className="mb-6 text-gray-600 leading-relaxed">Any such act may constitute an offence under the Information Technology Act, 2000 and other applicable laws of India. In case of breach, your right to use the Site shall immediately cease.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">8. THIRD-PARTY LINKS</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">The Site may contain links to third-party websites. Such links are provided for convenience only. We:</p>
        <ul className="list-disc pl-6 mb-4 text-gray-600 space-y-2">
          <li>Do not control such websites;</li>
          <li>Do not endorse their content;</li>
          <li>Accept no responsibility for third-party content or policies.</li>
        </ul>
        <p className="mb-6 text-gray-600 leading-relaxed">Users access third-party websites at their own risk.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">9. INDEMNITY</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">You agree to indemnify, defend and hold harmless <a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> LLP, its partners, directors, officers, employees, affiliates and agents from and against any claims, liabilities, damages, losses, costs or expenses arising out of:</p>
        <ul className="list-disc pl-6 mb-6 text-gray-600 space-y-2">
          <li>Your breach of these Terms;</li>
          <li>Violation of applicable law;</li>
          <li>Infringement of third-party rights.</li>
        </ul>
        <p className="mb-6 text-gray-600 leading-relaxed">This clause shall survive termination.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">10. PRIVACY</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">Use of this Site is also governed by our Privacy Policy, available on the Website.</p>
        <p className="mb-6 text-gray-600 leading-relaxed">By using the Site, you consent to collection and processing of data in accordance with our Privacy Policy and applicable laws.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">11. TERMINATION</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">We reserve the right to suspend or terminate access to the Site at our discretion, without notice, in case of breach of these Terms.</p>
        <p className="mb-6 text-gray-600 leading-relaxed">All provisions relating to intellectual property, limitation of liability, indemnity and governing law shall survive termination.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">12. GOVERNING LAW AND JURISDICTION</h2>
        <p className="mb-4 text-gray-600 leading-relaxed">These Terms shall be governed by and construed in accordance with the laws of India.</p>
        <p className="mb-6 text-gray-600 leading-relaxed">Subject to applicable law, the Courts at Pune, Maharashtra shall have exclusive jurisdiction in respect of any dispute arising out of or in connection with these Terms.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">13. SEVERABILITY</h2>
        <p className="mb-6 text-gray-600 leading-relaxed">If any provision of these Terms is held to be invalid or unenforceable under applicable law, such provision shall be severed and the remaining provisions shall continue in full force and effect.</p>

        <h2 className="text-2xl font-serif text-secondary mt-10 mb-4">14. ENTIRE AGREEMENT</h2>
        <p className="mb-6 text-gray-600 leading-relaxed">These Terms constitute the entire agreement between you and <a href="https://www.legacylifespaces.com" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">Legacy Lifespaces</a> LLP concerning use of the Site and supersede all prior understandings or communications.</p>
      </div>
    </main>
  );
}
