A furniture store has a sale offering 10% off of all furniture. If Amanda spent $396.99 on furniture before tax, what was the price of the furniture she purchased before the discount and before tax?