@extends('layouts.app')
@section('title', 'Solutions — MUVR Labs')
@section('content')

<section class="page-hero-light py-5 px-4 px-lg-5">
    <div class="container-fluid">
        <div class="ph-eyebrow mb-1" style="font-size:.7rem;letter-spacing:2px;text-transform:uppercase;font-weight:700;color:var(--brand-primary)">Capabilities</div>
        <h1 class="fw-800 mb-2" style="font-size:1.6rem;color:var(--brand-dark)">Solutions</h1>
        <p class="sec-intro" style="max-width:500px">Custom engineering and development capabilities tailored to demanding technical requirements.</p>
    </div>
</section>

<section class="py-5 px-4 px-lg-5">
    <div class="container-fluid">
        <p class="sec-intro mb-4" style="max-width:580px">Beyond our flagship products, we undertake custom engineering and development work tailored to specific performance, testing, and product realization requirements.</p>
        @foreach($solutions as $solution)
        <div class="d-flex gap-4 p-4 mb-3 rounded-3 align-items-start" style="background:#fff;border:1px solid var(--border-light)">
            <div class="sol-icon-wrap flex-shrink-0" style="width:52px;height:52px">{!! $solution->icon_svg !!}</div>
            <div class="flex-grow-1">
                <h4 class="fw-800 mb-2" style="font-size:1rem;color:var(--brand-dark)">{{ $solution->title }}</h4>
                <p class="mb-3" style="font-size:.83rem;color:#64748b;line-height:1.6">{{ $solution->short_description }}</p>
                <a href="{{ route('solution.show', $solution->slug) }}" class="text-brand fw-600 text-decoration-none" style="font-size:.82rem">Discuss Requirement →</a>
            </div>
        </div>
        @endforeach
    </div>
</section>

<section class="bg-alt py-4 px-4 px-lg-5">
    <div class="container-fluid">
        <div class="sec-label mb-3">Engagement Process</div>
        <div class="row g-0 text-center p-4 rounded-3" style="background:#eff6ff">
            @foreach($steps as $step)
            <div class="col position-relative">
                @if(!$loop->last)<div class="step-connector"></div>@endif
                <div class="step-num">{{ $step->step_number }}</div>
                <div class="fw-700" style="font-size:.8rem;color:var(--brand-dark)">{{ $step->title }}</div>
            </div>
            @endforeach
        </div>
    </div>
</section>

<section class="final-cta py-5 text-center">
    <div class="container">
        <h3 class="text-white fw-800 mb-2" style="font-size:1.1rem">Have a custom requirement? Let's discuss your project.</h3>
        <p class="text-secondary mb-4" style="font-size:.82rem">Our team is ready to understand your technical challenge and propose an engineered solution.</p>
        <div class="d-flex gap-3 justify-content-center flex-wrap">
            <a href="{{ route('contact') }}" class="btn btn-brand px-4">Discuss Requirement</a>
            <a href="{{ route('contact') }}" class="btn btn-outline-light-custom px-4">Contact Us</a>
        </div>
    </div>
</section>
@endsection
