Most investors never saw these major trend changes coming.