S&P 500, Nasdaq Hit Record Highs as Tech Rally Overshadows Inflation Surge