* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* WhatsApp Popup Widget */
.novus-whatsapp-widget {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 99999;
    font-family: var(--font-body);
}

.novus-whatsapp-popup {
    position: absolute;
    left: 0;
    bottom: 72px;
    width: 330px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(2, 6, 23, 0.22);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.96);
    transition: all 0.32s ease;
}

.novus-whatsapp-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.novus-whatsapp-header {
    position: relative;
    padding: 18px 18px 16px;
    background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
    color: #ffffff;
}

.novus-whatsapp-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.novus-whatsapp-logo {
    width: 48px;
    height: 48px;
    padding: 6px;
    background: #ffffff;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.18);
}

.novus-whatsapp-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.novus-whatsapp-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.9;
}

.novus-whatsapp-status::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #25d366;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.novus-whatsapp-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.28s ease;
}

.novus-whatsapp-close:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: rotate(90deg);
}

.novus-whatsapp-body {
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(37, 211, 102, 0.09), transparent 35%),
        #f8fafc;
}

.novus-whatsapp-message {
    position: relative;
    max-width: 245px;
    padding: 13px 15px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 16px 16px 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
}

.novus-whatsapp-message::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 0;
    border-top: 9px solid #ffffff;
    border-left: 9px solid transparent;
}

.novus-whatsapp-time {
    margin-top: 7px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
}

.novus-whatsapp-action {
    margin-top: 18px;
}

.novus-whatsapp-chat-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ffffff;
    background: #25d366;
    border: 0;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.novus-whatsapp-chat-btn:hover {
    color: #ffffff;
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.32);
}

.novus-whatsapp-launcher {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: #25d366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42);
    cursor: pointer;
    transition: all 0.32s ease;
    position: relative;
}

.novus-whatsapp-launcher i {
    font-size: 1.85rem;
}

.novus-whatsapp-launcher:hover {
    background: #1ebe5d;
    transform: translateY(-4px) scale(1.05);
}

.novus-whatsapp-launcher::before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(37, 211, 102, 0.35);
    border-radius: 50%;
    animation: novusWhatsappPulse 1.8s infinite;
}

@keyframes novusWhatsappPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (max-width: 767.98px) {
    .novus-whatsapp-widget {
        left: 16px;
        bottom: 16px;
    }

    .novus-whatsapp-popup {
        width: calc(100vw - 32px);
        max-width: 330px;
        bottom: 66px;
    }

    .novus-whatsapp-launcher {
        width: 52px;
        height: 52px;
    }

    .novus-whatsapp-launcher i {
        font-size: 1.65rem;
    }
}