AI-Enhanced smart sensors for heavy metal detection in water treatment | Synapse