Multifunctional 3D micro-nanostructures fabricated through temporally shaped femtosecond laser processing for preventing thrombosis and bacterial infection.