AI-Powered Cybersecurity: Advancements and Applications