AI Driven Real Time Cybersecurity Threat Detection in Edge and Cloud Architectures | Synapse