/* global React, ReactDOM */ const { useState, useEffect, useRef } = React; /* ============== i18n ============== */ const T = { ar: { nav_products: "المنتجات", nav_features: "لماذا أوتمكس", nav_pricing: "الأسعار", nav_dashboard: "لوحة التحكم", nav_docs: "التوثيق", nav_about: "من نحن", nav_blog: "المدونة", nav_contact: "تواصل معنا", btn_login: "تسجيل الدخول", btn_trial: "احصل على عرض سعر مخصص", prod_cta_demo: "احجز تجربة حية", prod_cta_details: "التفاصيل والأسعار", hero_pill: "داخل المملكة · متوافق مع PDPL · جاهز للزكاة والضريبة", hero_h1_a: "أتمتة عمليات شركتك", hero_h1_b: "بوكلاء ذكاء اصطناعي يعملون نيابةً عنك.", hero_lead: "كل منتج هو نظام ذكاء اصطناعي متخصص — مبني مسبقاً، ومهيّأ بالكامل للسوق السعودي، ومتكامل مع الأنظمة التي تعتمد عليها اليوم.", hero_cta1: "تصفّح المنتجات", hero_cta2: "احصل على عرض سعر مخصص", stat_agents: "وكلاء جاهزون", stat_payback: "متوسط استرداد التكلفة", stat_margin: "هامش الربح الإجمالي", stat_nrr: "الاحتفاظ بالعملاء", flow_title: "كيف يعمل الوكيل", flow_in: "المدخلات", flow_agent: "وكيل أوتمكس", flow_out: "المخرجات", sec_products_eyebrow: "وحدة الأتمتة الذكية", sec_products_h: "لكل عملية وكيلها المتخصص — ولشركتك منظومة واحدة.", sec_products_d: "كل وكيل في أوتمكس مصمَّم لمهمة واحدة يُتقنها — استقبال الطلبات، أو معالجة الفواتير، أو تحليل البيانات. اشتغل وكلاء متعدّدون معاً، وستحصل على فريق رقمي متكامل بثقة عالية وأمان مؤسسي.", sec_features_eyebrow: "لماذا أوتمكس؟", sec_features_h: "لماذا أوتمكس هو الخيار المعتمد لفرق المالية والعمليات؟", sec_features_d: "خمسة أسباب جوهرية تجعل أوتمكس البنية التحتية المعتمدة للأتمتة الذكية في المنشآت السعودية — التزام تنظيمي، شفافية مالية، وكفاءة تشغيلية مُثبتة.", sec_pricing_eyebrow: "خطط مرنة", sec_pricing_h: "اختر الباقة المناسبة لحجم عملياتك — وارتقِ معنا.", sec_pricing_d: "الأسعار شاملة ضريبة القيمة المضافة · خصم على الدفع السنوي.", monthly: "شهري", annual: "سنوي", save: "−١٧٪", vat_inclusive: "شامل الضريبة", starter: "البداية", growth: "النمو", enterprise: "المؤسسات", starter_sub: "تشغيل ذاتي · جاهز خلال ٧ أيام", growth_sub: "تنفيذ بإشراف فريقنا · ٣ أيام · الأكثر طلباً", enterprise_sub: "تنفيذ مخصّص · أسبوعان · SLA ٩٩٫٩٥٪", most_popular: "الأكثر شهرة", per_month: "/ شهرياً", sar: "ر.س", cta_trial: "اشترك الآن", cta_sales: "اشتر الآن", cta_subscribe: "اشترك الآن", perks: ["✓ إلغاء الاشتراك في أي وقت","✓ خصم ضمّ المنتجات ١٠–١٨٪","✓ فواتير ضريبية متوافقة مع زاتكا","✓ بنية تحتية داخل المملكة"], calc_eyebrow: "احسب توفيرك", calc_h: "كم ستوفر شركتك مع أوتمكس؟", calc_q: "كم فاتورة تعالجها شركتك شهرياً؟", calc_recommended: "الباقة الموصى بها", calc_manual: "تكلفتك الحالية اليدوية (تقديرياً)", calc_otmix: "تكلفة أوتمكس شهرياً", calc_savings: "توفيرك السنوي المتوقّع", calc_payback: "استرداد التكلفة خلال", calc_payback_unit: "يوماً", calc_cta: "احصل على عرض مخصّص لحجمك", calc_note: "*تقديرات مبنية على متوسط ٨ ر.س لمعالجة الفاتورة اليدوية (المالية، الوقت، الأخطاء).", sec_dash_eyebrow: "لوحة تحكم ذكية", sec_dash_h: "رؤية كاملة لأداء كل وكيل — بأرقام تتحدّث.", sec_dash_d: "العائد، الإنتاجية، التكلفة، والاستثناءات — كلها في لوحة واحدة. حدّد ما يحتاج تدخّلك، واترك الباقي للوكلاء.", open_admin: "استعرض اللوحة الكاملة", closing_h: "ابدأ بوكيل واحد، ووفّر تكلفة موظف كامل قبل نهاية الفصل.", closing_p: "أكثر من ٢٥٠ منشأة سعودية تُشغِّل وكلاء أوتمكس اليوم — تحرّر فرقها من المهام المتكرّرة، وتُوفّر ٤٠٪+ من تكاليفها التشغيلية. ابدأ بعملية واحدة، شغِّلها خلال أيام، واسترد تكلفتها في أقل من ٩٠ يوماً.", motto: "", email_ph: "بريدك المهني — example@yourcompany.sa", submit_trial: "احجز عرضاً مخصّصاً", closing_stats: [["+٢٥٠","منشأة سعودية تثق بنا"],["٤٠٪+","متوسط التوفير التشغيلي"],["<٩٠ يوم","استرداد التكلفة"],["٩٩٫٩٪","دقة المعالجة"]], foot_tagline: "منصّة الوكلاء الذكية للشركات السعودية. بياناتك في الرياض، وقراراتك بيدك.", foot_products: "المنتجات", foot_company: "الشركة", foot_legal: "قانوني", foot_links: { products: [ { name:"المالية", href:"index.html#products" }, { name:"الموارد البشرية", href:"index.html#products" }, { name:"المبيعات والتسويق", href:"index.html#products" }, { name:"القانونية", href:"index.html#products" }, { name:"حلول مؤسسية", href:"index.html#products" }, ], company: [ { name:"من نحن", href:"about.html" }, { name:"المدونة", href:"blog.html" }, { name:"تواصل معنا", href:"contact.html" }, ], legal: [ { name:"سياسة الخصوصية", href:"privacy.html" }, { name:"الشروط والأحكام", href:"#" }, { name:"سياسة الكوكيز", href:"#" }, ], }, copyright: "© ٢٠٢٦ شركة أوتمكس · الرياض، المملكة العربية السعودية · س.ت ٧٠٣٨٣٥٥٨٨٤ · جميع الحقوق محفوظة", products: [ { code: "P1", category: "finance", name: "أخصائي الحسابات الدائنة المؤتمت", cat: "المالية · الذمم الدائنة", desc: "يُسجّل فواتيرك في ERP خلال ثوانٍ من تيليجرام مباشرة. متوافق مع زاتكا المرحلة الثانية.", unit: "١٬٠٠٠ فاتورة / شهر" }, { code: "P2", category: "sales", name: "وكيل مبيعات الواتساب الذكي", cat: "المبيعات · تجارة واتساب", desc: "يستقبل طلبات عملائك على واتساب ٢٤/٧ بلهجة طبيعية، ويُرسلها لكاشيرك (فودكس، مدى) تلقائياً.", unit: "٥٠٠ طلب / شهر", tag: "الأكثر طلباً" }, { code: "P3", category: "sales", name: "خبير العناية بتجربة العملاء", cat: "التسويق · جوجل والتقييمات", desc: "يردّ على كل تقييم جوجل بصوت علامتك خلال ساعة، ويُحوّل كل شكوى لتذكرة CRM مباشرة.", unit: "٢٠٠ تقييم / شهر" }, { code: "P4", category: "finance", name: "محاسب المطابقة الذكي", cat: "المالية · مطابقة الحسابات", desc: "يُطابق حساباتك البنكية تلقائياً ويُغلق دفاترك أسبوعاً قبل الموعد. جاهز لـساما المصرفية المفتوحة.", unit: "١٬٠٠٠ معاملة / شهر" }, { code: "P5", category: "hr", name: "مستشار إدارة الأجور والامتثال", cat: "الموارد البشرية · رواتب مُداد", desc: "يحسب الرواتب، يُحدّث GOSI، ويرفع WPS عبر مُداد — بنقرة موافقة واحدة.", unit: "حتى ٥٠ موظف" }, { code: "P6", category: "hr", name: "وكيل استقطاب المواهب الذكي", cat: "الموارد البشرية · التوظيف", desc: "يفرز السير الذاتية، يُجري المقابلات الأولية، ويُكمل إجراءات الانضمام مع مراعاة نسب السعودة.", unit: "١٠٠ مرشح / شهر" }, { code: "P7", category: "legal", name: "محلل العقود والامتثال القانوني", cat: "القانوني · ذكاء العقود", desc: "يقرأ كل عقد قبل أن يقرأك، ويستخرج أكثر من ٦٠ حقلاً، يُصنّف المخاطر، ويُنبّهك قبل التجديد بشهر.", unit: "٥٠ عقد / شهر" }, { code: "P8", category: "sales", name: "مدير التسويق الذكي", cat: "التسويق · إعلانات ومحتوى", desc: "يُؤلّف محتواك التسويقي، يُدير حملاتك المدفوعة، ويُجدول منشورات السوشيال — ثنائي اللغة وملتزم بهويتك.", unit: "٣٠ محتوى / شهر" }, { code: "P9", category: "enterprise", name: "مركز المعرفة المؤسسية الذكي", cat: "حلول مؤسسية · شات بوت RAG", desc: "يُجيب على أسئلة موظفيك وعملائك من مستنداتك الفعلية مع توثيق المصدر — صفر هلوسة.", unit: "٥٬٠٠٠ محادثة / شهر" }, ], product_categories: { finance: { title: "المالية", icon: "finance" }, hr: { title: "الموارد البشرية", icon: "hr" }, sales: { title: "المبيعات والتسويق", icon: "sales" }, legal: { title: "القانونية", icon: "legal" }, enterprise: { title: "حلول مؤسسية", icon: "enterprise" }, }, category_order: ["finance","hr","sales","legal","enterprise"], features: [ { num:"٠١", stat:"PDPL", title:"التزام كامل بالأنظمة السعودية", body:"يتوافق توافقاً تاماً مع زاتكا (المرحلة الثانية)، مُداد، قوى، ونظام حماية الأجور (WPS) — جاهز للتدقيق من اليوم الأول.", artKind:"ksa", green:true, span:"feat-1" }, { num:"٠٢", stat:"FLAT", title:"شفافية التكاليف (Flat-Rate)", body:"يقدّم باقات ثابتة تمنحك وضوحاً مالياً كاملاً، وتقلّ تكلفة الوحدة كلما نمت أعمالك — بلا مفاجآت في الفاتورة.", artKind:"replace", span:"feat-2" }, { num:"٠٣", stat:"٩٩٪", title:"كفاءة تشغيلية فورية", body:"يوفّر جهد ١ إلى ٥ موظفين بدوام كامل، ويُعالج المهام بدقة تصل إلى ٩٩٪ — تنفيذ مباشر دون انتظار.", artKind:"models", span:"feat-3" }, { num:"٠٤", stat:"KSA", title:"أمان البيانات وسيادتها", body:"يستضيف ويعالج بياناتك محلياً داخل المملكة، ويضمن خصوصية معلوماتك المالية وفق PDPL وإطار ساما السيبراني.", artKind:"integrations", span:"feat-4" }, { num:"٠٥", stat:"9-in-1", title:"منصّة واحدة متكاملة", body:"يُدير المالية والموارد البشرية والقانونية في مكان واحد — يمنع تشتّت البيانات ويُوحّد قرارات شركتك تحت سقف واحد.", artKind:"audit", span:"feat-5" }, ], tier_titles: { ap:"الحسابات الدائنة", order:"مبيعات الواتساب", reputation:"تجربة العملاء", recon:"المطابقة البنكية", payroll:"إدارة الأجور", talent:"استقطاب المواهب", contracts:"تحليل العقود", marketing:"التسويق الرقمي", knowledge:"المعرفة المؤسسية" }, }, en: { nav_products:"Products", nav_features:"Why Otmix", nav_pricing:"Pricing", nav_dashboard:"Dashboard", nav_docs:"Docs", nav_about:"About", nav_blog:"Blog", nav_contact:"Contact", btn_login:"Sign in", btn_trial:"Get a custom quote", prod_cta_demo:"Book a live demo", prod_cta_details:"Details & pricing", hero_pill:"Data in KSA · PDPL compliant · ZATCA-ready", hero_h1_a:"Automate your business operations", hero_h1_b:"with AI agents that work for you.", hero_lead:"Each product is a specialized AI system — pre-built, fully tuned for the Saudi market, and integrated with the systems you rely on today.", hero_cta1:"Browse products", hero_cta2:"Get a custom quote", stat_agents:"Production agents", stat_payback:"Avg. payback period", stat_margin:"Gross margin", stat_nrr:"Net revenue retention", flow_title:"How an agent works", flow_in:"Inputs", flow_agent:"Otmix Agent", flow_out:"Outputs", sec_products_eyebrow:"The automation unit", sec_products_h:"A specialized agent for every process — one complete system for your business.", sec_products_d:"Every Otmix agent is built for one task it masters — taking orders, processing invoices, or analyzing data. Run several agents together, and you get a complete digital team with high confidence and enterprise-grade security.", sec_features_eyebrow:"Why Otmix?", sec_features_h:"Why Otmix is the trusted choice for finance & operations teams.", sec_features_d:"Five fundamental reasons Otmix is the trusted automation infrastructure for Saudi enterprises — regulatory compliance, financial transparency, and proven operational efficiency.", sec_pricing_eyebrow:"Flexible plans", sec_pricing_h:"Pick the tier that matches your volume — and grow with us.", sec_pricing_d:"All prices include VAT · Annual payment discount available.", monthly:"Monthly", annual:"Annual", save:"−17%", vat_inclusive:"VAT inclusive", starter:"Starter", growth:"Growth", enterprise:"Enterprise", starter_sub:"Self-serve · live in 7 days", growth_sub:"Implemented by our team · 3 days · most popular", enterprise_sub:"Custom rollout · 2 weeks · 99.95% SLA", most_popular:"Most popular", per_month:"/ month", sar:"SAR", cta_trial:"Subscribe now", cta_sales:"Buy now", cta_subscribe:"Subscribe now", perks:["✓ Cancel anytime","✓ Bundle 10–18% off","✓ ZATCA tax invoices","✓ KSA data residency"], calc_eyebrow: "Calculate your savings", calc_h: "How much will your company save with Otmix?", calc_q: "How many invoices does your company process monthly?", calc_recommended: "Recommended plan", calc_manual: "Your current manual cost (est.)", calc_otmix: "Otmix cost / month", calc_savings: "Estimated annual savings", calc_payback: "Payback in", calc_payback_unit: "days", calc_cta: "Get a quote for your volume", calc_note: "*Estimates based on SAR 8 average per manual invoice (labor, time, errors).", sec_dash_eyebrow:"Smart admin console", sec_dash_h:"Full visibility into every agent — with numbers that speak.", sec_dash_d:"ROI, throughput, cost, and exceptions — all in one console. Decide what needs your attention, and leave the rest to the agents.", open_admin:"Explore the full console", closing_h:"Start with one agent — save the cost of a full employee before next quarter.", closing_p:"250+ Saudi enterprises run Otmix agents today — freeing teams from repetitive work and cutting operational costs by 40%+. Pick one process, launch it in days, and recover your investment in under 90 days.", motto:"", email_ph:"Work email — name@yourcompany.sa", submit_trial:"Book a custom demo", closing_stats:[["+250","Saudi enterprises trust us"],["40%+","Avg. operational savings"],["<90 days","Payback period"],["99.9%","Processing accuracy"]], foot_tagline:"The agentic AI platform for Saudi enterprises. Data in Riyadh — decisions in your hands.", foot_products:"Products", foot_company:"Company", foot_legal:"Legal", foot_links: { products:[ { name:"Finance", href:"index.html#products" }, { name:"Human Resources", href:"index.html#products" }, { name:"Sales & Marketing", href:"index.html#products" }, { name:"Legal", href:"index.html#products" }, { name:"Enterprise Solutions", href:"index.html#products" }, ], company:[ { name:"About", href:"about.html" }, { name:"Blog", href:"blog.html" }, { name:"Contact", href:"contact.html" }, ], legal:[ { name:"Privacy Policy", href:"privacy.html" }, { name:"Terms & Conditions", href:"#" }, { name:"Cookies Policy", href:"#" }, ], }, copyright:"© 2026 Otmix Co. · Riyadh, Saudi Arabia · CR 7038355884 · All rights reserved", products: [ { code:"P1", category:"finance", name:"Accounts Payable Automation Specialist", cat:"Finance · Accounts Payable", desc:"Files invoices into your ERP in seconds — straight from Telegram. ZATCA Phase 2 compliant.", unit:"1,000 invoices / month" }, { code:"P2", category:"sales", name:"Smart WhatsApp Sales Agent", cat:"Sales · WhatsApp commerce", desc:"Takes customer orders on WhatsApp 24/7 in natural language, and routes them to your POS (Foodics, mada) automatically.", unit:"500 orders / month", tag:"Top seller" }, { code:"P3", category:"sales", name:"Customer Experience Care Expert", cat:"Marketing · Google & reviews", desc:"Replies to every Google review in your brand voice within an hour, and converts complaints into CRM tickets instantly.", unit:"200 reviews / month" }, { code:"P4", category:"finance", name:"Smart Reconciliation Accountant", cat:"Finance · Bank reconciliation", desc:"Auto-reconciles your bank accounts and closes books a week early. SAMA Open Banking ready.", unit:"1,000 txns / month" }, { code:"P5", category:"hr", name:"Payroll & Compliance Advisor", cat:"HR · Mudad payroll", desc:"Calculates payroll, syncs GOSI, and files WPS via Mudad — with one approval click.", unit:"Up to 50 employees" }, { code:"P6", category:"hr", name:"Smart Talent Acquisition Agent", cat:"HR · Recruiting & onboarding", desc:"Screens CVs, runs first-round interviews, and completes onboarding with Saudization-aware shortlisting.", unit:"100 candidates / month" }, { code:"P7", category:"legal", name:"Contracts & Legal Compliance Analyst", cat:"Legal · Contract intelligence", desc:"Reads every contract before it reads you. 60+ field extraction, risk scoring, renewal radar.", unit:"50 contracts / month" }, { code:"P8", category:"sales", name:"Smart Marketing Director", cat:"Marketing · Ads & content", desc:"Copywriter + paid-ads manager + social manager — one bilingual brand-locked agent.", unit:"30 pieces / month" }, { code:"P9", category:"enterprise", name:"Smart Enterprise Knowledge Hub", cat:"Enterprise · RAG bot", desc:"Answers employee and customer questions from your actual documents — always cited, zero hallucinations.", unit:"5,000 chats / month" }, ], product_categories: { finance: { title: "Finance", icon: "finance" }, hr: { title: "Human Resources", icon: "hr" }, sales: { title: "Sales & Marketing", icon: "sales" }, legal: { title: "Legal", icon: "legal" }, enterprise: { title: "Enterprise Solutions", icon: "enterprise" }, }, category_order: ["finance","hr","sales","legal","enterprise"], features: [ { num:"01", stat:"PDPL", title:"Full Saudi regulatory compliance", body:"Fully aligned with ZATCA (Phase 2), Mudad, Qiwa, and the Wage Protection System (WPS) — audit-ready from day one.", artKind:"ksa", green:true, span:"feat-1" }, { num:"02", stat:"FLAT", title:"Cost transparency (Flat-Rate)", body:"Delivers fixed-tier pricing that gives you complete financial clarity, with unit cost dropping as your business scales — no billing surprises.", artKind:"replace", span:"feat-2" }, { num:"03", stat:"99%", title:"Instant operational efficiency", body:"Replaces the effort of 1 to 5 full-time employees and processes tasks with accuracy up to 99% — instant execution, zero waiting.", artKind:"models", span:"feat-3" }, { num:"04", stat:"KSA", title:"Data security & sovereignty", body:"Hosts and processes your data locally inside the Kingdom, securing your financial information under PDPL and the SAMA cyber framework.", artKind:"integrations", span:"feat-4" }, { num:"05", stat:"9-in-1", title:"One integrated platform", body:"Manages finance, HR, and legal operations in one place — eliminates data silos and unifies your company's decisions under one roof.", artKind:"audit", span:"feat-5" }, ], tier_titles: { ap:"Accounts Payable", order:"WhatsApp Sales", reputation:"Customer Experience", recon:"Bank Reconciliation", payroll:"Payroll Management", talent:"Talent Acquisition", contracts:"Contract Analysis", marketing:"Digital Marketing", knowledge:"Enterprise Knowledge" }, } }; const PRICES = { ap: { starter:990, growth:2990, enterprise:8990, quotas: { ar:["١٬٠٠٠ فاتورة شهرياً","٥٬٠٠٠ فاتورة شهرياً","٢٠٬٠٠٠ فاتورة شهرياً"], en:["1,000 invoices / month","5,000 invoices / month","20,000 invoices / month"] }, feats: { ar:[ ["استقبال عبر تيليجرام","OCR عربي/إنجليزي","ربط ERP واحد","تقرير بريدي يومي","زمن تشغيل ٩٩٪"], ["كيانات متعددة","سير اعتماد","ربط ERP اثنين","زاتكا المرحلة ٢","تنبيهات Slack/Teams"], ["SSO + SAML","API عام","SLA ٩٩٫٩٥٪","مدير نجاح مخصص","تثبيت داخلي"]], en:[ ["Telegram intake","OCR (Ar/En)","1 ERP connector","Daily email digest","99% uptime"], ["Multi-entity","Approval workflow","2 ERP connectors","ZATCA Phase 2","Slack/Teams alerts"], ["SSO + SAML","Public API","99.95% SLA","Dedicated CSM","On-prem option"]] } }, order: { starter:690, growth:2490, enterprise:6990, quotas: { ar:["فرع واحد · ٥٠٠ طلب/شهر","حتى ٣ فروع · ٣٬٠٠٠/شهر","غير محدود · ١٥٬٠٠٠/شهر"], en:["1 location · 500 orders/mo","Up to 3 · 3,000/mo","Unlimited · 15,000/mo"] }, feats: { ar:[ ["واتساب بزنس","ربط نقطة بيع واحدة","فهم ثنائي اللغة","دفع مدى","تحليلات أساسية"], ["برنامج ولاء","حملات ترويجية","Apple Pay + STC Pay","شرائح عملاء","تصدير لـ CRM"], ["أرقام مخصصة","وكيل صوتي (تجريبي)","لوحات لحظية","منطق بيع تكميلي مخصص","أولوية الدعم"]], en:[ ["WhatsApp Business","1 POS connector","Bilingual NLU","mada checkout","Basic analytics"], ["Loyalty engine","Promo broadcasts","Apple Pay + STC Pay","Customer segments","CRM export"], ["Dedicated numbers","Voice agent (beta)","Real-time dashboards","Custom upsell logic","Priority support"]] } }, knowledge: { starter:990, growth:2990, enterprise:7990, quotas: { ar:["نشر واحد · ٥٬٠٠٠ محادثة/شهر","٣ عمليات نشر · ٢٥٬٠٠٠/شهر","غير محدود · ١٠٠٬٠٠٠/شهر"], en:["1 deployment · 5,000 chats/mo","3 deployments · 25,000/mo","Unlimited · 100,000/mo"] }, feats: { ar:[ ["موقع أو Slack أو بريد","٥ موصلات محتوى","ردود ثنائية اللغة","توثيق المصدر","بيانات داخل المملكة"], ["متعدد القنوات","التقاط العملاء المحتملين","١٥ موصلاً","لوحة تحليلات","توجيه حسب الثقة"], ["SSO / SAML / RBAC","احتفاظ مخصص","مفاتيح تشفير يديرها العميل","API + Webhooks","SLA ٩٩٫٩٥٪"]], en:[ ["Web OR Slack OR email","5 content connectors","Bilingual answers","Source citations","Data in KSA"], ["Multi-channel","Lead capture","15 connectors","Analytics dashboard","Confidence routing"], ["SSO / SAML / RBAC","Custom retention","Customer-managed keys","API + Webhooks","99.95% SLA"]] } }, reputation:{ starter:490, growth:1490, enterprise:3990, quotas: { ar:["فرع واحد · ٢٠٠ تقييم/شهر","٥ فروع · ١٬٠٠٠/شهر","٢٠+ فرع · ٥٬٠٠٠/شهر"], en:["1 location · 200 reviews/mo","5 locations · 1,000/mo","20+ locations · 5,000/mo"] }, feats: { ar:[ ["ملف جوجل التجاري","ردود بصوت العلامة","تصنيف تلقائي","تقرير أسبوعي","دعم بالعربية"], ["تحويل الشكاوى إلى CRM","رصد منصة X","تحليل المشاعر","لوحة ثنائية اللغة","تنبيهات فورية"], ["SLA رد خلال أقل من ساعة","إدارة جميع المنصات","بوابة تصعيد للأزمات","تدريب على هوية العلامة","مدير نجاح مخصص"]], en:[ ["Google Business","Brand-voice replies","Auto-classification","Weekly digest","Arabic support"], ["Complaint → CRM","X / Twitter monitor","Sentiment analysis","Bilingual dashboard","Real-time alerts"], ["<1m response SLA","All-platform inbox","Crisis escalation","Brand-voice training","Dedicated CSM"]] } }, recon: { starter:1490, growth:3990, enterprise:9990, quotas: { ar:["حساب واحد · ١٬٠٠٠ معاملة/شهر","٥ حسابات · ٥٬٠٠٠/شهر","غير محدود · ٥٠٬٠٠٠/شهر"], en:["1 account · 1,000 txns/mo","5 accounts · 5,000/mo","Unlimited · 50,000/mo"] }, feats: { ar:[ ["ربط بنك واحد","مطابقة أسبوعية","تصدير Excel","تقرير الإغلاق","دعم بالعربية"], ["ساما المصرفية المفتوحة","إغلاق يومي","سجل استثناءات","ربط ERP","تنبيهات Slack"], ["متعدد الكيانات","عملات متعددة","تدقيق لحظي","سير اعتماد","سجل تدقيق مُشفَّر"]], en:[ ["1 bank connector","Weekly recon","Excel export","Close report","Arabic support"], ["SAMA Open Banking","Daily close","Exception ledger","ERP connector","Slack alerts"], ["Multi-entity","Multi-currency","Real-time audit","Approval workflow","Cryptographic audit log"]] } }, payroll: { starter:1990, growth:4990, enterprise:11990, quotas: { ar:["حتى ٥٠ موظف","حتى ٢٥٠ موظف","حتى ٢٬٠٠٠ موظف"], en:["Up to 50 employees","Up to 250 employees","Up to 2,000 employees"] }, feats: { ar:[ ["مُداد WPS","ربط GOSI","حساب تلقائي","قسائم رواتب PDF","دعم بالعربية"], ["تتبع الإجازات","جدولة الدوام","سير اعتماد","بوابة الموظف","تنبيهات Slack/Teams"], ["متعدد الكيانات","بدلات واستحقاقات","تدقيق نسب السعودة","تكامل SAP وأوراكل","مدير نجاح مخصص"]], en:[ ["Mudad WPS","GOSI sync","Auto-calculation","PDF payslips","Arabic support"], ["Leave tracking","Schedule mgmt","Approval workflow","Employee portal","Slack/Teams alerts"], ["Multi-entity","Benefits & accruals","Saudization audit","SAP/Oracle/Aramco","Dedicated CSM"]] } }, talent: { starter:1290, growth:3990, enterprise:9990, quotas: { ar:["١٠٠ مرشح · ١٠ توظيفات/شهر","٥٠٠ مرشح · ٥٠ توظيفاً/شهر","٢٬٠٠٠ مرشح · ٢٠٠ توظيف/شهر"], en:["100 candidates · 10 hires/mo","500 candidates · 50 hires/mo","2,000 candidates · 200 hires/mo"] }, feats: { ar:[ ["فرز السير الذاتية","فلتر السعودة","مقابلات أولية","فحص المراجع","دعم بالعربية"], ["وصف وظيفي ذكي","بوابة المرشحين","لوحة المتقدمين","إجراءات الانضمام","ربط ATS"], ["تقييم الملاءمة الثقافية","تحليل المهارات","تدقيق أمني","SSO + SAML","مدير نجاح مخصص"]], en:[ ["CV screening","Saudization filter","First-round chat","Reference checks","Arabic support"], ["Smart JD","Candidate portal","Applicant dashboard","Onboarding","ATS connector"], ["Culture fit","Skills mapping","Background screening","SSO + SAML","Dedicated CSM"]] } }, contracts: { starter:1490, growth:4490, enterprise:11990, quotas: { ar:["٥٠ عقد/شهر","٢٥٠ عقداً/شهر","١٬٠٠٠ عقد/شهر"], en:["50 contracts/mo","250 contracts/mo","1,000 contracts/mo"] }, feats: { ar:[ ["استخراج ٦٠+ حقلاً","تصنيف المخاطر","تنبيهات التجديد","تلخيص عربي/إنجليزي","تخزين داخل المملكة"], ["مكتبة بنود","مقارنة الإصدارات","توقيع إلكتروني","ربط SharePoint","ربط Salesforce"], ["سير اعتماد","توجيه قانوني تلقائي","امتثال السياسات","مفاتيح تشفير يديرها العميل","مدير نجاح مخصص"]], en:[ ["60+ field extraction","Risk scoring","Renewal radar","Bilingual summary","Storage in KSA"], ["Clause library","Version compare","E-signature","SharePoint connector","Salesforce connector"], ["Approval workflow","Auto legal-routing","Policy compliance","Customer-managed keys","Dedicated CSM"]] } }, marketing: { starter:1490, growth:4490, enterprise:11990, quotas: { ar:["علامة واحدة · ٤ حملات · ٣٠ محتوى/شهر","٣ علامات · ١٥ حملة · ١٥٠ محتوى/شهر","علامات غير محدودة · ٥٠+ حملة · محتوى غير محدود"], en:["1 brand · 4 campaigns · 30 pieces/mo","3 brands · 15 campaigns · 150 pieces/mo","Unlimited brands · 50+ campaigns · unlimited content"] }, feats: { ar:[ ["محتوى ثنائي اللغة","إعلانات مدفوعة","جدولة منصات التواصل","هوية العلامة","دعم بالعربية"], ["وسائط + تصميم","اختبار A/B تلقائي","تحليلات CTR","ربط GA4","تصدير CRM"], ["تحسين الميزانية","تحليل المنافسين","ضبط نبرة العلامة","تدريب على دليل العلامة","مدير نجاح مخصص"]], en:[ ["Bilingual content","Paid ads","Social scheduling","Brand identity","Arabic support"], ["Media + design","Auto A/B","CTR analytics","GA4 connector","CRM export"], ["Budget optimization","Competitor analysis","Brand voice tuning","Guidelines training","Dedicated CSM"]] } }, }; function fmtNum(n, lang){ return lang === "ar" ? n.toLocaleString("ar-SA") : n.toLocaleString("en-US"); } /* ============== UI atoms ============== */ const LogoFull = ({ height = 44, light = false }) => ( Otmix ); const Check = ({ size = 14 }) => ( ); const Arrow = ({ size = 16, lang }) => ( ); /* ============== Hero automation flow visual ============== */ function FlowDiagram({ lang }) { const t = T[lang]; const Node = ({x,y,label,sub,color,icon}) => ( {icon} {label} {sub} ); return ( {t.flow_title.toUpperCase()} {t.flow_in.toUpperCase()} otmix otmix-agent-core {t.flow_agent.toUpperCase()} {t.flow_out.toUpperCase()} {/* Static lines */} {[90,150,210].map((y,i)=>( ))} {[90,150,210].map((y,i)=>( ))} ); } /* ============== Product visuals ============== */ function ProdArt({ i }) { const C = "#4bec42", L = "#1c1c1c", D = "#080808"; const arts = [ // P1 AP - invoice + ERP ERP-OK, // P2 Order - WhatsApp برجر دجاج 🍔+ بطاطس؟دفع مدى ✓, // P3 Reputation - stars شكراً ❤, // P4 Recon - matching {[0,1,2,3].map(k=>({k<3 && }{k<3 && }))}99.7%, // P5 Payroll {[0,1,2,3,4].map(k=>(WPS ✓))}, // P6 Talent - funnel {[0,1,2,3,4,5].map(k=>{const xs=[55,80,120,165,100,140];const ys=[30,30,30,30,42,42];return })}, // P7 Contracts {[0,1,2,3,4,5,6].map(k=>())}!RISK: HIGH, // P8 Marketing {[20,55,90,140,175].map((x,k)=>())}CTR ↑ 24%, // P9 Knowledge ?{[[40,30],[180,30],[35,80],[185,80],[110,12],[110,98]].map((p,k)=>())}, ]; return arts[i] || null; } /* ============== Components ============== */ function Nav({ lang, setLang }) { const t = T[lang]; const [menuOpen, setMenuOpen] = useState(false); useEffect(() => { document.body.style.overflow = menuOpen ? "hidden" : ""; return () => { document.body.style.overflow = ""; }; }, [menuOpen]); const navLinks = [ { href:"about.html", label:t.nav_about }, { href:"#products", label:t.nav_products }, { href:"#pricing", label:t.nav_pricing }, { href:"contact.html", label:t.nav_contact }, { href:"blog.html", label:t.nav_blog }, ]; return ( ); } /* ============== Animated Robot Mascot ============== */ function Robot({ lang }) { return (