From continental rifting to seafloor spreading: Insight from 3D thermo-mechanical modeling