"use client";

export default function PrivacyPolicyPage() {
   return (
      <div dangerouslySetInnerHTML={{ __html: htmlContent }} />
   );
}

const htmlContent = `
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Privacy Policy — Bali Interaktif Perkasa</title>
  <style>
    :root {
      --bg: #ffffff;
      --fg: #111111;
      --muted: #555555;
      --accent: #0a7cff;
      --card: #f7f7f8;
      --border: #e5e7eb;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      color: var(--fg);
      background: var(--bg);
      line-height: 1.6;
    }
    header {
      padding: 2.5rem 1rem 1rem;
      background: linear-gradient(180deg, #eef4ff, #fff);
      border-bottom: 1px solid var(--border);
    }
    .container {
      max-width: 840px;
      margin: 0 auto;
      padding: 0 1rem 3rem;
    }
    h1 {
      margin: 0 0 0.5rem;
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      line-height: 1.2;
      letter-spacing: -0.01em;
    }
    .updated {
      color: var(--muted);
      font-size: 0.95rem;
    }
    nav.toc {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1rem 1.25rem;
      margin: 1.25rem 0 2rem;
    }
    nav.toc h2 {
      margin: 0 0 0.5rem;
      font-size: 1.05rem;
    }
    nav.toc ol {
      margin: 0.25rem 0 0.5rem 1.25rem;
    }
    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }
    section { margin: 2rem 0; }
    h2 {
      font-size: 1.35rem;
      margin: 0 0 0.5rem;
      letter-spacing: -0.01em;
    }
    h3 { font-size: 1.05rem; margin: 1rem 0 0.25rem; }
    .summary {
      background: #fffef5;
      border: 1px solid #f1e8c6;
      border-radius: 12px;
      padding: 1rem 1.25rem;
    }
    ul, ol { padding-left: 1.25rem; }
    address { font-style: normal; white-space: pre-line; }
    footer {
      margin-top: 2.5rem;
      padding-top: 1rem;
      border-top: 1px solid var(--border);
      color: var(--muted);
      font-size: 0.95rem;
    }
    code { background: #f1f5f9; padding: 0.1rem 0.3rem; border-radius: 6px; }
    .lead { font-size: 1.05rem; }
  </style>
</head>
<body>
  <header>
    <div class="container">
      <h1>Privacy Policy</h1>
      <div class="updated">Last updated September 01, 2025</div>
    </div>
  </header>

  <main class="container">
    <p class="lead">
      This Privacy Notice for <strong>Bali Interaktif Perkasa</strong> ("we," "us," or "our") describes how and why we might access, collect, store, use, and/or share ("process") your personal information when you use our services ("Services"), including when you:
    </p>
    <ul>
      <li>Download and use our mobile application (<em>Darmasaba mobile</em>), or any other application of ours that links to this Privacy Notice.</li>
      <li>Use Administration. This mobile application is specifically designed to help village officials manage data and monitor the progress of internal activities. It offers features such as data management by division, general activity monitoring, discussion forums, official announcements, and document folder management.</li>
      <li>Engage with us in other related ways, including any sales, marketing, or events.</li>
    </ul>
    <p>Questions or concerns? Reading this Privacy Notice will help you understand your privacy rights and choices. We are responsible for making decisions about how your personal information is processed. If you do not agree with our policies and practices, please do not use our Services. If you still have any questions or concerns, please contact us at <a href="mailto:bip.baliinteraktifperkasa@gmail.com">bip.baliinteraktifperkasa@gmail.com</a>.</p>

    <section class="summary">
      <h2>Summary of Key Points</h2>
      <p>This summary provides key points from our Privacy Notice, but you can find out more details about any of these topics by using the table of contents below.</p>
      <ul>
        <li><strong>What personal information do we process?</strong> We may process personal information depending on how you interact with us and the Services, the choices you make, and the products and features you use.</li>
        <li><strong>Do we process any sensitive personal information?</strong> We do not process sensitive personal information.</li>
        <li><strong>Do we collect any information from third parties?</strong> We do not collect any information from third parties.</li>
        <li><strong>How do we process your information?</strong> To provide, improve, and administer our Services; communicate with you; for security and fraud prevention; and to comply with law. We may also process your information for other purposes with your consent.</li>
        <li><strong>In what situations and with which parties do we share personal information?</strong> We may share information in specific situations and with specific third parties.</li>
        <li><strong>How do we keep your information safe?</strong> We have organizational and technical measures to protect your personal information; however, no method is 100% secure.</li>
        <li><strong>What are your rights?</strong> Depending on your location, you may have certain rights regarding your personal information.</li>
        <li><strong>How do you exercise your rights?</strong> The easiest way is by emailing <a href="mailto:bip.baliinteraktifperkasa@gmail.com">bip.baliinteraktifperkasa@gmail.com</a>.</li>
      </ul>
      <p>Want to learn more about what we do with information we collect? Review the Privacy Notice in full below.</p>
    </section>

    <nav class="toc" aria-label="Table of contents">
      <h2>Table of Contents</h2>
      <ol>
        <li><a href="#collect">1. WHAT INFORMATION DO WE COLLECT?</a></li>
        <li><a href="#process">2. HOW DO WE PROCESS YOUR INFORMATION?</a></li>
        <li><a href="#share">3. WHEN AND WITH WHOM DO WE SHARE YOUR PERSONAL INFORMATION?</a></li>
        <li><a href="#retention">4. HOW LONG DO WE KEEP YOUR INFORMATION?</a></li>
        <li><a href="#security">5. HOW DO WE KEEP YOUR INFORMATION SAFE?</a></li>
        <li><a href="#minors">6. DO WE COLLECT INFORMATION FROM MINORS?</a></li>
        <li><a href="#rights">7. WHAT ARE YOUR PRIVACY RIGHTS?</a></li>
        <li><a href="#dnt">8. CONTROLS FOR DO-NOT-TRACK FEATURES</a></li>
        <li><a href="#updates">9. DO WE MAKE UPDATES TO THIS NOTICE?</a></li>
        <li><a href="#contact">10. HOW CAN YOU CONTACT US ABOUT THIS NOTICE?</a></li>
        <li><a href="#review">11. HOW CAN YOU REVIEW, UPDATE, OR DELETE THE DATA WE COLLECT FROM YOU?</a></li>
      </ol>
    </nav>

    <section id="collect">
      <h2>1. WHAT INFORMATION DO WE COLLECT?</h2>
      <h3>Personal information you disclose to us</h3>
      <p><em>In Short:</em> We collect personal information that you provide to us.</p>
      <p>We collect personal information that you voluntarily provide to us when you express an interest in obtaining information about us or our products and Services, when you participate in activities on the Services, or otherwise when you contact us.</p>
      <h3>Personal Information Provided by You</h3>
      <p>The personal information we collect depends on the context of your interactions with us and the Services, the choices you make, and the products and features you use. This may include:</p>
      <ul>
        <li>names</li>
        <li>phone numbers</li>
        <li>email addresses</li>
      </ul>
      <h3>Sensitive Information</h3>
      <p>We do not process sensitive information.</p>
      <h3>Application Data</h3>
      <p>If you use our application(s), we may also collect the following information if you choose to provide us with access or permission:</p>
      <ul>
        <li><strong>Mobile Device Access.</strong> We may request access or permission to certain features from your mobile device, including your mobile device's camera, and other features. You may change access or permissions in your device's settings.</li>
        <li><strong>Push Notifications.</strong> We may request to send you push notifications regarding your account or certain features of the application(s). You may opt out in your device's settings.</li>
      </ul>
      <p>This information is primarily needed to maintain the security and operation of our application(s), for troubleshooting, and for internal analytics and reporting purposes.</p>
      <p>All personal information that you provide to us must be true, complete, and accurate, and you must notify us of any changes to such personal information.</p>
    </section>

    <section id="process">
      <h2>2. HOW DO WE PROCESS YOUR INFORMATION?</h2>
      <p><em>In Short:</em> We process your information to provide, improve, and administer our Services, communicate with you, for security and fraud prevention, and to comply with law. We may also process your information for other purposes with your consent.</p>
      <p>We process your personal information for a variety of reasons, depending on how you interact with our Services, including:</p>
      <ul>
        <li><strong>To deliver and facilitate delivery of services to the user.</strong> We may process your information to provide you with the requested service.</li>
        <li><strong>To enable user-to-user communications.</strong> We may process your information if you choose to use offerings that allow communication with another user.</li>
        <li><strong>To evaluate and improve our Services, products, marketing, and your experience.</strong> We may process your information to identify usage trends, determine the effectiveness of our promotional campaigns, and to evaluate and improve our Services, products, marketing, and your experience.</li>
      </ul>
    </section>

    <section id="share">
      <h2>3. WHEN AND WITH WHOM DO WE SHARE YOUR PERSONAL INFORMATION?</h2>
      <p><em>In Short:</em> We may share information in specific situations described in this section and/or with the following third parties.</p>
      <p><strong>Vendors, Consultants, and Other Third-Party Service Providers.</strong> We may share your data with third-party vendors, service providers, contractors, or agents ("third parties") who perform services for us or on our behalf and require access to such information to do that work.</p>
      <p>The third parties we may share personal information with include:</p>
      <ul>
        <li><strong>Functionality and Infrastructure Optimization:</strong> Firebase Realtime Database and Cloud Functions for Firebase</li>
        <li><strong>Functionality &amp; Infrastructure Optimization:</strong> Expo / EAS Services</li>
      </ul>
      <p>We may also need to share your personal information in the following situations:</p>
      <ul>
        <li><strong>Business Transfers.</strong> We may share or transfer your information in connection with, or during negotiations of, any merger, sale of company assets, financing, or acquisition of all or a portion of our business to another company.</li>
        <li><strong>Other Users.</strong> When you share personal information (for example, by posting comments or other content to the Services) or interact with public areas of the Services, such information may be viewed by all users and may be publicly available outside the Services in perpetuity. Other users may view descriptions of your activity, communicate with you, and view your profile.</li>
      </ul>
    </section>

    <section id="retention">
      <h2>4. HOW LONG DO WE KEEP YOUR INFORMATION?</h2>
      <p><em>In Short:</em> We keep your information for as long as necessary to fulfill the purposes outlined in this Privacy Notice unless otherwise required by law.</p>
      <p>We will only keep your personal information as long as necessary for the purposes set out in this Privacy Notice, unless a longer retention period is required or permitted by law (such as tax, accounting, or other legal requirements).</p>
      <p>When we have no ongoing legitimate business need to process your personal information, we will delete or anonymize such information. If deletion is not possible (for example, if your personal information is stored in backup archives), we will securely store your personal information and isolate it from any further processing until deletion is possible.</p>
    </section>

    <section id="security">
      <h2>5. HOW DO WE KEEP YOUR INFORMATION SAFE?</h2>
      <p><em>In Short:</em> We aim to protect your personal information through a system of organizational and technical security measures.</p>
      <p>We have implemented appropriate and reasonable technical and organizational security measures designed to protect the security of any personal information we process. However, despite our safeguards and efforts to secure your information, no electronic transmission over the Internet or information storage technology can be guaranteed to be 100% secure. Transmission of personal information to and from our Services is at your own risk. You should only access the Services within a secure environment.</p>
    </section>

    <section id="minors">
      <h2>6. DO WE COLLECT INFORMATION FROM MINORS?</h2>
      <p><em>In Short:</em> We do not knowingly collect data from or market to children under 18 years of age.</p>
      <p>We do not knowingly collect, solicit data from, or market to children under 18 years of age, nor do we knowingly sell such personal information. By using the Services, you represent that you are at least 18 or that you are the parent or guardian of such a minor and consent to such minor dependent’s use of the Services. If we learn that personal information from users less than 18 years of age has been collected, we will deactivate the account and take reasonable measures to promptly delete such data from our records. If you become aware of any data we may have collected from children under age 18, please contact us at <a href="mailto:bip.baliinteraktifperkasa@gmail.com">bip.baliinteraktifperkasa@gmail.com</a>.</p>
    </section>

    <section id="rights">
      <h2>7. WHAT ARE YOUR PRIVACY RIGHTS?</h2>
      <p><em>In Short:</em> You may review, change, or terminate your account at any time, depending on your country, province, or state of residence.</p>
      <p><strong>Withdrawing your consent:</strong> If we are relying on your consent to process your personal information (which may be express and/or implied consent depending on the applicable law), you have the right to withdraw your consent at any time. You can do so by contacting us using the details in the section "<a href="#contact">HOW CAN YOU CONTACT US ABOUT THIS NOTICE?</a>" below. This will not affect the lawfulness of the processing before its withdrawal, nor will it affect processing conducted in reliance on lawful processing grounds other than consent where permitted by law.</p>
      <p>If you have questions or comments about your privacy rights, email us at <a href="mailto:bip.baliinteraktifperkasa@gmail.com">bip.baliinteraktifperkasa@gmail.com</a>.</p>
    </section>

    <section id="dnt">
      <h2>8. CONTROLS FOR DO-NOT-TRACK FEATURES</h2>
      <p>Most web browsers and some mobile operating systems and applications include a Do-Not-Track ("DNT") setting you can activate to signal your privacy preference not to have data about your online browsing activities monitored and collected. At this stage, no uniform technology standard for recognizing and implementing DNT signals has been finalized. As such, we do not currently respond to DNT browser signals or any other mechanism that automatically communicates your choice not to be tracked online. If a standard for online tracking is adopted that we must follow in the future, we will inform you about that practice in a revised version of this Privacy Notice.</p>
    </section>

    <section id="updates">
      <h2>9. DO WE MAKE UPDATES TO THIS NOTICE?</h2>
      <p><em>In Short:</em> Yes, we will update this notice as necessary to stay compliant with relevant laws.</p>
      <p>We may update this Privacy Notice from time to time. The updated version will be indicated by an updated "Revised" date at the top of this Privacy Notice. If we make material changes, we may notify you by prominently posting a notice of such changes or by directly sending you a notification. We encourage you to review this Privacy Notice frequently to stay informed of how we are protecting your information.</p>
    </section>

    <section id="contact">
      <h2>10. HOW CAN YOU CONTACT US ABOUT THIS NOTICE?</h2>
      <address>
Bali Interaktif Perkasa
Park23 Creative Hub, Bali Interaktif Perkasa - Private Office
Jl. Kediri 3rd Floor, Number 01 - 02, Tuban
Badung, Bali 80361
Indonesia
      </address>
      <p>Email: <a href="mailto:bip.baliinteraktifperkasa@gmail.com">bip.baliinteraktifperkasa@gmail.com</a></p>
    </section>

    <section id="review">
      <h2>11. HOW CAN YOU REVIEW, UPDATE, OR DELETE THE DATA WE COLLECT FROM YOU?</h2>
      <p>You have the right to request access to the personal information we collect from you, details about how we have processed it, correct inaccuracies, or delete your personal information. You may also have the right to withdraw your consent to our processing of your personal information. These rights may be limited in some circumstances by applicable law.</p>
      <p>To make a request, please contact us at <a href="mailto:bip.baliinteraktifperkasa@gmail.com">bip.baliinteraktifperkasa@gmail.com</a>.</p>
    </section>

    <footer>
      <p>&copy; <span id="year"></span> Bali Interaktif Perkasa. All rights reserved.</p>
    </footer>
  </main>
</body>
</html>
`;
