@extends('frontend.layout') @php $siteName = \App\Models\SystemSetting::get('site_name', config('app.name', 'MailTrixy')); $hero = array_merge([ 'badge' => __('AI customer communication platform'), 'title_line1' => $siteName, 'title_highlight' => __('AI-powered'), 'title_line2' => __('automation'), 'subtitle' => __('Manage conversations, campaigns, CRM, and workflows from one fast AI workspace.'), 'cta_text' => __('Get Started Free'), 'cta_url' => '/register', 'cta2_text' => __('See Features'), 'cta2_url' => '#features', ], is_array($hero ?? null) ? $hero : []); $featureItems = $features['items'] ?? []; if (! is_array($featureItems) || count($featureItems) === 0) { $featureItems = [ ['title' => __('Unified Inbox'), 'desc' => __('Email, WhatsApp, SMS, Slack, and Telegram in one place.')], ['title' => __('AI-Powered Replies'), 'desc' => __('Context-aware reply drafts trained on your knowledge base.')], ['title' => __('Email Campaigns'), 'desc' => __('Campaign builder, A/B testing, and drip sequences.')], ['title' => __('CRM & Deals'), 'desc' => __('Track contacts, pipelines, and lead activity.')], ['title' => __('Workflow Automation'), 'desc' => __('No-code triggers, routing, and follow-up automation.')], ['title' => __('Analytics Dashboard'), 'desc' => __('Measure opens, clicks, replies, and conversion health.')], ]; } $testimonialItems = $testimonials['items'] ?? []; if (! is_array($testimonialItems) || count($testimonialItems) === 0) { $testimonialItems = [ ['quote' => __('MailTrixy cut our support response time and gave every agent a clear next action.'), 'name' => 'Marcus Rivera', 'role' => __('CEO'), 'company' => 'GrowthStack'], ['quote' => __('The campaign workflow view is fast, readable, and easy for the team to operate every day.'), 'name' => 'Emily Watson', 'role' => __('Marketing Director'), 'company' => 'Vertex Labs'], ['quote' => __('Clean inbox automation, practical AI replies, and the integrations we needed from day one.'), 'name' => 'Raj Patel', 'role' => __('Lead Engineer'), 'company' => 'CloudNine'], ]; } $faqItems = $faq['items'] ?? []; if (! is_array($faqItems)) { $faqItems = []; } $cta = array_merge([ 'badge' => __('Ready to automate'), 'title' => __('Ready to automate your workflow?'), 'subtitle' => __('Join teams using AI-powered automation to reply faster and grow revenue.'), 'cta_text' => __('Get Started Free'), 'cta_url' => '/register', ], is_array($cta ?? null) ? $cta : []); $plans = [ [ 'name' => __('Free'), 'monthly' => 0, 'yearly' => 0, 'desc' => __('For individuals getting started'), 'popular' => false, 'cta' => __('Start Free'), 'features' => [__('500 emails/month'), __('1 user'), __('1 channel (Email)'), __('Basic templates'), __('Community support')], 'disabled' => [__('AI replies'), __('Workflow automation'), __('A/B testing'), __('API access')], ], [ 'name' => __('Starter'), 'monthly' => 29, 'yearly' => 23, 'desc' => __('For small teams scaling up'), 'popular' => false, 'cta' => __('Get Started'), 'features' => [__('5,000 emails/month'), __('3 users'), __('3 channels'), __('AI reply suggestions'), __('Basic workflows'), __('Email support')], 'disabled' => [__('A/B testing'), __('Custom integrations'), __('Dedicated IP')], ], [ 'name' => __('Pro'), 'monthly' => 99, 'yearly' => 79, 'desc' => __('For growing businesses'), 'popular' => true, 'cta' => __('Get Started'), 'features' => [__('50,000 emails/month'), __('10 users'), __('All channels'), __('AI smart replies & training'), __('Advanced workflows'), __('A/B testing'), __('Campaign analytics'), __('Priority support')], 'disabled' => [__('Custom integrations'), __('Dedicated IP')], ], [ 'name' => __('Enterprise'), 'monthly' => 199, 'yearly' => 159, 'desc' => __('For large organizations'), 'popular' => false, 'cta' => __('Contact Sales'), 'features' => [__('Unlimited emails'), __('Unlimited users'), __('All channels'), __('Custom AI training'), __('Advanced workflows'), __('A/B testing'), __('Custom integrations'), __('Dedicated IP pool'), __('API access (100K/day)'), __('Dedicated account manager')], 'disabled' => [], ], ]; $showcaseTabs = [ 'inbox' => ['label' => __('Inbox'), 'title' => __('Priority inbox'), 'desc' => __('Every channel, every owner, every AI suggestion in one view.')], 'ai' => ['label' => __('AI'), 'title' => __('Reply assistant'), 'desc' => __('Knowledge-backed drafts with confidence, tone, and next action.')], 'campaigns' => ['label' => __('Campaigns'), 'title' => __('Campaign studio'), 'desc' => __('A/B testing, drip steps, scheduling, and live performance.')], 'crm' => ['label' => __('CRM'), 'title' => __('Pipeline control'), 'desc' => __('Contacts, deals, tasks, tags, and revenue reporting together.')], ]; $capabilities = [ ['group' => 'comm', 'title' => __('Unified Inbox'), 'desc' => __('All customer channels in one team queue.'), 'tag' => __('6 channels'), 'class' => 'bg-brand/10 text-brand border-brand/20'], ['group' => 'ai', 'title' => __('AI Smart Replies'), 'desc' => __('Drafts trained on your business context.'), 'tag' => __('AI'), 'class' => 'bg-success/10 text-success border-success/20'], ['group' => 'sales', 'title' => __('Contact CRM'), 'desc' => __('Profiles, tags, custom fields, and segments.'), 'tag' => __('CRM'), 'class' => 'bg-info/10 text-info border-info/20'], ['group' => 'sales', 'title' => __('Deals Pipeline'), 'desc' => __('Kanban stages, values, notes, and win tracking.'), 'tag' => __('Sales'), 'class' => 'bg-warning/10 text-warning border-warning/20'], ['group' => 'comm', 'title' => __('Email Campaigns'), 'desc' => __('Builder, scheduling, opens, clicks, and reports.'), 'tag' => __('Campaign'), 'class' => 'bg-brand/10 text-brand border-brand/20'], ['group' => 'ai', 'title' => __('Workflow Builder'), 'desc' => __('Triggers, branches, delays, and webhook actions.'), 'tag' => __('No code'), 'class' => 'bg-success/10 text-success border-success/20'], ['group' => 'ai', 'title' => __('Knowledge Base'), 'desc' => __('Docs, websites, files, and searchable AI context.'), 'tag' => __('RAG'), 'class' => 'bg-info/10 text-info border-info/20'], ['group' => 'sales', 'title' => __('Analytics'), 'desc' => __('Conversation, campaign, AI, and team metrics.'), 'tag' => __('Live'), 'class' => 'bg-warning/10 text-warning border-warning/20'], ['group' => 'admin', 'title' => __('Team Roles'), 'desc' => __('Owners, admins, agents, viewers, and invites.'), 'tag' => __('Access'), 'class' => 'bg-brand/10 text-brand border-brand/20'], ['group' => 'comm', 'title' => __('Live Chat Widget'), 'desc' => __('Embeddable website chat with real-time messages.'), 'tag' => __('Widget'), 'class' => 'bg-success/10 text-success border-success/20'], ['group' => 'admin', 'title' => __('Temp Mail'), 'desc' => __('Disposable addresses for testing and privacy.'), 'tag' => __('Privacy'), 'class' => 'bg-info/10 text-info border-info/20'], ['group' => 'admin', 'title' => __('Security Controls'), 'desc' => __('2FA, IP blocks, rate limits, and audit logs.'), 'tag' => __('Secure'), 'class' => 'bg-warning/10 text-warning border-warning/20'], ['group' => 'admin', 'title' => __('Payments'), 'desc' => __('Subscriptions, trials, coupons, and gateways.'), 'tag' => __('Billing'), 'class' => 'bg-brand/10 text-brand border-brand/20'], ['group' => 'admin', 'title' => __('API and Webhooks'), 'desc' => __('Token access, scopes, logs, and integrations.'), 'tag' => __('API'), 'class' => 'bg-success/10 text-success border-success/20'], ['group' => 'admin', 'title' => __('Multi Language'), 'desc' => __('Language switcher, RTL support, and currencies.'), 'tag' => __('i18n'), 'class' => 'bg-info/10 text-info border-info/20'], ['group' => 'comm', 'title' => __('Templates'), 'desc' => __('Reusable replies, signatures, and email layouts.'), 'tag' => __('Reusable'), 'class' => 'bg-warning/10 text-warning border-warning/20'], ]; $detailSections = [ [ 'badge' => __('Omnichannel'), 'title' => __('Unified Inbox for Every Channel'), 'desc' => __('Manage emails, WhatsApp, SMS, Telegram, Slack, and live chat from one beautiful inbox. AI drafts replies automatically so your team responds faster.'), 'bullets' => [__('Multi-channel in one view'), __('AI-drafted replies'), __('Smart routing & assignment')], 'tone' => 'bg-brand/10 text-brand border-brand/20', 'rows' => [ ['name' => 'Alex Kim', 'meta' => __('Email'), 'text' => __('Can we schedule a demo for our team?'), 'badge' => __('AI Draft Ready'), 'color' => 'bg-brand'], ['name' => 'Priya Patel', 'meta' => __('WhatsApp'), 'text' => __('Thanks! The integration is working perfectly.'), 'badge' => '', 'color' => 'bg-success'], ['name' => 'Tom Anderson', 'meta' => __('SMS'), 'text' => __('Please send the pricing PDF.'), 'badge' => __('AI Draft Ready'), 'color' => 'bg-warning'], ['name' => 'Emily Davis', 'meta' => __('Telegram'), 'text' => __('Hey, what are your support hours?'), 'badge' => '', 'color' => 'bg-info'], ], ], [ 'badge' => __('AI-Powered'), 'title' => __('AI-Powered Smart Replies'), 'desc' => __('Train AI with your knowledge base. Get context-aware reply suggestions with sentiment analysis and confidence scoring. Your AI gets smarter with every conversation.'), 'bullets' => [__('Sentiment analysis & scoring'), __('Knowledge base training'), __('One-click send or edit')], 'tone' => 'bg-success/10 text-success border-success/20', 'rows' => [ ['name' => __('Incoming question'), 'meta' => __('Positive'), 'text' => __("We're interested in Enterprise. Can you share API limits?"), 'badge' => __('94% confidence'), 'color' => 'bg-success'], ['name' => __('Matched source'), 'meta' => __('Knowledge Base'), 'text' => __('Enterprise API allows custom webhooks and high daily limits.'), 'badge' => __('Verified'), 'color' => 'bg-brand'], ['name' => __('Suggested reply'), 'meta' => __('Ready'), 'text' => __('Hi John, here are the Enterprise API and integration details...'), 'badge' => __('Send'), 'color' => 'bg-warning'], ], ], [ 'badge' => __('Campaigns'), 'title' => __('Campaign Builder with A/B Testing'), 'desc' => __('Create email campaigns with a clean builder. Run A/B tests, drip sequences, and track opens, clicks, replies, and conversions in real time.'), 'bullets' => [__('Drag-and-drop editor'), __('A/B testing & drip sequences'), __('Real-time analytics dashboard')], 'tone' => 'bg-warning/10 text-warning border-warning/20', 'rows' => [ ['name' => __('Variant A'), 'meta' => __('Open Rate'), 'text' => __('Winning subject line for launch campaign'), 'badge' => '68%', 'color' => 'bg-success'], ['name' => __('Variant B'), 'meta' => __('Open Rate'), 'text' => __('Alternative product-focused subject line'), 'badge' => '52%', 'color' => 'bg-brand'], ['name' => __('Drip step'), 'meta' => __('Day 3'), 'text' => __('Follow-up sequence continues for warm leads'), 'badge' => __('Active'), 'color' => 'bg-warning'], ], ], [ 'badge' => __('Automation'), 'title' => __('Visual Workflow Automation'), 'desc' => __('Build no-code automations for routing, tagging, replies, follow-ups, alerts, webhooks, and CRM actions without leaving the workspace.'), 'bullets' => [__('Triggers, delays & conditions'), __('Auto-assign owners'), __('Webhooks and CRM actions')], 'tone' => 'bg-info/10 text-info border-info/20', 'rows' => [ ['name' => __('Trigger'), 'meta' => __('New lead'), 'text' => __('When a new contact submits a demo request'), 'badge' => __('Start'), 'color' => 'bg-info'], ['name' => __('Condition'), 'meta' => __('Lead score'), 'text' => __('If score is higher than 80, route to sales'), 'badge' => __('If/Else'), 'color' => 'bg-warning'], ['name' => __('Action'), 'meta' => __('Follow-up'), 'text' => __('Send reply, assign owner, create deal'), 'badge' => __('Done'), 'color' => 'bg-success'], ], ], [ 'badge' => __('CRM & Sales'), 'title' => __('Contact CRM and Deal Pipeline'), 'desc' => __('Keep customer profiles, tags, segments, deal values, stages, notes, and follow-up work connected to every conversation.'), 'bullets' => [__('Lead profiles and tags'), __('Visual deal stages'), __('Revenue and close tracking')], 'tone' => 'bg-danger/10 text-danger border-danger/20', 'rows' => [ ['name' => __('Qualified'), 'meta' => __('12 deals'), 'text' => __('New opportunities ready for outreach'), 'badge' => '$34K', 'color' => 'bg-brand'], ['name' => __('Proposal'), 'meta' => __('8 deals'), 'text' => __('Pricing and contract discussions'), 'badge' => '$52K', 'color' => 'bg-warning'], ['name' => __('Won'), 'meta' => __('3 deals'), 'text' => __('Closed revenue this month'), 'badge' => '$18K', 'color' => 'bg-success'], ], ], [ 'badge' => __('Analytics'), 'title' => __('Analytics, Reporting, and Team Control'), 'desc' => __('Track conversation speed, campaign performance, AI confidence, agent workload, and revenue movement from one reporting layer.'), 'bullets' => [__('Conversation analytics'), __('Campaign and AI reports'), __('Team productivity metrics')], 'tone' => 'bg-secondary-500/10 text-secondary-600 border-secondary-500/20', 'rows' => [ ['name' => __('Conversations'), 'meta' => __('This week'), 'text' => __('Team handled more customer requests'), 'badge' => '+18%', 'color' => 'bg-success'], ['name' => __('Response time'), 'meta' => __('Median'), 'text' => __('First replies are moving faster'), 'badge' => '<2m', 'color' => 'bg-brand'], ['name' => __('AI accuracy'), 'meta' => __('7 days'), 'text' => __('Approved suggestions by agents'), 'badge' => '94%', 'color' => 'bg-warning'], ], ], ]; $integrations = [ ['name' => 'Gmail', 'abbr' => 'Gm', 'color' => '#EA4335', 'desc' => __('Email sync & send')], ['name' => 'Outlook', 'abbr' => 'Ou', 'color' => '#0078D4', 'desc' => __('Microsoft 365')], ['name' => 'WhatsApp', 'abbr' => 'Wa', 'color' => '#25D366', 'desc' => __('Business chat')], ['name' => 'Slack', 'abbr' => 'Sl', 'color' => '#4A154B', 'desc' => __('Team alerts')], ['name' => 'Telegram', 'abbr' => 'Tg', 'color' => '#26A5E4', 'desc' => __('Bot messages')], ['name' => 'Stripe', 'abbr' => 'St', 'color' => '#635BFF', 'desc' => __('Payments')], ['name' => 'HubSpot', 'abbr' => 'Hs', 'color' => '#FF7A59', 'desc' => __('CRM sync')], ['name' => 'Zapier', 'abbr' => 'Zp', 'color' => '#FF4A00', 'desc' => __('Automation')], ]; @endphp @section('title', $siteName . ' - ' . __('AI-Powered Email Automation & CRM SaaS')) @push('styles') @endpush @section('content')
{{ $hero['badge'] }}

{{ $hero['title_line1'] }} {{ __('with') }} {{ $hero['title_highlight'] }} {{ $hero['title_line2'] }}

{{ $hero['subtitle'] }}

{{ __('Channels') }}

@foreach(['Email', 'WhatsApp', 'Slack', 'SMS', 'Telegram'] as $index => $channel)
{{ $channel }}
{{ [24,18,11,9,6][$index] }}
@endforeach
@foreach([['Open rate','73%','bg-success'], ['Reply rate','31%','bg-brand'], ['AI confidence','94%','bg-warning']] as $metric)

{{ __($metric[0]) }}

{{ $metric[1] }}

@endforeach

{{ __('AI suggested reply') }}

{{ __('Hi Alex, yes. MailTrixy can centralize every channel, draft replies from your knowledge base, trigger follow-ups, and report campaign performance from one workspace.') }}

{{ __('Ready to send') }}
@foreach(array_slice($featureItems, 0, 4) as $index => $item)

{{ $item['title'] ?? '' }}

{{ $item['desc'] ?? '' }}

@endforeach

{{ __('Pipeline') }}

@foreach([['Qualified','$34K','bg-brand'], ['Proposal','$52K','bg-warning'], ['Won','$18K','bg-success']] as $deal)
{{ __($deal[0]) }} {{ $deal[1] }}
@endforeach
{{ __('How it works') }}

{{ __('From setup to') }} {{ __('full automation.') }}

{{ __('Connect channels, train AI, launch workflows, and track every result without switching tools.') }}

@foreach([ [__('Connect channels'), __('Bring email, chat, SMS, and social messages into one queue.')], [__('Train AI'), __('Upload docs and templates so replies match your business.')], [__('Automate work'), __('Route, tag, follow up, and create tasks without manual steps.')], [__('Track growth'), __('Measure campaign, inbox, deal, and team performance.')], ] as $index => $step)
{{ $index + 1 }}

{{ $step[0] }}

{{ $step[1] }}

@endforeach
{{ $features['badge'] ?? __('Features') }}

{{ $features['title'] ?? __('Everything you need to master communication') }}

{{ $features['subtitle'] ?? __('Unify inbox, AI replies, campaigns, contacts, workflows, and analytics in one workspace.') }}

@foreach($featureItems as $index => $item)
{{ str_pad($index + 1, 2, '0', STR_PAD_LEFT) }}

{{ $item['title'] ?? '' }}

{{ $item['desc'] ?? '' }}

@if($index === 0)
@foreach([__('Inbox'), __('AI reply'), __('Workflow')] as $chip) {{ $chip }} @endforeach
@endif
@endforeach
{{ __('Detailed Product Sections') }}

{{ __('See exactly what each module does.') }}

{{ __('Each section explains the workflow and shows the matching product surface your team will use every day.') }}

@foreach($detailSections as $index => $section)
{{ $section['badge'] }}

{{ $section['title'] }}

{{ $section['desc'] }}

    @foreach($section['bullets'] as $bullet)
  • {{ $bullet }}
  • @endforeach
{{ $section['title'] }} {{ count($section['rows']) * 8 }}
@foreach($section['rows'] as $rowIndex => $row)
{{ substr($row['name'], 0, 1) }}
{{ $row['name'] }} {{ $row['meta'] }}

{{ $row['text'] }}

@if($row['badge']) @endif
@endforeach
@endforeach
{{ __('All Features') }}

{{ __('Every tool stays visible and organized.') }}

{{ __('Communication, AI, sales, and admin modules work together across one connected workspace.') }}

@foreach([ ['key' => 'all', 'label' => __('All')], ['key' => 'comm', 'label' => __('Communication')], ['key' => 'ai', 'label' => __('AI & Automation')], ['key' => 'sales', 'label' => __('CRM & Sales')], ['key' => 'admin', 'label' => __('Admin')], ] as $filter) @endforeach
@foreach($capabilities as $index => $capability)
{{ $capability['tag'] }} {{ str_pad($index + 1, 2, '0', STR_PAD_LEFT) }}

{{ $capability['title'] }}

{{ $capability['desc'] }}

@endforeach
{{ __('Integrations') }}

{{ __('Connects with tools') }} {{ __('you already use') }}

{{ __('Seamless integrations with the platforms your team relies on every day.') }}

@foreach(array_merge($integrations, $integrations) as $integration)
{{ $integration['abbr'] }}

{{ $integration['name'] }}

{{ $integration['desc'] }}

@endforeach
@foreach(array_merge(array_reverse($integrations), array_reverse($integrations)) as $integration)
{{ $integration['abbr'] }}

{{ $integration['name'] }}

{{ $integration['desc'] }}

@endforeach
{{ __('Testimonials') }}

{{ $testimonials['title'] ?? __('Loved by teams worldwide') }}

{{ $testimonials['subtitle'] ?? __('See what customers say about MailTrixy.') }}

@foreach($testimonialItems as $index => $item)
@for($i = 0; $i < 5; $i++) @endfor

"{{ $item['quote'] ?? $item['body'] ?? '' }}"

{{ substr($item['name'] ?? 'C', 0, 1) }}
{{ $item['name'] ?? __('Customer') }}
{{ trim(($item['role'] ?? '') . (($item['company'] ?? '') ? ' at ' . $item['company'] : '')) }}
@endforeach
{{ __('Pricing') }}

{{ __('Simple,') }} {{ __('transparent') }} {{ __('pricing') }}

{{ __("Start free, upgrade when you're ready. No hidden fees, cancel anytime.") }}

@foreach($plans as $index => $plan) @endforeach
@if(count($faqItems))
{{ __('FAQ') }}

{{ $faq['title'] ?? __('Frequently Asked Questions') }}

@if(!empty($faq['subtitle']))

{{ $faq['subtitle'] }}

@endif
@foreach($faqItems as $index => $item)
{{ $item['question'] ?? '' }}

{{ $item['answer'] ?? '' }}

@endforeach
@endif
{{ $cta['badge'] ?? '' }}

{{ $cta['title'] }}

{{ $cta['subtitle'] }}

@endsection @push('scripts') @endpush