{% extends 'affiliates_app/base_affiliate.html' %}
{% load static %}

{% block title %}Affiliate Privacy Policy | Partner with Ensolanka{% endblock %}

{% block extra_css %}
<style>
    .affiliate-privacy-hero {
        position: relative;
        padding: 95px 0 82px;
        background:
            linear-gradient(135deg, rgba(4, 47, 46, 0.97), rgba(15, 118, 110, 0.93)),
            url("{% static 'expat_life/images/affiliates_hero.webp' %}") center center / cover no-repeat;
        color: #fff;
        overflow: hidden;
    }

    .affiliate-privacy-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at top right, rgba(255, 193, 7, 0.18), transparent 36%),
            radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 30%);
        pointer-events: none;
    }

    .affiliate-privacy-hero .container {
        position: relative;
        z-index: 2;
    }

    .privacy-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 17px;
        border-radius: 999px;
        background: rgba(255, 193, 7, 0.18);
        border: 1px solid rgba(255, 193, 7, 0.38);
        color: #ffd65c;
        font-size: 0.84rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .privacy-meta-card {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 22px;
        padding: 22px;
        backdrop-filter: blur(10px);
        height: 100%;
    }

    .privacy-meta-card i {
        color: #ffc107;
        font-size: 1.35rem;
    }

    .privacy-meta-card h6 {
        font-weight: 800;
        margin-bottom: 6px;
    }

    .privacy-summary-section {
        background: #fff;
        padding: 58px 0;
    }

    .privacy-summary-card {
        background: #fff;
        border-radius: 28px;
        border: 1px solid #e8eef3;
        padding: 30px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
        height: 100%;
    }

    .privacy-summary-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        background: #ecfdf5;
        color: #047857;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.55rem;
        margin-bottom: 18px;
    }

    .privacy-main-section {
        background: #f8fafc;
        padding: 72px 0;
    }

    .privacy-nav-card {
        position: sticky;
        top: 120px;
        background: #fff;
        border-radius: 28px;
        padding: 26px;
        border: 1px solid #e8eef3;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    }

    .privacy-nav-title {
        font-weight: 900;
        color: #0f172a;
        margin-bottom: 18px;
    }

    .privacy-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .privacy-nav-list li {
        margin-bottom: 10px;
    }

    .privacy-nav-list a {
        display: block;
        text-decoration: none;
        color: #475569;
        font-weight: 700;
        font-size: 0.94rem;
        padding: 9px 12px;
        border-radius: 12px;
        transition: 0.2s ease;
    }

    .privacy-nav-list a:hover {
        background: #ecfdf5;
        color: #047857;
    }

    .privacy-content-card {
        background: #fff;
        border-radius: 30px;
        border: 1px solid #e8eef3;
        padding: 42px;
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    }

    .privacy-section {
        scroll-margin-top: 125px;
        padding-bottom: 38px;
        margin-bottom: 38px;
        border-bottom: 1px solid #e7edf3;
    }

    .privacy-section:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    .privacy-section h2 {
        font-size: 1.55rem;
        font-weight: 900;
        color: #0f172a;
        margin-bottom: 18px;
    }

    .privacy-section h3 {
        font-size: 1.15rem;
        font-weight: 800;
        color: #0f766e;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .privacy-section p,
    .privacy-section li {
        color: #475569;
        line-height: 1.82;
    }

    .privacy-section strong {
        color: #0f172a;
    }

    .privacy-list {
        padding-left: 1.2rem;
    }

    .privacy-list li {
        margin-bottom: 9px;
    }

    .privacy-highlight-box {
        background: #ecfdf5;
        border: 1px solid #bbf7d0;
        border-radius: 20px;
        padding: 22px;
        color: #065f46;
        margin-top: 18px;
    }

    .privacy-warning-box {
        background: #fff7ed;
        border: 1px solid #fed7aa;
        border-radius: 20px;
        padding: 22px;
        color: #9a3412;
        margin-top: 18px;
    }

    .privacy-neutral-box {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        padding: 22px;
        color: #475569;
        margin-top: 18px;
    }

    .privacy-table-wrap {
        border-radius: 22px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        margin-top: 20px;
    }

    .privacy-table-wrap .table {
        margin-bottom: 0;
    }

    .privacy-table-wrap thead th {
        background: #064e3b;
        color: #fff;
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        padding: 15px;
        white-space: nowrap;
    }

    .privacy-table-wrap tbody td {
        padding: 15px;
        vertical-align: top;
        color: #334155;
    }

    .privacy-table-wrap tbody tr:nth-child(even) {
        background: #f8fafc;
    }

    .privacy-mini-title {
        display: inline-block;
        color: #0f766e;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 0.82rem;
        margin-bottom: 12px;
    }

    .privacy-final-cta {
        background: linear-gradient(135deg, #052e25 0%, #0f766e 100%);
        border-radius: 30px;
        padding: 42px;
        color: #fff;
        margin-top: 42px;
    }

    .privacy-final-cta p {
        color: rgba(255, 255, 255, 0.9);
    }

    .mobile-privacy-nav {
        display: none;
        background: #fff;
        border-radius: 22px;
        border: 1px solid #e8eef3;
        padding: 22px;
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
    }

    .mobile-privacy-nav .form-select {
        border-radius: 14px;
        padding: 12px 14px;
    }

    @media (max-width: 991px) {
        .privacy-nav-card {
            display: none;
        }

        .mobile-privacy-nav {
            display: block;
            margin-bottom: 28px;
        }

        .privacy-content-card {
            padding: 28px 22px;
        }

        .affiliate-privacy-hero {
            padding: 78px 0 68px;
        }

        .privacy-final-cta {
            padding: 30px 24px;
        }
    }
</style>
{% endblock %}


{% block content %}

<!-- HERO -->
<section class="affiliate-privacy-hero">
    <div class="container">
        <div class="row align-items-center g-5">
            <div class="col-lg-8">
                <span class="privacy-hero-badge mb-3">
                    <i class="bi bi-shield-lock-fill"></i>
                    Affiliate Privacy Policy
                </span>

                <h1 class="display-5 fw-bold mb-3">
                    Privacy Policy for the Ensolanka Global Ambassador Program
                </h1>

                <p class="lead mb-4">
                    This Privacy Policy explains how Ensolanka collects, uses, stores, shares, and protects
                    personal information within the Partner with Ensolanka affiliate program.
                </p>

                <div class="d-flex flex-wrap gap-3">
                    <a href="{% url 'affiliates_app:terms' %}" class="btn btn-warning btn-lg px-4">
                        View Terms & Conditions
                    </a>

                    <a href="{% url 'affiliates_app:contact_page_aff' %}" class="btn btn-outline-light btn-lg px-4">
                        Contact Ensolanka
                    </a>
                </div>
            </div>

            <div class="col-lg-4">
                <div class="row g-3">
                    <div class="col-12">
                        <div class="privacy-meta-card">
                            <div class="d-flex gap-3 align-items-start">
                                <i class="bi bi-calendar-check-fill"></i>
                                <div>
                                    <h6>Effective Date</h6>
                                    <p class="mb-0 small">12 May 2026</p>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-12">
                        <div class="privacy-meta-card">
                            <div class="d-flex gap-3 align-items-start">
                                <i class="bi bi-fingerprint"></i>
                                <div>
                                    <h6>Data Scope</h6>
                                    <p class="mb-0 small">
                                        Affiliate accounts, referral tracking, guest attribution, payouts, and resources
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-12">
                        <div class="privacy-meta-card">
                            <div class="d-flex gap-3 align-items-start">
                                <i class="bi bi-cookie"></i>
                                <div>
                                    <h6>Referral Tracking</h6>
                                    <p class="mb-0 small">
                                        Affiliate referral code may be stored in the visitor’s browser for up to 30 days.
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>


<!-- SUMMARY -->
<section class="privacy-summary-section">
    <div class="container">
        <div class="text-center mb-5">
            <span class="privacy-mini-title">Privacy at a Glance</span>
            <h2 class="fw-bold">How Personal Information Supports the Affiliate Program</h2>
            <p class="text-muted mb-0">
                We collect only the information reasonably needed to operate affiliate accounts,
                track valid referrals, manage commission records, process requests, and support program participation.
            </p>
        </div>

        <div class="row g-4">
            <div class="col-md-6 col-lg-3">
                <div class="privacy-summary-card">
                    <div class="privacy-summary-icon">
                        <i class="bi bi-person-vcard-fill"></i>
                    </div>
                    <h5 class="fw-bold">Affiliate Account Data</h5>
                    <p class="text-muted mb-0">
                        Name, email, contact details, profile information, and account-related records.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="privacy-summary-card">
                    <div class="privacy-summary-icon">
                        <i class="bi bi-link-45deg"></i>
                    </div>
                    <h5 class="fw-bold">Referral Tracking</h5>
                    <p class="text-muted mb-0">
                        Referral codes, QR-based visits, signup attribution, and related tracking records.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="privacy-summary-card">
                    <div class="privacy-summary-icon">
                        <i class="bi bi-wallet2"></i>
                    </div>
                    <h5 class="fw-bold">Commission & Payout Data</h5>
                    <p class="text-muted mb-0">
                        Wallet balances, payout requests, payment verification, and bank or payout details where needed.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="privacy-summary-card">
                    <div class="privacy-summary-icon">
                        <i class="bi bi-folder2-open"></i>
                    </div>
                    <h5 class="fw-bold">Resources & Requests</h5>
                    <p class="text-muted mb-0">
                        Marketing material requests, selected languages, customized files, and support communications.
                    </p>
                </div>
            </div>
        </div>
    </div>
</section>


<!-- MAIN POLICY -->
<section class="privacy-main-section">
    <div class="container">

        <!-- MOBILE NAV -->
        <div class="mobile-privacy-nav">
            <label for="mobilePrivacyNav" class="form-label fw-bold mb-2">Jump to a Section</label>
            <select id="mobilePrivacyNav" class="form-select"
                    onchange="if(this.value){window.location.href=this.value;}">
                <option value="">Select a topic</option>
                <option value="#privacy-1">1. Introduction</option>
                <option value="#privacy-2">2. Information We Collect</option>
                <option value="#privacy-3">3. How We Collect Information</option>
                <option value="#privacy-4">4. How We Use Information</option>
                <option value="#privacy-5">5. Referral Tracking and Browser Storage</option>
                <option value="#privacy-6">6. Referred Guest Information</option>
                <option value="#privacy-7">7. Business Cards and QR Materials</option>
                <option value="#privacy-8">8. Marketing Resources and Custom Requests</option>
                <option value="#privacy-9">9. Payout and Financial Data</option>
                <option value="#privacy-10">10. Data Sharing</option>
                <option value="#privacy-11">11. Data Retention</option>
                <option value="#privacy-12">12. Security</option>
                <option value="#privacy-13">13. Your Privacy Rights</option>
                <option value="#privacy-14">14. International Users</option>
                <option value="#privacy-15">15. Children’s Privacy</option>
                <option value="#privacy-16">16. Policy Updates</option>
                <option value="#privacy-17">17. Contact Us</option>
            </select>
        </div>

        <div class="row g-4">

            <!-- SIDE NAV -->
            <div class="col-lg-3">
                <aside class="privacy-nav-card">
                    <h5 class="privacy-nav-title">Privacy Policy</h5>

                    <ul class="privacy-nav-list">
                        <li><a href="#privacy-1">1. Introduction</a></li>
                        <li><a href="#privacy-2">2. Data We Collect</a></li>
                        <li><a href="#privacy-3">3. Collection Sources</a></li>
                        <li><a href="#privacy-4">4. Uses of Data</a></li>
                        <li><a href="#privacy-5">5. Referral Tracking</a></li>
                        <li><a href="#privacy-6">6. Guest Information</a></li>
                        <li><a href="#privacy-7">7. Cards & QR Codes</a></li>
                        <li><a href="#privacy-8">8. Resources & Requests</a></li>
                        <li><a href="#privacy-9">9. Payout Data</a></li>
                        <li><a href="#privacy-10">10. Data Sharing</a></li>
                        <li><a href="#privacy-11">11. Retention</a></li>
                        <li><a href="#privacy-12">12. Security</a></li>
                        <li><a href="#privacy-13">13. Privacy Rights</a></li>
                        <li><a href="#privacy-14">14. International Users</a></li>
                        <li><a href="#privacy-15">15. Children</a></li>
                        <li><a href="#privacy-16">16. Updates</a></li>
                        <li><a href="#privacy-17">17. Contact</a></li>
                    </ul>
                </aside>
            </div>


            <!-- CONTENT -->
            <div class="col-lg-9">
                <article class="privacy-content-card">

                    <!-- 1 -->
                    <section class="privacy-section" id="privacy-1">
                        <h2>1. Introduction</h2>

                        <p>
                            This Privacy Policy applies to the <strong>Partner with Ensolanka</strong>
                            affiliate program, also referred to as the
                            <strong>Ensolanka Global Ambassador Affiliate Program</strong>.
                        </p>

                        <p>
                            It explains how <strong>Ensolanka LLC</strong> (“Ensolanka,” “we,” “our,” or “us”)
                            may collect, use, store, disclose, and protect personal information relating to:
                        </p>

                        <ul class="privacy-list">
                            <li>Affiliate applicants and registered affiliates</li>
                            <li>Referral links, referral codes, and QR-based visits</li>
                            <li>Referred guests who sign up through an affiliate pathway</li>
                            <li>Commission records and payout requests</li>
                            <li>Marketing resources, customized document requests, and program communications</li>
                        </ul>

                        <p>
                            This Privacy Policy should be read together with the affiliate
                            Terms & Conditions, Cookie Policy, and any additional notices published on the website.
                        </p>
                    </section>


                    <!-- 2 -->
                    <section class="privacy-section" id="privacy-2">
                        <h2>2. Information We May Collect</h2>

                        <p>
                            Depending on how you interact with the affiliate program, we may collect the following categories of information:
                        </p>

                        <div class="privacy-table-wrap">
                            <div class="table-responsive">
                                <table class="table align-middle">
                                    <thead>
                                        <tr>
                                            <th>Category</th>
                                            <th>Examples</th>
                                            <th>Purpose</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td><strong>Affiliate Identity Information</strong></td>
                                            <td>Name, username, email address, phone number, WhatsApp number, country, profile details</td>
                                            <td>To create and manage affiliate accounts and communicate about the program</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Account Security Information</strong></td>
                                            <td>Password, authentication records, login-related session data</td>
                                            <td>To secure accounts and support access to the dashboard</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Profile and Business Card Information</strong></td>
                                            <td>Name, contact details, title, profile photo where uploaded, data printed on generated cards</td>
                                            <td>To create affiliate profiles and personalized promotional card assets</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Referral and Tracking Information</strong></td>
                                            <td>Affiliate code, referral URL, QR code destination, browser-stored referral code, referred signup attribution</td>
                                            <td>To attribute referrals and calculate commission eligibility</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Referred Guest Relationship Data</strong></td>
                                            <td>Guest name, country, email, phone number, selected package interest, referral status</td>
                                            <td>To display affiliate referral progress and support reasonable follow-up</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Commission and Payout Information</strong></td>
                                            <td>Possible future earnings, pending commission, earned commission, available balance, payout requests, payment or bank details where needed</td>
                                            <td>To manage affiliate commissions and process payout requests</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Resource and Customization Requests</strong></td>
                                            <td>Requested languages, requested brochure or presentation formats, custom material request history, response messages</td>
                                            <td>To prepare and deliver customized marketing materials</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Communications</strong></td>
                                            <td>Contact form submissions, support messages, emails, resource requests, policy inquiries</td>
                                            <td>To respond to questions and provide affiliate support</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Technical Usage Information</strong></td>
                                            <td>Device/browser information, IP address where available, access logs, error records</td>
                                            <td>To operate, secure, diagnose, and improve the platform</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </section>


                    <!-- 3 -->
                    <section class="privacy-section" id="privacy-3">
                        <h2>3. How We Collect Information</h2>

                        <p>
                            We may collect personal information in the following ways:
                        </p>

                        <ul class="privacy-list">
                            <li>When an individual registers as an affiliate</li>
                            <li>When an affiliate updates profile or payout details</li>
                            <li>When an affiliate generates a business card or QR-based promotional asset</li>
                            <li>When an affiliate requests custom marketing materials</li>
                            <li>When a referred guest signs up through an affiliate tracking link or QR code</li>
                            <li>When affiliate referral status, payout, or commission activity is recorded in the dashboard</li>
                            <li>When a user contacts Ensolanka through forms, email, or other official support channels</li>
                            <li>Automatically through essential platform operations and browser-based referral tracking where applicable</li>
                        </ul>
                    </section>


                    <!-- 4 -->
                    <section class="privacy-section" id="privacy-4">
                        <h2>4. How We Use Personal Information</h2>

                        <p>
                            We may use information collected through the affiliate program to:
                        </p>

                        <ul class="privacy-list">
                            <li>Create, authenticate, and manage affiliate accounts</li>
                            <li>Provide access to the affiliate dashboard</li>
                            <li>Generate and maintain affiliate referral links and codes</li>
                            <li>Track signups connected to affiliates</li>
                            <li>Display referral status in the affiliate dashboard</li>
                            <li>Calculate possible future earnings, pending commission, earned commission, and available balances</li>
                            <li>Review and process payout requests</li>
                            <li>Create personalized business cards, QR codes, or custom promotional resources</li>
                            <li>Respond to support inquiries and administrative requests</li>
                            <li>Detect, prevent, or investigate misuse, fraudulent tracking, account abuse, or policy violations</li>
                            <li>Maintain platform security and improve service functionality</li>
                            <li>Comply with legal, regulatory, or administrative obligations where applicable</li>
                        </ul>
                    </section>


                    <!-- 5 -->
                    <section class="privacy-section" id="privacy-5">
                        <h2>5. Referral Tracking and Browser Storage</h2>

                        <p>
                            The affiliate program uses referral tracking to connect a prospective guest’s website visit
                            with the affiliate who introduced them. When a visitor lands on the website through an affiliate link
                            or QR code, the system may store the relevant referral code in the visitor’s browser for up to:
                        </p>

                        <div class="privacy-highlight-box">
                            <strong>30 days</strong>
                        </div>

                        <p class="mt-3">
                            If the visitor signs up during that valid period and the referral is technically recorded,
                            the signup may be attributed to the relevant affiliate account.
                        </p>

                        <p>
                            Referral tracking may be affected by:
                        </p>

                        <ul class="privacy-list">
                            <li>Clearing cookies or browser storage</li>
                            <li>Private or incognito browsing</li>
                            <li>Browser privacy restrictions</li>
                            <li>Ad blockers or anti-tracking tools</li>
                            <li>Switching browsers or devices</li>
                            <li>Technical interruptions outside reasonable platform control</li>
                        </ul>

                        <div class="privacy-warning-box">
                            <strong>Important:</strong>
                            A separate Cookie Policy should explain the website’s storage technologies in more detail,
                            including whether consent tools are used for non-essential cookies or similar browser-based technologies.
                        </div>
                    </section>


                    <!-- 6 -->
                    <section class="privacy-section" id="privacy-6">
                        <h2>6. Referred Guest Information Visible to Affiliates</h2>

                        <p>
                            When a guest signs up through a valid affiliate referral pathway, the affiliate dashboard
                            may display selected information about that referred guest so the affiliate can understand
                            referral progress and provide reasonable, respectful follow-up support.
                        </p>

                        <p>
                            Depending on the platform configuration, this may include:
                        </p>

                        <ul class="privacy-list">
                            <li>Guest name</li>
                            <li>Country</li>
                            <li>Email address</li>
                            <li>Phone number</li>
                            <li>Selected package interest, where available</li>
                            <li>Possible commission value</li>
                            <li>Referral status such as signed up, confirmed, or paid/completed</li>
                        </ul>

                        <div class="privacy-warning-box">
                            <strong>Affiliate Use Limitation:</strong>
                            Affiliates must use referred guest contact details only for legitimate affiliate follow-up
                            connected to the Live in Sri Lanka program. Guest information must not be sold, rented,
                            shared with unrelated third parties, or used for unrelated marketing.
                        </div>
                    </section>


                    <!-- 7 -->
                    <section class="privacy-section" id="privacy-7">
                        <h2>7. Business Cards, QR Codes, and Personalized Promotional Materials</h2>

                        <p>
                            The affiliate dashboard may allow affiliates to create personalized business cards and QR-linked
                            promotional assets. Such materials may include:
                        </p>

                        <ul class="privacy-list">
                            <li>Affiliate name</li>
                            <li>Phone or WhatsApp number</li>
                            <li>Email address</li>
                            <li>Program title: <strong>Ensolanka Global Ambassador</strong></li>
                            <li>Selected promotional landing page</li>
                            <li>Affiliate QR code and referral code</li>
                        </ul>

                        <p>
                            Information selected by the affiliate for a business card or customized promotional document
                            may appear in the generated file and may be downloaded, stored, or printed by the affiliate.
                        </p>

                        <div class="privacy-neutral-box">
                            Affiliates are responsible for choosing which personal contact details they want displayed
                            in promotional materials generated through the platform.
                        </div>
                    </section>


                    <!-- 8 -->
                    <section class="privacy-section" id="privacy-8">
                        <h2>8. Marketing Resources and Custom Material Requests</h2>

                        <p>
                            The program may provide general marketing resources and allow affiliates to request customized
                            brochures, presentations, summaries, or related promotional files with their own referral link,
                            QR code, and contact details.
                        </p>

                        <p>
                            We may process:
                        </p>

                        <ul class="privacy-list">
                            <li>Requested language selections</li>
                            <li>Requested content formats</li>
                            <li>Affiliate identity and contact details needed for customization</li>
                            <li>Referral URL and QR code placement requirements</li>
                            <li>Status of the customization request</li>
                            <li>Administrative responses or delivery notes</li>
                        </ul>

                        <p>
                            The dashboard may display pending custom requests, request status, response notes,
                            and any completed personalized resources made available to the affiliate.
                        </p>
                    </section>


                    <!-- 9 -->
                    <section class="privacy-section" id="privacy-9">
                        <h2>9. Commission, Wallet, and Payout Information</h2>

                        <p>
                            To operate the affiliate earning system, Ensolanka may maintain records of:
                        </p>

                        <ul class="privacy-list">
                            <li>Possible future earnings</li>
                            <li>Pending commission totals</li>
                            <li>Earned commission totals</li>
                            <li>Available payout balance</li>
                            <li>Payout request amounts and dates</li>
                            <li>Payout review status</li>
                            <li>Bank or payout details where required to process payments</li>
                            <li>Administrative verification notes where necessary</li>
                        </ul>

                        <p>
                            Payout information is used to verify commission eligibility, process approved withdrawals,
                            maintain transaction records, and prevent fraud or payment misuse.
                        </p>
                    </section>


                    <!-- 10 -->
                    <section class="privacy-section" id="privacy-10">
                        <h2>10. When We May Share Information</h2>

                        <p>
                            We do not intend to sell affiliate or guest personal information as a standalone commercial product.
                            However, we may share information where reasonably necessary to operate the affiliate program,
                            provide requested services, or comply with obligations.
                        </p>

                        <p>Information may be shared with:</p>

                        <ul class="privacy-list">
                            <li>
                                <strong>Authorized Ensolanka administrators and support staff</strong>
                                who manage accounts, commissions, payouts, and resources
                            </li>
                            <li>
                                <strong>Payment or payout service providers</strong>
                                where needed to process transfers or related financial workflows
                            </li>
                            <li>
                                <strong>Technology, hosting, security, or communications service providers</strong>
                                supporting the website and program operations
                            </li>
                            <li>
                                <strong>Affiliates</strong>, but only with respect to the referred guest details
                                made visible in their own dashboard for valid program purposes
                            </li>
                            <li>
                                <strong>Authorities, regulators, legal advisers, or law enforcement</strong>
                                where disclosure is required or reasonably necessary to protect rights, safety,
                                legal interests, or program integrity
                            </li>
                        </ul>

                        <div class="privacy-warning-box">
                            Any sharing of referred guest details with affiliates should remain limited to the
                            referral-support purpose described in this policy and the affiliate Terms & Conditions.
                        </div>
                    </section>


                    <!-- 11 -->
                    <section class="privacy-section" id="privacy-11">
                        <h2>11. Data Retention</h2>

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

                        <ul class="privacy-list">
                            <li>Operate affiliate accounts</li>
                            <li>Track referral history and commission eligibility</li>
                            <li>Maintain payout and financial records</li>
                            <li>Respond to support requests</li>
                            <li>Resolve disputes or investigate suspected misuse</li>
                            <li>Meet legal, tax, accounting, security, or compliance obligations where applicable</li>
                        </ul>

                        <p>
                            The exact retention period may vary depending on the type of information,
                            the reason it was collected, and any continuing legal or operational requirement.
                        </p>
                    </section>


                    <!-- 12 -->
                    <section class="privacy-section" id="privacy-12">
                        <h2>12. Data Security</h2>

                        <p>
                            Ensolanka aims to use reasonable administrative, technical, and organizational measures
                            to protect personal information handled through the affiliate program.
                        </p>

                        <p>
                            These measures may include account access controls, authentication processes,
                            secure hosting practices, limited administrator access, and appropriate internal handling procedures.
                        </p>

                        <div class="privacy-neutral-box">
                            No online system can be guaranteed to be completely risk-free. Affiliates should also protect
                            their own passwords, account access, downloaded resources, and personal devices.
                        </div>
                    </section>


                    <!-- 13 -->
                    <section class="privacy-section" id="privacy-13">
                        <h2>13. Your Privacy Rights</h2>

                        <p>
                            Depending on your location and applicable law, you may have certain rights relating to
                            your personal information. These may include rights to:
                        </p>

                        <ul class="privacy-list">
                            <li>Request access to personal information held about you</li>
                            <li>Request correction of inaccurate information</li>
                            <li>Request deletion, where applicable</li>
                            <li>Request restriction of certain processing</li>
                            <li>Object to certain uses of your personal information</li>
                            <li>Request portability of certain data, where applicable</li>
                            <li>Withdraw consent where processing is based on consent</li>
                        </ul>

                        <p>
                            Requests may be subject to identity verification, legal exceptions, and operational limitations
                            permitted under applicable law.
                        </p>
                    </section>


                    <!-- 14 -->
                    <section class="privacy-section" id="privacy-14">
                        <h2>14. International Users</h2>

                        <p>
                            The Ensolanka Global Ambassador Program may involve affiliates, guests, and communications
                            from many countries. As a result, personal information may be processed in countries other than
                            the country where a user resides, subject to the operational needs of the platform and any
                            applicable legal safeguards.
                        </p>

                        <p>
                            Users from certain jurisdictions may have additional privacy rights under local laws.
                            Ensolanka may respond to such requests in accordance with applicable requirements.
                        </p>
                    </section>


                    <!-- 15 -->
                    <section class="privacy-section" id="privacy-15">
                        <h2>15. Children’s Privacy</h2>

                        <p>
                            The affiliate program is not intended for children to participate independently.
                            Ensolanka does not knowingly seek to collect affiliate account information from children
                            in violation of applicable law.
                        </p>

                        <p>
                            If we learn that personal information has been submitted by a child where such collection
                            is not legally permitted, we may take steps to remove or restrict the information as appropriate.
                        </p>
                    </section>


                    <!-- 16 -->
                    <section class="privacy-section" id="privacy-16">
                        <h2>16. Changes to This Privacy Policy</h2>

                        <p>
                            Ensolanka may update this Privacy Policy from time to time to reflect:
                        </p>

                        <ul class="privacy-list">
                            <li>Changes to affiliate program features</li>
                            <li>Changes to referral tracking methods</li>
                            <li>Changes to payout or resource-request workflows</li>
                            <li>Changes to legal or regulatory expectations</li>
                            <li>Improvements in transparency or security practices</li>
                        </ul>

                        <p>
                            The updated version will be published on this page with a revised effective or last-updated date.
                        </p>
                    </section>


                    <!-- 17 -->
                    <section class="privacy-section" id="privacy-17">
                        <h2>17. Contact Us</h2>

                        <p>
                            For questions about this Privacy Policy, affiliate personal data, referral tracking,
                            custom marketing resource requests, or related privacy concerns, please contact Ensolanka
                            through the official contact page.
                        </p>

                        <a href="{% url 'affiliates_app:contact_page_aff' %}" class="btn btn-dark px-4">
                            Contact Ensolanka
                        </a>
                    </section>


                    <!-- FINAL CTA -->
                    <div class="privacy-final-cta">
                        <div class="row align-items-center g-4">
                            <div class="col-lg-8">
                                <h3 class="fw-bold mb-3">
                                    Built for Transparent Referral Participation
                                </h3>

                                <p class="mb-0">
                                    This Privacy Policy is designed to explain how Ensolanka handles affiliate,
                                    referral, and related program information while maintaining clear tracking,
                                    fair commission administration, and responsible support.
                                </p>
                            </div>

                            <div class="col-lg-4">
                                <div class="d-grid gap-2">
                                    <a href="{% url 'affiliates_app:terms' %}" class="btn btn-warning btn-lg">
                                        View Terms
                                    </a>

                                    <a href="{% url 'affiliates_app:faq' %}" class="btn btn-outline-light btn-lg">
                                        View FAQ
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>

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

{% endblock %}