Also, you don’t have to move your carriers into the attack. You simply have to tell your opponent that you plan to move your carriers in the NCM to provide a landing place for your planes. Then, once the battle is over, if your planes survive you will have to move your carrier(s) to provide a safe landing spot.
HOWEVER, if all the planes are lost, you can leave your carrier(s) where they are or move them somewhere else.