@php $isRtl = in_array(app()->getLocale(), ['ar', 'he', 'fa', 'ur']); $generalSettings = \App\Models\Central\GeneralSetting::instance(); $appName = $generalSettings->app_name ?: 'Stocky'; $logoUrl = $generalSettings->getLogoUrl(); @endphp @if($seo) {{ $seo->meta_title ?? $appName }} @if($seo->meta_keywords) @endif @if($seo->og_image) @endif @if($seo->favicon) @endif @else {{ $appName }} @endif @php $l3HeroVisible = $hero && ($hero->is_active ?? true); $l3CtaVisible = $cta && ($cta->is_active ?? true); $l3Faqs = isset($faqs) ? $faqs->filter(fn ($f) => ($f->is_active ?? true)) : collect(); $l3FaqsVisible = $l3Faqs->isNotEmpty(); $l3TestimonialsActive = isset($testimonials) ? $testimonials->filter(fn ($t) => ($t->is_active ?? true)) : collect(); $l3TestimonialsVisible = $l3TestimonialsActive->isNotEmpty(); $l3FeatureItems = ($features['items'] ?? collect()); $l3PlatformVisible = !empty($features['is_active']) && ($l3FeatureItems->isNotEmpty() || ($features['section'] ?? null)); @endphp
@if($logoUrl) @else @endif {{ $appName }}
@if(isset($languages) && $languages->count() > 1) @endif @if($footer && ($footer->show_admin_login ?? false)) @endif
@if($l3HeroVisible) {{-- Hero (CMS: Hero section — respects is_active, background_image, hero_image) --}}
background_image) style="background-image:url('{{ asset($hero->background_image) }}');background-size:cover;background-position:center" @endif> @if($hero->background_image) @endif
@if($hero && $hero->subtitle)
{{ $hero->subtitle }}
@else
{{ $appName }} — {{ __('landing.start_free_trial') }}
@endif

@if($hero && $hero->title) {!! $hero->title !!} @else {{ __('landing.launch_title') }} {{ $appName }} @endif

@if($hero && $hero->description)

{{ $hero->description }}

@else

{{ __('landing.launch_desc') }}

@endif
@if($hero && $hero->primary_button_text) {{ $hero->primary_button_text }} @else {{ __('landing.start_free_trial') }} @endif @if($hero && $hero->secondary_button_text) {{ $hero->secondary_button_text }} @else View demo @endif
@if(session('success') && session('tenant_url'))
{{ session('message') }}
{{ session('tenant_url') }}
@endif
@if($hero && $hero->hero_image)
hero_image) }}” alt=”{{ strip_tags($hero->title ?? $appName) }}” class=”w-full h-auto block” decoding=”async”>
@endif
@else @endif @if(isset($stats) && $stats->isNotEmpty())

{{ __('landing.trust_bar_eyebrow') }}

@foreach($stats as $stat)
{{ $stat->value }} {{ $stat->label }}
@endforeach
@endif @if(!empty($features['is_active']) && $features['items']->isNotEmpty())
@if($features['section'])

{{ $features['section']->section_title }}

{{ $features['section']->section_subtitle }}

@else

{{ __('landing.features') }}

@endif
@foreach($features['items'] as $i => $feature)
@if($feature->image) @elseif($feature->icon) @else @endif

{{ $feature->title }}

@if($feature->description)

{{ $feature->description }}

@endif
@endforeach
@endif @if($l3PlatformVisible) @php $pf0 = $l3FeatureItems->get(0); $pf1 = $l3FeatureItems->get(1); $pf2 = $l3FeatureItems->get(2); $pf3 = $l3FeatureItems->get(3); @endphp

{{ optional($features['section'])->section_title ?? __('landing.launch_title') }}

{{ optional($features['section'])->section_subtitle ?? __('landing.launch_desc') }}

{{ $pf0?->title ?? __('landing.feat_warehouse') }}

{{ $pf0?->description ?? __('landing.hiw_data_desc') }}

{{ __('landing.unlimited') }} (NYC)

{{ $pf1?->title ?? __('landing.feat_pos') }}

{{ $pf1?->description ?? __('landing.feat_ready') }}

Total {{ $currencySymbol }}142.50
@for($n = 1; $n <= 6; $n++)
{{ $n }}
@endfor
{{ __('landing.get_started') }}

{{ $pf2?->title ?? __('landing.stat_analytics') }}

{{ $pf2?->description ?? __('landing.testimonials_subtitle') }}

@forelse(isset($stats) && $stats->isNotEmpty() ? $stats->take(3) : collect() as $st)
{{ $st->label }}
{{ $st->value }}
@empty
{{ __('landing.stat_secure') }}
42.8%
{{ __('landing.yearly') }}
12 {{ __('landing.mo') }}
{{ __('landing.save') }}
1.2%
@endforelse

{{ $pf3?->title ?? __('landing.create_workspace') }}

{{ $pf3?->description ?? __('landing.reg_subtitle') }}

{{ __('landing.sign_up') }}
@endif @if(!empty($pricing['is_active'])) @php $l3Plans = $pricing['plans'] ?? collect(); $pricingHasYearly = $l3Plans->isNotEmpty() && $l3Plans->contains(fn ($p) => ($p->yearly_price ?? 0) > 0); @endphp
@if($pricing['settings'])

{{ $pricing['settings']->section_title }}

{{ $pricing['settings']->section_subtitle }}

@else

{{ __('landing.pricing') }}

{{ __('landing.how_it_works_subtitle') }}

@endif @if($pricingHasYearly)
@endif
@if($l3Plans->isNotEmpty())
@foreach($l3Plans as $i => $plan) @php $featured = $l3Plans->count() >= 2 && $i === 1; $limits = $plan->limits ?? []; $planFeatures = $plan->features ?? []; @endphp
@if($featured)
{{ __('landing.most_popular') }}
@endif

{{ $plan->name }}

@if($plan->price == 0) {{ __('landing.perfect_to_start') }} @else {{ __('landing.for_growing_teams') }} @endif

@if($plan->price == 0 && $plan->yearly_price == 0) {{ __('landing.free') }} @else {{ $currencySymbol }}{{ $plan->price == floor($plan->price) ? number_format($plan->price, 0) : number_format($plan->price, 2) }} / {{ __('landing.mo') }} @endif
@if($plan->yearly_price > 0) @endif {{ $plan->isFree() ? __('landing.get_started') : ($plan->hasTrial() ? __('landing.start_free_trial') : __('landing.choose_plan')) }}
    @foreach($limits as $key => $value) @php $meta = \App\Models\Central\Plan::AVAILABLE_LIMITS[$key] ?? null; @endphp @if($meta)
  • {{ $value == -1 ? __('landing.unlimited') : $value }} {{ $meta['label'] }}
  • @endif @endforeach @foreach($planFeatures as $fKey) @php $fMeta = \App\Models\Central\Plan::AVAILABLE_FEATURES[$fKey] ?? null; @endphp @if($fMeta)
  • {{ $fMeta['label'] }}
  • @endif @endforeach
@endforeach
@endif
@endif @if(!empty($howItWorks['is_active']))

{{ optional($howItWorks['section'])->section_label ?? __('landing.how_it_works') }}

{{ optional($howItWorks['section'])->section_title ?? __('landing.how_it_works_title') }}

{{ optional($howItWorks['section'])->section_subtitle ?? __('landing.how_it_works_subtitle') }}

@forelse($howItWorks['steps'] as $i => $step)
@if($step->icon ?? null) @endif {{ $i + 1 }}

{{ $step->title }}

{{ $step->description }}

@empty @foreach([ ['t' => __('landing.hiw_features_title'), 'd' => __('landing.hiw_features_desc')], ['t' => __('landing.hiw_pricing_title'), 'd' => __('landing.hiw_pricing_desc')], ['t' => __('landing.hiw_data_title'), 'd' => __('landing.hiw_data_desc')], ] as $j => $row)
{{ $j + 1 }}

{{ $row['t'] }}

{{ $row['d'] }}

@endforeach @endforelse
@endif @if($l3TestimonialsVisible)

{{ __('landing.testimonials') }}

{{ __('landing.loved_by_businesses') }}

{{ __('landing.testimonials_subtitle') }}

@foreach($l3TestimonialsActive as $testimonial)
@if($testimonial->rating)
@for($s = 1; $s <= 5; $s++) @endfor
@endif

“{{ $testimonial->review }}”

@if($testimonial->avatar) @else {{ strtoupper(mb_substr($testimonial->client_name, 0, 1)) }} @endif

{{ $testimonial->client_name }}

@if($testimonial->company_name)

{{ $testimonial->company_name }}

@endif
@endforeach
@endif @if($l3FaqsVisible)

{{ __('landing.faq') }}

{{ __('landing.faq_title') }}

{{ __('landing.faq_subtitle') }}

@foreach($l3Faqs as $faq)
{{ $faq->question }}
{!! nl2br(e($faq->answer)) !!}
@endforeach
@endif @if($l3CtaVisible)
background_image) style="background-image:url('{{ asset($cta->background_image) }}')" @endif>

{{ $cta->title }}

@if($cta->subtitle)

{{ $cta->subtitle }}

@endif
@endif

{{ __('landing.cookie_banner_title') }}

{{ __('landing.cookie_banner_text') }} {{ __('landing.privacy_policy') }}