Porto manager Sergio Conceicao hailed his side's second-leg response after they secured a 3-1 victory over Roma to progress to the quarter-finals of the Champions League.
Conceicao conceded the team had made mistakes in the first leg, which saw Roma take a 2-1 lead before Wednesday night's tie.
But a penalty from Alex Telles three minutes from the end of extra-time earned them a 4-3 aggregate victory at Estadio do Dragao and Conceicao admitted his players had learned a lesson from the first-leg defeat.
Quoted in Portuguese newspaper Ojogo, the boss praised his team for a "perfect" game.
"We made mistakes in Rome that we analysed and today we played a game to perfection," he said.
"The players started to interpret in full what we wanted and what was prepared. The talk started at the hotel and it ended here."
Conceicao also pointed out the "great maturity" of the Dragons in extra-time, saying: "We had intelligence when we realised what the game was asking for."
The hosts threatened early, but it was in the 26th minute when Tiquinho Soares routinely tapped in from two yards, with VAR confirming he had been narrowly onside.
It was shortly after Edin Dzeko had gone close that the visitors won the 37th-minute penalty from which Daniele De Rossi equalised.
Lively Moussa Marega had proved influential all night and in the 53rd minute levelled the tie. Then came the drama in the 117th minute as Alessandro Florenzi pulled back Telles - VAR again ensuring the penalty was awarded.
Telles took advantage to beat goalkeeper Robin Olsen, firing into the bottom left corner and sending Porto through.
Speaking after the game, he told Ojogo of the penalty: "It's an emotion that I can not describe, a great emotion.
"It has been a difficult week after the last game, three, four days later reversed and it is a very beautiful story."
The elimination for Roma, meanwhile, is sure to increase the pressure on manager Eusebio Di Francesco as reports had suggested he would be sacked if his team lost.
Captain De Rossi admitted to Sky Sport Italia that the defeat "really hurt" but said of his boss: "I do not know what will happen but no one will take away from the coach what he did last year and that he did this year. From tomorrow we start working with our coach for Empoli."