<x-layouts.site>
    <x-slot:title>Books</x-slot:title>
    <x-slot:description>Money-Wise: Create, Grow &amp; Preserve Wealth, the practical guide to investing and wealth for the African context. Plus Marriage Built to Last.</x-slot:description>

    <section class="relative overflow-hidden bg-mesh">
        <div class="container-site relative py-16 text-center md:py-20" data-hero>
            <p class="eyebrow justify-center" data-hero-item>The bookshelf</p>
            <h1 class="mt-3 font-display text-display-sm font-bold text-navy-900 md:text-display" data-hero-item>Wisdom you can hold</h1>
        </div>
    </section>

    <section class="section bg-white pt-0">
        <div class="container-site space-y-10">
            {{-- Money-Wise --}}
            <div class="card-glow grid gap-10 p-8 md:p-12 lg:grid-cols-[1fr,1.4fr]" data-gsap="fade-up">
                <div class="flex items-center justify-center">
                    <div class="relative" data-tilt="8">
                        <img src="{{ asset('images/book-cover.jpg') }}" alt="Money-Wise: Create, Grow & Preserve Wealth, book cover"
                             class="w-64 rounded-2xl shadow-brand-lg">
                        <span class="absolute -right-4 -top-4 flex items-center gap-1 rounded-full bg-wise-400 px-3 py-1.5 text-xs font-extrabold uppercase text-navy-950 shadow-wise">
                            <x-icon name="star" class="h-3.5 w-3.5" /> Bestseller
                        </span>
                    </div>
                </div>
                <div>
                    <h2 class="font-display text-3xl font-bold text-navy-900">Money-Wise: Create, Grow &amp; Preserve Wealth</h2>
                    <p class="mt-1 font-semibold text-navy-500">by Rina Karina Hicks</p>
                    <p class="mt-4 text-lg leading-relaxed text-navy-600">
                        More than a book, a personal guide to financial transformation. The what, why and how of
                        investing and wealth management, written for the African context: practical, relatable, and honest.
                    </p>
                    <ul class="mt-6 space-y-2.5">
                        @foreach ([
                            'A clear, practical framework to build wealth with purpose',
                            'The common mistakes that keep most people broke, and how to dodge them',
                            'Every investment option explained, from beginner to advanced',
                            'How to preserve assets, build legacy wealth and master the art of giving',
                        ] as $point)
                            <li class="flex items-start gap-2.5 text-navy-700">
                                <x-icon name="check-circle" class="mt-1 h-5 w-5 shrink-0 text-wise-500" />
                                {{ $point }}
                            </li>
                        @endforeach
                    </ul>
                    <blockquote class="mt-6 rounded-2xl bg-navy-50 p-5 text-sm italic leading-relaxed text-navy-700">
                        <x-icon name="quote" class="h-5 w-5 text-wise-400" />
                        <p class="mt-2">"It sees the individual as the source of wealth, wealth creation is both a consequence and a part of achieving our individual purpose."</p>
                        <footer class="mt-2 font-semibold not-italic text-navy-900">, James Mworia, CEO, Centum Investment Company</footer>
                    </blockquote>
                    <div class="mt-7">
                        <p class="text-sm font-bold uppercase tracking-widest text-navy-400">Get your copy</p>
                        <div class="mt-3 flex flex-wrap gap-2.5">
                            @foreach ([
                                ['label' => 'Amazon', 'href' => 'https://www.amazon.com/Money-Wise-Create-Grow-Preserve-Wealth/dp/9966093540'],
                                ['label' => 'Kindle', 'href' => 'https://www.amazon.com/Money-Wise-Create-Grow-Preserve-Wealth-ebook/dp/B01N5IPJ2W'],
                                ['label' => 'Nuria Kenya', 'href' => 'https://nuriakenya.com/product/money-wise-by-rina-hicks/'],
                                ['label' => 'Jumia', 'href' => 'https://www.jumia.co.ke/'],
                                ['label' => 'Text Book Centre', 'href' => 'https://textbookcentre.com/'],
                            ] as $store)
                                <a href="{{ $store['href'] }}" target="_blank" rel="noopener" class="btn-ghost btn-sm">
                                    {{ $store['label'] }} <x-icon name="arrow-right" class="h-3.5 w-3.5 -rotate-45" />
                                </a>
                            @endforeach
                        </div>
                    </div>
                </div>
            </div>

            {{-- Marriage Built to Last --}}
            <div class="card-glow grid gap-10 p-8 md:p-12 lg:grid-cols-[1.4fr,1fr]" data-gsap="fade-up">
                <div>
                    <h2 class="font-display text-3xl font-bold text-navy-900">Marriage Built to Last</h2>
                    <p class="mt-1 font-semibold text-navy-500">by Jennifer Karina</p>
                    <p class="mt-4 text-lg leading-relaxed text-navy-600">
                        Marriage is a journey that begins with a decision, but that decision belies the challenges that
                        wreck many relationships before they take shape. Drawing on 30+ years as wife, mother and counsellor,
                        Jennifer Karina tackles the real issues: communication, intimacy, infidelity, and yes, finances.
                    </p>
                    <p class="mt-3 leading-relaxed text-navy-600">
                        Because money fights are rarely about money. A perfect companion read for couples building wealth together.
                    </p>
                    <div class="mt-7 flex flex-wrap gap-2.5">
                        <a href="https://rafubooks.com/" target="_blank" rel="noopener" class="btn-ghost btn-sm">Rafu Books <x-icon name="arrow-right" class="h-3.5 w-3.5 -rotate-45" /></a>
                        <a href="https://www.amazon.com/" target="_blank" rel="noopener" class="btn-ghost btn-sm">Kindle <x-icon name="arrow-right" class="h-3.5 w-3.5 -rotate-45" /></a>
                    </div>
                </div>
                <div class="flex items-center justify-center">
                    <div class="relative" data-tilt="8">
                        <img src="{{ asset('images/marriage-cover.jpg') }}" alt="Marriage Built to Last: After the Promise, book cover"
                             class="w-56 -rotate-2 rounded-2xl shadow-brand-lg transition-transform duration-500 hover:rotate-0">
                    </div>
                </div>
            </div>

            {{-- Bridge --}}
            <div class="relative overflow-hidden rounded-brand bg-navy-900 bg-mesh-dark p-10 text-center" data-gsap="zoom">
                <h2 class="font-display text-xl font-bold text-white">Read the book? Make it real.</h2>
                <p class="mx-auto mt-2 max-w-xl text-navy-200">The Investable course turns the book's principles into your personal investment plan.</p>
                <a href="{{ route('learn') }}" class="btn-accent mt-6">Explore the course <x-icon name="arrow-right" class="h-4 w-4" /></a>
            </div>
        </div>
    </section>
</x-layouts.site>
