Foundry-based implementation of a secure Initial Coin Offering (ICO) smart contract featuring proportional token distribution, optimized gas usage through strategic storage packing, and extensive test coverage. Built with modern Solidity patterns and best practices for maximum efficiency and security.