{% extends "base.html" %}

{% block title %}{{ solution_title }} Solutions - Gobii{% endblock %}

{% block content %}
<div class="relative bg-white overflow-hidden">
    <div class="max-w-7xl mx-auto">
        <div class="relative z-10 pb-8 bg-white sm:pb-16 md:pb-20 lg:max-w-2xl lg:w-full lg:pb-28 xl:pb-32">
            <svg class="hidden lg:block absolute right-0 inset-y-0 h-full w-48 text-white transform translate-x-1/2" fill="currentColor" viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true">
                <polygon points="50,0 100,0 50,100 0,100" />
            </svg>

            <main class="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28">
                <div class="sm:text-center lg:text-left">
                    <h1 class="text-4xl tracking-tight font-light text-gray-900 sm:text-5xl md:text-6xl">
                        <span class="block xl:inline">{{ solution_title }}</span>
                        <span class="block text-blue-600 xl:inline">Solutions</span>
                    </h1>
                    <p class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
                        {{ solution_tagline }}
                    </p>
                    <p class="mt-2 text-sm text-gray-500 sm:mt-4 sm:text-base sm:max-w-xl sm:mx-auto md:mt-4 md:text-lg lg:mx-0">
                        {{ solution_description }}
                    </p>
                    <div class="mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start">
                        <div class="rounded-md shadow">
                            <form
                                method="post"
                                action="{% url 'pages:home_agent_spawn' %}"
                                data-analytics-cta-id="solutions_generic_hero_get_started"
                                data-analytics-placement="hero"
                                data-analytics-intent="spawn_agent"
                            >
                                {% csrf_token %}
                                <input type="hidden" name="charter" value="">
                                <input type="hidden" name="source_page" value="solutions_generic_hero">
                                {% if settings.GOBII_PROPRIETARY_MODE %}
                                <input type="hidden" name="trial_onboarding" value="1">
                                <input type="hidden" name="trial_onboarding_target" value="agent_ui">
                                {% endif %}
                                <button
                                    type="submit"
                                    class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 md:py-4 md:text-lg md:px-10"
                                >
                                    Get started
                                </button>
                            </form>
                        </div>
                        {% if settings.GOBII_PROPRIETARY_MODE %}
                        <div class="mt-3 sm:mt-0 sm:ml-3">
                            <a
                                href="{% url 'proprietary:pricing' %}"
                                class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-blue-700 bg-blue-100 hover:bg-blue-200 md:py-4 md:text-lg md:px-10"
                                data-analytics-cta-id="solutions_generic_hero_view_pricing"
                                data-analytics-placement="hero"
                                data-analytics-intent="view_pricing"
                            >
                                View pricing
                            </a>
                        </div>
                        {% endif %}
                    </div>
                </div>
            </main>
        </div>
    </div>
    <div class="lg:absolute lg:inset-y-0 lg:right-0 lg:w-1/2">
        <div class="h-56 w-full object-cover sm:h-72 md:h-96 lg:w-full lg:h-full bg-slate-100 flex items-center justify-center">
             <!-- Placeholder for vertical specific image -->
             <div class="text-slate-400 text-center p-8">
                <i data-lucide="layers" class="w-24 h-24 mx-auto mb-4 opacity-50"></i>
                <span class="text-lg font-light block">Visuals for {{ solution_title }}</span>
             </div>
        </div>
    </div>
</div>
{% endblock %}
