i!-- ── Page Hero ───────────────────────────────────────────────── --> isection class="ws-page-hero"> idiv class="ws-container"> idiv class="ws-breadcrumbs"> ia href="i?= APP_URL ?>/solutions">Solutionsi/a> ispan class="sep">/i/span> ispan>i?= htmlspecialchars($solution['role_label']) ?>i/span> i/div> ih1 class="ws-h1">i?= htmlspecialchars($solution['hero_h1'] ?? $solution['role_label']) ?>i/h1> ip class="ws-lead">i?= htmlspecialchars($solution['hero_subhead'] ?? '') ?>i/p> idiv class="ws-page-hero-actions"> ia href="i?= APP_URL ?>/book-demo" class="ws-btn ws-btn-primary ws-btn-lg">Book a Demoi/a> ia href="i?= APP_URL ?>/pricing" class="ws-btn ws-btn-ghost ws-btn-lg">See Pricingi/a> i/div> i/div> i/section> i!-- ── Solution Detail ─────────────────────────────────────────── --> isection class="ws-section"> idiv class="ws-container"> i?php if (!empty($solution['hero_body'])): ?> idiv style="max-width:680px;margin:0 auto 64px;text-align:center;"> ip class="ws-lead">i?= htmlspecialchars($solution['hero_body']) ?>i/p> i/div> i?php endif; ?> idiv class="ws-detail-grid"> idiv> ih2 class="ws-h3">What Hextiria Delivers for i?= htmlspecialchars($solution['role_label']) ?>i/h2> ip class="ws-text" style="margin-top:12px;margin-bottom:24px;">Hextiria gives i?= htmlspecialchars(strtolower($solution['role_label'])) ?> the real-time data, automation, and intelligence they need to make better decisions faster.i/p> i?php $benefits = [ 'business-owners' => ['Live P&L and cash position from any device','AI alerts before problems escalate','Complete view: HR + Finance + Projects in one dashboard','Board-ready reports generated automatically'], 'finance-leaders' => ['AR and AP automation from invoice to payment','Real-time cash flow and aging reports','Auto-posted journal entries from HR payroll and project billing','ZATCA VAT compliance framework'], 'hr-managers' => ['Automated payroll with GOSI calculations','Leave approval workflows with calendar integration','Document expiry alerts (iqama, passport, contract)','Employee self-service portal'], 'operations' => ['Live project and resource dashboards','Budget vs actual tracking across all projects','Automated billing when milestones close','Cross-project resource visibility'], 'project-managers' => ['Milestone and task management with team assignments','Budget tracking with real-time burn rate','Client billing automation from project events','Project P&L reporting'], ]; $slug = $solution['slug'] ?? ''; $solutionBenefits = $benefits[$slug] ?? ['Real-time intelligence for your role','Automation that eliminates manual work','AI insights tailored to your decisions','Compliance built in from day one']; ?> idiv class="ws-card-bullets" style="gap:12px;"> i?php foreach ($solutionBenefits as $b): ?> idiv class="ws-card-bullet" style="font-size:0.9375rem;">i?= htmlspecialchars($b) ?>i/div> i?php endforeach; ?> i/div> i/div> idiv> ih3 class="ws-h4" style="margin-bottom:16px;color:var(--text-secondary);">Common Challenges We Solvei/h3> idiv class="ws-pain-list"> i?php $pains = [ 'business-owners' => ['Waiting for week-old reports to make decisions','No visibility into real cash position','Finance, HR, and projects in disconnected tools','Surprise expenses and payroll errors'], 'finance-leaders' => ['3-day month-end close process','Manual invoice and payment reconciliation','AR aging discovered too late','Payroll journal entries done manually'], 'hr-managers' => ['Manual leave tracking in spreadsheets','GOSI calculation errors at end of month','Missing document expiry notifications','Payroll processing takes days, not hours'], 'operations' => ['No cross-project resource visibility','Budget overruns discovered after the fact','Billing delays when projects reach milestones','Finance and operations never agree on numbers'], 'project-managers' => ['Switching between email, spreadsheets, and PM tools','Budget updates done manually','Milestones not connected to client billing','No single view of team workload'], ]; $solutionPains = $pains[$slug] ?? ['Manual processes that slow you down','No real-time visibility into what matters','Tools that do not talk to each other','Compliance risks from manual data entry']; foreach ($solutionPains as $p): ?> idiv class="ws-pain-item">i?= htmlspecialchars($p) ?>i/div> i?php endforeach; ?> i/div> i/div> i/div> i/div> i/section> i!-- ── Relevant Modules ────────────────────────────────────────── --> isection class="ws-section" style="background:var(--bg-subtle);"> idiv class="ws-container"> idiv class="ws-section-header"> ispan class="ws-eyebrow">Platform Modulesi/span> ih2 class="ws-h3">The Modules That Power Your Rolei/h2> i/div> idiv class="ws-feature-grid"> i?php $iconColors = ['blue','green','purple','orange','gold','cyan']; foreach (array_slice($modules, 0, 3) as $i => $mod): ?> idiv class="ws-feature-card"> idiv class="ws-card-icon i?= htmlspecialchars($iconColors[$i % count($iconColors)]) ?>"> ii class="i?= htmlspecialchars($mod['icon_class'] ?? 'ti-square') ?>">i/i> i/div> ih4 class="ws-h4">i?= htmlspecialchars($mod['display_name']) ?>i/h4> ip class="ws-text">i?= htmlspecialchars($mod['short_desc'] ?? '') ?>i/p> i/div> i?php endforeach; ?> i/div> idiv style="text-align:center;margin-top:32px;"> ia href="i?= APP_URL ?>/platform" class="ws-btn ws-btn-outline">See Full Platform →i/a> i/div> i/div> i/section> i!-- ── CTA ────────────────────────────────────────────────────── --> isection class="ws-cta-section"> idiv class="ws-container"> ih2 class="ws-h2">Start Your Free Trial Todayi/h2> ip>No credit card required. Full access for 14 days.i/p> idiv class="ws-cta-actions"> ia href="i?= APP_URL ?>/start-free-trial" class="ws-btn-white">Get Started Freei/a> ia href="i?= APP_URL ?>/solutions" class="ws-btn-ghost-white">Other Solutions →i/a> i/div> i/div> i/section>