Likely from a rogue domain that looked official. As a rule, never ever click on a link in an email and never ever click through a pop-up window. Always go directly to your vendor's software site whether it's for an Office software update, A/V, Malware, Popup blocker, OS, etc.. Always go directly to the Vendor's site.
That's basic computer security 101.
Sorry you got bit ......