I agree with Anelyn - it is good that tactical spells are linked with your (global) mana-pool. That way the tactical spell-part of the game is direclty linked to the strategy part (if you wish to be able to use more spells (or spells with higher price), you should focus your empire (cities) to that goal). If you make combat spells linked only to cooldowns you would disconnect that part of the game from strategic part, which IMHO will not be good.
The same is true IMHO (to some extent at least) to the idea of personal mana-pools for every hero.
Anyway, on the topic - I like swarm mechanic and think that it should scale to some extent so to be relevant in midgame and lategame (maybe percentage based bonus - as was already suggested - something like 3-5% or +1 to attack for every swarming unit (with formula that takes wich of to is higher so the ability to be effective in early and late game).
IMHO ti will be good to have some kind of defensive formation (similar to the way swarm works). Maybe to unit abilities:
- shield wall - unit trait which i selectable only for shield-equipped units, with cooldown of 3. When activated it will give +5 defense. So if you have three units standing in line (unit - Unit - Unit) the unit in center will have +10 to its defense and the two units on the flanks will receive +5.
- phalanx - unit trait which i selectable only for spear-equipped units, with cooldown of 3. When activated it give 1-counterattack to that unit and +3 defense for every your spear-equipped unit, that stand next to that unit. The effect is active only until the units moves. To compensate the unit will receive -10 to its ranged evade. So if the formation is:
YourUnit - YourUnit - YourUnit
Enemy - Enemy - Enemy
it will be +6 defense for unit in center end +3 defense for units on the flanks (if they have the same ability and are activated it)
if the formation is
1st row: YourUnit - YourUnit - YourUnit
2nd row: YourUnit - YourUnit - YourUnit
3-d row: Enemy - Enemy - Enemy
an unit in center have that ability activated it will receive +15 defense (and for units on the second row flanks if they have this ability activated too it will be +9 defense)
IMHO this will be good counter to the swarm bonus, but it will have its negative sides (mostly formation will be veary good for use of fireball or other area effect spells).