{{-- KPI Stats Grid --}} {{-- Playbooks --}}
@foreach($playbooks as $playbook)
{{-- Gradient Header --}}
{{-- Animated dots --}} @if($playbook['status'] === 'active')
@endif
@if($playbook['status'] === 'active') {{ __('Active') }} @elseif($playbook['status'] === 'completed') {{ __('Completed') }} @else {{ __('Pending') }} @endif 🧠 {{ $playbook['confidence'] }}% {{ __('Confidence') }}

{{ $playbook['name'] }}

{{ $playbook['description'] }}

{{ $playbook['target_count'] }}

{{ __('targets') }}

{{-- Playbook Steps --}}

{{ __('Workflow Steps') }}

@foreach($playbook['steps'] as $stepIndex => $step)
{{-- Step Number --}}
{{ $stepIndex + 1 }}
{{-- Step Icon --}} {{ $step['icon'] }} {{-- Step Label --}}

{{ $step['label'] }}

{{-- Step Status --}} @if($step['status'] === 'ready') @else {{ __('Pending') }} @endif
{{-- Connector line --}} @if($stepIndex < count($playbook['steps']) - 1)
@endif @endforeach
{{-- Impact & ROI --}}

{{ __('Estimated Impact') }}

{{ $playbook['estimated_impact'] }}

{{ __('ROI') }}

{{ $playbook['roi'] }}
@if($playbook['status'] === 'active') @endif
@endforeach @if(count($playbooks) === 0) @endif
@push('scripts') @endpush