US President Donald Trump flagged progress in talks with Iran, while Tehran warned that major gaps still stand in the way of dialing down the crisis.