.site-footer {
    background: #06132d;
    color: #a9b9d0;
    padding: 76px 0 25px;
    position: relative;
    overflow: hidden;
}

.site-footer:before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -200px;
    top: -300px;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.28),
        transparent 65%
    );
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.15fr 1.85fr;
    gap: 90px;
    padding-bottom: 55px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-image {
    display: block;
    width: 150px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: 9px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    color: #cbd8e9;
    text-decoration: none;
    transition: 0.25s;
}

.footer-socials a:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.footer-links h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #fff;
    margin: 5px 0 18px;
}

.footer-links a,
.footer-links span {
    display: block;
    text-decoration: none;
    color: #91a5c0;
    font-size: 12px;
    margin: 0 0 12px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #67e8f9;
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    color: #7186a3;
}

@media (max-width: 800px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .site-footer {
        padding-top: 55px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* =========================================================
   IGTREND FLOATING CHAT POPUP WIDGET (FIXED KANAN BAWAH)
   ========================================================= */

.igt-chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Floating Trigger Button */
.igt-chat-trigger {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.igt-chat-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.55);
}

.igt-chat-trigger:active {
    transform: scale(0.96);
}

/* Icons toggle */
.igt-trigger-icon-chat,
.igt-trigger-icon-close {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.igt-trigger-icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.igt-chat-trigger.active .igt-trigger-icon-chat {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.igt-chat-trigger.active .igt-trigger-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Pulse Ring Animation */
.igt-trigger-ping {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    pointer-events: none;
    animation: igtChatPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.igt-chat-trigger.active .igt-trigger-ping {
    display: none;
}

@keyframes igtChatPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70%, 100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Notification Badge */
.igt-trigger-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.igt-chat-trigger.active .igt-trigger-badge {
    transform: scale(0);
    opacity: 0;
}

/* Teaser Notification Bubble */
.igt-chat-teaser {
    position: absolute;
    right: 74px;
    bottom: 6px;
    width: max-content;
    max-width: 275px;
    background: #ffffff;
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(226, 232, 240, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: igtTeaserIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    user-select: none;
}

.igt-chat-teaser:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}

@keyframes igtTeaserIn {
    from {
        opacity: 0;
        transform: translateX(15px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.igt-teaser-close {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

.igt-teaser-close:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.igt-teaser-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.igt-status-dot-ping {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background: #22c55e;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
}

.igt-teaser-body strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 2px;
}

.igt-teaser-body p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

/* Chat Popup Window */
.igt-chat-popup {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 500px;
    max-height: calc(100vh - 110px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.92);
    pointer-events: none;
    transform-origin: bottom right;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.igt-chat-popup.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header */
.igt-chat-header {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #06b6d4 100%);
    padding: 16px 18px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.igt-chat-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.igt-chat-avatar-wrap {
    position: relative;
}

.igt-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.igt-avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #2563eb;
    border-radius: 50%;
}

.igt-chat-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.igt-chat-status {
    font-size: 12px;
    color: #e0f2fe;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.igt-pulse-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: igtBlink 1.5s infinite;
}

@keyframes igtBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.igt-chat-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.igt-chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Chat Body */
.igt-chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.igt-chat-time-badge {
    align-self: center;
    background: #e2e8f0;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 2px;
}

.igt-chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 88%;
}

.igt-msg-incoming {
    align-self: flex-start;
}

.igt-msg-content {
    background: #ffffff;
    color: #1e293b;
    padding: 11px 13px;
    border-radius: 16px 16px 16px 4px;
    font-size: 13px;
    line-height: 1.45;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.igt-msg-time {
    display: block;
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 5px;
    text-align: right;
}

/* Quick Action Chips */
.igt-chat-chips {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.igt-chat-chip {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.06);
}

.igt-chat-chip:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateX(3px);
    color: #1e40af;
}

/* Footer / Input Bar */
.igt-chat-footer {
    padding: 10px 14px 12px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.igt-chat-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 25px;
    padding: 4px 5px 4px 14px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s, background 0.2s;
}

.igt-chat-form:focus-within {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.igt-chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    padding: 6px 0;
}

.igt-chat-input::placeholder {
    color: #94a3b8;
}

.igt-chat-send-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}

.igt-chat-send-btn:hover {
    transform: scale(1.06);
}

.igt-chat-footer-note {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 7px;
}

/* Mobile Media Query */
@media (max-width: 480px) {
    .igt-chat-widget {
        right: 16px;
        bottom: 16px;
    }

    .igt-chat-trigger {
        width: 54px;
        height: 54px;
    }

    .igt-chat-teaser {
        right: 64px;
        bottom: 4px;
        max-width: 220px;
        padding: 8px 12px;
    }

    .igt-chat-popup {
        width: calc(100vw - 32px);
        right: 0;
        bottom: 68px;
        height: 450px;
    }
}
