'use client';

import { CommonHeader } from '@/components/layout/CommonHeader';
import { Footer } from '@/components/layout/Footer';

export default function PrivacyPolicyPage() {
  return (
    <div className="min-h-screen bg-white flex flex-col">
      {/* Header */}
      <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 w-full pt-4 sm:pt-6">
        <CommonHeader />
      </div>

      {/* Main Content */}
      <main className="flex-1 py-10">
        <div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 w-full">
          {/* Page Title */}
          <h1 className="font-fractul font-bold text-[28px] text-[#00293d] mb-2 text-center">
            RE-QUEST PRIVACY POLICY
          </h1>
          <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-8 text-center">
            Effective Date: March 11, 2026
          </p>

          {/* Intro Paragraphs */}
          <div className="mb-8">
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              This Privacy Policy describes how RE-Quest (&quot;we,&quot; &quot;us,&quot; or &quot;our&quot;) collects, uses, shares, and protects your personal information when you use the RE-Quest platform, including our website, mobile applications, and related services (collectively, the &quot;Platform&quot;). RE-Quest is a real estate technology platform that connects buyers, sellers, renters, landlords, and real estate professionals.
            </p>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              By using the Platform, you acknowledge that you have read and understood this Privacy Policy and agree to the collection and use of your information as described herein. If you do not agree with this Privacy Policy, please do not use the Platform.
            </p>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              Information may be shared between affiliated platforms owned or operated by the same parent entity for purposes including but not limited to account management, analytics, fraud prevention, and service improvement.
            </p>
          </div>

          {/* Section 1 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              1. Information We Collect
            </h2>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              1.1 Information You Provide Directly
            </h3>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Account Information:</strong> Name, email address, phone number, password, and profile details when you create an account.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Profile Information:</strong> Professional credentials, license numbers, brokerage affiliation, areas of expertise, biography, profile photo, and other details for real estate professionals.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Property Listings:</strong> Property details, descriptions, photos, videos, virtual tours, pricing information, and other listing-related content you submit.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Search Preferences:</strong> Saved searches, property preferences, location preferences, price ranges, and other search criteria.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Communications:</strong> Messages sent through the Platform, inquiries about properties, reviews and ratings, and correspondence with our support team.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Financial Information:</strong> Payment method details, transaction history, and billing information when you make purchases or subscribe to premium services.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Identity Verification:</strong> Government-issued identification, professional licenses, and other documents submitted for verification purposes.
              </li>
            </ul>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              1.2 Information Collected Automatically
            </h3>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Device Information:</strong> Device type, operating system, browser type, unique device identifiers, and mobile network information.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Usage Data:</strong> Pages viewed, features used, search queries, click patterns, time spent on pages, and interaction with listings and advertisements.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Location Data:</strong> Approximate location based on IP address, and precise location data if you enable location services on your device.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Log Data:</strong> IP address, access times, referring URLs, and error logs.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Cookies and Similar Technologies:</strong> Information collected through cookies, pixel tags, web beacons, and similar tracking technologies (see Section 5).
              </li>
            </ul>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              1.3 Information from Third Parties
            </h3>
            <ul className="list-disc pl-6 space-y-2">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Social Media Platforms:</strong> Information from social media accounts if you choose to link them or sign in through social media.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Public Records:</strong> Property records, tax assessments, and other publicly available real estate data.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>MLS Data:</strong> Property listing information from Multiple Listing Services.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Third-Party Services:</strong> Information from identity verification services, credit reporting agencies, and background check providers (with your consent).
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Business Partners:</strong> Information from real estate brokerages, lenders, title companies, and other partners.
              </li>
            </ul>
          </div>

          {/* Section 2 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              2. How We Use Your Information
            </h2>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              2.1 To Provide and Improve Our Services
            </h3>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Operate, maintain, and improve the Platform
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Process transactions and send related information
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Create and manage your account
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Facilitate connections between buyers, sellers, renters, and real estate professionals
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Provide personalized property recommendations and search results
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Process and display property listings
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Enable messaging and communication between users
              </li>
            </ul>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              2.2 For Communication
            </h3>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Send service-related notices, updates, and security alerts
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Respond to your comments, questions, and customer service requests
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Send marketing communications (with your consent, where required)
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Notify you about changes to our services or policies
              </li>
            </ul>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              2.3 For Safety and Security
            </h3>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Verify user identities and professional credentials
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Detect, prevent, and address fraud, abuse, and security issues
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Monitor and enforce compliance with our Terms of Service
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Protect the rights, property, and safety of RE-Quest, our users, and the public
              </li>
            </ul>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              2.4 For Analytics and Research
            </h3>
            <ul className="list-disc pl-6 space-y-2">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Analyze usage patterns and trends to improve user experience
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Conduct research and development for new features and services
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Generate aggregated, de-identified data for market analysis and reporting
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Measure the effectiveness of marketing campaigns
              </li>
            </ul>
          </div>

          {/* Section 3 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              3. How We Share Your Information
            </h2>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              3.1 With Other Users
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              Your profile information, listings, reviews, and other content you post are visible to other users of the Platform as necessary to facilitate real estate transactions and communications.
            </p>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              3.2 With Service Providers
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              We share information with third-party service providers who perform services on our behalf, including hosting, data analytics, payment processing, email delivery, marketing, and customer service. These providers are contractually obligated to use your information only to provide services to us and in compliance with this Privacy Policy.
            </p>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              3.3 With Real Estate Partners
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              We may share information with real estate brokerages, MLS organizations, lenders, title companies, and other real estate service providers to facilitate transactions and provide comprehensive real estate services.
            </p>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              3.4 With Affiliated Platforms
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              Your information may be shared between platforms owned or operated by the same parent entity as RE-Quest for purposes including account management, analytics, fraud prevention, and service improvement. This sharing is governed by internal data sharing agreements and is subject to this Privacy Policy.
            </p>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              3.5 For Legal Purposes
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              We may disclose your information if required by law, subpoena, or other legal process, or if we believe in good faith that disclosure is necessary to comply with the law, protect our rights or safety, investigate fraud, or respond to a government request.
            </p>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              3.6 Business Transfers
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              In the event of a merger, acquisition, reorganization, bankruptcy, or sale of all or a portion of our assets, your information may be transferred as part of that transaction. We will notify you via email and/or a prominent notice on our Platform of any change in ownership or uses of your personal information.
            </p>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              3.7 With Your Consent
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              We may share your information with third parties when you have given us explicit consent to do so.
            </p>
          </div>

          {/* Section 4 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              4. User Content and Reviews
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              The Platform allows users to post reviews, ratings, comments, and other content. Please be aware that:
            </p>
            <ul className="list-disc pl-6 space-y-2">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Any content you post may be publicly visible to other users
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Reviews and ratings are associated with your profile name
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                We do not control how other users may use or share content you post
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                You should not include sensitive personal information in public posts
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                We reserve the right to remove content that violates our Terms of Service
              </li>
            </ul>
          </div>

          {/* Section 5 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              5. Cookies and Tracking Technologies
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              We use cookies and similar tracking technologies to collect and store information about your interactions with the Platform. These include:
            </p>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Essential Cookies:</strong> Required for the Platform to function properly, including authentication and security cookies.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Analytics Cookies:</strong> Help us understand how users interact with the Platform, which pages are most popular, and how users navigate the site.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Functionality Cookies:</strong> Remember your preferences and settings to provide a personalized experience.
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Advertising Cookies:</strong> Used to deliver relevant advertisements and measure the effectiveness of advertising campaigns.
              </li>
            </ul>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              You can manage your cookie preferences through your browser settings. Please note that disabling certain cookies may affect the functionality of the Platform.
            </p>
          </div>

          {/* Section 6 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              6. Data Retention
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              We retain your personal information for as long as your account is active or as needed to provide you services. We may also retain and use your information as necessary to:
            </p>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Comply with our legal obligations
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Resolve disputes and enforce our agreements
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Maintain business records for financial reporting and compliance
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Prevent fraud and abuse
              </li>
            </ul>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              When your information is no longer needed for these purposes, we will securely delete or anonymize it. Property listing data may be retained in anonymized form for market analysis purposes.
            </p>
          </div>

          {/* Section 7 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              7. Data Security
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              We implement appropriate technical and organizational security measures to protect your personal information, including:
            </p>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Encryption of data in transit and at rest
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Regular security assessments and penetration testing
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Access controls and authentication mechanisms
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Employee training on data protection practices
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                Incident response and breach notification procedures
              </li>
            </ul>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              While we strive to protect your personal information, no method of transmission over the Internet or method of electronic storage is 100% secure. We cannot guarantee absolute security of your data.
            </p>
          </div>

          {/* Section 8 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              8. Your Privacy Rights
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              Depending on your location and applicable laws, you may have the following rights regarding your personal information:
            </p>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              8.1 General Rights
            </h3>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Access:</strong> Request a copy of the personal information we hold about you
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Correction:</strong> Request that we correct inaccurate or incomplete information
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Deletion:</strong> Request that we delete your personal information, subject to certain exceptions
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Portability:</strong> Request a copy of your data in a structured, machine-readable format
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Opt-Out:</strong> Opt out of marketing communications at any time
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                <strong>Restriction:</strong> Request that we restrict processing of your information in certain circumstances
              </li>
            </ul>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              8.2 California Residents (CCPA/CPRA)
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-2">
              If you are a California resident, you have additional rights under the California Consumer Privacy Act (CCPA) and California Privacy Rights Act (CPRA), including:
            </p>
            <ul className="list-disc pl-6 space-y-2 mb-4">
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                The right to know what personal information we collect, use, and disclose
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                The right to delete personal information
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                The right to opt out of the sale or sharing of personal information
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                The right to non-discrimination for exercising your privacy rights
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                The right to correct inaccurate personal information
              </li>
              <li className="font-serif text-[15px] leading-[24px] text-[#00293d]">
                The right to limit use of sensitive personal information
              </li>
            </ul>

            <h3 className="text-[16px] font-fractul font-bold text-[#00293d] mb-2">
              8.3 Exercising Your Rights
            </h3>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              To exercise any of these rights, please contact us using the information provided in the &quot;Contact Us&quot; section below. We will respond to your request within the timeframe required by applicable law. We may need to verify your identity before processing your request.
            </p>
          </div>

          {/* Section 9 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              9. Children&apos;s Privacy
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              The Platform is not intended for use by individuals under the age of 18. We do not knowingly collect personal information from children under 18. If we become aware that a child under 18 has provided us with personal information, we will take steps to delete such information. If you believe that a child under 18 has provided us with personal information, please contact us immediately.
            </p>
          </div>

          {/* Section 10 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              10. Third-Party Links and Services
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              The Platform may contain links to third-party websites, services, and applications that are not operated by us. This Privacy Policy does not apply to those third-party services. We encourage you to review the privacy policies of any third-party services you access through the Platform. We are not responsible for the privacy practices of third-party services.
            </p>
          </div>

          {/* Section 11 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              11. Changes to This Privacy Policy
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              We may update this Privacy Policy from time to time. We will notify you of any material changes by posting the new Privacy Policy on the Platform and updating the &quot;Effective Date&quot; at the top. For significant changes, we may also send you a notification via email or through the Platform. Your continued use of the Platform after any changes to this Privacy Policy constitutes your acceptance of the updated policy.
            </p>
          </div>

          {/* Section 12 */}
          <div className="mb-8">
            <h2 className="text-[20px] font-fractul font-bold text-[#00293d] mb-4">
              12. Contact Us
            </h2>
            <p className="font-serif text-[15px] leading-[24px] text-[#00293d] mb-4">
              If you have any questions, concerns, or requests regarding this Privacy Policy or our data practices, please contact us at:
            </p>
            <div className="font-serif text-[15px] leading-[24px] text-[#00293d]">
              <p className="mb-1"><strong>RE-Quest</strong></p>
              <p className="mb-1">
                Email:{' '}
                <a
                  href="mailto:request.sha@gmail.com"
                  className="text-[#e58625] underline hover:opacity-80"
                >
                  request.sha@gmail.com
                </a>
              </p>
              <p>Address: 1975 Peralta Point, Colorado Springs, CO 80910</p>
            </div>
          </div>
        </div>
      </main>

      {/* Footer */}
      <Footer />
    </div>
  );
}
