@extends('layouts.app') @php $lang = app()->getLocale(); $isAr = $lang === 'ar'; @endphp @section('title', ($isAr ? ($product['tagline_ar']??'') : ($product['tagline_en']??'')) . ' — ' . $product['name']) @section('description', $isAr ? ($product['desc_ar']??'') : ($product['desc_en']??'')) @section('schema') @endsection @section('content') {{-- Hero --}}
{{ $product['category'] }} @if(isset($product['version'])) v{{ $product['version'] }} @endif

{{ $product['name'] }}

{{ $isAr?($product['tagline_ar']??''):($product['tagline_en']??'') }}

{{ $isAr?($product['desc_ar']??''):($product['desc_en']??'') }}

@if(isset($product['wp_requires'])) WordPress {{ $product['wp_requires'] }}+ @endif @if(isset($product['php_requires'])) PHP {{ $product['php_requires'] }}+ @endif @if(isset($product['version'])) v{{ $product['version'] }} @endif
{{ $product['icon'] }}
{{-- Features --}}

{{ $isAr?'المميزات':'Features' }}

@foreach($isAr?($product['features_ar']??[]):($product['features_en']??[]) as $f)
{{ $f['icon'] }}

{{ $f['title'] }}

{{ $f['desc'] }}

@endforeach
{{-- Pricing (for ms-seo-pro) --}} @if(!empty($plans))

{{ $isAr?'الأسعار':'Pricing' }}

{{ $isAr?'ابدأ مجاناً وترقّ متى تريد':'Start free, upgrade anytime' }}

@foreach($plans as $plan)
@if($plan['id']==='yearly') @endif
{{ $plan['name'] }}
${{ number_format($plan['price'],0) }} /{{ $plan['days']==0?($isAr?'للأبد':'forever'):($plan['days']<=30?($isAr?'شهر':'mo'):($plan['days']<=90?($isAr?'3 أشهر':'3mo'):($isAr?'سنة':'yr'))) }}
  • ✅ {{ $isAr?'كل ميزات '.($plan['id']==='free'?'الأساسية':'Premium'):'All '.($plan['id']==='free'?'Basic':'Premium').' features' }}
  • ✅ {{ $plan['sites'] }} {{ $isAr?'موقع':'site(s)' }}
  • @if($plan['id']!=='free')
  • ✅ {{ $isAr?'دعم أولوية':'Priority Support' }}
  • @endif
{{ $plan['price']>0?($isAr?'اشترك الآن':'Subscribe Now'):($isAr?'تحميل مجاني':'Download Free') }}
@endforeach
@else {{-- Single product CTA --}}

{{ $isAr?'جاهز للبدء؟':'Ready to Get Started?' }}

@if(isset($product['starting']) && $product['starting'] > 0)

{{ $isAr?'السعر يبدأ من $'.$product['starting'].' فقط':'Starting from just $'.$product['starting'] }}

{{ $isAr?'اشترك الآن ←':'Subscribe Now →' }} @else {{ $isAr?'⬇️ تحميل مجاني':'⬇️ Free Download' }} @endif
@endif {{-- FAQ --}} @php $faqs = $isAr?($product['faqs_ar']??[]):($product['faqs_en']??[]); @endphp @if(!empty($faqs))

{{ $isAr?'أسئلة شائعة':'FAQ' }}

@foreach($faqs as $i=>$faq)
{{ $faq['q'] }}
{{ $faq['a'] }}
@endforeach
{{-- FAQ Schema --}} @endif @endsection