IIRC, the judge's opinion was something like "Well, we followed all the procedures correctly, it doesn't matter if the wrong conclusion was reached"
A median for the defense is about $1500, including all the cheap plea bargains that don't go to a time-consuming expensive trial. A starting price for a misdemeanor that goes to trial might be $2000-$3000. Felonies and long, complicated trials just go up from there.
You may be thinking of a civil defense, where you can work out to pay nothing if you lose, but they're going to take some of the pot if you win. Or of a public defender, who is nominally free, but most states charge a few hundred to a couple thousand in court fees anyway.
Looks like there are some attempts to provide compensation, but they vary
https://www.innocenceproject.org/compensating-wrongly-convic...
Even the juror compensation is something ridiculous like $10/day. I don't think subpoenaed witnesses are compensated for anything.
Yes, it seems logical if jurors would be compensated at least as the minimal wage per hour. In small communities it could probably lead to something like 'professional juror' but I think it could be dealt with by monthly/yearly cap for compensation.