Atomic Gradient Structure Alters Electronic Structure in 3D across the Bulk and Enhances Photoactivity