Iran's top diplomat struck an optimistic note after talks on its nuclear program, despite US pressure to broaden the agenda.