1import{j as e,m as d,ae as W,br as O,aV as re,aG as y,Z as B,aX as A,G as H,c as w,B as le,bs as ie,N as ne,bt as F,bu as oe,ar as ce,A as de,aE as xe,bn as R,bv as me,U as q,bw as be,n as pe,h as ue,q as ge,$ as he,a9 as fe,L as je,bQ as ve,X as Ne,bP as ye,aA as U,a3 as we,C as ke,cL as Ce,cM as Se}from"./vendor-ui-Ceskgwsk.js";import{r as o}from"./vendor-react-CCASLy5f.js";import{t as Ae,a as V,b as Ee}from"./vendor-export-CPx_PXmH.js";import{B as Ie,x as $e,y as De,p as Le,f as ze,C as Pe}from"./index-DXwhz1eX.js";import{C as k,r as Me,p as Te}from"./vendor-charts-Vta3ty8W.js";import We from"./AgentGridFlow-CL_chn4B.js";import Oe from"./DistributedExpertNetwork-XKmNxeR7.js";import Be from"./AgentsArchitectureVisualization-t7yEXR5e.js";import{C as He,O as Ve,b as Ge,B as Fe,T as G,P as Re}from"./vendor-three-Ba8YEkji.js";import"./vendor-dnd-ClVenGh6.js";import"./vendor-supabase-C2hQM-tW.js";import"./vendor-p5-Bk8QSIky.js";import"./vendor-xyflow-B-cHXdb3.js";k.register(...Me,Te);const u={initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6}},qe=({setRef:t})=>e.jsxs("div",{className:"relative bg-black text-white overflow-hidden",children:[e.jsx("div",{ref:t==null?void 0:t("env-hero"),children:e.jsx(Ue,{})}),e.jsx("div",{ref:t==null?void 0:t("env-problem"),children:e.jsx(Ze,{})}),e.jsx("div",{ref:t==null?void 0:t("env-solution"),children:e.jsx(_e,{})}),e.jsx("div",{ref:t==null?void 0:t("env-comparison"),children:e.jsx(Je,{})}),e.jsx("div",{ref:t==null?void 0:t("env-energy"),children:e.jsx(Ye,{})}),e.jsx("div",{ref:t==null?void 0:t("env-cooling"),children:e.jsx(Qe,{})}),e.jsx("div",{ref:t==null?void 0:t("env-elasticity"),children:e.jsx(et,{})}),e.jsx("div",{ref:t==null?void 0:t("env-verdict"),children:e.jsx(tt,{})}),e.jsx("div",{ref:t==null?void 0:t("env-vision"),children:e.jsx(at,{})}),e.jsx("div",{className:"h-24"})]}),Ue=()=>e.jsxs("section",{className:"relative min-h-[85vh] flex items-center justify-center px-6 py-20",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-emerald-900/10 via-trans
1parent to-teal-900/10"}),e.jsx("div",{className:"container mx-auto max-w-7xl relative",children:e.jsxs(d.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[e.jsx(d.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},transition:{duration:1,delay:.2},className:"inline-block mb-8 p-8 rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-slate-700/50 shadow-[0_8px_32px_0_rgba(16,185,129,0.15)]",children:e.jsx(W,{className:"h-20 w-20 text-emerald-400 mx-auto"})}),e.jsx("h1",{className:"text-5xl sm:text-6xl md:text-7xl lg:text-8xl font-bold mb-6 bg-gradient-to-r from-emerald-400 via-teal-400 to-cyan-400 bg-clip-text text-transparent",children:"Environmental Benefits"}),e.jsx("p",{className:"text-xl md:text-2xl text-slate-300 max-w-4xl mx-auto leading-relaxed mb-4",children:"How ReEnvision AI's distributed architecture eliminates the environmental toll of centralized data centers"}),e.jsx("p",{className:"text-base md:text-lg text-slate-500 max-w-2xl mx-auto leading-relaxed",children:"Zero water consumption. 85% less energy. No new land. AI that works in harmony with the planet."}),e.jsx(d.div,{animate:{y:[0,10,0]},transition:{duration:2,repeat:O},className:"mt-12",children:e.jsx(re,{className:"h-8 w-8 text-emerald-400 mx-auto"})})]})})]}),Ze=()=>{const t=[{icon:B,value:"176 TWh",label:"Annual US Data Center Electricity",detail:"Equivalent to powering all of Ireland",color:"text-amber-400",border:"border-amber-500/30",bg:"bg-amber-500/10"},{icon:y,value:"100,000",label:"Homes Worth of Power",detail:"Per single AI hyperscale data center",color:"text-red-400",border:"border-red-500/30",bg:"bg-red-500/10"}
1,{icon:A,value:"5M gal",label:"Water Consumed Daily",detail:"Just for cooling a single facility",color:"text-sky-400",border:"border-sky-500/30",bg:"bg-sky-500/10"},{icon:H,value:"100s",label:"Acres of Land Per Center",detail:"Displacing farms, housing & habitats",color:"text-emerald-400",border:"border-emerald-500/30",bg:"bg-emerald-500/10"}];return e.jsxs("section",{className:"py-24 px-6 relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-red-900/5 to-transparent"}),e.jsxs("div",{className:"container mx-auto max-w-6xl relative",children:[e.jsxs(d.div,{...u,className:"text-center mb-14",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-red-500/15 border border-red-500/30 rounded-full px-4 py-1.5 mb-5",children:[e.jsx(y,{className:"w-3.5 h-3.5 text-red-400"}),e.jsx("span",{className:"text-red-300 text-xs font-semibold tracking-wide",children:"The Problem"})]}),e.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-4 text-white",children:["The Environmental Cost of"," ",e.jsx("span",{className:"text-red-400",children:"Traditional AI"})]}),e.jsx("p",{className:"text-lg text-slate-400 max-w-3xl mx-auto",children:"The rapid growth of AI has led to a surge in energy-intensive data centers worldwide"})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-6 mb-10",children:t.map((r,s)=>{const n=r.icon;return e.jsx(d.div,{initial:{opacity:0,x:s%2===0?-20:20},whileInView:{opacity:1,x:0},transition:{delay:.1+s*.1,duration:.5},viewport:{once:!0},className:`p-6 rounded-2xl bg-slate-800/40 border ${r.border} backdrop-blur-sm`,children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl ${r.bg} ${r.border} border`,children:e.jsx(n,{className:`h-6 w-6 ${r.color}`})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:`text-3xl font-bold ${r.color} mb-1`,children:r.value}),e.jsx("div",{className:"text-white font-semibold text-sm mb-1",children:r.label}),e.jsx("div",{className:"text-slate-400 text-sm",children:r.detail})]})]})},r.label)})}),e.jsx(d.div,{...u,transition:{delay:.5},className:"p-6 rounded-2xl bg-slate-800/40 border border-slate-700/50 text-center",children:e.jsxs("p",{className:"text-slate-300 text-lg leading-relaxed max-w-4xl mx-auto",children:["These facilities sprawl across ",e.jsx("span",{className:"text-emerald-400 font-semibold",children:"hundreds of acres"})," of land that otherwise could be used for farms, housing, or natural habitats -- and the AI industry is on track to ",e.jsx("span",{className:"text-amber-400 font-semibold",children:"double"})," its energy consumption by 2030."]})})]})]})},_e=()=>e.jsxs("section",{className:"py-24 px-6 relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-blue-900/5 to-transparent"}),e.jsxs("div",{className:"container mx-auto max-w-6xl relative",children:[e.jsxs(d.div,{...u,className:"text-center mb-14",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-blue-500/15 border border-blue-500/30 rounded-full px-4 py-1.5 mb-5",children:[e.jsx(w,{className:"w-3.5 h-3.5 text-blue-400"}),e.jsx("span",{className:"text-blue-300 text-xs font-semibold tracking-wide",children:"Our Approach"})]}),e.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-4",children:[e.jsx("span",{className:"text-white",children:"ReEnvision's "}),e.jsx("span",{className:"bg-gradient-to-r from-blue-400 to-emerald-400 bg-clip-text text-transparent",children:"Sustainable Solution"})]}),e.jsx("p",{className:"text-lg text-slate-400 max-w-2xl mx-auto",children:"Distributed AI computing that repurposes existing hardware"})]}),e.jsx(d.div,{...u,className:"p-8 rounded-2xl bg-slate-800/40 border border-blue-500/20 backdrop-blur-sm mb-8",children:e.jsxs("div",{className:"flex items-start gap-6",children:[e.jsx("div",{className:"p-4 rounded-xl bg-blue-500/15 border border-blue-500/30 shrink-0",children:e.jsx(w,{className:"h-8 w-8 text-blue-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-bold text-white mb-3",children:"Distributed Computing Network"}),e.jsx("p",{className:"text-slate-300 text-lg leading-relaxed",children:"Instead of building more giant server farms, we tap into the world's existing computing power. Idle GPUs and CPUs in everyday devices -- corporate desktops, personal laptops, underutilized servers in offices and micro data centers -- are all linked into a collaborative computing network."})]})]})}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-6 mb-8",children:[e.jsxs(d.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{delay:.2,duration:.5},viewport:{once:!0},className:"p-6 rounded-2xl bg-slate-800/40 border border-blue-500/20",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2.5 rounded-lg bg-blue-500/15 border border-blue-500/30",children:e.jsx(le,{className:"h-5 w-5 text-blue-400"})}),e.jsx("h4",{className:"text-xl font-semibold text-blue-300",children:"No New Construction"})]}),e.jsx("p",{className:"text-slate-400 leading-relaxed",children:"Fewer new data centers means less construction, less cooling infrastru
1cture, and far lower resource consumption. Zero additional land, water, or power grid strain."})]}),e.jsxs(d.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{delay:.3,duration:.5},viewport:{once:!0},className:"p-6 rounded-2xl bg-slate-800/40 border border-emerald-500/20",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2.5 rounded-lg bg-emerald-500/15 border border-emerald-500/30",children:e.jsx(ie,{className:"h-5 w-5 text-emerald-400"})}),e.jsx("h4",{className:"text-xl font-semibold text-emerald-300",children:"Extended Hardware Life"})]}),e.jsx("p",{className:"text-slate-400 leading-relaxed",children:"About 80% reduction in new equipment needs by utilizing existing machines already out in the world, reducing e-waste and embodied carbon from manufacturing."})]})]}),e.jsx(d.div,{...u,className:"flex flex-wrap justify-center gap-6",children:[{value:"0",label:"New Land Required",color:"text-emerald-400"},{value:"80%",label:"Less New Hardware",color:"text-blue-400"},{value:"30%",label:"Less Energy",color:"text-cyan-400"}].map(t=>e.jsxs("div",{className:"text-center px-6 py-4 rounded-xl bg-slate-800/40 border border-slate-700/50",children:[e.jsx("div",{className:`text-3xl font-bold ${t.color} mb-1`,children:t.value}),e.jsx("div",{className:"text-xs text-slate-500 uppercase tracking-widest",children:t.label})]},t.label))})]})]}),Xe=[{label:"Cooling Method",icon:F,centralized:"Evaporative cooling towers, direct-to-chip liquid cooling systems",distributed:"Ambient air cooling, existing residential HVAC infrastructure"},{label:"Water Consumption",icon:A,centralized:"High -- 1 to 9 liters per kWh of compute",distributed:"Zero direct industrial water withdrawal"},{label:"Load Profile",icon:oe,centralized:"Concentrated, predictable baseload requiring massive cooling infrastructure",distributed:"Diffused across thousands of nodes, variable based on ambient temperatures"},{label:"Environmental Impact",icon:ce,centralized:'Severe depletion of local "blue water" aquifers; localized micro-climate heating',distributed:"Increased summer residential AC load offset by beneficial winter space heating"}],Je=()=>e.jsxs("section",{className:"py-24 px-6 relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-emerald-900/5 to-transparent"}),e.jsxs("div",{className:"container mx-auto max-w-6xl relative",children:[e.jsxs(d.div,{...u,className:"text-center mb-14",children:[e.jsx("div",{className:"w-16 h-[2px] mx-auto mb-8 bg-gradient-to-r from-emerald-500 to-teal-400"}),e.jsxs("h2",{className:"text-4xl md:text-5xl font-bold text-white leading-tight tracking-tight mb-4",children:["Hyperscale vs."," ",e.jsx("span",{className:"text-transparent bg-gradient-to-r from-emerald-400 to-teal-400 bg-clip-text",children:"Edge"})]}),e.jsx("p",{className:"text-lg text-slate-400 max-w-3xl mx-auto",children:"Centralized data centers drain aquifers and heat communities. Distributed edge networks eliminate industrial water use entirely."})]}),e.jsxs(d.div,{...u,className:"grid grid-cols-2 gap-4 mb-6",children:[e.jsxs("div",{className:"flex items-center justify-center gap-3 bg-red-500/10 border border-red-500/20 rounded-xl py-3 px-4",children:[e.jsx(y,{className:"w-5 h-5 text-red-400"}),e.jsx("span",{className:"text-sm font-bold text-red-400 uppercase tracking-wider",children:"Centralized Hyperscale"})]}),e.jsxs("div",{className:"flex items-center justify-center gap-3 bg-emerald-500/10 border border-emerald-500/20 rounded-xl py-3 px-4",children:[e.jsx(ne,{className:"w-5 h-5 text-emerald-400"}),e.jsx("span",{className:"text-sm font-bold text-emerald-400 uppercase tracking-wider",children:"Distributed Edge"})]})]}),e.jsx("div",{className:"space-y-3",children:Xe.map((t,r)=>{const s=t.icon;return e.jsxs(d.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:.1+r*.1,duration:.5},viewport:{once:!0},className:"bg-slate-800/50 border border-slate-700/60 rounded-2xl p-5 backdrop-blur-sm",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg bg-slate-700/50 border border-slate-600/40 flex items-center justify-center",children:e.jsx(s,{className:"w-4 h-4 text-slate-300"})}),e.jsx("span",{className:"text-xs uppercase tracking-wider text-slate-400 font-bold",children:t.label})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-start gap-2.5",children:[e.jsx(de,{className:"w-4 h-4 text-red-400 shrink-0 mt-0.5"}),e.jsx("p",{className:"text-sm text-slate-400 leading-relaxed",children:t.centralized})]}),e.jsxs("div",{className:"flex items-start gap-2.5",children:[e.jsx(xe,{className:"w-4 h-4 text-emerald-400 shrink-0 mt-0.5"}),e.jsx("p",{className:"text-sm text-slate-300 leading-relaxed",children:t.distributed})]})]})]},t.label)})})]})]}),Ye=()=>{const t=o.useRef(null),r=o.useRef(null),s=o.useRef(null),n=o.useRef(null),a=o.useRef(!1);o.useEffect(()=>{if(!a.current){if(a.current=!0,t.current){const l=t.current.getContext("2d");
1l&&(s.current=new k(l,{type:"doughnut",data:{labels:["Net-New Grid Power","Existing Base Load","Renewable Integration"],datasets:[{label:"Datacenter",data:[90,0,10],backgroundColor:["#ef4444","#1e293b","#10b981"],borderColor:"#0f172a",borderWidth:2},{label:"ReEnvision AI",data:[15,80,5],backgroundColor:["#f59e0b","#3b82f6","#10b981"],borderColor:"#0f172a",borderWidth:2}]},options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{position:"bottom",labels:{color:"#e2e8f0",font:{size:11},padding:12}},datalabels:{display:!1},tooltip:{callbacks:{title:m=>{var h;const x=(h=m[0].chart.data.labels)==null?void 0:h[m[0].dataIndex];return Array.isArray(x)?x.join(" "):String(x||"")},label:m=>`${m.dataset.label}: ${m.parsed}%`}}}}}))}if(r.current){const l=r.current.getContext("2d");l&&(n.current=new k(l,{type:"bar",data:{labels:["Traditional Datacenter","ReEnvision Distributed"],datasets:[{label:"Marginal MW Added to Grid",data:[450,65],backgroundColor:["#ef4444","#3b82f6"],borderRadius:6}]},options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},datalabels:{anchor:"end",align:"end",color:"#ffffff",font:{size:14,weight:"bold"},formatter:m=>`${m} MW`,padding:4},tooltip:{callbacks:{label:m=>`${m.parsed.y} MW`}}},scales:{x:{ticks:{color:"#94a3b8",font:{size:11}},grid:{color:"rgba(148, 163, 184, 0.1)"}},y:{beginAtZero:!0,ticks:{color:"#94a3b8",callback:m=>`${m} MW`},grid:{color:"rgba(148, 163, 184, 0.1)"}}}}}))}return()=>{s.current&&s.current.destroy(),n.current&&n.current.destroy()}}},[]);
1const i=[{icon:B,label:"Brown Energy",detail:"Utilizes existing device base load",color:"text-amber-400",border:"border-amber-500/20",bg:"bg-amber-500/10"},{icon:F,label:"Ambient Cooling",detail:"Zero active water consumption",color:"text-sky-400",border:"border-sky-500/20",bg:"bg-sky-500/10"},{icon:R,label:"Cost Elasticity",detail:"Capacity scales with user demand",color:"text-emerald-400",border:"border-emerald-500/20",bg:"bg-emerald-500/10"},{icon:w,label:"Any Silicon",detail:"AMD, Intel, Nvidia, Apple Silicon",color:"text-blue-400",border:"border-blue-500/20",bg:"bg-blue-500/10"}];return e.jsxs("section",{className:"py-24 px-6 relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-blue-900/5 to-transparent"}),e.jsxs("div",{className:"container mx-auto max-w-6xl relative",children:[e.jsxs(d.div,{...u,className:"text-center mb-10",children:[e.jsx("div",{className:"w-16 h-[2px] mx-auto mb-8 bg-gradient-to-r from-blue-500 to-emerald-400"}),e.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[e.jsx("span",{className:"text-blue-400 font-bold text-lg",children:"01."}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-white leading-tight tracking-tight",children:["The Energy"," ",e.jsx("span",{className:"text-transparent bg-gradient-to-r from-blue-400 to-emerald-400 bg-clip-text",children:"Equation"})]})]}),e.jsx("p",{className:"text-base md:text-lg text-slate-400 max-w-3xl mx-auto mt-4 leading-relaxed",children:'Hyperscale datacenters pull massive net-new electricity directly from the grid. ReEnvision AI runs on "brown" power -- the base electricity already consumed by idling machines -- cutting marginal energy by 85%.'})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-8",children:i.map((l,m)=>{const x=l.icon;return e.jsxs(d.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},transition:{delay:.1+m*.1,duration:.4},viewport:{once:!0},className:`${l.bg} border ${l.border} rounded-xl p-3 text-center backdrop-blur-sm`,children:[e.jsx(x,{className:`w-5 h-5 mx-auto mb-1.5 ${l.color}`}),e.jsx("div",{className:`text-sm font-bold ${l.color}`,children:l.label}),e.jsx("div",{className:"text-[10px] text-slate-400 mt-0.5",children:l.detail})]},l.label)})}),e.jsxs(d.div,{...u,className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"bg-slate-800/50 border border-slate-700/60 rounded-2xl p-5 backdrop-blur-sm",children:[e.jsx("h3",{className:"text-sm font-semibold text-slate-300 mb-3 text-center uppercase tracking-wider",children:"Energy Source Profile"}),e.jsx("div",{className:"relative w-full",style:{height:"260px"},children:e.jsx("canvas",{ref:t})}),e.jsx("p",{className:"text-[10px] text-slate-500 text-center mt-2",children:"Outer ring: Datacenter | Inner ring: ReEnvision AI"})]}),e.jsxs("div",{className:"bg-slate-800/50 border border-slate-700/60 rounded-2xl p-5 backdrop-blur-sm",children:[e.jsx("h3",{className:"text-sm font-semibold text-slate-300 mb-3 text-center uppercase tracking-wider",children:"Marginal Grid Draw (MW per 10K Petaflops)"}),e.jsx("div",{className:"relative w-full",style:{height:"260px"},children:e.jsx("canvas",{ref:r})}),e.jsx("p",{className:"text-[10px] text-slate-500 text-center mt-2",children:"85% less marginal energy with distributed compute"})]})]})]})]})};function Ke(t,r=16){if(t.length<=r)return t;const s=t.split(" "),n=[];let a=s[0];for(let i=1;i<s.length;i++)a.length+1+s[i].length<=r?a+=" "+s[i]:(n.push(a),a=s[i]);return n.push(a),n}const Qe=()=>{const t=o.useRef(null),r=o.useRef(null),s=o.useRef(!1);o.useEffect(()=>{if(s.current||!t.current)return;s.current=!0;const a=t.current.getContext("2d");if(a)return r.current=new k(a,{type:"radar",data:{labels:["Active Water Consumption","HVAC Electricity Demand","Specialized Cooling Capex","Geographic Climate Limits"].map(i=>Ke(i)),datasets:[{label:"Traditional Datacenter",data:[100,95,90,85],backgroundColor:"rgba(239, 68, 68, 0.15)",borderColor:"#ef4444",pointBackgroun
1dColor:"#ef4444",pointBorderColor:"#ef4444",pointRadius:5,borderWidth:2},{label:"ReEnvision AI Network",data:[5,15,5,10],backgroundColor:"rgba(59, 130, 246, 0.25)",borderColor:"#3b82f6",pointBackgroundColor:"#3b82f6",pointBorderColor:"#3b82f6",pointRadius:5,borderWidth:2}]},options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{position:"bottom",labels:{color:"#e2e8f0",font:{size:12},padding:16,usePointStyle:!0,pointStyle:"circle"}},datalabels:{display:!1},tooltip:{callbacks:{title:i=>{var m;const l=(m=i[0].chart.data.labels)==null?void 0:m[i[0].dataIndex];return Array.isArray(l)?l.join(" "):String(l||"")},label:i=>`${i.dataset.label}: ${i.parsed.r}/100`}}},scales:{r:{angleLines:{color:"rgba(148, 163, 184, 0.2)"},grid:{color:"rgba(148, 163, 184, 0.15)"},pointLabels:{font:{size:11,weight:"bold"},color:"#e2e8f0"},ticks:{display:!1},suggestedMin:0,suggestedMax:100}}}}),()=>{r.current&&r.current.destroy()}},[]);const n=[{icon:A,title:"Water Elimination",stat:"100%",detail:"Distributed edge nodes use zero industrial water. No evaporative cooling towers, no direct-to-chip liquid systems.",color:"text-sky-400",bg:"bg-sky-500/10",border:"border-sky-500/20"},{icon:me,title:"Ambient Cooling",stat:"95%",detail:"Devices in homes and offices use existing HVAC. Thermal load is naturally diffused across thousands of locations.",color:"text-emerald-400",bg:"bg-emerald-500/10",border:"border-emerald-500/20"}];return e.jsxs("section",{className:"py-24 px-6 relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-sky-900/5 to-transparent"}),e.jsxs("div",{className:"container mx-auto max-w-6xl relative",children:[e.jsxs(d.div,{...u,className:"text-center mb-10",children:[e.jsx("div",{className:"w-16 h-[2px] mx-auto mb-8 bg-gradient-to-r from-sky-500 to-emerald-400"}),e.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[e.jsx("span",{className:"text-emerald-400 font-bold text-lg",children:"02."}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-white leading-tight tracking-tight",children:["Zero-Impact"," ",e.jsx("span",{className:"text-transparent bg-gradient-to-r from-sky-400 to-emerald-400 bg-clip-text",children:"Cooling"})]})]}),e.jsx("p",{className:"text-base md:text-lg text-slate-400 max-w-3xl mx-auto mt-4 leading-relaxed",children:"Concentrating tens of thousands of GPUs generates extreme heat requiring millions of gallons of water. Distributing compute across a global edge network eliminates centralized water consumption and industrial
1cooling entirely."})]}),e.jsxs(d.div,{...u,className:"grid grid-cols-1 lg:grid-cols-5 gap-4",children:[e.jsxs("div",{className:"lg:col-span-3 bg-slate-800/50 border border-slate-700/60 rounded-2xl p-6 backdrop-blur-sm",children:[e.jsx("h3",{className:"text-sm font-semibold text-slate-300 mb-4 text-center uppercase tracking-wider",children:"Cooling Resource Intensity Index"}),e.jsx("div",{className:"relative w-full",style:{height:"320px"},children:e.jsx("canvas",{ref:t})})]}),e.jsx("div",{className:"lg:col-span-2 flex flex-col gap-4",children:n.map(a=>{const i=a.icon;return e.jsxs("div",{className:`${a.bg} border ${a.border} rounded-2xl p-5 backdrop-blur-sm flex-1`,children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsx("div",{className:`w-10 h-10 rounded-xl ${a.bg} border ${a.border} flex items-center justify-center`,children:e.jsx(i,{className:`w-5 h-5 ${a.color}`})}),e.jsxs("div",{children:[e.jsx("div",{className:`text-sm font-bold ${a.color}`,children:a.title}),e.jsxs("div",{className:`text-2xl font-bold ${a.color}`,children:[a.stat,e.jsx("span",{className:"text-xs font-normal text-slate-400 ml-1",children:"reduction"})]})]})]}),e.jsx("p",{className:"text-sm text-slate-400 leading-relaxed",children:a.detail})]},a.title)})})]})]})]})},et=()=>{const t=o.useRef(null),r=o.useRef(null),s=o.useRef(!1);o.useEffect(()=>{if(s.current||!t.current)return;s.current=!0;const a=t.current.getContext("2d");if(!a)return;const i=a.createLinearGradient(0,0,0,320);return i.addColorStop(0,"rgba(255, 87, 34, 0.15)"),i.addColorStop(1,"rgba(255, 87, 34, 0.01)"),r.current=new k(a,{type:"line",data:{labels:["12 AM","4 AM","8 AM","12 PM","4 PM","8 PM","12 AM"],datasets:[{label:"AI Inference Demand",data:[30,15,60,100,90,75,40],borderColor:"#ff5722",backgroundColor:i,borderWidth:3,tension:.4,fill:!0,pointRadius:4,pointBackgroun
1dColor:"#ff5722",pointBorderColor:"#ff5722"},{label:"ReEnvision Online Capacity",data:[35,20,70,110,95,85,45],borderColor:"#10b981",borderDash:[6,4],borderWidth:3,tension:.4,fill:!1,pointRadius:4,pointBackgroundColor:"#10b981",pointBorderColor:"#10b981"},{label:"Static Datacenter Capacity",data:[100,100,100,100,100,100,100],borderColor:"#ef4444",borderWidth:2,tension:0,fill:!1,pointRadius:0,borderDash:[2,2]}]},options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{legend:{position:"bottom",labels:{color:"#e2e8f0",font:{size:11},padding:16,usePointStyle:!0,pointStyle:"line"}},datalabels:{display:!1},tooltip:{backgroundColor:"rgba(15, 23, 42, 0.9)",borderColor:"rgba(148, 163, 184, 0.3)",borderWidth:1,titleColor:"#e2e8f0",bodyColor:"#94a3b8"}},scales:{x:{ticks:{color:"#94a3b8",font:{size:11}},grid:{color:"rgba(148, 163, 184, 0.08)"},title:{display:!0,text:"Time of Day (UTC)",color:"#64748b",font:{size:11}}},y:{beginAtZero:!0,ticks:{color:"#94a3b8",font:{size:11},callback:l=>`${l}%`},grid:{color:"rgba(148, 163, 184, 0.08)"},title:{display:!0,text:"Capacity Utilization",color:"#64748b",font:{size:11}}}}}}),()=>{r.current&&r.current.destroy()}},[]);const n=[{icon:y,label:"Static Provisioning",detail:"Datacenters build to peak and sit idle off-hours",color:"text-red-400",bg:"bg-red-500/10",border:"border-red-500/20"},{icon:q,label:"Organic Elasticity",detail:"Capacity scales as users wake and turn on devices",color:"text-emerald-400",bg:"bg-emerald-500/10",border:"border-emerald-500/20"},{icon:be,label:"Demand Matching",detail:"Online capacity naturally tracks AI inference demand",color:"text-amber-400",bg:"bg-amber-500/10",border:"border-amber-500/20"}];return e.jsxs("section",{className:"py-24 px-6 relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-amber-900/5 to-transparent"}),e.jsxs("div",{className:"container mx-auto max-w-6xl relative",children:[e.jsxs(d.div,{...u,className:"text-center mb-10",children:[e.jsx("div",{className:"w-16 h-[2px] mx-auto mb-8 bg-gradient-to-r from-amber-500 to-emerald-400"}),e.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[e.jsx("span",{className:"text-amber-400 font-bold text-lg",children:"03."}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-white leading-tight tracking-tight",children:["Organic"," ",e.jsx("span",{className:"text-transparent bg-gradient-to-r from-amber-400 to-emerald-400 bg-clip-text",children:"Elasticity"})]})]}),e.jsx("p",{className:"text-base md:text-lg text-slate-400 max-w-3xl mx-auto mt-4 leading-relaxed",children:"Datacenters build massive capacity that sits idle during off-hours. The ReEnvision distributed cluster scales naturally as users turn on their machines -- compute capacity tracks AI demand organically."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 mb-6",children:n.map(a=>{const i=a.icon;return e.jsxs(d.div,{...u,className:`${a.bg} border ${a.border} rounded-xl p-4 backdrop-blur-sm`,children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx(i,{className:`w-4 h-4 ${a.color}`}),e.jsx("span",{className:`text-xs font-bold ${a.color}`,children:a.label})]}),e.jsx("p",{className:"text-xs text-slate-400 leading-relaxed",children:a.detail})]},a.label)})}),e.jsxs(d.div,{...u,className:"bg-slate-800/50 border border-slate-700/60 rounded-2xl p-6 backdrop-blur-sm",children:[e.jsx("h3",{className:"text-sm font-semibold text-slate-300 mb-4 text-center uppercase tracking-wider",children:"Compute Capacity vs. Daily AI Demand Curve"}),e.jsx("div",{className:"relative w-full",style:{height:"300px"},children:e.jsx("canvas",{ref:t})})]})]})]})},tt=()=>{const t=[{icon:R,value:"85%",label:"Marginal Energy Cost",prefix:"Down",color:"text-emerald-400",bg:"bg-emerald-500/10",border:"border-emerald-500/20"},{icon:A,value:"Zero",label:"Datacenter Water Usage",prefix:"",color:"text-sky-400",bg:"bg-sky-500/10",border:"border-sky-500/20"},{icon:O,value:"Infinite",label:"Organic Scaling",prefix:"",color:"text-amber-400",bg:"bg-amber-500/10",border:"border-amber-500/20"}
1],r=[{icon:W,title:"Sunk Hardware Costs",detail:"Consumer and corporate machines already exist and are powered on. No new builds needed.",color:"text-emerald-400",bg:"bg-emerald-500/10",border:"border-emerald-500/20"},{icon:pe,title:"Ambient Cooling",detail:"Existing residential and office HVAC handles thermal load. No industrial cooling infrastructure.",color:"text-sky-400",bg:"bg-sky-500/10",border:"border-sky-500/20"},{icon:H,title:"Base-Load Energy",detail:"Brown power from devices already drawing from the grid. Minimal marginal energy draw.",color:"text-blue-400",bg:"bg-blue-500/10",border:"border-blue-500/20"}];return e.jsxs("section",{className:"py-24 px-6 relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-emerald-900/5 to-transparent"}),e.jsxs("div",{className:"container mx-auto max-w-6xl relative",children:[e.jsxs(d.div,{...u,className:"text-center mb-12",children:[e.jsx("div",{className:"w-16 h-[2px] mx-auto mb-8 bg-gradient-to-r from-emerald-500 to-sky-400"}),e.jsxs("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white leading-tight tracking-tight",children:["The Climate &"," ",e.jsx("span",{className:"text-transparent bg-gradient-to-r from-emerald-400 to-sky-400 bg-clip-text",children:"Economic Verdict"})]}),e.jsx("p",{className:"text-base md:text-lg text-slate-400 max-w-3xl mx-auto mt-8 leading-relaxed",children:"By decentralizing AI compute, ReEnvision AI not only democratizes access to state-of-the-art models but actively mitigates the impending energy crisis. Utilizing sunk hardware costs, ambient cooling, and base-load residential energy transforms a major global liability into a sustainable, distributed asset."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-8",children:t.map(s=>{const n=s.icon;return e.jsxs(d.div,{...u,className:`${s.bg} border ${s.border} rounded-2xl p-5 text-center backdrop-blur-sm`,children:[e.jsx("div",{className:`w-12 h-12 rounded-xl ${s.bg} border ${s.border} flex items-center justify-center mx-auto mb-3`,children:e.jsx(n,{className:`w-6 h-6 ${s.color}`})}),e.jsxs("div",{className:"flex items-baseline justify-center gap-1.5 mb-1",children:[s.prefix&&e.jsx("span",{className:"text-xs text-slate-500 font-medium",children:s.prefix}),e.jsx("span",{className:`text-3xl font-bold ${s.color}`,children:s.value})]}),e.jsx("div",{className:"text-sm text-slate-400 font-medium",children:s.label})]},s.label)})}),e.jsxs(d.div,{...u,className:"bg-slate-800/40 border border-emerald-500/20 rounded-2xl p-6 backdrop-blur-sm",children:[e.jsx("div",{className:"text-center mb-5",children:e.jsx("span",{className:"text-xs uppercase tracking-wider text-emerald-400 font-bold",children:"How Distributed Compute Transforms a Liability Into an Asset"})}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:r.map(s=>{const n=s.icon;return e.jsxs("div",{className:`${s.bg} border ${s.border} rounded-xl p-4`,children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(n,{className:`w-5 h-5 ${s.color}`}),e.jsx("span",{className:`text-sm font-bold ${s.color}`,children:s.title})]}),e.jsx("p",{className:"text-sm text-slate-400 leading-relaxed",children:s.detail})]},s.title)})})]}),e.jsxs(d.div,{...u,className:"mt-8 flex flex-wrap justify-center gap-3",children:[e.jsx("div",{className:"bg-slate-800/60 px-5 py-2.5 rounded-full text-emerald-400 text-sm font-semibold border border-emerald-500/20",children:"85% Less Marginal Energy"}),e.jsx("div",{className:"bg-slate-800/60 px-5 py-2.5 rounded-full text-sky-400 text-sm font-semibold border border-sky-500/20",children:"Zero Datacenter Water"}),e.jsx("div",{className:"bg-slate-800/60 px-5 py-2.5 rounded-full text-amber-400 text-sm font-semibold border border-amber-500/20",children:"Infinite Organic Scaling"})]})]})]})},at=()=>e.jsx("section",{className:"py-24 px-6 relative",children:e.jsx("div",{className:"container mx-auto max-w-5xl relative",children:e.jsxs(d.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},transition:{duration:.8},viewport:{once:!0},className:"text-center p-12 md:p-16 rounded-3xl bg-gradient-to-br from-emerald-900/15 via-blue-900/10 to-emerald-900/15 border border-slate-700/50 backdrop-blur-sm",children:[e.jsx(d.div,{animate:{rotate:360},transition:{duration:30,repeat:O,ease:"linear"},className:"inline-block mb-8",children:e.jsx(H,{className:"h-16 w-16 text-emerald-400"})}),e.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:e.jsx("span",{className:"bg-gradient-to-r from-emerald-300 via-teal-300 to-cyan-400 bg-clip-text text-transparent",children:"A Vision of Sustainable, Inclusive AI"})}),e.jsx("p",{className:"text-xl text-slate-300 leading-relaxed mb-10 max-w-3xl mx-auto",children:"We are built on the belief that we can reimagine how AI is powered to benefit both people and the planet. By transforming excess computing capacity into a collaborative, green AI cloud, we're showing that technological progress doesn't have to mean environmental sacrifice."}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6 mb-10",children:[{value:"77%",label:"Lower Emissions",color:"text-emerald-400",border:"border-emerald-500/30",bg:"bg-emerald-500/10",icon:W}
1,{value:"30%",label:"Less Energy",color:"text-blue-400",border:"border-blue-500/30",bg:"bg-blue-500/10",icon:w},{value:"80%",label:"Less New Hardware",color:"text-cyan-400",border:"border-cyan-500/30",bg:"bg-cyan-500/10",icon:q}].map(t=>e.jsxs("div",{className:`px-6 py-6 rounded-2xl ${t.bg} border ${t.border}`,children:[e.jsx(t.icon,{className:`h-6 w-6 ${t.color} mx-auto mb-3`}),e.jsx("div",{className:`text-4xl font-bold ${t.color} mb-1`,children:t.value}),e.jsx("div",{className:"text-sm text-slate-400",children:t.label})]},t.label))}),e.jsx("p",{className:"text-lg text-slate-400 italic",children:"AI for everyone, powered by everyone, in harmony with our Earth."})]})})}),st=()=>{try{const t=document.createElement("canvas");return(t.getContext("webgl")||t.getContext("experimental-webgl"))!==null}catch{return!1}},rt=({position:t,color:r,name:s,description:n,isActive:a})=>{const i=o.useRef(null),l=o.useRef(null),[m,x]=o.useState(!1);return Ge(h=>{i.current&&(i.current.rotation.y=Math.sin(h.clock.elapsedTime*.5)*.1,i.current.position.y=t[1]+Math.sin(h.clock.elapsedTime*.8+t[1])*.05,a&&(i.current.material.opacity=.8+Math.sin(h.clock.elapsedTime*2)*.2)),l.current&&i.current&&(l.current.position.copy(i.current.position),l.current.position.z=t[2]+3.1)}),e.jsxs("group",{position:t,children:[e.jsx(Fe,{ref:i,args:[5,1.5,3],scale:[2,2,2],onPointerOver:()=>x(!0),onPointerOut:()=>x(!1),children:e.jsx("meshStandardMaterial",{color:r,transparent:!0,opacity:a?.9:.7,roughness:.1,metalness:.9,emissive:r,emissiveIntensity:a?.3:.1})}),e.jsx(G,{ref:l,position:[0,0,t[2]+3.1],fontSize:.4,color:"white",anchorX:"center",anchorY:"middle",fontWeight:"bold",renderOrder:1,children:s}),m&&e.jsx(G,{position:[0,-.8,t[2]+3.2],fontSize:.15,color:"#e5e7eb",anchorX:"center",anchorY:"middle",maxWidth:3,renderOrder:2,children:n}),e.jsx(Re,{args:[.02,1.2],position:[0,-.8,0],rotation:[0,0,0],children:e.jsx("meshBasicMaterial",{color:"#3b82f6",transparent:!0,opacity:.6})})]})},L=({layers:t,activeLayer:r})=>{const s=[ue,ge,B,he,w,fe,y,je];return e.jsx("div",{className:"w-full h-full flex flex-col items-center justify-center p-8",children:e.jsx("div",{className:"flex flex-col gap-2 w-full max-w-lg",children:t.map((n,a)=>{const i=s[a%s.length],l=r===a;return e.jsxs("div",{className:`flex items-center gap-4 p-4 rounded-xl transition-all duration-500 ${l?"scale-105":"scale-100 opacity-70"}`,style:{background:l?`linear-gradient(135deg, ${n.color}30, ${n.color}
110)`:"rgba(30, 41, 59, 0.5)",border:`1px solid ${l?n.color:"rgba(255,255,255,0.1)"}`,boxShadow:l?`0 0 20px ${n.color}40`:"none"},children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{backgroundColor:n.color},children:e.jsx(i,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h4",{className:"font-semibold text-white text-sm",children:n.name}),l&&e.jsx("p",{className:"text-xs text-gray-400 mt-1",children:n.description})]})]},n.name)})})})},lt=()=>{var x,h,v;const[t,r]=o.useState(0),[s,n]=o.useState(null),[a,i]=o.useState(!1),l=[{name:"AI Agents",description:"Autonomous AI agents that orchestrate and manage complex workflows",color:"#ff6b35",position:[0,4,3]},{name:"Distributed Private LLM Cloud",description:"Distributed private cloud infrastructure for LLM processing",color:"#ff3838",position:[0,3.2,2.4]},{name:"Tools/MCP",description:"Model Context Protocol and external tools integration",color:"#ff9500",position:[0,2.4,1.8]},{name:"RAG System",description:"Retrieval-Augmented Generation",color:"#00d4ff",position:[0,1.6,1.2]},{name:"Context Aware Generation",description:"Context-aware processing",color:"#00ff88",position:[0,.8,.6]},{name:"Long Term Storage",description:"Persistent data storage",color:"#88ff00",position:[0,0,0]},{name:"Short Term Memory",description:"Temporary processing and context storage",color:"#ffff00",position:[0,-.8,-.6]},{name:"Micro Services",description:"Microservices architecture foundation layer",color:"#ff00ff",position:[0,-1.6,-1.2]}];o.useEffect(()=>{n(st())},[]),o.useEffect(()=>{const f=setInterval(()=>{r(j=>(j+1)%l.length)},2500);return()=>clearInterval(f)},[l.length]);const m=s===!1||a;return e.jsxs("div",{className:"w-full h-[600px] bg-slate-900/50 backdrop-blur-sm border border-slate-600/40 rounded-2xl overflow-hidden relative",children:[s===null?e.jsx(L,{layers:l,activeLayer:t}):m?e.jsx(L,{layers:l,activeLayer:t}):e.jsxs(He,{camera:{position:[8,2,8],fov:75},onError:()=>i(!0),fallback:e.jsx(L,{layers:l,activeLayer:t}),children:[e.jsx("ambientLight",{intensity:.6}),e.jsx("pointLight",{position:[15,15,15],intensity:1.2}),e.jsx("pointLight",{position:[-15,-15,-15],intensity:.6,color:"#ff6b35"}),e.jsx("pointLight",{position:[0,10,10],intensity:.8,color:"#00d4ff"}),e.jsx(Ve,{enablePan:!0,enableZoom:!0,enableRotate:!0,autoRotate:!1,maxDistance:15,minDistance:6}),l.map((f,j)=>e.jsx(rt,{position:f.position,color:f.color,name:f.name,description:f.description,isActive:t===j},f.name)),e.jsx("gridHelper",{args:[12,12,"#64748b","#475569"],position:[0,-4,0]})]}),e.jsxs("div",{className:"absolute bottom-6 left-6 glass-panel p-4 max-w-md",children:[e.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[e.jsx("div",{className:"w-4 h-4 rounded",style:{backgroundColor:(x=l[t])==null?void 0:x.color}}),e.jsxs("h4",{className:"font-semibold text-white",children:["Layer ",t+1,": ",(h=l[t])==null?void 0:h.name]})]}),e.jsx("p",{className:"text-sm text-secondary mb-2",children:(v=l[t])==null?void 0:v.description}),e.jsxs("div",{className:"text-xs text-gray-400",children:[t+1," of ",l.length," layers"]})]})]})},it=({sectionRefs:t,setRef:r})=>e.jsxs("div",{className:"relative bg-black text-white overflow-hidden",children:[e.jsxs("div",{ref:r("arch-hero"),className:"py-16 px-4 sm:px-6 lg:px-8 max-w-[1600px] mx-auto text-center",children:[e.jsx("div",{className:"flex justify-center mb-8",children:e.jsx(Ie,{size:120,autoSpin:.25,tilt:.15})}),e.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-white mb-4",children:"Platform Architecture"}),e.jsx("p",{className:"text-slate-400 text-lg max-w-3xl mx-auto",children:"ReEnvisionOS distributed inference grid powering autonomous AI agents across global infrastructure"})]}),e.jsxs("div",{ref:r("arch-agent-grid"),className:"py-12 px-4 sm:px-6 lg:px-8 max-w-[1600px] mx-auto",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-white mb-2",children:"Distributed AI Compute Flow"}),e.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto text-sm",children:"Multi-agent orchestration across ReEnvisionOS distributed compute infrastru
1cture"})]}),e.jsx(We,{className:"w-full"})]}),e.jsx("div",{ref:r("arch-agent-collab"),className:"py-12 px-4 sm:px-6 lg:px-8 max-w-[1600px] mx-auto",children:e.jsx($e,{className:"w-full"})}),e.jsx("div",{ref:r("arch-expert-network"),className:"py-12 px-4 sm:px-6 lg:px-8 max-w-[1600px] mx-auto",children:e.jsx(Oe,{className:"w-full"})}),e.jsxs("div",{ref:r("arch-2d"),className:"py-12 px-4 sm:px-6 lg:px-8 max-w-[1600px] mx-auto",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-white mb-2",children:"System Architecture"}),e.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto text-sm",children:"End-to-end data flow across the ReEnvision AI platform layers"})]}),e.jsx(De,{className:"w-full"})]}),e.jsx("div",{ref:r("arch-agents-viz"),className:"py-12 px-4 sm:px-6 lg:px-8 max-w-[1600px] mx-auto",children:e.jsx(Be,{className:"w-full"})}),e.jsx("div",{ref:r("arch-layered"),className:"py-12 px-4 sm:px-6 lg:px-8 max-w-[1600px] mx-auto",children:e.jsx(lt,{})})]}),M=[{id:"home-hero",label:"Hero Carousel"},{id:"home-yin-yang",label:"Agents and Apps & Distributed AI Compute"},{id:"home-video",label:"Video"},{id:"home-why",label:"Why ReEnvision"},{id:"home-platform",label:"Platform Showcase"},{id:"home-usecases",label:"Use Case Stories"},{id:"home-features",label:"Features"},{id:"home-pricing",label:"Pricing"},{id:"home-security",label:"Security Preview"},{id:"home-competitive",label:"Competitive Advantage"}],Z=[{id:"env-hero",label:"Environmental Hero"},{id:"env-problem",label:"The Problem"},{id:"env-solution",label:"Sustainable Solution"},{id:"env-comparison",label:"Hyperscale vs Edge"},{id:"env-energy",label:"Energy Equation"},{id:"env-cooling",label:"Zero-Impact Cooling"},{id:"env-elasticity",label:"Organic Elasticity"},{id:"env-verdict",label:"Climate & Economic Verdict"},{id:"env-vision",label:"Sustainable Vision"}],_=[{id:"arch-hero",label:"Architecture Hero"}
1,{id:"arch-agent-grid",label:"Distributed AI Compute Flow"},{id:"arch-agent-collab",label:"Distributed Agent Network"},{id:"arch-expert-network",label:"Distributed Expert Network"},{id:"arch-2d",label:"System Architecture (2D)"},{id:"arch-agents-viz",label:"Agents Architecture Visualization"},{id:"arch-layered",label:"Layered Architecture"}],z=[...M,...Z,..._],T={png:"PNG","png-transparent":"PNG (transparent)",jpeg:"JPEG",svg:"SVG"},nt={png:"png","png-transparent":"png",jpeg:"jpg",svg:"svg"},Nt=()=>{const[t,r]=o.useState(!1),[s,n]=o.useState(!1),[a,i]=o.useState(new Set),[l,m]=o.useState(!1),[x,h]=o.useState("png"),[v,f]=o.useState(2),j=o.useRef({}),E=o.useCallback(c=>b=>{j.current[c]=b},[]),I=c=>{i(b=>{const p=new Set(b);return p.has(c)?p.delete(c):p.add(c),p})},X=()=>i(new Set(z.map(c=>c.id))),J=()=>i(new Set),Y=c=>{const b=new Map;return c.querySelectorAll("*").forEach(p=>{const g=p.style;(g.opacity||g.transform||g.visibility)&&(b.set(p,g.cssText),g.setProperty("opacity","1","important"),g.setProperty("transform","none","important"),g.setProperty("visibility","visible","important"))}),b},K=c=>{c.forEach((b,p)=>{p.style.cssText=b})},C=async(c,b,p=x)=>{const g=j.current[c];if(g)try{g.classList.add("export-mode");const $=Y(g);await new Promise(se=>setTimeout(se,4800));const ae=`${b.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}.${nt[p]}`;let N;const S={pixelRatio:v,cacheBust:!0};p==="svg"?N=await Ae(g,{...S,backgroundColor:"#000000"}):p==="png-transparent"?N=await V(g,{...S}):p==="jpeg"?N=await Ee(g,{...S,backgroundColor:"#000000",quality:.95}):N=await V(g,{...S,backgroundColor:"#000000"}),K($),g.classList.remove("export-mode");const D=document.createElement("a");D.download=ae,D.href=N,D.click()}catch($){g.classList.remove("export-mode"),console.error(`Export failed for ${b}:`,$)}},Q=async()=>{if(a.size===0)return;m(!0);const c=z.filter(b=>a.has(b.id));for(const b of c)await C(b.id,b.label),await new Promise(p=>setTimeout(p,900));m(!1)},ee=["png","png-transparent","jpeg","svg"],te={png:"bg-blue-500/20 text-blue-300 border-blue-500/40","png-transparent":"bg-sky-500/20 text-sky-300 border-sky-500/40",jpeg:"bg-orange-500/20 text-orange-300 border-orange-500/40",svg:"bg-emerald-500/20 text-emerald-300 border-emerald-500/40"};return e.jsxs("div",{className:"relative bg-black",children:[e.jsxs("button",{onClick:()=>n(!s),className:"fixed top-4 right-4 z-[100] bg-slate-800/90 backdrop-blur-sm border border-slate-600/50 text-white px-4 py-2.5 rounded-xl flex items-center gap-2 hover:bg-slate-700/90 transition-colors shadow-lg",children:[e.jsx(ve,{className:"w-4 h-4"}),e.jsx("span",{className:"text-sm font-medium",children:"Export Sections"})]}),s&&e.jsxs("div",{className:"fixed top-16 right-4 z-[100] w-80 max-h-[calc(100vh-5rem)] bg-slate-900/95 backdrop-blur-xl border border-slate-700/60 rounded-2xl shadow-2xl flex flex-col overflow-hidden",children:[e.jsxs("div",{className:"p-4 border-b border-slate-700/50 flex items-center justify-between shrink-0",children:[e.jsx("h3",{className:"text-sm font-bold text-white uppercase tracking-wider",children:"Export Sections"}),e.jsx("button",{onClick:()=>n(!1),className:"text-slate-400 hover:text-white transition-colors",children:e.jsx(Ne,{className:"w-4 h-4"})})]}),e.jsxs("div",{className:"p-4 border-b border-slate-700/50 space-y-3 shrink-0",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("span",{className:"text-xs text-slate-400",children:"Format:"}),e.jsx("div",{className:"grid grid-cols-2 gap-1",children:ee.map(c=>e.jsx("button",{onClick:()=>h(c),className:`px-2 py-1.5 rounded-lg text-[11px] font-medium transition-colors border ${x===c?te[c]:"bg-slate-800 text-slate-400 border-slate-700/50 hover:text-slate-300"}`,children:T[c]},c))}),x==="png-transparent"&&e.jsx("p",{className:"text-[10px] text-sky-400/70 px-0.5",children:"Backgroun
1d will be transparent. Works best for components with dark glass styling."})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-xs text-slate-400 w-14 shrink-0",children:"Scale:"}),e.jsx("div",{className:"flex gap-1 flex-1",children:[1,2,3].map(c=>e.jsxs("button",{onClick:()=>f(c),className:`flex-1 px-3 py-1.5 rounded-lg text-xs font-medium transition-colors ${v===c?"bg-cyan-500/20 text-cyan-300 border border-cyan-500/40":"bg-slate-800 text-slate-400 border border-slate-700/50 hover:text-slate-300"}`,children:[c,"x"]},c))})]})]}),e.jsxs("div",{className:"px-4 py-2 border-b border-slate-700/50 flex items-center justify-between shrink-0",children:[e.jsxs("span",{className:"text-xs text-slate-500",children:[a.size," of ",z.length," selected"]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("button",{onClick:X,className:"text-xs text-blue-400 hover:text-blue-300 transition-colors",children:"All"}),e.jsx("button",{onClick:J,className:"text-xs text-slate-400 hover:text-slate-300 transition-colors",children:"None"})]})]}),e.jsxs("div",{className:"flex-1 overflow-y-auto p-2 space-y-1",children:[e.jsx(P,{title:"Home",sections:M,selected:a,toggle:I,onExport:C,format:x}),e.jsx(P,{title:"Sustainability",sections:Z,selected:a,toggle:I,onExport:C,format:x}),e.jsx(P,{title:"Architecture",sections:_,selected:a,toggle:I,onExport:C,format:x})]}),e.jsx("div",{className:"p-4 border-t border-slate-700/50 shrink-0",children:e.jsx("button",{onClick:Q,disabled:a.size===0||l,className:"w-full py-2.5 rounded-xl font-medium text-sm flex items-center justify-center gap-2 transition-all disabled:opacity-40 disabled:cursor-not-allowed bg-gradient-to-r from-blue-600 to-cyan-600 hover:from-blue-500 hover:to-cyan-500 text-white shadow-lg shadow-blue-500/20",children:l?e.jsxs(e.Fragment,{children:[e.jsx(ye,{className:"w-4 h-4 animate-spin"}),"Exporting..."]}):e.jsxs(e.Fragment,{children:[e.jsx(U,{className:"w-4 h-4"}),"Export ",a.size," Section",a.size!==1?"s":""," as ",T[x]]})})})]}),e.jsx("div",{className:"relative z-10",children:Le.home.map((c,b)=>{var p;return e.jsx("div",{ref:E(((p=M[b])==null?void 0:p.id)||`home-${b}`),children:e.jsx(ze,{component:c,onContactFormOpen:()=>r(!0)})},c.id)})}),e.jsx(qe,{sectionRefs:j,setRef:E}),e.jsx(it,{sectionRefs:j,setRef:E}),e.jsx(Pe,{isOpen:t,onClose:()=>r(!1)})]})},P=({title:t,sections:r,selected:s,toggle:n,onExport:a,format:i})=>{const[l,m]=o.useState(!0);return e.jsxs("div",{className:"rounded-lg overflow-hidden",children:[e.jsxs("button",{onClick:()=>m(!l),className:"w-full flex items-center justify-between px-3 py-2 text-xs font-bold text-slate-300 uppercase tracking-wider hover:bg-slate-800/50 rounded-lg transition-colors",children:[e.jsx("span",{children:t}),l?e.jsx(we,{className:"w-3 h-3"}):e.jsx(ke,{className:"w-3 h-3"})]}),l&&e.jsx("div",{className:"space-y-0.5 pl-1",children:r.map(x=>e.jsxs("div",{className:"flex items-center gap-1.5 group",children:[e.jsxs("button",{onClick:()=>n(x.id),className:"flex items-center gap-2 flex-1 px-2 py-1.5 rounded-lg text-left hover:bg-slate-800/50 transition-colors",children:[s.has(x.id)?e.jsx(Ce,{className:"w-3.5 h-3.5 text-blue-400 shrink-0"}):e.jsx(Se,{className:"w-3.5 h-3.5 text-slate-600 shrink-0"}),e.jsx("span",{className:"text-xs text-slate-300 truncate",children:x.label})]}),e.jsx("button",{onClick:()=>a(x.id,x.label,i),className:"opacity-0 group-hover:opacity-100 p-1 rounded text-slate-500 hover:text-white transition-all",title:`Export as ${T[i]}`,children:e.jsx(U,{className:"w-3 h-3"})})]},x.id))})]})};export{Nt as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.