// Side-by-side price comparison: traditional study office vs Daoob AI agent // Reads s.daoob (the AI agent price) and s.price (the market price string). const PriceCompare = ({ s, t, compact = false }) => { const c = t.services.compare; // Parse market office price (e.g. "12,500 SAR") and the AI price from the data. const officeN = parseInt((s.price.match(/[\d,]+/) || ["0"])[0].replace(/,/g, ""), 10); const aiN = s.daoob || 500; const savingsPct = officeN > 0 ? Math.round(((officeN - aiN) / officeN) * 100) : 0; const lang = (t.locale === "ar") ? "ar" : "en"; const curr = lang === "ar" ? "ر.س" : "SAR"; const aiPriceLabel = `${aiN.toLocaleString()} ${curr}`; return (