The Afghan government says protracted negotiations over a crucial security agreement with the United States have advanced to a new stage, raising hopes that a deal can be struck before the fast-approaching October deadline set by Washington.