Text this: A triple-band metamaterial absorber for gas sensing and refractive index detection through enhanced FOM and Q-factor performance in the THz regime