Advancements in Z-pinch fusion: New insights from plasma pressure profiles