// Home / landing page const Home = ({ t, lang, setPage, setSelectedParcel }) => { const data = window.DAOOB_DATA; return (
{/* Hero */}
{t.home.eyebrow}

{t.home.hero_h1_a}
{t.home.hero_h1_b}

{t.home.hero_sub}

{t.home.hero_sub_2 &&

{t.home.hero_sub_2}

}
{/* Gradient veil + AI live-analysis card */}
{lang === "ar" ? "تحليل وكلاء دؤوب \u00b7 مباشر" : "Daoob AI agents \u00b7 live"}
RYD-4421-OL {lang === "ar" ? "العليا \u00b7 متعدد الاستخدام" : "Olaya \u00b7 Mixed-use"}
{lang === "ar" ? "تقييم" : "Score"}
78/100
{lang === "ar" ? "العائد" : "IRR"}
14.8%
{lang === "ar" ? "القيمة" : "Value"}
638M
{lang === "ar" ? "وكيل التقييم" : "Valuation Agent"}
{lang === "ar" ? "وكيل السوق" : "Market Agent"}
{lang === "ar" ? "وكيل معامل البناء" : "Building Coefficient Agent"}
{/* Floating data chip */}
{lang === "ar" ? "موصى به" : "Recommended"} {lang === "ar" ? "متعدد \u00b7 فئة A" : "Class-A mixed-use"}
{[1,2,3,4].map(n => (
{t.home[`hero_stat_${n}_value`]}
{t.home[`hero_stat_${n}_label`]}
))}
{/* Intro / About — moved to bottom per request */} {/* How it works */}
{t.home.how_eyebrow}

{t.home.how_h2}

{[1,2,3,4].map(n => (
0{n}
{t.home[`step_${n}_t`]}
{t.home[`step_${n}_d`]}
))}
{/* Trust band */} {/* Services */}
{t.home.services_eyebrow}

{t.home.services_h2}

{t.home.services_sub}

{t.services.list.map((s, i) => (
SVC.{String(i+1).padStart(2,"0")}
{s.t}
{s.d}
))}
{/* Audience */}
{t.home.audience_eyebrow}

{t.home.audience_h2}

{t.home.audience_intro}

{[1,2,3].map(n => (
0{n}
{t.home[`aud_${n}_t`]}
{t.home[`aud_${n}_d`]}
))}
{/* CTA band */}

{t.home.cta_band_h2}

{t.home.cta_band_sub}

{/* Intro / About — last section per request */}
{t.home.intro_eyebrow}

{t.home.intro_h2}

{t.home.intro_lead}

{t.home.intro_bridge}

    {t.home.intro_services.map((s, i) => (
  1. {String(i + 1).padStart(2, "0")} {s}
  2. ))}

{t.home.intro_outro}

); }; // Smaller, animated map preview for hero const HeroMapPreview = ({ lang, t, onPick }) => { const data = window.DAOOB_DATA; // Reuse a tightly cropped slice of the map return (
{/* Overlay caption */}
RYD-4421-OL · OLAYA
{lang === "ar" ? "تم اختيار القطعة — انقر للمتابعة" : "Parcel selected — click to continue"}
); }; Object.assign(window, { Home });