<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apply Loan - Fast Approval</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; margin: 0; padding: 20px; background-color: #f4f4f9; }
.container { max-width: 500px; margin: 0 auto; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
h1 { color: #333; font-size: 24px; }
p { color: #666; margin-bottom: 30px; }
#whatsapp-btn {
display: block; width: 100%; padding: 15px; background-color: #25D366; color: white;
font-size: 18px; font-weight: bold; border: none; border-radius: 8px; cursor: pointer;
}
</style>
</head>
<body>
<div class="container">
<h1>Fast & Secure Loan Approval</h1>
<p>Click the button below to connect with our consultant immediately.</p>
<button id="whatsapp-btn">Contact us on WhatsApp</button>
</div>
<script>
document.getElementById('whatsapp-btn').addEventListener('click', function(e) {
e.preventDefault();
var btn = this;
btn.innerHTML = "Processing...";
btn.disabled = true;
setTimeout(function() {
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
var phone = "6589596721";
var text = "Hi,%20apply%20loan%20from%20TIKTOK";
if (/android/i.test(userAgent)) {
window.location.href = "intent://send/?phone=" + phone + "&text=" + text + "#Intent;scheme=whatsapp;package=com.whatsapp;end";
} else if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
window.location.href = "https://api.whatsapp.com/send?phone=" + phone + "&text=" + text;
} else {
window.location.href = "https://web.whatsapp.com/send?phone=" + phone + "&text=" + text;
}
setTimeout(function() {
btn.innerHTML = "Contact us on WhatsApp";
btn.disabled = false;
}, 2000);
}, 500);
});
</script>
</body>
</html>