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

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

{% block extra_css %}
<style>
    .affiliate-cookie-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-cookie-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-cookie-hero .container {
        position: relative;
        z-index: 2;
    }

    .cookie-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;
    }

    .cookie-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%;
    }

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

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

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

    .cookie-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%;
    }

    .cookie-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;
    }

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

    .cookie-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);
    }

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

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

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

    .cookie-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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .mobile-cookie-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-cookie-nav .form-select {
        border-radius: 14px;
        padding: 12px 14px;
    }

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

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

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

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

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


{% block content %}

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

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

                <p class="lead mb-4">
                    This Cookie Policy explains how the Partner with Ensolanka affiliate app uses cookies
                    and similar browser storage technologies to support secure access, referral tracking,
                    affiliate attribution, and a smoother user experience.
                </p>

                <div class="d-flex flex-wrap gap-3">
                    <a href="{% url 'affiliates_app:privacy_policy' %}" class="btn btn-warning btn-lg px-4">
                        View Privacy Policy
                    </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="cookie-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="cookie-meta-card">
                            <div class="d-flex gap-3 align-items-start">
                                <i class="bi bi-link-45deg"></i>
                                <div>
                                    <h6>Referral Tracking</h6>
                                    <p class="mb-0 small">
                                        Referral-code storage may remain in the visitor’s browser for up to 30 days.
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-12">
                        <div class="cookie-meta-card">
                            <div class="d-flex gap-3 align-items-start">
                                <i class="bi bi-shield-lock-fill"></i>
                                <div>
                                    <h6>Security Use</h6>
                                    <p class="mb-0 small">
                                        Some cookies or storage technologies may be necessary for sign-in, session, and form protection.
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>


<!-- SUMMARY -->
<section class="cookie-summary-section">
    <div class="container">
        <div class="text-center mb-5">
            <span class="cookie-mini-title">Cookie Use at a Glance</span>
            <h2 class="fw-bold">Why This Affiliate App Uses Browser Storage</h2>
            <p class="text-muted mb-0">
                Cookies and similar technologies help the platform work securely, remember valid affiliate referrals,
                and support selected user preferences where applicable.
            </p>
        </div>

        <div class="row g-4">
            <div class="col-md-6 col-lg-3">
                <div class="cookie-summary-card">
                    <div class="cookie-summary-icon">
                        <i class="bi bi-box-arrow-in-right"></i>
                    </div>
                    <h5 class="fw-bold">Account Access</h5>
                    <p class="text-muted mb-0">
                        Secure login, sessions, and dashboard access for approved affiliates.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="cookie-summary-card">
                    <div class="cookie-summary-icon">
                        <i class="bi bi-qr-code-scan"></i>
                    </div>
                    <h5 class="fw-bold">Referral Attribution</h5>
                    <p class="text-muted mb-0">
                        Recording a valid affiliate code when a visitor arrives through a tracking link or QR code.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="cookie-summary-card">
                    <div class="cookie-summary-icon">
                        <i class="bi bi-shield-check"></i>
                    </div>
                    <h5 class="fw-bold">Security</h5>
                    <p class="text-muted mb-0">
                        Protecting forms, accounts, and normal website operations.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="cookie-summary-card">
                    <div class="cookie-summary-icon">
                        <i class="bi bi-sliders"></i>
                    </div>
                    <h5 class="fw-bold">Preferences</h5>
                    <p class="text-muted mb-0">
                        Remembering certain choices or consent settings where these features are enabled.
                    </p>
                </div>
            </div>
        </div>
    </div>
</section>


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

        <!-- MOBILE NAV -->
        <div class="mobile-cookie-nav">
            <label for="mobileCookieNav" class="form-label fw-bold mb-2">Jump to a Section</label>
            <select id="mobileCookieNav" class="form-select"
                    onchange="if(this.value){window.location.href=this.value;}">
                <option value="">Select a topic</option>
                <option value="#cookie-1">1. Introduction</option>
                <option value="#cookie-2">2. What Cookies Are</option>
                <option value="#cookie-3">3. Similar Technologies</option>
                <option value="#cookie-4">4. How We Use Cookies</option>
                <option value="#cookie-5">5. Affiliate Referral Tracking</option>
                <option value="#cookie-6">6. Types of Cookies or Storage</option>
                <option value="#cookie-7">7. Essential Cookies</option>
                <option value="#cookie-8">8. Preference and Consent Storage</option>
                <option value="#cookie-9">9. Analytics or Optional Cookies</option>
                <option value="#cookie-10">10. Third-Party Content</option>
                <option value="#cookie-11">11. Managing Cookies</option>
                <option value="#cookie-12">12. Cookie Changes</option>
                <option value="#cookie-13">13. Contact Us</option>
            </select>
        </div>

        <div class="row g-4">

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

                    <ul class="cookie-nav-list">
                        <li><a href="#cookie-1">1. Introduction</a></li>
                        <li><a href="#cookie-2">2. What Cookies Are</a></li>
                        <li><a href="#cookie-3">3. Similar Technologies</a></li>
                        <li><a href="#cookie-4">4. How We Use Them</a></li>
                        <li><a href="#cookie-5">5. Referral Tracking</a></li>
                        <li><a href="#cookie-6">6. Storage Categories</a></li>
                        <li><a href="#cookie-7">7. Essential Use</a></li>
                        <li><a href="#cookie-8">8. Preferences</a></li>
                        <li><a href="#cookie-9">9. Optional Cookies</a></li>
                        <li><a href="#cookie-10">10. Third-Party Content</a></li>
                        <li><a href="#cookie-11">11. Managing Cookies</a></li>
                        <li><a href="#cookie-12">12. Updates</a></li>
                        <li><a href="#cookie-13">13. Contact</a></li>
                    </ul>
                </aside>
            </div>


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

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

                        <p>
                            This Cookie Policy applies to the <strong>Partner with Ensolanka</strong> affiliate app
                            and the <strong>Ensolanka Global Ambassador Affiliate Program</strong>.
                        </p>

                        <p>
                            It explains how Ensolanka LLC (“Ensolanka,” “we,” “our,” or “us”) may use cookies
                            and similar browser storage technologies when users visit affiliate-related pages,
                            create or access affiliate accounts, open referral links, scan QR codes,
                            or interact with program resources.
                        </p>

                        <p>
                            This Cookie Policy should be read together with our
                            <a href="{% url 'affiliates_app:privacy_policy' %}">Privacy Policy</a>
                            and
                            <a href="{% url 'affiliates_app:terms' %}">Terms & Conditions</a>.
                        </p>
                    </section>


                    <!-- 2 -->
                    <section class="cookie-section" id="cookie-2">
                        <h2>2. What Are Cookies?</h2>

                        <p>
                            Cookies are small text files that websites may store on a user’s computer,
                            phone, tablet, or other device when the user visits a website.
                            Cookies can help a website recognize a device, remember choices,
                            maintain a secure session, or support specific functions.
                        </p>

                        <p>
                            Cookies may be:
                        </p>

                        <ul class="cookie-list">
                            <li><strong>Session cookies</strong> – temporary cookies that usually expire when the browser session ends.</li>
                            <li><strong>Persistent cookies</strong> – cookies that remain for a defined period or until removed by the user.</li>
                            <li><strong>First-party cookies</strong> – cookies set by the website the user is visiting.</li>
                            <li><strong>Third-party cookies</strong> – cookies set by external services embedded in or connected to the website.</li>
                        </ul>
                    </section>


                    <!-- 3 -->
                    <section class="cookie-section" id="cookie-3">
                        <h2>3. Cookies and Similar Technologies</h2>

                        <p>
                            In addition to traditional cookies, websites may use similar browser technologies
                            that store or access information on a user’s device. These may include browser storage,
                            local storage, session storage, or other technologies used to support website features.
                        </p>

                        <div class="cookie-neutral-box">
                            For this Cookie Policy, references to “cookies” may also include similar storage
                            technologies where applicable.
                        </div>
                    </section>


                    <!-- 4 -->
                    <section class="cookie-section" id="cookie-4">
                        <h2>4. How We May Use Cookies or Similar Storage</h2>

                        <p>
                            The affiliate app may use cookies or similar technologies for purposes such as:
                        </p>

                        <ul class="cookie-list">
                            <li>Maintaining secure affiliate login sessions</li>
                            <li>Protecting forms and preventing unauthorized requests</li>
                            <li>Remembering referral attribution when a visitor arrives through an affiliate link or QR code</li>
                            <li>Supporting dashboard access and authenticated user workflows</li>
                            <li>Remembering selected preferences where applicable</li>
                            <li>Recording cookie-consent or privacy choices where a consent tool is enabled</li>
                            <li>Supporting optional analytics or performance tools if Ensolanka chooses to activate them in the future</li>
                        </ul>
                    </section>


                    <!-- 5 -->
                    <section class="cookie-section" id="cookie-5">
                        <h2>5. Affiliate Referral Tracking Storage</h2>

                        <p>
                            A core feature of the Ensolanka Global Ambassador Affiliate Program is referral attribution.
                            When a prospective guest visits the Live in Sri Lanka platform through an approved affiliate link
                            or QR code, the system may store the relevant affiliate referral code in the visitor’s browser.
                        </p>

                        <div class="cookie-highlight-box">
                            <strong>Referral tracking period:</strong>
                            The stored affiliate referral code may remain active for up to <strong>30 days</strong>.
                        </div>

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

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

                        <ul class="cookie-list">
                            <li>Clearing cookies, browser history, or stored site data</li>
                            <li>Using private or incognito browsing</li>
                            <li>Using browser privacy settings or anti-tracking tools</li>
                            <li>Changing devices or browsers before signing up</li>
                            <li>Technical interruptions beyond reasonable platform control</li>
                        </ul>

                        <div class="cookie-warning-box">
                            <strong>Important:</strong>
                            Ensolanka’s internal records determine whether a referral has been validly tracked
                            and attributed for affiliate-program purposes.
                        </div>
                    </section>


                    <!-- 6 -->
                    <section class="cookie-section" id="cookie-6">
                        <h2>6. Main Categories of Cookies or Storage We May Use</h2>

                        <div class="cookie-table-wrap">
                            <div class="table-responsive">
                                <table class="table align-middle">
                                    <thead>
                                        <tr>
                                            <th>Category</th>
                                            <th>Purpose</th>
                                            <th>Examples of Use</th>
                                            <th>Typical Duration</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td><strong>Strictly Necessary / Essential</strong></td>
                                            <td>To keep the site secure and usable</td>
                                            <td>Login sessions, account access, form security, technical page operations</td>
                                            <td>Session-based or as technically required</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Affiliate Referral Tracking</strong></td>
                                            <td>To remember which affiliate introduced a potential guest</td>
                                            <td>Referral-code storage after affiliate-link or QR-code visits</td>
                                            <td>Up to 30 days</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Preference or Consent Storage</strong></td>
                                            <td>To remember choices made by the user</td>
                                            <td>Cookie-consent selections or interface preferences where enabled</td>
                                            <td>Varies by configuration</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Optional Analytics or Performance</strong></td>
                                            <td>To understand platform usage and improve website performance, if enabled</td>
                                            <td>Anonymous or aggregated website analytics, performance measurement</td>
                                            <td>Depends on the tool and consent settings</td>
                                        </tr>

                                        <tr>
                                            <td><strong>Third-Party Embedded Content</strong></td>
                                            <td>To display resources provided through external services</td>
                                            <td>Embedded videos, media players, or external content where present</td>
                                            <td>Controlled by the third-party provider</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </section>


                    <!-- 7 -->
                    <section class="cookie-section" id="cookie-7">
                        <h2>7. Essential Cookies and Technical Storage</h2>

                        <p>
                            Some cookies or similar technologies may be necessary for the website or affiliate dashboard
                            to function properly. These may support:
                        </p>

                        <ul class="cookie-list">
                            <li>Affiliate sign-in and authenticated dashboard sessions</li>
                            <li>Account security and access control</li>
                            <li>Form submission protection</li>
                            <li>Temporary navigation or workflow continuity</li>
                            <li>Basic technical operation of the website</li>
                        </ul>

                        <p>
                            Essential storage is used to deliver a service that users request,
                            such as accessing a secure dashboard or submitting an online form.
                        </p>
                    </section>


                    <!-- 8 -->
                    <section class="cookie-section" id="cookie-8">
                        <h2>8. Preference and Consent Storage</h2>

                        <p>
                            If Ensolanka uses a cookie-consent tool or preference-management feature,
                            the website may store the user’s selected choices so that the same question
                            does not have to be repeated on every visit.
                        </p>

                        <p>
                            Preference storage may help remember:
                        </p>

                        <ul class="cookie-list">
                            <li>Whether the user accepted or refused optional cookies</li>
                            <li>Selected privacy or consent settings</li>
                            <li>Other user-interface preferences where implemented</li>
                        </ul>
                    </section>


                    <!-- 9 -->
                    <section class="cookie-section" id="cookie-9">
                        <h2>9. Optional Analytics, Marketing, or Performance Cookies</h2>

                        <p>
                            Ensolanka may choose to use analytics, measurement, or performance tools
                            to better understand how visitors use public pages, improve content quality,
                            and monitor website performance.
                        </p>

                        <p>
                            Where applicable law requires consent for non-essential cookies or similar technologies,
                            such cookies should not be activated unless valid consent has been obtained through
                            the appropriate consent mechanism. :contentReference[oaicite:1]{index=1}
                        </p>

                        <div class="cookie-warning-box">
                            <strong>Implementation note:</strong>
                            If you later activate tools such as analytics, advertising pixels, or remarketing tags,
                            update this Cookie Policy and your cookie-consent banner to identify them accurately.
                        </div>
                    </section>


                    <!-- 10 -->
                    <section class="cookie-section" id="cookie-10">
                        <h2>10. Third-Party Content and Embedded Services</h2>

                        <p>
                            Some affiliate pages or dashboard areas may display third-party or externally hosted content,
                            such as embedded training videos, media players, or other externally delivered resources.
                        </p>

                        <p>
                            Third-party providers may set their own cookies or use similar technologies according to
                            their own policies and technical configurations. External services are controlled by their
                            respective providers rather than by Ensolanka. :contentReference[oaicite:2]{index=2}
                        </p>

                        <p>
                            Users should review the privacy and cookie notices of any external services they choose to interact with.
                        </p>
                    </section>


                    <!-- 11 -->
                    <section class="cookie-section" id="cookie-11">
                        <h2>11. How Users Can Manage Cookies</h2>

                        <p>
                            Users can usually manage cookies and related storage through their browser settings.
                            Depending on the browser, users may be able to:
                        </p>

                        <ul class="cookie-list">
                            <li>Delete stored cookies</li>
                            <li>Block certain cookies</li>
                            <li>Clear site data</li>
                            <li>Use private browsing modes</li>
                            <li>Adjust privacy controls relating to tracking or storage</li>
                        </ul>

                        <p>
                            Blocking or deleting some storage may affect how the affiliate app or referral tracking works.
                            For example, removing the stored referral code before signup may prevent the referral
                            from being attributed to the affiliate.
                        </p>

                        <div class="cookie-neutral-box">
                            When a cookie-consent tool is available on the website, users may also be able to manage
                            optional cookie choices directly through that tool.
                        </div>
                    </section>


                    <!-- 12 -->
                    <section class="cookie-section" id="cookie-12">
                        <h2>12. Updates to This Cookie Policy</h2>

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

                        <ul class="cookie-list">
                            <li>Changes to referral tracking methods</li>
                            <li>Changes to browser storage duration</li>
                            <li>New analytics or performance tools</li>
                            <li>New embedded content or third-party integrations</li>
                            <li>Changes in legal or regulatory expectations</li>
                            <li>Improvements in transparency or platform functionality</li>
                        </ul>

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


                    <!-- 13 -->
                    <section class="cookie-section" id="cookie-13">
                        <h2>13. Contact Us</h2>

                        <p>
                            For questions about this Cookie Policy, referral tracking storage,
                            affiliate-link attribution, or related privacy matters,
                            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="cookie-final-cta">
                        <div class="row align-items-center g-4">
                            <div class="col-lg-8">
                                <h3 class="fw-bold mb-3">
                                    Clear Tracking. Transparent Referral Attribution.
                                </h3>

                                <p class="mb-0">
                                    This Cookie Policy explains how browser storage supports secure affiliate access
                                    and fair referral attribution within the Ensolanka Global Ambassador Program.
                                </p>
                            </div>

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

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

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

{% endblock %}