Global trade is undergoing a profound transformation, driven by three major shifts. New technologies are redefining countries' comparative advantages and the types of goods they produce and export.