/* ==========================================================================
   NEXUSPOINT CONSULTANTS - FUTURISTIC FLOATING CONTACT DOCK
   ========================================================================== */

.nexus-floating-dock {
    position: fixed !important;
    right: 20px !important;
    bottom: 28px !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    pointer-events: auto !important;
    overflow: visible !important;
    max-width: calc(100vw - 40px) !important;
    animation: nexusDockEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) both !important;
    font-family: inherit !important;
}

@keyframes nexusDockEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Futuristic Cyber-Glass Capsule */
.nexus-dock-capsule {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px !important;
    overflow: visible !important;
    isolation: isolate !important;
    background: linear-gradient(145deg, rgba(42, 8, 17, 0.92) 0%, rgba(18, 3, 7, 0.96) 100%) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(212, 160, 84, 0.45) !important;
    border-radius: 44px !important;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.5),
        0 2px 10px rgba(212, 160, 84, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.nexus-dock-capsule:hover {
    border-color: rgba(212, 160, 84, 0.75) !important;
    box-shadow: 
        0 24px 55px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(212, 160, 84, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

/* Ambient Ambient Shimmer Effect */
.nexus-dock-capsule::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    border-radius: 46px !important;
    background: linear-gradient(135deg, rgba(212, 160, 84, 0.5), transparent 50%, rgba(37, 211, 102, 0.3)) !important;
    z-index: -1 !important;
    opacity: 0.6 !important;
    filter: blur(4px) !important;
    transition: opacity 0.4s ease !important;
}

.nexus-dock-capsule:hover::before {
    opacity: 1 !important;
}

/* Action Orbs */
.nexus-dock-btn {
    position: relative !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    border: none !important;
    outline: none !important;
}

.nexus-dock-btn:hover {
    transform: scale(1.14) !important;
}

.nexus-dock-btn:active {
    transform: scale(0.95) !important;
}

/* WhatsApp Node Theme */
.nexus-dock-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4) !important;
}

.nexus-dock-whatsapp i {
    font-size: 1.35rem !important;
    color: #ffffff !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

.nexus-dock-whatsapp:hover {
    background: linear-gradient(135deg, #2ae06d 0%, #0d7569 100%) !important;
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.65) !important;
}

/* Sonar Radar Pulse on WhatsApp - halo capped so it never bleeds past the viewport edge */
.nexus-sonar-ring {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 12px !important;
    height: 12px !important;
    background: #00FF88 !important;
    border: 2px solid #1A040A !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    overflow: visible !important;
    box-shadow: 0 0 8px #00FF88 !important;
}

.nexus-sonar-ring::after {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    border: 2px solid #00FF88 !important;
    border-radius: 50% !important;
    animation: nexusRadarWaves 2s infinite cubic-bezier(0.2, 0.8, 0.4, 1) !important;
}

@keyframes nexusRadarWaves {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

/* Futuristic Cyber Divider */
.nexus-dock-divider {
    width: 26px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 84, 0.6), transparent) !important;
    margin: 2px 0 !important;
    box-shadow: 0 0 6px rgba(212, 160, 84, 0.3) !important;
}

/* Email Node Theme */
.nexus-dock-email {
    background: linear-gradient(135deg, #D4A054 0%, #B88235 50%, #8C5B17 100%) !important;
    color: #24080F !important;
    box-shadow: 0 4px 16px rgba(212, 160, 84, 0.38) !important;
}

.nexus-dock-email i {
    font-size: 1.25rem !important;
    color: #1F050C !important;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.2)) !important;
}

.nexus-dock-email:hover {
    background: linear-gradient(135deg, #F0BA6A 0%, #D4A054 50%, #A36B1C 100%) !important;
    box-shadow: 0 8px 26px rgba(212, 160, 84, 0.65) !important;
}

/* Futuristic Holographic HUD Badge Tooltip */
.nexus-dock-hud {
    position: absolute !important;
    right: 62px !important;
    top: 50% !important;
    transform: translateY(-50%) translateX(12px) !important;
    background: rgba(28, 5, 11, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(212, 160, 84, 0.45) !important;
    border-radius: 12px !important;
    padding: 8px 14px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 160, 84, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.nexus-dock-hud::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    right: -5px !important;
    transform: translateY(-50%) rotate(45deg) !important;
    width: 8px !important;
    height: 8px !important;
    background: rgba(28, 5, 11, 0.95) !important;
    border-top: 1px solid rgba(212, 160, 84, 0.45) !important;
    border-right: 1px solid rgba(212, 160, 84, 0.45) !important;
}

.nexus-dock-hud .hud-title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
}

.nexus-dock-hud .hud-subtitle {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: #D4A054 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1.2 !important;
}

.nexus-dock-hud .hud-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: #00FF88 !important;
    box-shadow: 0 0 6px #00FF88 !important;
    display: inline-block !important;
}

.nexus-dock-btn:hover .nexus-dock-hud {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) translateX(0) !important;
}

/* Mobile Responsiveness - left dock width reserves room for right dock + AI launcher */
@media (max-width: 768px) {
    .nexus-floating-dock {
        right: 12px !important;
        bottom: 14px !important;
    }
    
    .nexus-dock-capsule {
        padding: 5px !important;
        gap: 5px !important;
        border-radius: 38px !important;
    }

    .nexus-dock-btn {
        width: 42px !important;
        height: 42px !important;
    }

    .nexus-dock-btn i {
        font-size: 1.15rem !important;
    }

    .nexus-dock-hud {
        display: none !important;
    }
}
