{% extends 'expat_life/base.html' %}
{% load static %}

{% block title %}Sri Lanka Dating Partners | Genuine Local Matches for Serious Relationships{% endblock %}

{% block content %}

<style>
    .guest-dating-home-page {
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.08), transparent 28%),
            radial-gradient(circle at 90% 16%, rgba(194, 24, 91, 0.08), transparent 30%),
            linear-gradient(180deg, #fff7fb 0%, #ffffff 46%, #fff1f6 100%);
        overflow: hidden;
    }

    /* =========================
       HERO - ALIGNED WITH DATING APP HOME
       ========================= */
    .guest-dating-hero {
        position: relative;
        min-height: 720px;
        background-color: #2a0d1f;
        overflow: hidden;
        color: #fff;
    }

    .guest-dating-hero-bg {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                90deg,
                rgba(36, 9, 27, 0.94) 0%,
                rgba(36, 9, 27, 0.82) 42%,
                rgba(36, 9, 27, 0.58) 72%,
                rgba(36, 9, 27, 0.42) 100%
            ),
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.18), transparent 28%),
            radial-gradient(circle at bottom right, rgba(194, 24, 91, 0.22), transparent 35%),
            url("{% static 'expat_life/images/dating_partners_hero.webp' %}") center center / cover no-repeat;
        transform: scale(1.02);
        z-index: 0;
    }

    .guest-dating-hero::after {
        content: "";
        position: absolute;
        right: -150px;
        bottom: -180px;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        pointer-events: none;
        z-index: 1;
    }

    .guest-dating-hero-content {
        position: relative;
        z-index: 2;
        padding-top: 95px;
        padding-bottom: 95px;
    }

    .guest-dating-badge {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        background: rgba(255, 193, 7, 0.18);
        color: #ffc107;
        border: 1px solid rgba(255, 193, 7, 0.36);
        padding: .55rem 1rem;
        border-radius: 999px;
        font-weight: 850;
        font-size: .82rem;
        letter-spacing: .055em;
        text-transform: uppercase;
        margin-bottom: 1rem;
        backdrop-filter: blur(8px);
    }

    .guest-dating-badge i {
        color: #ffd166;
    }

    .guest-dating-hero h1 {
        color: #fff;
        font-size: clamp(2.55rem, 4.8vw, 4.8rem);
        font-weight: 950;
        line-height: 1.04;
        letter-spacing: -0.055em;
    }

    .guest-dating-hero .lead {
        color: rgba(255, 255, 255, 0.88) !important;
        font-size: 1.15rem;
        line-height: 1.85;
        max-width: 880px;
    }

    .guest-dating-hero .sub-copy {
        color: rgba(255, 255, 255, 0.76);
        line-height: 1.78;
        max-width: 820px;
    }

    .guest-dating-actions .btn,
    .guest-dating-hero .btn {
        border-radius: 999px;
        font-weight: 850;
        padding: .9rem 1.45rem;
        transition: all .22s ease;
    }

    .guest-dating-hero .btn-warning {
        border: none;
        background: linear-gradient(135deg, #ffd166, #f59e0b);
        color: #422006;
        box-shadow: 0 20px 38px rgba(255, 193, 7, 0.24);
    }

    .guest-dating-hero .btn-warning:hover {
        background: linear-gradient(135deg, #ffe08a, #f59e0b);
        color: #422006;
        transform: translateY(-2px);
        box-shadow: 0 26px 46px rgba(255, 193, 7, 0.34);
    }

    .guest-dating-hero .btn-outline-light {
        border: 1px solid rgba(255, 255, 255, 0.48);
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        backdrop-filter: blur(8px);
    }

    .guest-dating-hero .btn-outline-light:hover {
        background: #fff;
        color: #c2185b;
        border-color: #fff;
        transform: translateY(-2px);
    }

    .guest-dating-hero-point {
        height: 100%;
        display: flex;
        align-items: center;
        gap: .75rem;
        padding: .95rem 1rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.11);
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(8px);
        line-height: 1.5;
        font-weight: 650;
    }

    .guest-dating-hero-point i {
        color: #ffc107;
        font-size: 1.25rem;
    }

    /* =========================
       HERO SIDE CARD
       ========================= */
    .guest-dating-side-card {
        border-radius: 30px;
        background: #fff;
        overflow: hidden;
        box-shadow: 0 36px 90px rgba(0, 0, 0, 0.32);
    }

    .guest-dating-side-card-header {
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.16), transparent 32%),
            linear-gradient(135deg, #ff4d88 0%, #9b1b60 100%);
        color: #fff;
        padding: 1.8rem;
    }

    .guest-dating-side-card-header h4 {
        color: #fff;
        font-weight: 950;
        letter-spacing: -0.025em;
    }

    .guest-dating-side-card-header p {
        color: rgba(255, 255, 255, 0.84);
        line-height: 1.65;
    }

    .guest-dating-side-card-body {
        padding: 1.8rem;
    }

    .guest-dating-mini-row {
        display: flex;
        gap: .9rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid #edf0f2;
    }

    .guest-dating-mini-row:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .guest-dating-mini-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 16px;
        background: #fff1f6;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #c2185b;
        font-size: 1.25rem;
    }

    .guest-dating-mini-row h6 {
        color: #0f172a;
        font-weight: 900;
    }

    .guest-dating-mini-row p {
        color: #64748b !important;
        line-height: 1.6;
    }

    .guest-dating-side-card .btn-dark {
        border: none;
        border-radius: 999px;
        background: linear-gradient(135deg, #2a0d1f, #c2185b);
        font-weight: 850;
        padding: .85rem 1rem;
        box-shadow: 0 16px 30px rgba(194, 24, 91, 0.22);
    }

    .guest-dating-side-card .btn-dark:hover {
        background: linear-gradient(135deg, #3b102b, #db2777);
    }

    /* =========================
       STATS / TRUST STRIP
       ========================= */
    .guest-dating-trust-strip {
        position: relative;
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.07), transparent 26%),
            radial-gradient(circle at bottom right, rgba(194, 24, 91, 0.07), transparent 28%),
            #fff7fb;
        padding: 2.1rem 0;
    }

    .guest-dating-stat-box {
        height: 100%;
        text-align: center;
        background: #fff;
        border-radius: 22px;
        padding: 1.45rem 1rem;
        border: 1px solid #f1dce7;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
    }

    .guest-dating-stat-box h3 {
        color: #c2185b;
        font-weight: 950;
        margin-bottom: .35rem;
        letter-spacing: -0.025em;
    }

    .guest-dating-stat-box p {
        color: #64748b !important;
        line-height: 1.55;
    }

    /* =========================
       FEATURED PROFILES
       ========================= */
    .guest-featured-dating-section {
        position: relative;
        padding: 5rem 0;
        background:
            radial-gradient(circle at 8% 20%, rgba(194, 24, 91, 0.06), transparent 26%),
            radial-gradient(circle at 92% 82%, rgba(255, 193, 7, 0.07), transparent 28%),
            #ffffff;
    }

    .guest-section-kicker {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        background: rgba(194, 24, 91, 0.10);
        color: #c2185b !important;
        border: 1px solid rgba(194, 24, 91, 0.16);
        font-size: .78rem;
        font-weight: 900 !important;
        text-transform: uppercase;
        letter-spacing: .08em;
        padding: .45rem .85rem;
        border-radius: 999px;
    }

    .guest-featured-dating-section h2,
    .guest-dating-safety-section h2,
    .guest-dating-process-section h2 {
        color: #0f172a;
        font-weight: 950;
        letter-spacing: -0.035em;
    }

    .guest-featured-dating-section p,
    .guest-dating-safety-section p,
    .guest-dating-process-section p {
        line-height: 1.75;
    }

    .guest-featured-dating-section .btn-outline-primary {
        border-radius: 999px;
        padding: .75rem 1.25rem;
        border: 2px solid #c2185b;
        color: #c2185b;
        font-weight: 850;
    }

    .guest-featured-dating-section .btn-outline-primary:hover {
        background: #c2185b;
        border-color: #c2185b;
        color: #fff;
    }

    .guest-dating-profile-card {
        border-radius: 32px !important;
        border: 1px solid #f1dce7 !important;
        box-shadow: 0 26px 68px rgba(15, 23, 42, 0.11) !important;
        overflow: hidden;
        transition: all .28s ease;
        background: rgba(255, 255, 255, 0.98);
    }

    .guest-dating-profile-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 38px 92px rgba(15, 23, 42, 0.18) !important;
        border-color: rgba(194, 24, 91, 0.28) !important;
    }

    .guest-dating-profile-card .card-img-top {
        height: 315px !important;
        object-fit: cover;
    }

    .guest-dating-profile-card .badge {
        border: 1px solid rgba(194, 24, 91, 0.18);
        background: rgba(255, 255, 255, 0.94) !important;
        color: #c2185b !important;
        font-weight: 850;
        backdrop-filter: blur(8px);
    }

    .guest-dating-profile-card .card-body {
        padding: 1.5rem !important;
    }

    .guest-dating-profile-card h5 {
        color: #0f172a;
        font-weight: 950;
        letter-spacing: -0.02em;
    }

    .guest-dating-profile-card .text-muted {
        color: #64748b !important;
    }

    .guest-dating-profile-card strong {
        color: #0f172a;
    }

    .guest-dating-profile-card .btn-primary {
        border: none;
        border-radius: 999px;
        background: linear-gradient(135deg, #c2185b, #7c3aed);
        font-weight: 850;
        padding: .72rem 1rem;
        box-shadow: 0 16px 30px rgba(194, 24, 91, 0.20);
    }

    .guest-dating-profile-card .btn-primary:hover {
        background: linear-gradient(135deg, #db2777, #8b5cf6);
    }

    .guest-empty-dating-card {
        border-radius: 30px !important;
        background: #ffffff !important;
        border: 1px solid #f1dce7;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09) !important;
    }

    /* =========================
       SAFETY SECTION
       ========================= */
    .guest-dating-safety-section {
        padding: 5rem 0;
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.10), transparent 30%),
            linear-gradient(135deg, #2a0d1f 0%, #c2185b 100%);
        color: #fff;
    }

    .guest-dating-safety-section h2 {
        color: #fff;
    }

    .guest-dating-safety-section p {
        color: rgba(255, 255, 255, 0.84) !important;
    }

    .guest-safety-box {
        height: 100%;
        border-radius: 18px;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        backdrop-filter: blur(8px);
        font-weight: 750;
        display: flex;
        align-items: center;
        gap: .65rem;
    }

    .guest-safety-box i {
        color: #ffc107;
        font-size: 1.35rem;
    }

    .guest-dating-light-card {
        background: #fff;
        border-radius: 28px;
        padding: 2rem;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
        color: #0f172a;
    }

    .guest-dating-light-card h4 {
        color: #0f172a;
        font-weight: 950;
        letter-spacing: -0.025em;
    }

    .guest-dating-light-card li {
        color: #475569;
        line-height: 1.65;
    }

    .guest-dating-light-card .btn-primary {
        border: none;
        border-radius: 999px;
        background: linear-gradient(135deg, #c2185b, #7c3aed);
        font-weight: 850;
        padding: .85rem 1rem;
    }

    /* =========================
       HOW IT WORKS
       ========================= */
    .guest-dating-process-section {
        position: relative;
        background:
            radial-gradient(circle at top left, rgba(194, 24, 91, 0.07), transparent 28%),
            radial-gradient(circle at bottom right, rgba(255, 193, 7, 0.08), transparent 30%),
            #fff7fb !important;
        padding: 5rem 0 !important;
    }

    .guest-dating-process-card {
        height: 100%;
        border-radius: 28px !important;
        border: 1px solid #f1dce7;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10) !important;
        padding: 1.8rem 1.45rem !important;
        transition: all .28s ease;
    }

    .guest-dating-process-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 34px 82px rgba(15, 23, 42, 0.16) !important;
        border-color: rgba(194, 24, 91, 0.28);
    }

    .guest-dating-process-number {
        width: 68px;
        height: 68px;
        margin: 0 auto 1.1rem;
        border-radius: 50%;
        background: linear-gradient(135deg, #c2185b, #7c3aed);
        color: #fff !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem !important;
        font-weight: 950 !important;
        box-shadow: 0 20px 38px rgba(194, 24, 91, 0.22);
    }

    .guest-dating-process-card h5 {
        color: #0f172a;
        font-weight: 900;
    }

    .guest-dating-process-card .text-muted {
        color: #64748b !important;
        line-height: 1.75;
    }

    /* =========================
       FINAL CTA
       ========================= */
    .guest-final-dating-section {
        position: relative;
        padding: 5rem 0;
        background: #ffffff;
    }

    .guest-final-dating-cta {
        position: relative;
        overflow: hidden;
        border-radius: 38px !important;
        padding: 3.3rem 2.2rem !important;
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.16), transparent 32%),
            linear-gradient(135deg, #2a0d1f 0%, #c2185b 100%) !important;
        box-shadow: 0 34px 90px rgba(88, 28, 135, 0.22);
    }

    .guest-final-dating-cta::after {
        content: "";
        position: absolute;
        right: -110px;
        bottom: -140px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
    }

    .guest-final-dating-cta > * {
        position: relative;
        z-index: 2;
    }

    .guest-final-dating-cta h2 {
        color: #fff;
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 950;
        letter-spacing: -0.035em;
    }

    .guest-final-dating-cta .lead {
        color: rgba(255, 255, 255, 0.88);
        line-height: 1.82;
    }

    .guest-final-dating-cta .btn {
        border-radius: 999px;
        font-weight: 850;
        padding: .88rem 1.4rem;
    }

    .guest-final-dating-cta .btn-warning {
        background: linear-gradient(135deg, #ffd166, #f59e0b);
        border: none;
        color: #422006;
    }

    .guest-final-dating-cta .btn-light:hover {
        color: #c2185b;
    }

    @media (max-width: 991.98px) {
        .guest-dating-hero {
            min-height: auto;
        }

        .guest-dating-hero-content {
            padding-top: 70px;
            padding-bottom: 70px;
        }

        .guest-dating-side-card {
            border-radius: 26px;
        }

        .guest-final-dating-cta {
            padding: 2.5rem 1.5rem !important;
        }
    }

    @media (max-width: 575.98px) {
        .guest-dating-hero-content {
            padding-top: 56px;
            padding-bottom: 56px;
        }

        .guest-dating-hero h1 {
            font-size: 2.45rem;
        }

        .guest-dating-side-card,
        .guest-dating-profile-card,
        .guest-dating-process-card,
        .guest-final-dating-cta,
        .guest-empty-dating-card,
        .guest-dating-light-card {
            border-radius: 24px !important;
        }

        .guest-dating-stat-box,
        .guest-dating-hero-point {
            border-radius: 18px !important;
        }

        .guest-final-dating-cta {
            padding: 2.2rem 1.25rem !important;
        }
    }
</style>

<div class="guest-dating-home-page">

    <!-- HERO -->
    <section class="guest-dating-hero">
        <div class="guest-dating-hero-bg"></div>

        <div class="container guest-dating-hero-content">
            <div class="row align-items-center g-5">
                <div class="col-lg-7">
                    <span class="guest-dating-badge">
                        <i class="bi bi-heart-fill"></i>
                        Serious Relationship Connections
                    </span>

                    <h1 class="display-4 fw-bold mb-4">
                        Meet Genuine Sri Lankan Dating and Marriage Partner Candidates
                    </h1>

                    <p class="lead mb-3">
                        Explore approved local Sri Lankan profiles for marriage, long-term relationships,
                        companionship, and meaningful introductions through a more respectful and guided platform.
                    </p>

                    <p class="sub-copy mb-4">
                        This section is designed for Guests who are not looking for random social media chats,
                        but for sincere, safer, and more serious relationship possibilities connected to their
                        Sri Lanka living journey.
                    </p>

                    <div class="d-flex gap-3 flex-wrap mb-4 guest-dating-actions">
                        <a href="{% url 'expat_life:public_partner_list' %}" class="btn btn-warning btn-lg px-4">
                            Browse Profiles
                        </a>

                        {% if is_foreigner_user %}
                            <a href="{% url 'expat_life:foreigner_dashboard' %}" class="btn btn-outline-light btn-lg px-4">
                                My Guest Dashboard
                            </a>
                        {% else %}
                            <a href="{% url 'expat_life:foreigner_signup' %}" class="btn btn-outline-light btn-lg px-4">
                                Free Guest Signup
                            </a>
                        {% endif %}
                    </div>

                    <div class="row g-3 mt-2">
                        <div class="col-sm-6">
                            <div class="guest-dating-hero-point">
                                <i class="bi bi-shield-check"></i>
                                <span>Profile review and safer introduction process</span>
                            </div>
                        </div>

                        <div class="col-sm-6">
                            <div class="guest-dating-hero-point">
                                <i class="bi bi-heart-fill"></i>
                                <span>Focused on sincere and long-term intentions</span>
                            </div>
                        </div>

                        <div class="col-sm-6">
                            <div class="guest-dating-hero-point">
                                <i class="bi bi-lock-fill"></i>
                                <span>Contact details are not exposed immediately</span>
                            </div>
                        </div>

                        <div class="col-sm-6">
                            <div class="guest-dating-hero-point">
                                <i class="bi bi-person-hearts"></i>
                                <span>Mutual interest can guide the next step</span>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-5">
                    <div class="guest-dating-side-card">
                        <div class="guest-dating-side-card-header">
                            <h4 class="fw-bold mb-2">A More Guided Way to Connect</h4>
                            <p class="mb-0">
                                Built for Guests who value trust, sincerity, cultural connection, and a safer relationship journey.
                            </p>
                        </div>

                        <div class="guest-dating-side-card-body">
                            <div class="guest-dating-mini-row">
                                <div class="guest-dating-mini-icon">
                                    <i class="bi bi-person-check-fill"></i>
                                </div>
                                <div>
                                    <h6 class="fw-bold mb-1">Approved Local Profiles</h6>
                                    <p class="text-muted small mb-0">
                                        Browse local candidates who are presented through a more organized profile process.
                                    </p>
                                </div>
                            </div>

                            <div class="guest-dating-mini-row">
                                <div class="guest-dating-mini-icon">
                                    <i class="bi bi-chat-heart-fill"></i>
                                </div>
                                <div>
                                    <h6 class="fw-bold mb-1">Respectful Introductions</h6>
                                    <p class="text-muted small mb-0">
                                        Designed around genuine interest, better clarity, and serious relationship expectations.
                                    </p>
                                </div>
                            </div>

                            <div class="guest-dating-mini-row">
                                <div class="guest-dating-mini-icon">
                                    <i class="bi bi-shield-lock-fill"></i>
                                </div>
                                <div>
                                    <h6 class="fw-bold mb-1">Controlled Contact Access</h6>
                                    <p class="text-muted small mb-0">
                                        Private contact details are protected until the correct stage of the process.
                                    </p>
                                </div>
                            </div>

                            <div class="mt-4 d-grid">
                                <a href="{% url 'expat_life:public_partner_list' %}" class="btn btn-dark btn-lg">
                                    View Local Partner Profiles
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- STATS / TRUST STRIP -->
    <section class="guest-dating-trust-strip">
        <div class="container">
            <div class="row g-3">
                <div class="col-6 col-lg-3">
                    <div class="guest-dating-stat-box">
                        <h3>Reviewed</h3>
                        <p class="mb-0 text-muted">Approved Public Profiles</p>
                    </div>
                </div>

                <div class="col-6 col-lg-3">
                    <div class="guest-dating-stat-box">
                        <h3>Protected</h3>
                        <p class="mb-0 text-muted">Contact Details</p>
                    </div>
                </div>

                <div class="col-6 col-lg-3">
                    <div class="guest-dating-stat-box">
                        <h3>Mutual</h3>
                        <p class="mb-0 text-muted">Interest-Based Access</p>
                    </div>
                </div>

                <div class="col-6 col-lg-3">
                    <div class="guest-dating-stat-box">
                        <h3>Guided</h3>
                        <p class="mb-0 text-muted">Relationship Path</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- FEATURED PROFILES -->
    <section class="guest-featured-dating-section">
        <div class="container">
            <div class="d-flex flex-column flex-lg-row justify-content-between align-items-lg-end mb-4">
                <div>
                    <span class="guest-section-kicker">
                        <i class="bi bi-stars"></i>
                        Featured Introductions
                    </span>

                    <h2 class="fw-bold mt-3 mb-2">Featured Local Partner Profiles</h2>

                    <p class="text-muted mb-0">
                        A selection of approved local candidates open to serious relationships, companionship,
                        and marriage-oriented opportunities.
                    </p>
                </div>

                <div class="mt-3 mt-lg-0">
                    <a href="{% url 'expat_life:public_partner_list' %}" class="btn btn-outline-primary">
                        View All Profiles
                    </a>
                </div>
            </div>

            <div class="row g-4">
                {% for profile in featured_profiles %}
                    <div class="col-md-6 col-xl-4">
                        <div class="card guest-dating-profile-card h-100">
                            <div class="position-relative">
                                {% if profile.profile_photo %}
                                    <img src="{{ profile.profile_photo.url }}"
                                         class="card-img-top"
                                         alt="{{ profile.display_name|default:profile.full_name }}">
                                {% else %}
                                    <img src="{% static 'expat_life/images/default-profile.jpg' %}"
                                         class="card-img-top"
                                         alt="Profile">
                                {% endif %}

                                <div class="position-absolute top-0 start-0 m-3">
                                    <span class="badge rounded-pill px-3 py-2 shadow-sm">
                                        Approved Profile
                                    </span>
                                </div>
                            </div>

                            <div class="card-body d-flex flex-column">
                                <h5 class="fw-bold mb-1">
                                    {{ profile.display_name|default:profile.full_name }}
                                </h5>

                                <p class="text-muted mb-2">
                                    {{ profile.age }} years{% if profile.city %} | {{ profile.city }}{% endif %}
                                </p>

                                <p class="mb-3">
                                    <strong>Relationship Goal:</strong> {{ profile.get_relationship_goal_display }}
                                </p>

                                <div class="mt-auto">
                                    <a href="{% url 'expat_life:public_partner_detail' profile.pk %}" class="btn btn-primary px-3">
                                        View Profile
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                {% empty %}
                    <div class="col-12">
                        <div class="guest-empty-dating-card p-5 text-center">
                            <h5 class="fw-bold mb-2">Featured profiles will appear here soon</h5>
                            <p class="text-muted mb-0">
                                We are preparing approved local profiles for meaningful introductions and serious relationship opportunities.
                            </p>
                        </div>
                    </div>
                {% endfor %}
            </div>
        </div>
    </section>

    <!-- TRUST & SAFETY -->
    <section class="guest-dating-safety-section">
        <div class="container">
            <div class="row align-items-center g-5">
                <div class="col-lg-6">
                    <span class="guest-section-kicker bg-transparent text-warning border-warning mb-3">
                        <i class="bi bi-shield-check"></i>
                        Trust & Safety
                    </span>

                    <h2 class="fw-bold mb-3">
                        Designed to Reduce Fake Profiles, Unsafe Contact, and Random Communication
                    </h2>

                    <p class="mb-4">
                        This Guest-side dating section is not built for uncontrolled chatting. It is connected to your
                        Sri Lanka lifestyle journey and supports a more careful path for exploring local relationship
                        possibilities.
                    </p>

                    <div class="row g-3">
                        <div class="col-sm-6">
                            <div class="guest-safety-box">
                                <i class="bi bi-lock-fill"></i>
                                Protected Contact Details
                            </div>
                        </div>

                        <div class="col-sm-6">
                            <div class="guest-safety-box">
                                <i class="bi bi-person-check-fill"></i>
                                Profile Review Process
                            </div>
                        </div>

                        <div class="col-sm-6">
                            <div class="guest-safety-box">
                                <i class="bi bi-heart-fill"></i>
                                Mutual Interest Flow
                            </div>
                        </div>

                        <div class="col-sm-6">
                            <div class="guest-safety-box">
                                <i class="bi bi-compass-fill"></i>
                                Guided Next Steps
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-6">
                    <div class="guest-dating-light-card">
                        <h4 class="fw-bold mb-3">How the Guest Connection Path Works</h4>

                        <ul class="list-unstyled mb-4">
                            <li class="mb-3">
                                <i class="bi bi-check-circle-fill text-success me-2"></i>
                                You can first browse approved local profiles through the Guest platform.
                            </li>

                            <li class="mb-3">
                                <i class="bi bi-check-circle-fill text-success me-2"></i>
                                You can express interest without immediately exposing private contact details.
                            </li>

                            <li class="mb-3">
                                <i class="bi bi-check-circle-fill text-success me-2"></i>
                                When mutual interest exists, the process can move forward more respectfully.
                            </li>

                            <li class="mb-3">
                                <i class="bi bi-check-circle-fill text-success me-2"></i>
                                Platform guidance can help reduce confusion, fake promises, and unsafe communication.
                            </li>

                            <li class="mb-0">
                                <i class="bi bi-check-circle-fill text-success me-2"></i>
                                Confirmed Guests can receive stronger access and support based on the platform process.
                            </li>
                        </ul>

                        {% if is_foreigner_user %}
                            <a href="{% url 'expat_life:foreigner_dashboard' %}" class="btn btn-primary btn-lg w-100">
                                Go to My Guest Dashboard
                            </a>
                        {% else %}
                            <a href="{% url 'expat_life:foreigner_signup' %}" class="btn btn-primary btn-lg w-100">
                                Create Free Guest Profile
                            </a>
                        {% endif %}
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- HOW IT WORKS -->
    <section class="guest-dating-process-section">
        <div class="container">
            <div class="text-center mb-5">
                <span class="guest-section-kicker">
                    <i class="bi bi-diagram-3-fill"></i>
                    Simple Guided Process
                </span>

                <h2 class="fw-bold mt-3">How It Works for Guests</h2>

                <p class="text-muted mb-0">
                    A more thoughtful way to explore meaningful local connections in Sri Lanka.
                </p>
            </div>

            <div class="row g-4">
                <div class="col-md-3">
                    <div class="guest-dating-process-card text-center h-100">
                        <div class="guest-dating-process-number">01</div>
                        <h5 class="fw-bold">Browse Profiles</h5>
                        <p class="text-muted mb-0">
                            Explore public profiles of local Sri Lankan candidates interested in serious relationship paths.
                        </p>
                    </div>
                </div>

                <div class="col-md-3">
                    <div class="guest-dating-process-card text-center h-100">
                        <div class="guest-dating-process-number">02</div>
                        <h5 class="fw-bold">Create Guest Profile</h5>
                        <p class="text-muted mb-0">
                            Register as a Guest to begin a more guided journey beyond casual browsing.
                        </p>
                    </div>
                </div>

                <div class="col-md-3">
                    <div class="guest-dating-process-card text-center h-100">
                        <div class="guest-dating-process-number">03</div>
                        <h5 class="fw-bold">Express Interest</h5>
                        <p class="text-muted mb-0">
                            Show interest in suitable local profiles while keeping the process respectful and controlled.
                        </p>
                    </div>
                </div>

                <div class="col-md-3">
                    <div class="guest-dating-process-card text-center h-100">
                        <div class="guest-dating-process-number">04</div>
                        <h5 class="fw-bold">Move Forward Safely</h5>
                        <p class="text-muted mb-0">
                            Continue through a structured path centered on trust, clarity, and serious intentions.
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- FINAL CTA -->
    <section class="guest-final-dating-section">
        <div class="container">
            <div class="guest-final-dating-cta text-white">
                <div class="row align-items-center g-4">
                    <div class="col-lg-8">
                        <h2 class="fw-bold mb-3">
                            Begin a More Meaningful Sri Lanka Connection Journey
                        </h2>

                        <p class="lead mb-0">
                            Explore approved local profiles, create your Guest profile, and move toward more genuine,
                            respectful, and serious relationship opportunities.
                        </p>
                    </div>

                    <div class="col-lg-4 text-lg-end">
                        <div class="d-grid gap-3 d-lg-flex justify-content-lg-end">
                            <a href="{% url 'expat_life:public_partner_list' %}" class="btn btn-warning btn-lg w-100">
                                Browse Profiles
                            </a>

                            {% if is_foreigner_user %}
                                <a href="{% url 'expat_life:foreigner_dashboard' %}" class="btn btn-light btn-lg w-100">
                                    My Guest Dashboard
                                </a>
                            {% else %}
                                <a href="{% url 'expat_life:foreigner_signup' %}" class="btn btn-light btn-lg w-100">
                                    Free Guest Signup
                                </a>
                            {% endif %}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

</div>

{% endblock %}