Towards high-efficiency thin-film solar cells: from theoretical analysis to experimental exploration