A Novel Adaptive Terahertz System for Reliable and Efficient Maritime Communications Under Hostile Sea Conditions