Emerging Trends in Cyber Defense: Harnessing AI for Proactive Threat Detection