{% extends 'dating_app/base_dating.html' %}
{% load static %}

{% block title %}Privacy Policy | Ensolanka Dating{% endblock %}

{% block content %}

<style>
    .privacy-hero {
        background:
            linear-gradient(135deg, rgba(42, 13, 31, 0.94), rgba(194, 24, 91, 0.88)),
            url("{% static 'expat_life/images/dating_partner_hero.webp' %}") center center / cover no-repeat;
        padding: 110px 0 90px;
        color: #fff;
    }

    .privacy-hero-badge {
        background: rgba(255, 193, 7, 0.18);
        color: #ffc107;
        border: 1px solid rgba(255, 193, 7, 0.35);
        padding: 8px 16px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        display: inline-block;
        margin-bottom: 18px;
    }

    .privacy-wrapper {
        background: #f8fafc;
    }

    .privacy-card {
        background: #fff;
        border-radius: 28px;
        padding: 34px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    }

    .privacy-card h2 {
        font-weight: 800;
        margin-top: 34px;
        margin-bottom: 16px;
        color: #2a0d1f;
    }

    .privacy-card h2:first-child {
        margin-top: 0;
    }

    .privacy-card h3 {
        font-weight: 700;
        margin-top: 24px;
        margin-bottom: 12px;
        color: #9b1b60;
        font-size: 1.15rem;
    }

    .privacy-card p,
    .privacy-card li {
        color: #475569;
        line-height: 1.75;
    }

    .privacy-card ul,
    .privacy-card ol {
        padding-left: 1.25rem;
    }

    .privacy-note {
        background: #fff7e6;
        border-left: 5px solid #ffc107;
        border-radius: 18px;
        padding: 18px 20px;
        color: #5c3b00;
    }

    .privacy-soft-note {
        background: #fff1f6;
        border: 1px solid #ffd6e6;
        color: #7a123f;
        border-radius: 18px;
        padding: 18px 20px;
    }

    .privacy-toc {
        background: #2a0d1f;
        border-radius: 24px;
        padding: 26px;
        position: sticky;
        top: 100px;
    }

    .privacy-toc h5 {
        color: #fff;
        font-weight: 800;
        margin-bottom: 16px;
    }

    .privacy-toc a {
        display: block;
        color: rgba(255, 255, 255, 0.82);
        text-decoration: none;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.95rem;
    }

    .privacy-toc a:hover {
        color: #ffc107;
    }

    .privacy-date-box {
        background: #fff1f6;
        border: 1px solid #ffd6e6;
        color: #7a123f;
        border-radius: 18px;
        padding: 16px 18px;
        font-weight: 600;
    }

    .privacy-icon-list {
        list-style: none;
        padding-left: 0 !important;
    }

    .privacy-icon-list li {
        display: flex;
        gap: 12px;
        margin-bottom: 14px;
    }

    .privacy-icon-list i {
        color: #c2185b;
        font-size: 1.15rem;
        margin-top: 3px;
        flex-shrink: 0;
    }

    @media (max-width: 991.98px) {
        .privacy-toc {
            position: static;
        }

        .privacy-card {
            padding: 24px;
        }
    }
</style>


<!-- HERO -->
<section class="privacy-hero">
    <div class="container">
        <div class="row justify-content-center text-center">
            <div class="col-lg-9">
                <span class="privacy-hero-badge">Privacy & Data Protection</span>

                <h1 class="display-5 fw-bold mb-3">Privacy Policy</h1>

                <p class="lead mb-0">
                    This Privacy Policy explains how Ensolanka collects, uses, protects,
                    and manages information connected with the Local Dating Partner Portal.
                </p>
            </div>
        </div>
    </div>
</section>


<!-- CONTENT -->
<section class="privacy-wrapper py-5">
    <div class="container">
        <div class="row g-4">

            <!-- SIDE NAV -->
            <div class="col-lg-4">
                <div class="privacy-toc">
                    <h5>Page Sections</h5>
                    <a href="#introduction">1. Introduction</a>
                    <a href="#information-collected">2. Information We Collect</a>
                    <a href="#how-we-use">3. How We Use Information</a>
                    <a href="#profile-visibility">4. Profile Visibility</a>
                    <a href="#interest-data">5. Interest & Match Data</a>
                    <a href="#contact-details">6. Contact Detail Protection</a>
                    <a href="#payments">7. Payment Information</a>
                    <a href="#dating-events">8. Dating Events & Hosts</a>
                    <a href="#communications">9. Communications</a>
                    <a href="#sharing">10. Information Sharing</a>
                    <a href="#retention">11. Data Retention</a>
                    <a href="#security">12. Security</a>
                    <a href="#choices-rights">13. Your Choices</a>
                    <a href="#cookies">14. Cookies</a>
                    <a href="#changes">15. Policy Updates</a>
                    <a href="#contact">16. Contact</a>
                </div>
            </div>


            <!-- MAIN PRIVACY CONTENT -->
            <div class="col-lg-8">
                <div class="privacy-card">

                    <div class="privacy-date-box mb-4">
                        Last Updated: May 12, 2026
                    </div>

                    <div class="privacy-note mb-4">
                        <strong>Important:</strong>
                        Ensolanka Dating is built around a privacy-conscious connection process.
                        We do not intend to expose your personal contact details to Guests at the first stage.
                        Contact access is handled through a controlled process based on mutual interest,
                        guest confirmation, and the applicable Local Dating Partner confirmation status.
                    </div>


                    <h2 id="introduction">1. Introduction</h2>

                    <p>
                        This Privacy Policy applies to the Ensolanka Dating platform and explains how
                        Ensolanka may collect, use, store, display, share, and protect personal information
                        relating to Local Dating Partners who register, create profiles, browse Guest profiles,
                        express interest, pay platform fees, or participate in dating-event arrangements.
                    </p>

                    <p>
                        The Local Dating Partner Portal is intended to help genuine Sri Lankan men and women
                        connect with international Guests who may be planning to visit or stay in Sri Lanka.
                        Because the platform involves profile listings, personal photos, interest records,
                        contact-detail access, and optional dating-event coordination, we aim to handle information
                        responsibly and transparently.
                    </p>

                    <p>
                        By registering, creating a profile, using the dashboard, expressing interest,
                        completing payments, or using any dating-app service, you acknowledge the practices
                        described in this Privacy Policy.
                    </p>


                    <h2 id="information-collected">2. Information We Collect</h2>

                    <h3>2.1 Account Registration Information</h3>
                    <p>
                        When you register as a Local Dating Partner, we may collect information such as:
                    </p>

                    <ul>
                        <li>Your name or display name</li>
                        <li>Email address</li>
                        <li>Username and account credentials</li>
                        <li>Phone number or WhatsApp number, where provided</li>
                        <li>Registration date and account status</li>
                    </ul>

                    <h3>2.2 Dating Profile Information</h3>
                    <p>
                        To create and display your Local Dating Partner profile, we may collect and store:
                    </p>

                    <ul>
                        <li>Profile photo and additional dating profile photos</li>
                        <li>Gender and other profile attributes selected by you</li>
                        <li>City, district, or other general location information</li>
                        <li>Short introduction, bio, preferences, and relationship expectations</li>
                        <li>Visibility settings, public/private status, and featured status</li>
                        <li>Profile approval, review, or moderation status</li>
                    </ul>

                    <h3>2.3 Guest Profile Interaction Information</h3>
                    <p>
                        When you use the platform to explore Guest profiles, we may store:
                    </p>

                    <ul>
                        <li>Guest profiles you are permitted to view</li>
                        <li>Interest expressions you send</li>
                        <li>Interest expressions received from Guests</li>
                        <li>Mutual Interest status</li>
                        <li>Status history relating to a connection or arrangement process</li>
                    </ul>

                    <h3>2.4 Payment and Access Information</h3>
                    <p>
                        Where payments are available, we may record:
                    </p>

                    <ul>
                        <li>Featured Profile payment status</li>
                        <li>Profile Confirmation Fee payment status</li>
                        <li>Payment dates, payment references, and transaction records</li>
                        <li>Outstanding, pending, paid, cancelled, or failed payment statuses</li>
                    </ul>

                    <p>
                        Payment-card or gateway-sensitive financial details are generally processed through
                        the relevant payment service provider rather than stored directly by Ensolanka,
                        except for records necessary to confirm transaction status or provide support.
                    </p>

                    <h3>2.5 Dating Event and Host Coordination Information</h3>
                    <p>
                        If you participate in a guided dating arrangement, we may process information needed to:
                    </p>

                    <ul>
                        <li>Confirm whether a Guest visit or arrival stage has been reached</li>
                        <li>Coordinate a dating event requested by mutually interested parties</li>
                        <li>Record whether a Dating Host is selected</li>
                        <li>Manage scheduling, communication, and support related to the arranged meeting</li>
                    </ul>

                    <h3>2.6 Support and Communication Information</h3>
                    <p>
                        If you contact Ensolanka, we may collect and retain the message, email, inquiry,
                        support request, complaint, or feedback you provide so that we can respond and
                        maintain appropriate service records.
                    </p>


                    <h2 id="how-we-use">3. How We Use Information</h2>

                    <p>
                        Ensolanka may use your information to:
                    </p>

                    <ul class="privacy-icon-list">
                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Create, maintain, and manage your Local Dating Partner account.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Review, approve, reject, moderate, or manage dating profiles.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Display approved Local Dating Partner profiles to eligible international Guests.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Enable Guests to express interest in Local Dating Partner profiles.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Allow Local Dating Partners to view eligible Guest profiles and express interest.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Identify and manage Mutual Interest cases.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Manage Featured Profile access, private Guest-profile visibility, and payment-related permissions.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Determine whether contact-detail access conditions have been satisfied.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Support dating-event arrangements and optional Dating Host coordination where applicable.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Send necessary account, payment, safety, interest, and arrangement-related communications.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Protect the platform from fraud, abuse, scams, impersonation, or unsafe conduct.</span>
                        </li>

                        <li>
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Improve platform quality, usability, security, and service administration.</span>
                        </li>
                    </ul>


                    <h2 id="profile-visibility">4. Profile Visibility and Display</h2>

                    <h3>4.1 Visibility of Local Dating Partner Profiles</h3>
                    <p>
                        If your profile is approved and made visible, Ensolanka may display selected parts of your
                        dating profile to eligible Guests within the Guest platform or relevant dating-profile areas.
                    </p>

                    <h3>4.2 Information That May Be Displayed</h3>
                    <p>
                        Visible profile information may include profile photos, display name, general location,
                        profile introduction, preferences, and other listing information selected or provided
                        for dating-profile purposes.
                    </p>

                    <h3>4.3 Information Not Intended for Immediate Public Disclosure</h3>
                    <p>
                        Personal contact details such as your email address, WhatsApp number, or other direct
                        contact information are not intended to be shown openly at the first stage of browsing.
                        Access to such details is handled separately under the contact-access process explained below.
                    </p>

                    <h3>4.4 Featured Profiles and Private Guest Profiles</h3>
                    <p>
                        Where the platform provides a Featured Profile feature, eligible Featured Local Dating Partners
                        may receive improved visibility and may be permitted to view certain private Guest profiles,
                        subject to platform permissions and ongoing access rules.
                    </p>


                    <h2 id="interest-data">5. Interest and Mutual Interest Data</h2>

                    <p>
                        Ensolanka stores platform interaction records related to interest expressions and Mutual Interest
                        so that the system can support the dating connection process responsibly.
                    </p>

                    <p>
                        These records may include:
                    </p>

                    <ul>
                        <li>Which Guest expressed interest in which Local Dating Partner</li>
                        <li>Which Local Dating Partner expressed interest in which Guest</li>
                        <li>Whether Mutual Interest has been created</li>
                        <li>Connection statuses such as interested, reviewing, contacted, matched, arranged, or closed, where applicable</li>
                        <li>Internal notes or operational updates necessary for platform support</li>
                    </ul>

                    <p>
                        This information helps Ensolanka manage interest flows, determine when notifications may be sent,
                        and support any later guided-arrangement process.
                    </p>


                    <h2 id="contact-details">6. Contact Detail Protection and Unlocking</h2>

                    <h3>6.1 Contact Details Are Protected Initially</h3>
                    <p>
                        Ensolanka’s process is designed to avoid immediate random private contact. Email addresses,
                        WhatsApp numbers, and other direct contact details are intended to remain protected during
                        the earlier stages of profile browsing and initial interest.
                    </p>

                    <h3>6.2 When Contact Details May Be Shown</h3>
                    <p>
                        Contact details may be unlocked between a Guest and Local Dating Partner only when the required
                        conditions are met, which may include:
                    </p>

                    <ul>
                        <li>Mutual Interest exists.</li>
                        <li>The Guest has confirmed the required visit or arrival stage.</li>
                        <li>The Local Dating Partner has paid the applicable one-time Profile Confirmation Fee.</li>
                        <li>Any required moderation, approval, or safety check has been completed.</li>
                    </ul>

                    <h3>6.3 Responsible Use of Contact Information</h3>
                    <p>
                        Once contact details are made available, both parties are expected to use them responsibly.
                        Contact information must not be published, sold, copied for unrelated purposes, or shared
                        with third parties without permission.
                    </p>


                    <h2 id="payments">7. Payment Information</h2>

                    <p>
                        The dating app may include payable items such as:
                    </p>

                    <ul>
                        <li>Optional Featured Profile fee</li>
                        <li>One-time Profile Confirmation Fee</li>
                        <li>Any future platform charges or service fees clearly displayed before payment</li>
                    </ul>

                    <p>
                        Ensolanka may store payment-related account records needed to confirm whether a feature,
                        access right, or confirmation status has been activated. These records may include payment status,
                        selected payment category, transaction reference, date, and related administrative information.
                    </p>

                    <p>
                        Full refund handling, payment dispute procedures, failed transaction handling, and cancellation
                        matters may be explained in a separate Refund & Payment Policy.
                    </p>


                    <h2 id="dating-events">8. Dating Events and Dating Hosts</h2>

                    <h3>8.1 Dating Event Coordination</h3>
                    <p>
                        If a mutually interested Guest and Local Dating Partner proceed to an eligible dating arrangement,
                        Ensolanka may process limited information necessary to coordinate the event, communicate timing,
                        assess readiness, and provide support.
                    </p>

                    <h3>8.2 Dating Host Information</h3>
                    <p>
                        Where a Dating Host is selected by the Guest, the Local Dating Partner, or both,
                        Ensolanka may share the minimum necessary arrangement details with the selected host
                        so that the event can be coordinated securely and appropriately.
                    </p>

                    <h3>8.3 Minimum Necessary Sharing</h3>
                    <p>
                        Information shared for dating-event coordination should be limited to what is reasonably
                        needed to facilitate the requested arrangement, support safety, and carry out the selected service.
                    </p>


                    <h2 id="communications">9. Communications from Ensolanka</h2>

                    <p>
                        Ensolanka may contact you regarding:
                    </p>

                    <ul>
                        <li>Account creation and dashboard access</li>
                        <li>Profile review, approval, rejection, or moderation status</li>
                        <li>Interest notifications and Mutual Interest updates</li>
                        <li>Payment reminders, fee status, or transaction confirmations</li>
                        <li>Guest visit or arrival notifications where relevant</li>
                        <li>Dating-event or Dating Host coordination</li>
                        <li>Policy changes, safety warnings, and important platform notices</li>
                        <li>Responses to your support inquiries</li>
                    </ul>

                    <p>
                        Such communications may be delivered through email, dashboard notices, contact forms,
                        messaging platforms, or other communication channels provided by you or supported by the platform.
                    </p>


                    <h2 id="sharing">10. When We May Share Information</h2>

                    <p>
                        Ensolanka may share information only where reasonably necessary for platform operation,
                        user-requested services, safety, or legal compliance. This may include:
                    </p>

                    <ul>
                        <li>
                            Showing approved profile information to eligible Guests according to platform visibility rules.
                        </li>
                        <li>
                            Revealing contact details between mutually interested parties only when the required access conditions are met.
                        </li>
                        <li>
                            Sharing limited arrangement information with a selected Dating Host where necessary to support a requested dating event.
                        </li>
                        <li>
                            Working with payment service providers to process payments and confirm payment status.
                        </li>
                        <li>
                            Using technical service providers that help host, maintain, secure, or operate the platform.
                        </li>
                        <li>
                            Responding to lawful requests, legal obligations, regulatory requirements, fraud investigations, or safety concerns.
                        </li>
                    </ul>

                    <p>
                        Ensolanka does not intend to sell Local Dating Partner personal information as a business product.
                    </p>


                    <h2 id="retention">11. Data Retention</h2>

                    <p>
                        Ensolanka may retain information for as long as reasonably necessary to:
                    </p>

                    <ul>
                        <li>Operate and maintain your account</li>
                        <li>Display and manage your dating profile</li>
                        <li>Handle Mutual Interest records and service history</li>
                        <li>Maintain payment records</li>
                        <li>Respond to disputes, complaints, or safety issues</li>
                        <li>Meet accounting, legal, regulatory, or business recordkeeping needs</li>
                    </ul>

                    <p>
                        Where information is no longer required for the purpose for which it was collected,
                        Ensolanka may delete, anonymize, archive, or otherwise handle it according to its internal
                        data-management practices and applicable requirements.
                    </p>


                    <h2 id="security">12. Security of Personal Information</h2>

                    <p>
                        Ensolanka aims to take reasonable organizational and technical measures to protect personal data
                        against unauthorized access, misuse, accidental loss, alteration, or inappropriate disclosure.
                    </p>

                    <p>
                        However, no online platform, transmission method, or storage system can be guaranteed to be
                        completely secure in every circumstance. Users are also responsible for protecting their login
                        credentials, choosing strong passwords, and notifying Ensolanka of suspicious account activity.
                    </p>


                    <h2 id="choices-rights">13. Your Choices and Requests</h2>

                    <p>
                        Depending on the platform features available and the applicable legal framework,
                        you may be able to:
                    </p>

                    <ul>
                        <li>Update certain profile details through your dashboard</li>
                        <li>Change photos or profile visibility settings where allowed</li>
                        <li>Request correction of inaccurate information</li>
                        <li>Request review of account or profile issues</li>
                        <li>Contact Ensolanka regarding data-related questions or concerns</li>
                        <li>Request account-related assistance through official support channels</li>
                    </ul>

                    <p>
                        Some information may need to be retained where necessary for legal, payment, fraud-prevention,
                        dispute-resolution, or platform-security reasons.
                    </p>


                    <h2 id="cookies">14. Cookies and Similar Technologies</h2>

                    <p>
                        The platform may use cookies, session tools, or similar technologies to support login,
                        security, navigation, user experience, and basic platform functionality.
                    </p>

                    <p>
                        More detailed information about cookies, analytics, session handling, and related choices
                        may be provided in a separate Cookie Policy.
                    </p>


                    <h2 id="changes">15. Changes to This Privacy Policy</h2>

                    <p>
                        Ensolanka may update this Privacy Policy from time to time to reflect platform improvements,
                        operational changes, legal developments, new features, payment updates, or security practices.
                    </p>

                    <p>
                        Any revised version may be published on this page with an updated “Last Updated” date.
                        Continued use of the dating platform after publication of a revised policy may be treated
                        as acknowledgment of the updated policy, subject to applicable law.
                    </p>


                    <h2 id="contact">16. Contact Us</h2>

                    <p>
                        If you have questions about this Privacy Policy, your profile information, interest records,
                        payment-related data, contact-detail access, or any privacy concern related to the dating platform,
                        please contact Ensolanka through the official dating app contact page.
                    </p>

                    <div class="mt-4 d-flex flex-wrap gap-3">
                        <a href="{% url 'dating_app:contact_page' %}" class="btn btn-dark px-4">
                            Contact Ensolanka
                        </a>

                        {% if request.user.is_authenticated and request.user.dating_profile %}
                            <a href="{% url 'dating_app:dating_partner_dashboard' %}" class="btn btn-warning px-4">
                                My Dating Dashboard
                            </a>
                        {% else %}
                            <a href="{% url 'dating_app:partner_register' %}" class="btn btn-warning px-4">
                                Become a Dating Partner
                            </a>
                        {% endif %}
                    </div>

                    <div class="privacy-soft-note mt-5">
                        <strong>Privacy-First Platform Approach:</strong>
                        Ensolanka’s dating process is designed around controlled visibility,
                        protected contact details, Mutual Interest logic, and guided arrangement stages,
                        instead of immediate unrestricted personal exposure.
                    </div>

                    <div class="privacy-note mt-4">
                        <strong>Legal Review Recommended:</strong>
                        This page is prepared as a professional Privacy Policy draft for the dating app.
                        Before publication, Ensolanka should have it reviewed by a qualified legal professional
                        to ensure it fits the company’s final operational process, payment integrations,
                        hosting structure, and applicable data-protection obligations.
                    </div>

                </div>
            </div>

        </div>
    </div>
</section>

{% endblock %}