Glad the adventure went well.
I did Kazakhstan to Bulgaria this fall. For comparison:
Trains $150 (2nd class, 3000 kms)
Ferries $125 x 2 = $250
Visas $65 (Azerbaijan)
Accommodation about $500 (40 nights in hostels/hotels)
FYI, Ted