Tell me about the project — the brand, the goal, the deadline. I reply to every serious enquiry within a day.
(function() {
var BOOKING_URL = 'https://www.timetide.app/wackwellanuwan/test-asdasd?embed=true&accent=0ea5e9&mode=light';
var BTN_BG = '#0ea5e9';
var BTN_FG = '#ffffff';
var AVATAR = 'https://lh3.googleusercontent.com/a/ACg8ocILX9QwsiIeEO2n0n5i1QGqLsT5n49PlOus8lCEv-ONXgdAwDRU=s96-c';
var BTN_TEXT = 'Schedule a meeting';
var hasAvatar = AVATAR !== '';
// --- Floating button ---
var btn = document.createElement('div');
btn.style.cssText = 'position:fixed;bottom:24px;right:24px;display:flex;align-items:center;gap:10px;background:'+BTN_BG+';color:'+BTN_FG+';padding:'+(hasAvatar?'8px 20px 8px 8px':'12px 22px')+';border-radius:50px;cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;font-weight:600;box-shadow:0 4px 24px rgba(0,0,0,0.18),0 1px 4px rgba(0,0,0,0.08);z-index:9998;transition:transform 0.2s ease,box-shadow 0.2s ease;user-select:none;';
if (hasAvatar) {
var img = document.createElement('img');
img.src = AVATAR; img.alt = '';
img.style.cssText = 'width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,0.3);flex-shrink:0;display:block;';
btn.appendChild(img);
} else {
var ico = document.createElement('span');
ico.innerHTML = '';
ico.style.cssText = 'display:flex;align-items:center;flex-shrink:0;opacity:0.9;';
btn.appendChild(ico);
}
var txt = document.createElement('span');
txt.textContent = BTN_TEXT;
btn.appendChild(txt);
// --- Overlay ---
var overlay = document.createElement('div');
overlay.style.cssText = 'display:none;position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:9999;justify-content:center;align-items:center;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);';
// --- Popup ---
var popup = document.createElement('div');
popup.style.cssText = 'background:#fff;border-radius:20px;width:92%;max-width:480px;height:88vh;max-height:720px;position:relative;overflow:hidden;box-shadow:0 32px 80px rgba(0,0,0,0.2);animation:tt-in 0.3s cubic-bezier(0.34,1.56,0.64,1);';
var close = document.createElement('button');
close.innerHTML = '×';
close.style.cssText = 'position:absolute;top:12px;right:12px;background:rgba(0,0,0,0.07);border:none;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:20px;color:#555;z-index:1;display:flex;align-items:center;justify-content:center;transition:background 0.15s;';
close.onmouseover = function() { close.style.background='rgba(0,0,0,0.13)'; };
close.onmouseout = function() { close.style.background='rgba(0,0,0,0.07)'; };
var iframe = document.createElement('iframe');
iframe.src = BOOKING_URL;
iframe.style.cssText = 'width:100%;height:100%;border:none;';
iframe.allow = 'payment'; iframe.loading = 'lazy';
popup.appendChild(close); popup.appendChild(iframe);
overlay.appendChild(popup);
document.body.appendChild(btn); document.body.appendChild(overlay);
var s = document.createElement('style');
s.textContent = '@keyframes tt-in{from{opacity:0;transform:scale(0.9) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}';
document.head.appendChild(s);
function openPopup() { overlay.style.display = 'flex'; }
function closePopup() { overlay.style.display = 'none'; }
btn.onclick = openPopup;
close.onclick = closePopup;
overlay.onclick = function(e) { if (e.target === overlay) closePopup(); };
btn.onmouseover = function() { btn.style.transform='scale(1.05) translateY(-2px)'; btn.style.boxShadow='0 8px 32px rgba(0,0,0,0.22),0 2px 6px rgba(0,0,0,0.1)'; };
btn.onmouseout = function() { btn.style.transform=''; btn.style.boxShadow='0 4px 24px rgba(0,0,0,0.18),0 1px 4px rgba(0,0,0,0.08)'; };
document.addEventListener('keydown', function(e) { if (e.key === 'Escape') closePopup(); });
})();