It never really gets any smarter. It gets some fantastic bonuses on the harder settings though.

In the campaign it is mostly a matter of money. That is both for you and the AI. The harder the setting the less you get and the more they get. Battles are all stat bonuses. Believe me. On hard or very hard a Russian Unicorn will kill everything that moves.