<x-layouts.site>
    <x-slot:title>For the Diaspora</x-slot:title>
    <x-slot:description>Build passive income back home with clear verification, trusted education, and cross-border investment guidance for the Diaspora.</x-slot:description>

    <section class="relative overflow-hidden bg-mesh">
        <div class="container-site relative grid items-center gap-12 py-16 md:py-24 lg:grid-cols-2" data-hero>
            <div>
                <p class="eyebrow" data-hero-item>Diaspora</p>
                <h1 class="mt-4 font-display text-display-sm font-bold text-navy-900 md:text-display" data-hero-item>
                    Build at home with confidence, not <span class="text-gradient">guesswork.</span>
                </h1>
                <p class="mt-4 max-w-xl text-lg leading-relaxed text-navy-600" data-hero-item>
                    You are building from abroad while navigating family expectations, trust concerns, and too many
                    "guaranteed" opportunities. We help you learn first, invest carefully, then grow passive income back home.
                </p>
                <div class="mt-7 flex flex-wrap gap-3" data-hero-item>
                    <a href="{{ route('learn.show', 'investable') }}" class="btn-accent btn-lg">
                        Explore Investable <x-icon name="arrow-right" class="h-5 w-5" />
                    </a>
                    <a href="{{ route('consultation') }}" class="btn-ghost btn-lg">Book a consultation</a>
                </div>
                <p class="mt-3 flex items-center gap-2 text-sm text-navy-500" data-hero-item>
                    <x-icon name="globe" class="h-4 w-4 text-wise-500" /> Built for Africans abroad investing back home.
                </p>
            </div>
            <div class="relative" data-hero-item>
                <div class="card-photo h-[24rem]" data-tilt="4">
                    <img src="{{ asset('images/stock/diaspora.jpg') }}" alt="A Diaspora investor planning across borders">
                </div>
                <div class="absolute -bottom-5 -left-5 rounded-2xl bg-white p-4 shadow-brand-lg" data-float>
                    <div class="flex items-center gap-3">
                        <span class="icon-tile !h-10 !w-10"><x-icon name="shield-check" class="h-5 w-5" /></span>
                        <div>
                            <p class="font-display text-sm font-extrabold text-navy-900">Verify before you invest</p>
                            <p class="text-[11px] font-bold text-navy-400">paper trail, regulation, visibility</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="section bg-white">
        <div class="container-site grid items-center gap-10 lg:grid-cols-2">
            <div data-gsap="fade-right">
                <p class="eyebrow">The Diaspora challenge</p>
                <h2 class="section-title mt-3">You should not need blind trust to invest back home.</h2>
                <div class="mt-7 grid gap-4 sm:grid-cols-2" data-gsap-stagger>
                    @foreach ([
                        ['icon' => 'users', 'title' => 'Family pressure', 'desc' => 'Support relatives without draining the capital you are trying to build.'],
                        ['icon' => 'shield-check', 'title' => 'Scam risk', 'desc' => 'Learn how to verify opportunities before any money moves.'],
                        ['icon' => 'file-text', 'title' => 'No paper trail', 'desc' => 'Avoid informal deals with weak documentation and unclear accountability.'],
                        ['icon' => 'map', 'title' => 'No passive income plan', 'desc' => 'Move from sending money home to building assets that can support you long term.'],
                    ] as $pain)
                        <div class="card-glow p-5">
                            <span class="icon-tile !h-10 !w-10 bg-rose-50 text-rose-500"><x-icon :name="$pain['icon']" class="h-5 w-5" /></span>
                            <h3 class="mt-3 font-display text-sm font-bold text-navy-900">{{ $pain['title'] }}</h3>
                            <p class="mt-1 text-sm leading-relaxed text-navy-600">{{ $pain['desc'] }}</p>
                        </div>
                    @endforeach
                </div>
            </div>
            <div class="card-photo h-[26rem]" data-gsap="fade-left">
                <img src="{{ asset('images/stock/city-life.jpg') }}" alt="Nairobi skyline and city life">
                <span class="overlay">
                    <span class="font-display text-xl font-bold text-white">Learn first. Then invest. Then grow.</span>
                </span>
            </div>
        </div>
    </section>

    <section class="section bg-navy-50/50">
        <div class="container-site">
            <div class="text-center" data-gsap="fade-up">
                <p class="eyebrow justify-center">Build across borders</p>
                <h2 class="section-title mt-3">A safer path to passive income back home.</h2>
            </div>

            <div class="mt-12 grid gap-6 lg:grid-cols-3" data-gsap-stagger>
                @foreach ([
                    ['icon' => 'graduation-cap', 'title' => 'Learn the options', 'desc' => 'Understand MMFs, bonds, shares or equities, REITs, real estate, and other regulated routes before choosing where your money goes.'],
                    ['icon' => 'shield-check', 'title' => 'Verify the process', 'desc' => 'Use legitimate information sources, clear documentation, and regulated channels. If an opportunity cannot be verified, pause.'],
                    ['icon' => 'trending-up', 'title' => 'Grow income, not pressure', 'desc' => 'Build income-generating assets so family support does not always come straight from your salary abroad.'],
                ] as $pillar)
                    <div class="card-glow p-8" data-tilt="5">
                        <span class="icon-tile h-14 w-14"><x-icon :name="$pillar['icon']" class="h-6 w-6" /></span>
                        <h3 class="mt-4 font-display text-lg font-bold text-navy-900">{{ $pillar['title'] }}</h3>
                        <p class="mt-2 leading-relaxed text-navy-600">{{ $pillar['desc'] }}</p>
                    </div>
                @endforeach
            </div>
        </div>
    </section>

    <section class="section bg-white">
        <div class="container-site grid items-center gap-10 lg:grid-cols-2">
            <div class="card-photo h-[22rem]" data-gsap="fade-right" data-tilt="4">
                <img src="{{ asset('images/card-investable.jpg') }}" alt="Investable course preview">
            </div>
            <div data-gsap="fade-left">
                <p class="eyebrow">Flagship learning path</p>
                <h2 class="section-title mt-3">Investable helps you invest with total confidence.</h2>
                <p class="mt-4 text-lg leading-relaxed text-navy-600">
                    Investable is for people who want an actual investment strategy, not vague motivation.
                    Learn how to evaluate opportunities, compare products, read the numbers, and build a portfolio
                    that fits your goals and values.
                </p>
                <div class="mt-6 grid gap-3 sm:grid-cols-2">
                    @foreach (['Investment profiles and worksheets', 'Video lessons from anywhere', 'Portfolio thinking for MMFs, bonds, shares, and REITs', 'Practical next steps for cross-border investors'] as $point)
                        <div class="flex items-start gap-3 rounded-2xl bg-navy-50 p-4">
                            <span class="mt-0.5 grid h-6 w-6 shrink-0 place-items-center rounded-full bg-wise-100 text-wise-700"><x-icon name="check" class="h-3.5 w-3.5" /></span>
                            <span class="text-sm font-semibold leading-snug text-navy-700">{{ $point }}</span>
                        </div>
                    @endforeach
                </div>
                <a href="{{ route('learn.show', 'investable') }}" class="btn-accent mt-7">See the curriculum <x-icon name="arrow-right" class="h-5 w-5" /></a>
            </div>
        </div>
    </section>

    <section class="section bg-navy-50/50">
        <div class="container-site">
            <div class="grid gap-6 lg:grid-cols-3" data-gsap-stagger>
                <div class="card-glow p-8 lg:col-span-2">
                    <p class="eyebrow">Coming soon</p>
                    <h2 class="mt-3 font-display text-2xl font-bold text-navy-900">Diaspora ROI calculator</h2>
                    <p class="mt-3 leading-relaxed text-navy-600">
                        A dedicated tool for comparing cross-border investment scenarios, remittance habits,
                        income yield, and long-term growth. This is marked coming soon until the calculations are finalized.
                    </p>
                </div>
                <div class="card-glow p-8">
                    <span class="icon-tile h-14 w-14"><x-icon name="video" class="h-6 w-6" /></span>
                    <h3 class="mt-4 font-display text-lg font-bold text-navy-900">Video guidance</h3>
                    <p class="mt-2 leading-relaxed text-navy-600">
                        Short videos should address trust, scams, relatives managing money, and how to verify investment routes.
                    </p>
                </div>
            </div>
        </div>
    </section>

    <section class="relative overflow-hidden bg-navy-900 bg-mesh-dark">
        <div class="container-site section relative text-center" data-gsap="zoom">
            <h2 class="mx-auto max-w-2xl font-display text-display-sm font-bold text-white">
                Build at home. Sleep well abroad.
            </h2>
            <p class="mx-auto mt-3 max-w-xl text-lg text-navy-200">
                Start with learning, then use a consultation to clarify the path that fits your goals.
            </p>
            <div class="mt-8 flex flex-wrap justify-center gap-3">
                <a href="{{ route('learn.show', 'investable') }}" class="btn-accent btn-lg">Explore Investable</a>
                <a href="{{ route('consultation') }}" class="btn-white btn-lg">Book a consultation</a>
            </div>
        </div>
    </section>
</x-layouts.site>
